Debian Codegraph @

gui/ui/frmlistsubtitles.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>frmListSubtitles</class>
4 <widget class="QDialog" name="frmListSubtitles">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>573</width>
10 <height>343</height>
11 </rect>
12 </property>
13 <property name="minimumSize">
14 <size>
15 <width>500</width>
16 <height>300</height>
17 </size>
18 </property>
19 <property name="windowTitle">
20 <string>QNapi - Select subtitles from the list</string>
21 </property>
22 <property name="windowIcon">
23 <iconset resource="../res/resources.qrc">
24 <normaloff>:/icon/qnapi.png</normaloff>:/icon/qnapi.png</iconset>
25 </property>
26 <layout class="QGridLayout" name="gridLayout">
27 <item row="4" column="1">
28 <spacer name="horizontalSpacer">
29 <property name="orientation">
30 <enum>Qt::Horizontal</enum>
31 </property>
32 <property name="sizeHint" stdset="0">
33 <size>
34 <width>176</width>
35 <height>25</height>
36 </size>
37 </property>
38 </spacer>
39 </item>
40 <item row="0" column="0" colspan="3">
41 <widget class="QLabel" name="lbSelectSubtitles">
42 <property name="text">
43 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the subtitles which you want to download for video file&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;film.avi&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
44 </property>
45 <property name="wordWrap">
46 <bool>true</bool>
47 </property>
48 </widget>
49 </item>
50 <item row="4" column="2">
51 <widget class="QPushButton" name="pbDownload">
52 <property name="text">
53 <string>Download subtitles</string>
54 </property>
55 </widget>
56 </item>
57 <item row="4" column="0">
58 <widget class="QPushButton" name="pbDontDownload">
59 <property name="text">
60 <string>Do not download subtitles for this video</string>
61 </property>
62 </widget>
63 </item>
64 <item row="2" column="0" colspan="3">
65 <widget class="QLabel" name="lbGreenHint">
66 <property name="text">
67 <string>Subtitles &lt;b&gt;likely matching&lt;/b&gt; with your video highlighted with green.</string>
68 </property>
69 <property name="alignment">
70 <set>Qt::AlignJustify|Qt::AlignVCenter</set>
71 </property>
72 </widget>
73 </item>
74 <item row="3" column="0" colspan="3">
75 <widget class="QLabel" name="lbRedHint">
76 <property name="text">
77 <string>Subtitles &lt;b&gt;likely not matching&lt;/b&gt; with your video highlighted with red.</string>
78 </property>
79 </widget>
80 </item>
81 <item row="1" column="0" colspan="3">
82 <widget class="QListWidget" name="twSubtitles">
83 <property name="editTriggers">
84 <set>QAbstractItemView::NoEditTriggers</set>
85 </property>
86 <property name="dragDropOverwriteMode">
87 <bool>false</bool>
88 </property>
89 <property name="alternatingRowColors">
90 <bool>true</bool>
91 </property>
92 <property name="selectionMode">
93 <enum>QAbstractItemView::SingleSelection</enum>
94 </property>
95 <property name="selectionBehavior">
96 <enum>QAbstractItemView::SelectRows</enum>
97 </property>
98 <property name="verticalScrollMode">
99 <enum>QAbstractItemView::ScrollPerPixel</enum>
100 </property>
101 <property name="horizontalScrollMode">
102 <enum>QAbstractItemView::ScrollPerPixel</enum>
103 </property>
104 </widget>
105 </item>
106 </layout>
107 </widget>
108 <resources>
109 <include location="../res/resources.qrc"/>
110 </resources>
111 <connections>
112 <connection>
113 <sender>pbDownload</sender>
114 <signal>clicked()</signal>
115 <receiver>frmListSubtitles</receiver>
116 <slot>accept()</slot>
117 <hints>
118 <hint type="sourcelabel">
119 <x>506</x>
120 <y>317</y>
121 </hint>
122 <hint type="destinationlabel">
123 <x>286</x>
124 <y>167</y>
125 </hint>
126 </hints>
127 </connection>
128 <connection>
129 <sender>pbDontDownload</sender>
130 <signal>clicked()</signal>
131 <receiver>frmListSubtitles</receiver>
132 <slot>reject()</slot>
133 <hints>
134 <hint type="sourcelabel">
135 <x>130</x>
136 <y>317</y>
137 </hint>
138 <hint type="destinationlabel">
139 <x>286</x>
140 <y>167</y>
141 </hint>
142 </hints>
143 </connection>
144 <connection>
145 <sender>twSubtitles</sender>
146 <signal>doubleClicked(QModelIndex)</signal>
147 <receiver>pbDownload</receiver>
148 <slot>click()</slot>
149 <hints>
150 <hint type="sourcelabel">
151 <x>286</x>
152 <y>146</y>
153 </hint>
154 <hint type="destinationlabel">
155 <x>525</x>
156 <y>321</y>
157 </hint>
158 </hints>
159 </connection>
160 </connections>
161 </ui>