20 #ifndef __NEWWIZARD_H__ 21 #define __NEWWIZARD_H__ 23 #include "ui_timesigwizard.h" 24 #include "ui_newwizard.h" 37 class InstrumentsWidget;
38 class TemplateBrowser;
56 bool pickup(
int* z,
int* n)
const;
83 QString
title()
const {
return w->title->text(); }
84 QString
subtitle()
const {
return w->subtitle->text(); }
85 QString
composer()
const {
return w->composer->text(); }
86 QString
poet()
const {
return w->poet->text(); }
87 QString
copyright()
const {
return w->copyright->text(); }
88 virtual void initializePage()
override;
103 void setComplete(
bool);
107 virtual bool isComplete()
const override;
109 virtual void initializePage()
override;
142 void templateChanged(
const QString&);
143 void fileAccepted(
const QString&);
147 virtual bool isComplete()
const override;
148 QString templatePath()
const;
149 virtual void initializePage();
150 void buildTemplatesList();
169 double tempo()
const {
return _tempo->value(); }
188 virtual void hideEvent(QHideEvent*);
195 friend class QWizardPage;
196 virtual int nextId()
const;
214 bool emptyScore()
const;
215 void updateValues()
const;
Definition: newwizard.h:117
Definition: newwizard.h:64
NewWizardInstrumentsPage * instrumentsPage
Definition: newwizard.h:183
NewWizardTimesigPage * timesigPage
Definition: newwizard.h:184
Definition: templateBrowser.h:30
QString path
Definition: newwizard.h:139
void fractionToggled(bool)
Definition: newwizard.cpp:144
int measures() const
Definition: newwizard.h:201
bool complete
Definition: newwizard.h:99
void cutTimeToggled(bool)
Definition: newwizard.cpp:130
QString copyright() const
Definition: newwizard.h:208
TimesigWizard * w
Definition: newwizard.h:120
void createInstruments(Score *score, QList< MTrack > &tracks)
Definition: importmidi_instrument.cpp:385
TimeSigType type() const
Definition: newwizard.cpp:103
Definition: newwizard.h:96
void createInstruments(Score *s)
Definition: newwizard.cpp:245
QString templatePath() const
Definition: newwizard.cpp:364
TitleWizard * w
Definition: newwizard.h:79
double tempo() const
Definition: newwizard.h:212
KeySigEvent keysig() const
Definition: newwizard.cpp:436
QString subtitle() const
Definition: newwizard.h:205
TimesigWizard(QWidget *parent=0)
Definition: newwizard.cpp:52
TimeSigType timesigType() const
Definition: newwizard.h:211
int measures() const
Definition: newwizard.cpp:69
KeySigEvent keysig() const
Definition: newwizard.h:209
virtual bool isComplete() const override
Definition: newwizard.h:167
double tempo() const
Definition: newwizard.h:169
QString title() const
Definition: newwizard.h:83
InstrumentsWidget * instrumentsWidget
Definition: newwizard.h:100
Palette * sp
Definition: newwizard.h:161
QString composer() const
Definition: newwizard.h:85
bool pickupMeasure(int *z, int *n) const
Definition: newwizard.h:126
QString composer() const
Definition: newwizard.h:206
QString copyright() const
Definition: newwizard.h:87
NewWizardInfoPage * infoPage
Definition: newwizard.h:182
Definition: newwizard.h:135
void commonTimeToggled(bool)
Definition: newwizard.cpp:116
Definition: aeolus.cpp:26
Definition: newwizard.h:44
TimeSigType
Definition: timesig.h:30
bool pickupMeasure(int *z, int *n) const
Definition: newwizard.h:210
Page
Definition: newwizard.h:198
QGroupBox * tempoGroup
Definition: newwizard.h:163
Fraction timesig() const
Definition: newwizard.h:202
QString poet() const
Definition: newwizard.h:86
QString poet() const
Definition: newwizard.h:207
Definition: newwizard.h:76
TemplateBrowser * templateFileBrowser
Definition: newwizard.h:138
QDoubleSpinBox * _tempo
Definition: newwizard.h:162
Fraction timesig() const
Definition: newwizard.h:125
Definition: newwizard.h:198
bool createTempo() const
Definition: newwizard.h:170
int measures() const
Definition: newwizard.h:124
TimeSigType timesigType() const
Definition: newwizard.h:127
QString templatePath() const
Definition: newwizard.h:200
Definition: fraction.h:46
bool createTempo() const
Definition: newwizard.h:213
Fraction timesig() const
Definition: newwizard.cpp:78
QString title() const
Definition: newwizard.h:204
QString subtitle() const
Definition: newwizard.h:84
Definition: newwizard.h:179
Definition: newwizard.h:158
bool pickup(int *z, int *n) const
Definition: newwizard.cpp:92
void createInstruments(Score *s)
Definition: newwizard.h:203
NewWizardKeysigPage * keysigPage
Definition: newwizard.h:186
NewWizardTemplatePage * templatePage
Definition: newwizard.h:185