|
|
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1061</width> <height>646</height> </rect> </property> <property name="windowTitle"> <string>Chordsheet</string> </property> <property name="documentMode"> <bool>false</bool> </property> <property name="tabShape"> <enum>QTabWidget::Rounded</enum> </property> <widget class="QWidget" name="centralWidget"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QSplitter" name="splitter"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <widget class="QWidget" name="leftPane" native="true"> <property name="enabled"> <bool>true</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>430</width> <height>600</height> </size> </property> <property name="maximumSize"> <size> <width>500</width> <height>16777215</height> </size> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <layout class="QVBoxLayout" name="verticalLayout"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</enum> </property> <item> <widget class="QTabWidget" name="tabWidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Ignored" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>500</width> <height>16777215</height> </size> </property> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tabWidgetOverview"> <attribute name="title"> <string>Overview</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QFormLayout" name="formLayoutOverview"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="0" column="0"> <widget class="QLabel" name="titleLabel"> <property name="text"> <string>Title</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="titleLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="subtitleLabel"> <property name="text"> <string>Subtitle</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="subtitleLineEdit"/> </item> <item row="2" column="0"> <widget class="QLabel" name="composerLabel"> <property name="text"> <string>Composer</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="composerLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="arrangerLabel"> <property name="text"> <string>Arranger</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="arrangerLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="tempoLabel"> <property name="text"> <string>Tempo</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QLineEdit" name="tempoLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>60</width> <height>16777215</height> </size> </property> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="timeSignatureLabel"> <property name="text"> <string>Time</string> </property> </widget> </item> <item row="5" column="1"> <widget class="QSpinBox" name="timeSignatureSpinBox"> <property name="maximumSize"> <size> <width>40</width> <height>16777215</height> </size> </property> <property name="specialValueText"> <string/> </property> <property name="value"> <number>4</number> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tabWidgetPage"> <attribute name="title"> <string>Page</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_8"> <item> <widget class="QGroupBox" name="pageGroupBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Page options</string> </property> <layout class="QVBoxLayout" name="verticalLayout_10"> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="pageSizeLabel"> <property name="text"> <string>Page size</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="pageSizeComboBox"/> </item> <item row="1" column="0"> <widget class="QLabel" name="documentUnitsLabel"> <property name="text"> <string>Document units</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="documentUnitsComboBox"/> </item> <item row="2" column="0"> <widget class="QLabel" name="leftMarginLabel"> <property name="text"> <string>Left margin</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="leftMarginLineEdit"> <property name="maximumSize"> <size> <width>60</width> <height>16777215</height> </size> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="topMarginLabel"> <property name="text"> <string>Top margin</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="topMarginLineEdit"> <property name="maximumSize"> <size> <width>60</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="textGroupBox"> <property name="title"> <string>Text options</string> </property> <layout class="QVBoxLayout" name="verticalLayout_9"> <item> <layout class="QFormLayout" name="formLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="lineSpacingLabel"> <property name="text"> <string>Line spacing</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QDoubleSpinBox" name="lineSpacingDoubleSpinBox"> <property name="minimumSize"> <size> <width>70</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>70</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="fontGroupBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Font options</string> </property> <layout class="QVBoxLayout" name="verticalLayout_11"> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="fontLabel"> <property name="maximumSize"> <size> <width>40</width> <height>16777215</height> </size> </property> <property name="text"> <string>Font</string> </property> </widget> </item> <item> <widget class="QComboBox" name="fontComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> </layout> </item> <item> <widget class="QCheckBox" name="includedFontCheckBox"> <property name="text"> <string>Use included FreeSans</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="blockOptions"> <property name="title"> <string>Block options</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QFormLayout" name="formLayout_4"> <item row="0" column="0"> <widget class="QLabel" name="beatWidthLabel"> <property name="text"> <string>Beat width</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="beatWidthLineEdit"> <property name="maximumSize"> <size> <width>60</width> <height>16777215</height> </size> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tabWidgetChords"> <attribute name="title"> <string>Chords</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <layout class="QVBoxLayout" name="chordTabLayout"> <item> <widget class="ChordTableView" name="chordTableView"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="dragEnabled"> <bool>true</bool> </property> <property name="dragDropOverwriteMode"> <bool>false</bool> </property> <property name="dragDropMode"> <enum>QAbstractItemView::InternalMove</enum> </property> <property name="defaultDropAction"> <enum>Qt::IgnoreAction</enum> </property> <property name="selectionMode"> <enum>QAbstractItemView::SingleSelection</enum> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> <property name="showGrid"> <bool>false</bool> </property> <property name="sortingEnabled"> <bool>false</bool> </property> <property name="cornerButtonEnabled"> <bool>false</bool> </property> </widget> </item> <item> <layout class="QGridLayout" name="chordGridLayout"> <item row="0" column="1"> <widget class="QLineEdit" name="chordNameLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>100</width> <height>16777215</height> </size> </property> </widget> </item> <item row="1" column="2"> <widget class="QPushButton" name="guitarVoicingButton"> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> <property name="text"> <string>Editor...</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="guitarVoicingLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="guitarVoicingLabel"> <property name="text"> <string>Guitar voicing</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="chordNameLabel"> <property name="text"> <string>Chord name</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="bottomChordHorizontalLayout"> <item> <widget class="QPushButton" name="removeChordButton"> <property name="text"> <string>Remove chord</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="updateChordButton"> <property name="text"> <string>Update chord</string> </property> </widget> </item> <item> <widget class="QPushButton" name="addChordButton"> <property name="text"> <string>Add chord</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tabWidgetBlocks"> <attribute name="title"> <string>Blocks</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <layout class="QVBoxLayout" name="blockTabLayout"> <item> <widget class="BlockTableView" name="blockTableView"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="dragEnabled"> <bool>true</bool> </property> <property name="dragDropOverwriteMode"> <bool>false</bool> </property> <property name="dragDropMode"> <enum>QAbstractItemView::InternalMove</enum> </property> <property name="defaultDropAction"> <enum>Qt::TargetMoveAction</enum> </property> <property name="selectionMode"> <enum>QAbstractItemView::SingleSelection</enum> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> <property name="showGrid"> <bool>false</bool> </property> <property name="cornerButtonEnabled"> <bool>false</bool> </property> </widget> </item> <item> <layout class="QGridLayout" name="blockGridLayout"> <item row="0" column="0"> <widget class="QLabel" name="blockLengthLabel"> <property name="text"> <string>Length</string> </property> </widget> </item> <item row="0" column="4"> <widget class="QComboBox" name="blockChordComboBox"/> </item> <item row="1" column="0"> <widget class="QLabel" name="blockNotesLabel"> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="text"> <string>Notes</string> </property> </widget> </item> <item row="0" column="3"> <widget class="QLabel" name="blockChordLabel"> <property name="text"> <string>Chord</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="blockLengthLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>40</width> <height>16777215</height> </size> </property> </widget> </item> <item row="1" column="1" colspan="4"> <widget class="QLineEdit" name="blockNotesLineEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="bottomBlockHorizontalLayout"> <item> <widget class="QPushButton" name="removeBlockButton"> <property name="text"> <string>Remove block</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="updateBlockButton"> <property name="text"> <string>Update block</string> </property> </widget> </item> <item> <widget class="QPushButton" name="addBlockButton"> <property name="text"> <string>Add block</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="generateButton"> <property name="text"> <string>Generate chordsheet</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::MinimumExpanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QScrollArea" name="scrollArea"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>300</width> <height>400</height> </size> </property> <property name="widgetResizable"> <bool>true</bool> </property> <widget class="QWidget" name="scrollAreaContents"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>598</width> <height>598</height> </rect> </property> <property name="autoFillBackground"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout_2"> <property name="leftMargin"> <number>12</number> </property> <property name="topMargin"> <number>12</number> </property> <property name="rightMargin"> <number>12</number> </property> <property name="bottomMargin"> <number>12</number> </property> <item row="0" column="0" alignment="Qt::AlignHCenter"> <widget class="QLabel" name="imageLabel"> <property name="autoFillBackground"> <bool>true</bool> </property> <property name="text"> <string/> </property> <property name="scaledContents"> <bool>false</bool> </property> <property name="margin"> <number>0</number> </property> </widget> </item> </layout> </widget> </widget> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1061</width> <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile"> <property name="title"> <string>File</string> </property> <addaction name="actionNew"/> <addaction name="actionOpen"/> <addaction name="separator"/> <addaction name="actionSave"/> <addaction name="actionSave_as"/> <addaction name="actionSave_PDF"/> <addaction name="separator"/> <addaction name="actionPrint"/> <addaction name="separator"/> <addaction name="actionClose"/> </widget> <widget class="QMenu" name="menuEdit"> <property name="title"> <string>Edit</string> </property> <addaction name="actionUndo"/> <addaction name="actionRedo"/> <addaction name="separator"/> <addaction name="actionCut"/> <addaction name="actionCopy"/> <addaction name="actionPaste"/> <addaction name="separator"/> <addaction name="actionAbout"/> </widget> <addaction name="menuFile"/> <addaction name="menuEdit"/> </widget> <action name="actionNew"> <property name="text"> <string>New...</string> </property> </action> <action name="actionOpen"> <property name="text"> <string>Open...</string> </property> </action> <action name="actionSave"> <property name="text"> <string>Save</string> </property> </action> <action name="actionSave_PDF"> <property name="text"> <string>Save PDF...</string> </property> </action> <action name="actionPrint"> <property name="text"> <string>Print...</string> </property> </action> <action name="actionClose"> <property name="text"> <string>Close</string> </property> </action> <action name="actionSave_as"> <property name="text"> <string>Save as...</string> </property> </action> <action name="actionQuit"> <property name="text"> <string>Quit</string> </property> </action> <action name="actionUndo"> <property name="text"> <string>Undo</string> </property> </action> <action name="actionRedo"> <property name="text"> <string>Redo</string> </property> </action> <action name="actionCut"> <property name="text"> <string>Cut</string> </property> </action> <action name="actionCopy"> <property name="text"> <string>Copy</string> </property> </action> <action name="actionPaste"> <property name="text"> <string>Paste</string> </property> </action> <action name="actionPreferences"> <property name="text"> <string>Preferences</string> </property> </action> <action name="actionAbout"> <property name="text"> <string>About</string> </property> </action> </widget> <customwidgets> <customwidget> <class>ChordTableView</class> <extends>QTableView</extends> <header>chordsheet/tableView.h</header> </customwidget> <customwidget> <class>BlockTableView</class> <extends>QTableView</extends> <header>chordsheet/tableView.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>generateButton</tabstop> <tabstop>tabWidget</tabstop> <tabstop>titleLineEdit</tabstop> <tabstop>composerLineEdit</tabstop> <tabstop>arrangerLineEdit</tabstop> <tabstop>pageSizeComboBox</tabstop> <tabstop>documentUnitsComboBox</tabstop> <tabstop>leftMarginLineEdit</tabstop> <tabstop>topMarginLineEdit</tabstop> <tabstop>lineSpacingDoubleSpinBox</tabstop> <tabstop>fontComboBox</tabstop> <tabstop>chordTableView</tabstop> <tabstop>chordNameLineEdit</tabstop> <tabstop>guitarVoicingLineEdit</tabstop> <tabstop>guitarVoicingButton</tabstop> <tabstop>addChordButton</tabstop> <tabstop>removeChordButton</tabstop> <tabstop>blockTableView</tabstop> <tabstop>addBlockButton</tabstop> <tabstop>removeBlockButton</tabstop> <tabstop>scrollArea</tabstop> </tabstops> <resources/> <connections/> </ui>
|