openlp/resources/forms/editsongdialog.ui
Raoul Snyman 58606e2563 Updated look and feel of the Edit Song dialog.
Changed the form.show() to form.exec_() for dialogs.
Added the code for the (c) button.

bzr-revno: 325
2009-02-19 22:25:58 +00:00

563 lines
18 KiB
XML

<ui version="4.0" >
<class>EditSongDialog</class>
<widget class="QWidget" name="EditSongDialog" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>786</width>
<height>669</height>
</rect>
</property>
<property name="windowTitle" >
<string>Song Editor</string>
</property>
<property name="windowIcon" >
<iconset resource="../images/openlp-2.qrc" >
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
</property>
<layout class="QVBoxLayout" name="EditSongLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item>
<widget class="QWidget" native="1" name="TopWidget" >
<layout class="QHBoxLayout" name="TopLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QWidget" native="1" name="TextWidget" >
<layout class="QVBoxLayout" name="DetailsLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="TitleLabel" >
<property name="text" >
<string>Title:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="TitleEditItem" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="AlternativeTitleLabel" >
<property name="text" >
<string>Alternative Title:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="AlternativeEdit" />
</item>
<item>
<widget class="QLabel" name="LyricsLabel" >
<property name="text" >
<string>Lyrics:</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="LyricsTextEdit" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWrapMode" >
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="acceptRichText" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="VerseOrderLabel" >
<property name="text" >
<string>Verse Order:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="VerseOrderEdit" />
</item>
<item>
<widget class="QLabel" name="CommentsLabel" >
<property name="text" >
<string>Comments:</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="CommentsEdit" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="ThemeGroupBox" >
<property name="title" >
<string>Theme</string>
</property>
<layout class="QHBoxLayout" name="ThemeLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<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>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="AdditionalWidget" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<layout class="QVBoxLayout" name="AdditionalLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="AuthorsGroupBox" >
<property name="title" >
<string>Authors</string>
</property>
<layout class="QVBoxLayout" name="AuthorsLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item>
<widget class="QWidget" native="1" name="AuthorAddWidget" >
<layout class="QHBoxLayout" name="AddAuthorLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="AuthorsSelectionComboItem" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable" >
<bool>false</bool>
</property>
<property name="insertPolicy" >
<enum>QComboBox::InsertAlphabetically</enum>
</property>
<property name="sizeAdjustPolicy" >
<enum>QComboBox::AdjustToMinimumContentsLength</enum>
</property>
<property name="minimumContentsLength" >
<number>8</number>
</property>
</widget>
</item>
<item>
<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>
</layout>
</widget>
</item>
<item>
<widget class="QTableWidget" name="AuthorsListView" >
<property name="alternatingRowColors" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="AuthorRemoveWidget" >
<layout class="QHBoxLayout" name="AuthorRemoveLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<spacer name="AuthorsSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="AuthorRemoveItem" >
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="AddAuthorsButton" >
<property name="text" >
<string>Manage Authors</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="SongBookGroup" >
<property name="title" >
<string>Song Book</string>
</property>
<layout class="QGridLayout" name="SongbookLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>8</number>
</property>
<item row="0" column="0" >
<widget class="QComboBox" name="SongbookCombo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="AddSongBookButton" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Manage Song Books</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="TopicGroupBox" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Topic</string>
</property>
<layout class="QVBoxLayout" name="TopicLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item>
<widget class="QWidget" native="1" name="TopicAddWidget" >
<layout class="QHBoxLayout" name="TopicAddLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="SongTopicCombo" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="AddTopicsToSongButton" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Add to Song</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTableWidget" name="ToticsListView" >
<property name="alternatingRowColors" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="TopicRemoveWidget" >
<layout class="QHBoxLayout" name="TopicRemoveLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<spacer name="TopicsSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton" >
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="AddTopicButton" >
<property name="text" >
<string>Manage Topics</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="CopyrightgroupBox" >
<property name="title" >
<string>Copyright Infomaton</string>
</property>
<layout class="QVBoxLayout" name="CopyrightLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>8</number>
</property>
<item>
<widget class="QWidget" native="1" name="CopyrightWidget" >
<layout class="QHBoxLayout" name="CopyLayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="CopyrightEditItem" />
</item>
<item>
<widget class="QPushButton" name="CopyrightInsertItem" >
<property name="maximumSize" >
<size>
<width>29</width>
<height>16777215</height>
</size>
</property>
<property name="text" >
<string>©</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" native="1" name="CcliWidget" >
<layout class="QHBoxLayout" name="CCLILayout" >
<property name="spacing" >
<number>8</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="CCLILabel" >
<property name="text" >
<string>CCLI Number:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="CCLNumberEdit" />
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</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>
<tabstops>
<tabstop>TitleEditItem</tabstop>
<tabstop>AlternativeEdit</tabstop>
<tabstop>LyricsTextEdit</tabstop>
<tabstop>VerseOrderEdit</tabstop>
<tabstop>CommentsEdit</tabstop>
<tabstop>ThemeSelectionComboItem</tabstop>
<tabstop>ThemeAddItem</tabstop>
<tabstop>AuthorAddtoSongItem</tabstop>
<tabstop>AuthorsListView</tabstop>
<tabstop>AuthorRemoveItem</tabstop>
<tabstop>SongbookCombo</tabstop>
<tabstop>AddSongBookButton</tabstop>
<tabstop>SongTopicCombo</tabstop>
<tabstop>ToticsListView</tabstop>
<tabstop>pushButton</tabstop>
<tabstop>CopyrightEditItem</tabstop>
<tabstop>CopyrightInsertItem</tabstop>
<tabstop>CCLNumberEdit</tabstop>
<tabstop>ButtonBox</tabstop>
</tabstops>
<resources>
<include location="../images/openlp-2.qrc" />
</resources>
<connections>
<connection>
<sender>ButtonBox</sender>
<signal>rejected()</signal>
<receiver>EditSongDialog</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>607</x>
<y>456</y>
</hint>
<hint type="destinationlabel" >
<x>578</x>
<y>-15</y>
</hint>
</hints>
</connection>
<connection>
<sender>ButtonBox</sender>
<signal>accepted()</signal>
<receiver>EditSongDialog</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>549</x>
<y>461</y>
</hint>
<hint type="destinationlabel" >
<x>91</x>
<y>-50</y>
</hint>
</hints>
</connection>
</connections>
</ui>