Made the form more "flowing".

bzr-revno: 22
This commit is contained in:
Raoul Snyman 2008-10-22 16:17:45 +00:00
parent 44e89123d5
commit 56dab843c5

View File

@ -12,109 +12,40 @@
<property name="windowTitle" > <property name="windowTitle" >
<string>Song Editor</string> <string>Song Editor</string>
</property> </property>
<widget class="QLabel" name="TypeInfoLabel" > <layout class="QVBoxLayout" name="EditSongFormLayout" >
<property name="geometry" > <property name="spacing" >
<rect> <number>8</number>
<x>8</x>
<y>386</y>
<width>223</width>
<height>13</height>
</rect>
</property> </property>
<property name="layoutDirection" > <property name="margin" >
<enum>Qt::LeftToRight</enum> <number>8</number>
</property> </property>
<property name="text" > <item>
<string>Seperate verses/choruses by single blank lines</string> <widget class="QWidget" native="1" name="TopWidget" >
<layout class="QHBoxLayout" name="TopWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property> </property>
</widget> <property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QWidget" native="1" name="TextWidget" >
<layout class="QVBoxLayout" name="TextWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="TitleLabel" > <widget class="QLabel" name="TitleLabel" >
<property name="geometry" >
<rect>
<x>8</x>
<y>8</y>
<width>24</width>
<height>13</height>
</rect>
</property>
<property name="text" > <property name="text" >
<string>Title:</string> <string>Title:</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="LyricsLabel" > </item>
<property name="geometry" > <item>
<rect>
<x>8</x>
<y>48</y>
<width>31</width>
<height>13</height>
</rect>
</property>
<property name="text" >
<string>Lyrics:</string>
</property>
</widget>
<widget class="QLabel" name="CopyrightInfoLabel" >
<property name="geometry" >
<rect>
<x>392</x>
<y>360</y>
<width>74</width>
<height>13</height>
</rect>
</property>
<property name="text" >
<string>Copyright Info:</string>
</property>
</widget>
<widget class="QLabel" name="SelectedAuthorsLabel" >
<property name="geometry" >
<rect>
<x>392</x>
<y>96</y>
<width>86</width>
<height>13</height>
</rect>
</property>
<property name="text" >
<string>Selected Authors:</string>
</property>
</widget>
<widget class="QLabel" name="AuthorsLabel" >
<property name="geometry" >
<rect>
<x>392</x>
<y>8</y>
<width>42</width>
<height>13</height>
</rect>
</property>
<property name="text" >
<string>Authors:</string>
</property>
</widget>
<widget class="QLabel" name="ThemeLabel" >
<property name="geometry" >
<rect>
<x>8</x>
<y>413</y>
<width>36</width>
<height>13</height>
</rect>
</property>
<property name="text" >
<string>Theme</string>
</property>
</widget>
<widget class="QLineEdit" name="TitleEditItem" > <widget class="QLineEdit" name="TitleEditItem" >
<property name="geometry" >
<rect>
<x>8</x>
<y>24</y>
<width>369</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" > <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -122,15 +53,54 @@
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
<widget class="QComboBox" name="AuthorsSelectionComboItem" > </item>
<property name="geometry" > <item>
<rect> <widget class="QLabel" name="LyricsLabel" >
<x>392</x> <property name="text" >
<y>24</y> <string>Lyrics:</string>
<width>161</width>
<height>21</height>
</rect>
</property> </property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="LyricsTextEdit" >
<property name="lineWrapMode" >
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="acceptRichText" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="AuthorWidget" >
<layout class="QVBoxLayout" name="AuthorWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="AuthorsLabel" >
<property name="text" >
<string>Authors:</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="AuthorSelectWidget" >
<layout class="QHBoxLayout" name="AuthorSelectWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="AuthorsSelectionComboItem" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" > <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -138,7 +108,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="editable" > <property name="editable" >
<bool>true</bool> <bool>false</bool>
</property> </property>
<property name="insertPolicy" > <property name="insertPolicy" >
<enum>QComboBox::InsertAlphabetically</enum> <enum>QComboBox::InsertAlphabetically</enum>
@ -150,88 +120,56 @@
<number>8</number> <number>8</number>
</property> </property>
</widget> </widget>
<widget class="QScrollArea" name="LyricsScrollArea" > </item>
<property name="geometry" >
<rect>
<x>8</x>
<y>64</y>
<width>369</width>
<height>321</height>
</rect>
</property>
<property name="widgetResizable" >
<bool>true</bool>
</property>
<widget class="QWidget" name="LyricsScrollAreaWidgetContents" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>367</width>
<height>319</height>
</rect>
</property>
<widget class="QWidget" name="verticalLayoutWidget" >
<property name="geometry" >
<rect>
<x>-1</x>
<y>-1</y>
<width>371</width>
<height>321</height>
</rect>
</property>
<layout class="QVBoxLayout" name="LyricsVLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetNoConstraint</enum>
</property>
<item> <item>
<widget class="QTextEdit" name="LyricsEditItem" /> <widget class="QPushButton" name="AuthorAddtoSongItem" >
<property name="maximumSize" >
<size>
<width>110</width>
<height>16777215</height>
</size>
</property>
<property name="text" >
<string>Add to Song</string>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget> </item>
</widget> <item>
<widget class="QLineEdit" name="CopyrightEditItem" > <widget class="QWidget" native="1" name="AuthorManagementWidget" >
<property name="geometry" > <layout class="QHBoxLayout" name="AuthorManagementWidgetLayout" >
<rect> <property name="spacing" >
<x>392</x> <number>8</number>
<y>376</y> </property>
<width>241</width> <property name="margin" >
<height>21</height> <number>0</number>
</rect> </property>
<item>
<widget class="QPushButton" name="NewAuthorButton" >
<property name="text" >
<string>Add a New Author</string>
</property> </property>
</widget> </widget>
<widget class="QScrollArea" name="AuthorsListScrollArea" > </item>
<property name="geometry" > <item>
<rect> <widget class="QPushButton" name="AuthorDeleteItem" >
<x>392</x> <property name="text" >
<y>112</y> <string>Delete Author</string>
<width>265</width>
<height>217</height>
</rect>
</property> </property>
<property name="widgetResizable" > </widget>
<bool>true</bool> </item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="SelectedAuthorsLabel" >
<property name="text" >
<string>Selected Authors:</string>
</property> </property>
<widget class="QWidget" name="AuthorsListScrollAreaWidgetContents" > </widget>
<property name="geometry" > </item>
<rect>
<x>0</x>
<y>0</y>
<width>263</width>
<height>215</height>
</rect>
</property>
<widget class="QWidget" name="verticalLayoutWidget_2" >
<property name="geometry" >
<rect>
<x>-1</x>
<y>-1</y>
<width>265</width>
<height>217</height>
</rect>
</property>
<layout class="QVBoxLayout" name="AuthorsListVLayout" >
<item> <item>
<widget class="QListView" name="AuthorsListItem" > <widget class="QListView" name="AuthorsListItem" >
<property name="editTriggers" > <property name="editTriggers" >
@ -242,118 +180,135 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QWidget" native="1" name="RemoveAuthorWidget" >
<layout class="QHBoxLayout" name="RemoveAuthorWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>122</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="AuthorRemoveItem" >
<property name="text" >
<string>Remove Selected Author(s)</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</widget> </item>
</widget> <item>
<widget class="QDialogButtonBox" name="buttonBox" > <widget class="QLabel" name="CopyrightInfoLabel" >
<property name="geometry" >
<rect>
<x>499</x>
<y>448</y>
<width>156</width>
<height>25</height>
</rect>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QComboBox" name="ThemeSelectionComboItem" >
<property name="geometry" >
<rect>
<x>56</x>
<y>410</y>
<width>497</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="ThemeAddItem" >
<property name="geometry" >
<rect>
<x>560</x>
<y>408</y>
<width>97</width>
<height>25</height>
</rect>
</property>
<property name="text" > <property name="text" >
<string>Add a Theme</string> <string>Copyright Info:</string>
</property> </property>
</widget> </widget>
<widget class="QPushButton" name="AuthorRemoveItem" > </item>
<property name="geometry" > <item>
<rect> <widget class="QWidget" native="1" name="CopyrightWidget" >
<x>552</x> <layout class="QHBoxLayout" name="CopyrightWidgetLayout" >
<y>336</y> <property name="spacing" >
<width>105</width> <number>8</number>
<height>25</height>
</rect>
</property> </property>
<property name="text" > <property name="margin" >
<string>Remove Author</string> <number>0</number>
</property> </property>
</widget> <item>
<widget class="QPushButton" name="AuthorAddNewItem" > <widget class="QLineEdit" name="CopyrightEditItem" />
<property name="geometry" > </item>
<rect> <item>
<x>392</x>
<y>56</y>
<width>129</width>
<height>25</height>
</rect>
</property>
<property name="text" >
<string>Add a New Author</string>
</property>
</widget>
<widget class="QPushButton" name="AuthorDeleteItem" >
<property name="geometry" >
<rect>
<x>528</x>
<y>56</y>
<width>129</width>
<height>25</height>
</rect>
</property>
<property name="text" >
<string>Delete Author</string>
</property>
</widget>
<widget class="QPushButton" name="AuthorAddtoSongItem" >
<property name="geometry" >
<rect>
<x>560</x>
<y>22</y>
<width>97</width>
<height>25</height>
</rect>
</property>
<property name="text" >
<string>Add to Song</string>
</property>
</widget>
<widget class="QPushButton" name="CopyrightInsertItem" > <widget class="QPushButton" name="CopyrightInsertItem" >
<property name="geometry" > <property name="maximumSize" >
<rect> <size>
<x>636</x> <width>29</width>
<y>376</y> <height>16777215</height>
<width>21</width> </size>
<height>21</height>
</rect>
</property> </property>
<property name="text" > <property name="text" >
<string>©</string> <string>©</string>
</property> </property>
</widget> </widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="ThemeWidget" >
<layout class="QHBoxLayout" name="ThemeWidgetLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="ThemeLabel" >
<property name="maximumSize" >
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="text" >
<string>Theme</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="ThemeSelectionComboItem" />
</item>
<item>
<widget class="QPushButton" name="ThemeAddItem" >
<property name="maximumSize" >
<size>
<width>110</width>
<height>16777215</height>
</size>
</property>
<property name="text" >
<string>Add a Theme</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="ButtonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
</property>
</widget>
</item>
</layout>
</widget> </widget>
<resources> <resources>
<include location="../images/openlp-2.qrc" /> <include location="../images/openlp-2.qrc" />
</resources> </resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>ButtonBox</sender>
<signal>rejected()</signal> <signal>rejected()</signal>
<receiver>EditSongForm</receiver> <receiver>EditSongForm</receiver>
<slot>close()</slot> <slot>close()</slot>
@ -369,7 +324,7 @@
</hints> </hints>
</connection> </connection>
<connection> <connection>
<sender>buttonBox</sender> <sender>ButtonBox</sender>
<signal>accepted()</signal> <signal>accepted()</signal>
<receiver>EditSongForm</receiver> <receiver>EditSongForm</receiver>
<slot>close()</slot> <slot>close()</slot>