openlp/resources/forms/songmaintenance.ui
2010-09-14 20:18:47 +02:00

443 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SongMaintenanceDialog</class>
<widget class="QDialog" name="SongMaintenanceDialog">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<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>
<layout class="QVBoxLayout" name="DialogLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>8</number>
</property>
<item>
<widget class="QWidget" name="ContentWidget" native="true">
<layout class="QHBoxLayout" name="ContentLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<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>
<property name="maximumSize">
<size>
<width>130</width>
<height>16777215</height>
</size>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="dragDropOverwriteMode">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="cornerButtonEnabled">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderStretchLastSection">
<bool>false</bool>
</attribute>
<row>
<property name="text">
<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>
</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>
<item row="1" column="0">
<property name="text">
<string>
Topics</string>
</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>
<item row="2" column="0">
<property name="text">
<string>
Books/Hymnals</string>
</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">
<number>2</number>
</property>
<widget class="QWidget" name="AuthorsPage">
<layout class="QVBoxLayout" name="AuthorsLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QListWidget" name="AuthorsListWidget"/>
</item>
<item>
<widget class="QWidget" name="AuthorButtonWidget" native="true">
<layout class="QHBoxLayout" name="AuthorButtonsLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<spacer name="AuthorButtonSpacer">
<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">
<normaloff>:/songs/author_add.png</normaloff>:/songs/author_add.png</iconset>
</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">
<normaloff>:/songs/author_edit.png</normaloff>:/songs/author_edit.png</iconset>
</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">
<normaloff>:/songs/author_delete.png</normaloff>:/songs/author_delete.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<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>
</layout>
</widget>
<widget class="QWidget" name="BooksPage">
<layout class="QVBoxLayout" name="BookLayout">
<property name="spacing">
<number>8</number>
</property>
<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>
</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>
<signal>rejected()</signal>
<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>
<sender>TypeTableWidget</sender>
<signal>cellClicked(int,int)</signal>
<receiver>TypeStackedWidget</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>72</x>
<y>163</y>
</hint>
<hint type="destinationlabel">
<x>311</x>
<y>163</y>
</hint>
</hints>
</connection>
</connections>
</ui>