forked from openlp/openlp
614 lines
19 KiB
XML
614 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>OpenLPImportDialog</class>
|
|
<widget class="QDialog" name="OpenLPImportDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>473</width>
|
|
<height>459</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>openlp.org Song Importer</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset>
|
|
<normaloff>:/icon/openlp.org-icon-32.bmp</normaloff>:/icon/openlp.org-icon-32.bmp</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<property name="margin">
|
|
<number>8</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="ImportFileWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="ImportFileLabel">
|
|
<property name="text">
|
|
<string>Select openlp.org songfile to import:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="ImportFileLineEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="ImportFileSelectPushButton">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
<normaloff>:/imports/import_load.png</normaloff>:/imports/import_load.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="SongListFrame">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<property name="spacing">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>8</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="ImportFileSongListWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="ImportListLabel">
|
|
<property name="text">
|
|
<string>Import File Song List</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="ImportListTable">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::MultiSelection</enum>
|
|
</property>
|
|
<property name="showGrid">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="cornerButtonEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Song Title</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Author</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="ImportSelectAllWidget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="ImportSelectAllPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Select All</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
<normaloff>:/imports/import_selectall.png</normaloff>:/imports/import_selectall.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="ImportSelectAllHSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>89</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="importFilterWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QComboBox" name="ImportFilterComboBox">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>70</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Lyrics</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Title</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Author</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="importFilterLineEdit"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<zorder>ImportListTable</zorder>
|
|
<zorder>ImportListLabel</zorder>
|
|
<zorder>importFilterWidget</zorder>
|
|
<zorder>ImportSelectAllWidget</zorder>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="AddSelectedWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="AddSelectedTopVSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="AddSelectedPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>25</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
<normaloff>:/imports/import_move_to_list.png</normaloff>:/imports/import_move_to_list.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="AddSelectedBottomVSpacer">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="SelectedFileListWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="SelectedListLabel">
|
|
<property name="text">
|
|
<string>Song Import List</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="SelectedListTable">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::MultiSelection</enum>
|
|
</property>
|
|
<property name="showGrid">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="cornerButtonEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Song Title</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Author</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="SelectedSelectAllWidget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="SelectedSelectAllPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Select All</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
<normaloff>:/imports/import_selectall.png</normaloff>:/imports/import_selectall.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="SelectedSelectAllHSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>92</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="SelectedRemoveSelectedWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="SelectedRemoveSelectedButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>140</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Remove Selected</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images/openlp-2.qrc">
|
|
<normaloff>:/imports/import_remove.png</normaloff>:/imports/import_remove.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="SelectedRemoveSelectedHSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>49</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<zorder>ImportFileSongListWidget</zorder>
|
|
<zorder>SelectedFileListWidget</zorder>
|
|
<zorder>AddSelectedWidget</zorder>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="ProgressGroupBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Progress:</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<property name="spacing">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="ProgressLabel">
|
|
<property name="text">
|
|
<string>Ready to import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QProgressBar" name="ProgressBar">
|
|
<property name="value">
|
|
<number>24</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="ButtonBarWidget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<property name="spacing">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="ButtonBarHSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>288</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="ImportPushButton">
|
|
<property name="text">
|
|
<string>Import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="ClosePushButton">
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../images/openlp-2.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>ClosePushButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>OpenLPImportDialog</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>436</x>
|
|
<y>436</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>462</x>
|
|
<y>455</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>ImportSelectAllPushButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ImportListTable</receiver>
|
|
<slot>selectAll()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>75</x>
|
|
<y>281</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>88</x>
|
|
<y>176</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>SelectedSelectAllPushButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SelectedListTable</receiver>
|
|
<slot>selectAll()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>311</x>
|
|
<y>277</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>339</x>
|
|
<y>190</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>SelectedRemoveSelectedButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SelectedListTable</receiver>
|
|
<slot>clear()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>379</x>
|
|
<y>308</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>389</x>
|
|
<y>188</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|