feature: enable python packaging

This commit is contained in:
Pau Ruiz i Safont
2018-03-10 19:00:56 +00:00
parent ede9ecdf14
commit 79180885b5
68 changed files with 190 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,7 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" version="1">
<path fill="#4f4f4f" d="m3.8102 2.0006a1.7691 1.5694 0 0 0 -1.8102 1.5688v16.863a1.7691 1.5694 0 0 0 2.6536 1.358l8.2314-4.215 8.231-4.215a1.7691 1.5694 0 0 0 0 -2.7182l-8.231-4.2161-8.2314-4.2156a1.7691 1.5694 0 0 0 -0.8434 -0.2097z"/>
<path opacity=".2" d="m5 5.5v14l6.832-3.679 6.168-3.321-6.168-3.3213-6.832-3.6787z"/>
<path fill="#00e382" d="m5 5v14l6.832-3.679 6.168-3.321-6.168-3.3213-6.832-3.6787z"/>
<path fill="#fff" opacity=".1" d="m3.8105 2.0002a1.7691 1.5694 0 0 0 -1.8105 1.5693v0.5a1.7691 1.5694 0 0 1 1.8105 -1.5693 1.7691 1.5694 0 0 1 0.8428 0.2099l8.2314 4.2158 8.2305 4.2158a1.7691 1.5694 0 0 1 0.86133 1.1074 1.7691 1.5694 0 0 0 -0.86133 -1.6074l-8.23-4.2161-8.2317-4.2158a1.7691 1.5694 0 0 0 -0.8428 -0.2099z"/>
<path opacity=".2" d="m21.977 12.249a1.7691 1.5694 0 0 1 -0.86133 1.1104l-8.2305 4.2158-8.2314 4.2148a1.7691 1.5694 0 0 1 -2.654 -1.358v0.5a1.7691 1.5694 0 0 0 2.6533 1.3584l8.2314-4.2148 8.2305-4.2158a1.7691 1.5694 0 0 0 0.86133 -1.6104z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

View File

@@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" version="1.1" viewBox="0 0 16 16">
<g transform="translate(0 -1036.4)">
<circle fill="#4caf50" cx="8" cy="1044.4" r="7"/>
<path fill="#fff" d="m11.535 1040.8-4.2422 4.2422-2.8281-2.8281-1.4141 1.4141 2.8281 2.8281 1.4141 1.4141 5.6563-5.6563-1.4141-1.4141z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 341 B

View File

@@ -1,426 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
version="1.1"
viewBox="0 0 22 22"
id="svg90"
sodipodi:docname="color-management.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
<metadata
id="metadata94">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1225"
inkscape:window-height="767"
id="namedview92"
showgrid="false"
inkscape:zoom="10.727273"
inkscape:cx="0.27966102"
inkscape:cy="11"
inkscape:window-x="578"
inkscape:window-y="148"
inkscape:window-maximized="0"
inkscape:current-layer="svg90" />
<defs
id="defs46">
<linearGradient
id="linearGradient4202"
x1="1"
x2="8"
y1="8"
y2="1"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#e81877"
id="stop2" />
<stop
offset=".313"
stop-color="#dd1d8c"
id="stop4" />
<stop
offset=".563"
stop-color="#6d57b1"
id="stop6" />
<stop
offset=".75"
stop-color="#2a78c1"
id="stop8" />
<stop
offset="1"
stop-color="#018dcb"
id="stop10" />
</linearGradient>
<linearGradient
id="linearGradient4204"
x1="1"
x2="8"
y1="8"
y2="15"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#e51561"
id="stop13" />
<stop
offset=".313"
stop-color="#e4156c"
id="stop15" />
<stop
offset=".563"
stop-color="#e71e2c"
id="stop17" />
<stop
offset=".75"
stop-color="#e8301e"
id="stop19" />
<stop
offset="1"
stop-color="#e6320e"
id="stop21" />
</linearGradient>
<linearGradient
id="linearGradient4206"
x1="15"
x2="8"
y1="8"
y2="1"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#bec900"
id="stop24" />
<stop
offset=".313"
stop-color="#9ec80a"
id="stop26" />
<stop
offset=".563"
stop-color="#71b93d"
id="stop28" />
<stop
offset=".75"
stop-color="#35a48f"
id="stop30" />
<stop
offset="1"
stop-color="#018fca"
id="stop32" />
</linearGradient>
<linearGradient
id="linearGradient4208"
x1="15"
x2="8"
y1="8"
y2="15"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#c1cc00"
id="stop35" />
<stop
offset=".313"
stop-color="#dfcd00"
id="stop37" />
<stop
offset=".563"
stop-color="#f0cc00"
id="stop39" />
<stop
offset=".75"
stop-color="#fd8c08"
id="stop41" />
<stop
offset="1"
stop-color="#f25c13"
id="stop43" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4206"
id="linearGradient4590"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4202"
id="linearGradient4592"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4208"
id="linearGradient4594"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4204"
id="linearGradient4596"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4206"
id="linearGradient4598"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4202"
id="linearGradient4600"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4208"
id="linearGradient4602"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4204"
id="linearGradient4604"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4206"
id="linearGradient4606"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4202"
id="linearGradient4608"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4208"
id="linearGradient4610"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4204"
id="linearGradient4612"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4206"
id="linearGradient4614"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4202"
id="linearGradient4616"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="1"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4208"
id="linearGradient4618"
gradientUnits="userSpaceOnUse"
x1="15"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4204"
id="linearGradient4620"
gradientUnits="userSpaceOnUse"
x1="1"
y1="8"
x2="8"
y2="15"
gradientTransform="matrix(0.80906149,0,0,0.80906149,1.5275081,1.5275081)" />
</defs>
<g
transform="matrix(1.236,0,0,1.236,1.112,1.112)"
id="g88">
<g
transform="rotate(15,8,8)"
id="g56">
<path
style="fill:url(#linearGradient4590)"
d="m 8,1 v 7 h 7 A 7,7 0 0 0 8,1 Z"
id="path48"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4592)"
d="M 8,1 A 7,7 0 0 0 1,8 h 7 z"
id="path50"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4594)"
d="m 8,8 v 7 a 7,7 0 0 0 7,-7 z"
id="path52"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4596)"
d="m 1,8 a 7,7 0 0 0 7,7 V 8 Z"
id="path54"
inkscape:connector-curvature="0" />
</g>
<g
style="opacity:0.7"
id="g66">
<path
style="fill:url(#linearGradient4598)"
d="m 8,1 v 7 h 7 A 7,7 0 0 0 8,1 Z"
id="path58"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4600)"
d="M 8,1 A 7,7 0 0 0 1,8 h 7 z"
id="path60"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4602)"
d="m 8,8 v 7 a 7,7 0 0 0 7,-7 z"
id="path62"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4604)"
d="m 1,8 a 7,7 0 0 0 7,7 V 8 Z"
id="path64"
inkscape:connector-curvature="0" />
</g>
<g
style="opacity:0.35"
transform="rotate(45,8,8)"
id="g76">
<path
style="fill:url(#linearGradient4606)"
d="m 8,1 v 7 h 7 A 7,7 0 0 0 8,1 Z"
id="path68"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4608)"
d="M 8,1 A 7,7 0 0 0 1,8 h 7 z"
id="path70"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4610)"
d="m 8,8 v 7 a 7,7 0 0 0 7,-7 z"
id="path72"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4612)"
d="m 1,8 a 7,7 0 0 0 7,7 V 8 Z"
id="path74"
inkscape:connector-curvature="0" />
</g>
<g
style="opacity:0.3"
transform="rotate(60,8,8)"
id="g86">
<path
style="fill:url(#linearGradient4614)"
d="m 8,1 v 7 h 7 A 7,7 0 0 0 8,1 Z"
id="path78"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4616)"
d="M 8,1 A 7,7 0 0 0 1,8 h 7 z"
id="path80"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4618)"
d="m 8,8 v 7 a 7,7 0 0 0 7,-7 z"
id="path82"
inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient4620)"
d="m 1,8 a 7,7 0 0 0 7,7 V 8 Z"
id="path84"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,133 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>729</width>
<height>318</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextBrowser" name="definitionView">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<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="okButton">
<property name="toolTip">
<string>WERDS</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/checkmark.svg</normaloff>:/images/checkmark.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pronounceButton">
<property name="toolTip">
<string>Play pronunciation of root word</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/QMPlay2.svg</normaloff>:/images/QMPlay2.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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="dialogBackground">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/color.svg</normaloff>:/images/color.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>27</width>
<height>27</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>

View File

@@ -1,9 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" version="1.1" viewBox="0 0 16 16">
<g transform="translate(0 -1036.4)">
<circle fill="#f44336" cx="8" cy="1044.4" r="7"/>
<g fill="#fff" transform="matrix(.70711 .70711 -.70711 .70711 740.82 300.23)">
<rect width="2" height="10" x="1043.4" y="-13" transform="rotate(90)"/>
<rect width="2" height="10" x="-9" y="-1049.4" transform="scale(-1)"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,185 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1049</width>
<height>720</height>
</rect>
</property>
<property name="windowTitle">
<string>Lector</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<property name="tabsClosable">
<bool>true</bool>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Library</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QStackedWidget" name="stackedWidget">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<widget class="QWidget" name="listPage">
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QListView" name="listView">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="movement">
<enum>QListView::Static</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>QListView::Fixed</enum>
</property>
<property name="layoutMode">
<enum>QListView::SinglePass</enum>
</property>
<property name="spacing">
<number>0</number>
</property>
<property name="viewMode">
<enum>QListView::IconMode</enum>
</property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tablePage">
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QTableView" name="tableView">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="gridStyle">
<enum>Qt::NoPen</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>

View File

@@ -1,204 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>728</width>
<height>234</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Edit metadata</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QGraphicsView" name="coverView">
<property name="maximumSize">
<size>
<width>165</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Cover (click to change)</string>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="titleLine">
<property name="toolTip">
<string>Title</string>
</property>
<property name="placeholderText">
<string>Title</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="authorLine">
<property name="toolTip">
<string>Author</string>
</property>
<property name="placeholderText">
<string>Author</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="yearLine">
<property name="toolTip">
<string>Year</string>
</property>
<property name="placeholderText">
<string>Year</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="tagsLine">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Tags (comma separated)</string>
</property>
<property name="placeholderText">
<string>Tags</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<spacer name="horizontalSpacer">
<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="okButton">
<property name="toolTip">
<string>OK</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/checkmark.svg</normaloff>:/images/checkmark.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="toolTip">
<string>Cancel</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/error.svg</normaloff>:/images/error.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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="dialogBackground">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/images/color.svg</normaloff>:/images/color.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>27</width>
<height>27</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>

View File

@@ -1,11 +0,0 @@
<RCC>
<qresource prefix="images">
<file>QMPlay2.svg</file>
<file>color.svg</file>
<file>blank.png</file>
<file>gray-shadow.png</file>
<file>NotFound.png</file>
<file>checkmark.svg</file>
<file>error.svg</file>
</qresource>
</RCC>

View File

@@ -1,157 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1009</width>
<height>658</height>
</rect>
</property>
<property name="windowTitle">
<string>Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Library</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QTreeView" name="treeView"/>
</item>
<item row="1" column="0">
<widget class="QTextBrowser" name="aboutBox">
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="openLinks">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Switches</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QCheckBox" name="refreshLibrary">
<property name="text">
<string>Startup: Refresh library</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fileRemember">
<property name="text">
<string>Remember open files</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="autoTags">
<property name="text">
<string>Generate tags from files</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="coverShadows">
<property name="text">
<string>Cover shadows</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="performCulling">
<property name="toolTip">
<string>Enabling reduces startup time and memory usage</string>
</property>
<property name="text">
<string>Load covers only when needed</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="languageLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Dictionary:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="languageBox"/>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="okButton">
<property name="text">
<string>Scan Library</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="aboutButton">
<property name="text">
<string>About</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>