10 #ifndef UI_SETTINGSDIALOG_H
11 #define UI_SETTINGSDIALOG_H
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QCheckBox>
18 #include <QtGui/QComboBox>
19 #include <QtGui/QDialog>
20 #include <QtGui/QDialogButtonBox>
21 #include <QtGui/QFrame>
22 #include <QtGui/QHBoxLayout>
23 #include <QtGui/QHeaderView>
24 #include <QtGui/QLabel>
25 #include <QtGui/QLineEdit>
26 #include <QtGui/QListWidget>
27 #include <QtGui/QPushButton>
28 #include <QtGui/QSpacerItem>
29 #include <QtGui/QSpinBox>
30 #include <QtGui/QStackedWidget>
31 #include <QtGui/QVBoxLayout>
32 #include <QtGui/QWidget>
134 if (uiSettingsDialog->objectName().isEmpty())
135 uiSettingsDialog->setObjectName(QString::fromUtf8(
"uiSettingsDialog"));
136 uiSettingsDialog->resize(741, 604);
138 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
146 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
149 icon.addFile(QString::fromUtf8(
"images:settings/editorsettings.svg"), QSize(), QIcon::Normal, QIcon::Off);
150 QListWidgetItem *__qlistwidgetitem =
new QListWidgetItem(
uiSettingsList);
151 __qlistwidgetitem->setIcon(icon);
153 icon1.addFile(QString::fromUtf8(
"images:settings/colorsettings.svg"), QSize(), QIcon::Normal, QIcon::Off);
154 QListWidgetItem *__qlistwidgetitem1 =
new QListWidgetItem(
uiSettingsList);
155 __qlistwidgetitem1->setIcon(icon1);
157 icon2.addFile(QString::fromUtf8(
"images:settings/floppy.svg"), QSize(), QIcon::Normal, QIcon::Off);
158 QListWidgetItem *__qlistwidgetitem2 =
new QListWidgetItem(
uiSettingsList);
159 __qlistwidgetitem2->setIcon(icon2);
161 icon3.addFile(QString::fromUtf8(
"images:settings/midisetup.svg"), QSize(), QIcon::Normal, QIcon::Off);
162 QListWidgetItem *__qlistwidgetitem3 =
new QListWidgetItem(
uiSettingsList);
163 __qlistwidgetitem3->setIcon(icon3);
165 icon4.addFile(QString::fromUtf8(
"images:settings/printingsettings.svg"), QSize(), QIcon::Normal, QIcon::Off);
166 QListWidgetItem *__qlistwidgetitem4 =
new QListWidgetItem(
uiSettingsList);
167 __qlistwidgetitem4->setIcon(icon4);
168 uiSettingsList->setObjectName(QString::fromUtf8(
"uiSettingsList"));
169 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Expanding);
170 sizePolicy.setHorizontalStretch(0);
171 sizePolicy.setVerticalStretch(0);
172 sizePolicy.setHeightForWidth(
uiSettingsList->sizePolicy().hasHeightForWidth());
189 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
194 font.setItalic(
true);
207 editorSettings->setObjectName(QString::fromUtf8(
"editorSettings"));
226 uiAutoBar->setObjectName(QString::fromUtf8(
"uiAutoBar"));
230 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
244 vboxLayout1->setObjectName(QString::fromUtf8(
"vboxLayout1"));
246 uiAntiAliasing->setObjectName(QString::fromUtf8(
"uiAntiAliasing"));
255 hboxLayout1->setObjectName(QString::fromUtf8(
"hboxLayout1"));
271 icon5.addFile(QString::fromUtf8(
"images:settings/revert.svg"), QSize(), QIcon::Normal, QIcon::Off);
284 hboxLayout2->setObjectName(QString::fromUtf8(
"hboxLayout2"));
311 hboxLayout3->setObjectName(QString::fromUtf8(
"hboxLayout3"));
338 hboxLayout4->setObjectName(QString::fromUtf8(
"hboxLayout4"));
365 hboxLayout5->setObjectName(QString::fromUtf8(
"hboxLayout5"));
392 hboxLayout6->setObjectName(QString::fromUtf8(
"hboxLayout6"));
419 hboxLayout7->setObjectName(QString::fromUtf8(
"hboxLayout7"));
445 uiPreviewLabel->setObjectName(QString::fromUtf8(
"uiPreviewLabel"));
446 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
447 sizePolicy1.setHorizontalStretch(0);
448 sizePolicy1.setVerticalStretch(0);
449 sizePolicy1.setHeightForWidth(
uiPreviewLabel->sizePolicy().hasHeightForWidth());
469 vboxLayout2->setObjectName(QString::fromUtf8(
"vboxLayout2"));
480 hboxLayout8->setObjectName(QString::fromUtf8(
"hboxLayout8"));
508 vboxLayout3->setObjectName(QString::fromUtf8(
"vboxLayout3"));
516 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
517 sizePolicy2.setHorizontalStretch(0);
518 sizePolicy2.setVerticalStretch(0);
532 hboxLayout9->setObjectName(QString::fromUtf8(
"hboxLayout9"));
535 QSizePolicy sizePolicy3(QSizePolicy::Maximum, QSizePolicy::Preferred);
536 sizePolicy3.setHorizontalStretch(0);
537 sizePolicy3.setVerticalStretch(0);
549 spacerItem =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
556 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
562 midiSettings->setObjectName(QString::fromUtf8(
"midiSettings"));
572 vboxLayout4->setObjectName(QString::fromUtf8(
"vboxLayout4"));
574 uiMidiInLabel->setObjectName(QString::fromUtf8(
"uiMidiInLabel"));
579 uiMidiInList->setObjectName(QString::fromUtf8(
"uiMidiInList"));
587 line->setObjectName(QString::fromUtf8(
"line"));
588 line->setFrameShape(QFrame::VLine);
589 line->setFrameShadow(QFrame::Sunken);
598 vboxLayout5->setObjectName(QString::fromUtf8(
"vboxLayout5"));
600 uiMidiOutLabel->setObjectName(QString::fromUtf8(
"uiMidiOutLabel"));
605 uiMidiOutList->setObjectName(QString::fromUtf8(
"uiMidiOutList"));
621 sizePolicy3.setHeightForWidth(
uiTypesetterLabel->sizePolicy().hasHeightForWidth());
628 icon6.addFile(QString::fromUtf8(
"images:general/lilypond.svg"), QSize(), QIcon::Normal, QIcon::Off);
630 uiTypesetter->setObjectName(QString::fromUtf8(
"uiTypesetter"));
705 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
719 uiButtonBox =
new QDialogButtonBox(uiSettingsDialog);
720 uiButtonBox->setObjectName(QString::fromUtf8(
"uiButtonBox"));
722 uiButtonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
728 QObject::connect(
uiButtonBox, SIGNAL(accepted()), uiSettingsDialog, SLOT(accept()));
729 QObject::connect(
uiButtonBox, SIGNAL(rejected()), uiSettingsDialog, SLOT(reject()));
734 QMetaObject::connectSlotsByName(uiSettingsDialog);
739 uiSettingsDialog->setWindowTitle(QApplication::translate(
"uiSettingsDialog",
"Settings", 0, QApplication::UnicodeUTF8));
744 ___qlistwidgetitem->setText(QApplication::translate(
"uiSettingsDialog",
"Editor", 0, QApplication::UnicodeUTF8));
746 ___qlistwidgetitem1->setText(QApplication::translate(
"uiSettingsDialog",
"Appearance", 0, QApplication::UnicodeUTF8));
748 ___qlistwidgetitem2->setText(QApplication::translate(
"uiSettingsDialog",
"Load/Save", 0, QApplication::UnicodeUTF8));
750 ___qlistwidgetitem3->setText(QApplication::translate(
"uiSettingsDialog",
"Playback", 0, QApplication::UnicodeUTF8));
752 ___qlistwidgetitem4->setText(QApplication::translate(
"uiSettingsDialog",
"Printing", 0, QApplication::UnicodeUTF8));
755 uiPageNameLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Current page name", 0, QApplication::UnicodeUTF8));
756 #ifndef QT_NO_TOOLTIP
757 uiFinaleLyricsCheckBox->setToolTip(QApplication::translate(
"uiSettingsDialog",
"When making hyphen, immediately jump to the next syllable without hitting space bar key.", 0, QApplication::UnicodeUTF8));
758 #endif // QT_NO_TOOLTIP
759 uiFinaleLyricsCheckBox->setText(QApplication::translate(
"uiSettingsDialog",
"Use Finale/Sibelius lyrics behaviour", 0, QApplication::UnicodeUTF8));
760 #ifndef QT_NO_TOOLTIP
761 uiShadowNotesInOtherStaffs->setToolTip(QApplication::translate(
"uiSettingsDialog",
"When inserting notes, show the helper notes in all staffs, not only in the active one.", 0, QApplication::UnicodeUTF8));
762 #endif // QT_NO_TOOLTIP
763 uiShadowNotesInOtherStaffs->setText(QApplication::translate(
"uiSettingsDialog",
"Show helper notes in other staffs", 0, QApplication::UnicodeUTF8));
764 #ifndef QT_NO_TOOLTIP
765 uiPlayInsertedNotes->setToolTip(QApplication::translate(
"uiSettingsDialog",
"When inserting notes or changing existing notes pitch, play the new notes.", 0, QApplication::UnicodeUTF8));
766 #endif // QT_NO_TOOLTIP
767 uiPlayInsertedNotes->setText(QApplication::translate(
"uiSettingsDialog",
"Play inserted notes", 0, QApplication::UnicodeUTF8));
768 #ifndef QT_NO_TOOLTIP
769 uiAutoBar->setToolTip(QApplication::translate(
"uiSettingsDialog",
"When inserting notes and rests, place a barline automatically, if the last bar is full.", 0, QApplication::UnicodeUTF8));
770 #endif // QT_NO_TOOLTIP
771 uiAutoBar->setText(QApplication::translate(
"uiSettingsDialog",
"Automatic bar placement", 0, QApplication::UnicodeUTF8));
772 #ifndef QT_NO_TOOLTIP
773 uiAntiAliasing->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Use anti-aliased fonts for drawing the score. Looks nicer, but slower.", 0, QApplication::UnicodeUTF8));
774 #endif // QT_NO_TOOLTIP
775 uiAntiAliasing->setText(QApplication::translate(
"uiSettingsDialog",
"Use anti-aliased fonts", 0, QApplication::UnicodeUTF8));
776 #ifndef QT_NO_TOOLTIP
777 uiBackgroundLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the background is filled.", 0, QApplication::UnicodeUTF8));
778 #endif // QT_NO_TOOLTIP
779 uiBackgroundLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Background color", 0, QApplication::UnicodeUTF8));
781 #ifndef QT_NO_TOOLTIP
782 uiForegroundLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the music elements are painted.", 0, QApplication::UnicodeUTF8));
783 #endif // QT_NO_TOOLTIP
784 uiForegroundLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Foreground color", 0, QApplication::UnicodeUTF8));
786 #ifndef QT_NO_TOOLTIP
787 uiSelectionLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the selected music elements are painted.", 0, QApplication::UnicodeUTF8));
788 #endif // QT_NO_TOOLTIP
789 uiSelectionLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Selected elements", 0, QApplication::UnicodeUTF8));
791 #ifndef QT_NO_TOOLTIP
792 uiSelectedContextLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the current context is painted.", 0, QApplication::UnicodeUTF8));
793 #endif // QT_NO_TOOLTIP
794 uiSelectedContextLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Selected context", 0, QApplication::UnicodeUTF8));
796 #ifndef QT_NO_TOOLTIP
797 uiSelectionAreaLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the selection area background is filled.", 0, QApplication::UnicodeUTF8));
798 #endif // QT_NO_TOOLTIP
799 uiSelectionAreaLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Selection area", 0, QApplication::UnicodeUTF8));
801 #ifndef QT_NO_TOOLTIP
802 uiHiddenElementsLabel->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the invisible elements are painted in current-voice-only mode.", 0, QApplication::UnicodeUTF8));
803 #endif // QT_NO_TOOLTIP
804 uiHiddenElementsLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Hidden elements", 0, QApplication::UnicodeUTF8));
806 #ifndef QT_NO_TOOLTIP
807 uiDisabledElements->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Color which the elements in non-selected voice are painted.", 0, QApplication::UnicodeUTF8));
808 #endif // QT_NO_TOOLTIP
809 uiDisabledElements->setText(QApplication::translate(
"uiSettingsDialog",
"Disabled elements", 0, QApplication::UnicodeUTF8));
811 uiPreviewLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Preview:", 0, QApplication::UnicodeUTF8));
812 uiDocumentsDirectoryLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Default documents location:", 0, QApplication::UnicodeUTF8));
814 uiDefaultSaveLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Default file format for saving:", 0, QApplication::UnicodeUTF8));
815 uiAutoRecoveryLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Recovery saving interval in minutes:",
"Auto save every %n minutes.", QApplication::UnicodeUTF8));
816 #ifndef QT_NO_TOOLTIP
817 uiAutoRecoverySpinBox->setToolTip(QApplication::translate(
"uiSettingsDialog",
"Automatically make recovery documents every specified number of ellapsed minutes. 0 to disable recovery saving.", 0, QApplication::UnicodeUTF8));
818 #endif // QT_NO_TOOLTIP
819 uiMidiInLabel->setText(QApplication::translate(
"uiSettingsDialog",
"MIDI IN devices:", 0, QApplication::UnicodeUTF8));
820 uiMidiOutLabel->setText(QApplication::translate(
"uiSettingsDialog",
"MIDI OUT devices:", 0, QApplication::UnicodeUTF8));
821 uiTypesetterLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Default typesetter:", 0, QApplication::UnicodeUTF8));
822 uiTypesetter->setItemText(0, QApplication::translate(
"uiSettingsDialog",
"LilyPond", 0, QApplication::UnicodeUTF8));
824 uiTypesetterLocationLabel->setText(QApplication::translate(
"uiSettingsDialog",
"Typesetter location:", 0, QApplication::UnicodeUTF8));
825 uiTypesetterBrowse->setText(QApplication::translate(
"uiSettingsDialog",
"Browse...", 0, QApplication::UnicodeUTF8));
826 uiTypesetterDefault->setText(QApplication::translate(
"uiSettingsDialog",
"Use system default", 0, QApplication::UnicodeUTF8));
827 uiPdfViewerLocationLabel->setText(QApplication::translate(
"uiSettingsDialog",
"PDF viewer location:", 0, QApplication::UnicodeUTF8));
828 uiPdfViewerBrowse->setText(QApplication::translate(
"uiSettingsDialog",
"Browse...", 0, QApplication::UnicodeUTF8));
829 uiPdfViewerDefault->setText(QApplication::translate(
"uiSettingsDialog",
"Use system default", 0, QApplication::UnicodeUTF8));
840 #endif // UI_SETTINGSDIALOG_H