20 #ifndef __EDITSTYLE_H__ 21 #define __EDITSTYLE_H__ 23 #include "ui_editstyle.h" 56 class EditStyle :
public QDialog,
private Ui::EditStyleBase {
68 virtual void showEvent(QShowEvent*);
69 virtual void hideEvent(QHideEvent*);
70 QVariant getValue(
Sid idx);
73 void applyToAllParts();
76 static const std::map<ElementType, EditStylePage>
PAGES;
79 void selectChordDescriptionFile();
80 void setChordStyle(
bool);
81 void toggleHeaderOddEven(
bool);
82 void toggleFooterOddEven(
bool);
83 void buttonClicked(QAbstractButton*);
84 void setSwingParams(
bool);
85 void concertPitchToggled(
bool);
86 void lyricsDashMinLengthValueChanged(
double);
87 void lyricsDashMaxLengthValueChanged(
double);
88 void systemMinDistanceValueChanged(
double);
89 void systemMaxDistanceValueChanged(
double);
90 void resetStyleValue(
int);
91 void valueChanged(
int);
92 void textStyleChanged(
int);
93 void resetTextStyle(
Pid);
94 void textStyleValueChanged(
Pid, QVariant);
95 void on_comboFBFont_currentIndexChanged(
int index);
96 void on_buttonTogglePagelist_clicked();
97 void editUserStyleName();
98 void endEditUserStyleName();
99 void resetUserStyleName();
103 void setPage(
int no);
107 static bool elementHasPage(
Element* e);
QPushButton * buttonApplyToAllParts
Definition: editstyle.h:60
Pid
Definition: property.h:62
QButtonGroup * keySigNatGroup
Definition: editstyle.h:63
QButtonGroup * clefTypeGroup
Definition: editstyle.h:64
Base class of score layout elements.
Definition: element.h:158
QWidget *EditStyle::* EditStylePage
This is a type for a pointer to any QWidget that is a member of EditStyle.
Definition: editstyle.h:50
void setScore(Score *s)
Definition: editstyle.h:104
#define VOICES
Definition: mscore.h:72
QVector< StyleWidget > styleWidgets
Definition: editstyle.h:62
static const std::map< ElementType, EditStylePage > PAGES
This is a map of element type to pages, to allow the creation of a 'Style...' menu for every possible...
Definition: editstyle.h:76
Score * cs
Definition: editstyle.h:59
Definition: aeolus.cpp:26
Sid
Definition: style.h:33
bool isTooBig
Definition: editstyle.h:65
Definition: editstyle.h:56
bool hasShown
Definition: editstyle.h:66