2009-07-22 08:20:42 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>SongMaintenanceDialog</class>
|
|
|
|
<widget class="QDialog" name="SongMaintenanceDialog">
|
2009-07-23 20:20:49 +00:00
|
|
|
<property name="windowModality">
|
|
|
|
<enum>Qt::ApplicationModal</enum>
|
|
|
|
</property>
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>486</width>
|
|
|
|
<height>361</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Song Maintenance</string>
|
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<layout class="QVBoxLayout" name="DialogLayout">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="ContentWidget" native="true">
|
2009-07-23 20:20:49 +00:00
|
|
|
<layout class="QHBoxLayout" name="ContentLayout">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<widget class="QTableWidget" name="TypeTableWidget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>130</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
2009-07-23 20:20:49 +00:00
|
|
|
<width>130</width>
|
2009-07-22 08:20:42 +00:00
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="showDropIndicator" stdset="0">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<property name="dragDropOverwriteMode">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
|
|
</property>
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>32</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<property name="showGrid">
|
|
|
|
<bool>false</bool>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<property name="cornerButtonEnabled">
|
|
|
|
<bool>false</bool>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<attribute name="horizontalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
2009-07-22 08:20:42 +00:00
|
|
|
<bool>true</bool>
|
2009-07-23 20:20:49 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderStretchLastSection">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<row>
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="text">
|
2009-07-23 20:20:49 +00:00
|
|
|
<string>New Row</string>
|
|
|
|
</property>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<property name="text">
|
|
|
|
<string>New Row</string>
|
|
|
|
</property>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<property name="text">
|
|
|
|
<string>New Row</string>
|
|
|
|
</property>
|
|
|
|
</row>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Types</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<property name="text">
|
|
|
|
<string>
|
|
|
|
Authors</string>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
<property name="textAlignment">
|
|
|
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/author_maintenance.png</normaloff>:/songs/author_maintenance.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<item row="1" column="0">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="text">
|
2009-07-23 20:20:49 +00:00
|
|
|
<string>
|
|
|
|
Topics</string>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
<property name="textAlignment">
|
|
|
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/topic_maintenance.png</normaloff>:/songs/topic_maintenance.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<item row="2" column="0">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="text">
|
2009-07-23 20:20:49 +00:00
|
|
|
<string>
|
|
|
|
Books/Hymnals</string>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
<property name="textAlignment">
|
|
|
|
<set>AlignHCenter|AlignVCenter|AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/book_maintenance.png</normaloff>:/songs/book_maintenance.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QStackedWidget" name="TypeStackedWidget">
|
|
|
|
<property name="currentIndex">
|
2009-07-23 20:20:49 +00:00
|
|
|
<number>2</number>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="AuthorsPage">
|
2009-07-23 20:20:49 +00:00
|
|
|
<layout class="QVBoxLayout" name="AuthorsLayout">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="AuthorsListWidget"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<widget class="QWidget" name="AuthorButtonWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="AuthorButtonsLayout">
|
2009-07-22 08:20:42 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<spacer name="AuthorButtonSpacer">
|
2009-07-22 08:20:42 +00:00
|
|
|
<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="AuthorAddButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
2009-07-23 20:20:49 +00:00
|
|
|
<normaloff>:/songs/author_add.png</normaloff>:/songs/author_add.png</iconset>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="AuthorEditButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Edit</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
2009-07-23 20:20:49 +00:00
|
|
|
<normaloff>:/songs/author_edit.png</normaloff>:/songs/author_edit.png</iconset>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="AuthorDeleteButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Delete</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
2009-07-23 20:20:49 +00:00
|
|
|
<normaloff>:/songs/author_delete.png</normaloff>:/songs/author_delete.png</iconset>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-07-23 20:20:49 +00:00
|
|
|
<item>
|
|
|
|
<widget class="Line" name="AuthorsLine">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="TopicsPage">
|
|
|
|
<layout class="QVBoxLayout" name="TopicLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="TopicsListWidget"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="TopicButtonWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="TopicButtonLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<spacer name="TopicButtonSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>54</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="TopicAddButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/topic_add.png</normaloff>:/songs/topic_add.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="TopicEditButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Edit</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/topic_edit.png</normaloff>:/songs/topic_edit.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="TopicDeleteButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Delete</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/topic_delete.png</normaloff>:/songs/topic_delete.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="TopicsLine">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-07-22 08:20:42 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="BooksPage">
|
2009-07-23 20:20:49 +00:00
|
|
|
<layout class="QVBoxLayout" name="BookLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
2009-07-22 08:20:42 +00:00
|
|
|
</property>
|
2009-07-23 20:20:49 +00:00
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="BooksListWidget"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="BookButtonWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="BookButtonLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>8</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<spacer name="BookButtonSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>54</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="BookAddButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/book_add.png</normaloff>:/songs/book_add.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="BookEditButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Edit</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/book_edit.png</normaloff>:/songs/book_edit.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="BookDeleteButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Delete</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
|
|
<normaloff>:/songs/book_delete.png</normaloff>:/songs/book_delete.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="BooksLine">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2009-07-22 08:20:42 +00:00
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="MaintenanceButtonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Close</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../images/openlp-2.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>MaintenanceButtonBox</sender>
|
2009-07-23 20:20:49 +00:00
|
|
|
<signal>rejected()</signal>
|
2009-07-22 08:20:42 +00:00
|
|
|
<receiver>SongMaintenanceDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>242</x>
|
|
|
|
<y>340</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>242</x>
|
|
|
|
<y>180</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
2009-07-23 20:20:49 +00:00
|
|
|
<sender>TypeTableWidget</sender>
|
|
|
|
<signal>cellClicked(int,int)</signal>
|
2009-07-22 08:20:42 +00:00
|
|
|
<receiver>TypeStackedWidget</receiver>
|
|
|
|
<slot>setCurrentIndex(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2009-07-23 20:20:49 +00:00
|
|
|
<x>72</x>
|
2009-07-22 08:20:42 +00:00
|
|
|
<y>163</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2009-07-23 20:20:49 +00:00
|
|
|
<x>311</x>
|
2009-07-22 08:20:42 +00:00
|
|
|
<y>163</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|