1701
by Tim Beaulen
Port the cover dialog to Ui4 |
1 |
<ui version="4.0" > |
2 |
<class>CoverDialogBase</class> |
|
3 |
<widget class="QWidget" name="CoverDialogBase" > |
|
4 |
<property name="geometry" > |
|
5 |
<rect>
|
|
6 |
<x>0</x> |
|
7 |
<y>0</y> |
|
8 |
<width>685</width> |
|
9 |
<height>554</height> |
|
10 |
</rect>
|
|
11 |
</property>
|
|
12 |
<property name="windowTitle" > |
|
13 |
<string>Cover Manager</string> |
|
14 |
</property>
|
|
15 |
<layout class="QHBoxLayout" > |
|
16 |
<property name="margin" > |
|
17 |
<number>11</number> |
|
18 |
</property>
|
|
19 |
<property name="spacing" > |
|
20 |
<number>6</number> |
|
21 |
</property>
|
|
22 |
<item>
|
|
23 |
<widget class="K3ListView" name="m_artists" > |
|
24 |
<property name="sizePolicy" > |
|
25 |
<sizepolicy>
|
|
26 |
<hsizetype>5</hsizetype> |
|
27 |
<vsizetype>7</vsizetype> |
|
28 |
<horstretch>0</horstretch> |
|
29 |
<verstretch>0</verstretch> |
|
30 |
</sizepolicy>
|
|
31 |
</property>
|
|
32 |
<property name="minimumSize" > |
|
33 |
<size>
|
|
34 |
<width>164</width> |
|
35 |
<height>0</height> |
|
36 |
</size>
|
|
37 |
</property>
|
|
38 |
<property name="resizeMode" > |
|
39 |
<enum>Q3ListView::LastColumn</enum> |
|
40 |
</property>
|
|
41 |
<property name="shadeSortColumn" > |
|
42 |
<bool>false</bool> |
|
43 |
</property>
|
|
44 |
<column>
|
|
45 |
<property name="text" > |
|
46 |
<string>Artist</string> |
|
47 |
</property>
|
|
48 |
</column>
|
|
49 |
</widget>
|
|
50 |
</item>
|
|
51 |
<item>
|
|
52 |
<layout class="QVBoxLayout" > |
|
53 |
<property name="margin" > |
|
54 |
<number>0</number> |
|
55 |
</property>
|
|
56 |
<property name="spacing" > |
|
57 |
<number>6</number> |
|
58 |
</property>
|
|
59 |
<item>
|
|
60 |
<layout class="QHBoxLayout" > |
|
61 |
<property name="margin" > |
|
62 |
<number>0</number> |
|
63 |
</property>
|
|
64 |
<property name="spacing" > |
|
65 |
<number>6</number> |
|
66 |
</property>
|
|
67 |
<item>
|
|
68 |
<widget class="K3IconViewSearchLine" native="1" name="m_searchLine" > |
|
69 |
<property name="sizePolicy" > |
|
70 |
<sizepolicy>
|
|
71 |
<hsizetype>5</hsizetype> |
|
72 |
<vsizetype>0</vsizetype> |
|
73 |
<horstretch>1</horstretch> |
|
74 |
<verstretch>0</verstretch> |
|
75 |
</sizepolicy>
|
|
76 |
</property>
|
|
77 |
</widget>
|
|
78 |
</item>
|
|
79 |
</layout>
|
|
80 |
</item>
|
|
81 |
<item>
|
|
82 |
<widget class="CoverIconView" native="1" name="m_covers" > |
|
83 |
<property name="sizePolicy" > |
|
84 |
<sizepolicy>
|
|
85 |
<hsizetype>7</hsizetype> |
|
86 |
<vsizetype>7</vsizetype> |
|
87 |
<horstretch>1</horstretch> |
|
88 |
<verstretch>0</verstretch> |
|
89 |
</sizepolicy>
|
|
90 |
</property>
|
|
91 |
</widget>
|
|
92 |
</item>
|
|
93 |
</layout>
|
|
94 |
</item>
|
|
95 |
</layout>
|
|
96 |
</widget>
|
|
97 |
<customwidgets>
|
|
98 |
<customwidget>
|
|
99 |
<class>K3ListView</class> |
|
100 |
<extends>Q3ListView</extends> |
|
101 |
<header>k3listview.h</header> |
|
102 |
</customwidget>
|
|
103 |
<customwidget>
|
|
104 |
<class>K3IconViewSearchLine</class> |
|
105 |
<extends>QWidget</extends> |
|
106 |
<header>k3iconviewsearchline.h</header> |
|
107 |
</customwidget>
|
|
108 |
<customwidget>
|
|
109 |
<class>CoverIconView</class> |
|
110 |
<extends>QWidget</extends> |
|
111 |
<header>covericonview.h</header> |
|
112 |
<container>1</container> |
|
113 |
</customwidget>
|
|
114 |
</customwidgets>
|
|
115 |
<includes>
|
|
116 |
<include location="local" >k3listview.h</include> |
|
117 |
<include location="local" >k3iconviewsearchline.h</include> |
|
118 |
<include location="local" >covericonview.h</include> |
|
119 |
</includes>
|
|
120 |
<resources/>
|
|
121 |
<connections>
|
|
122 |
<connection>
|
|
123 |
<sender>m_artists</sender> |
|
124 |
<signal>clicked(Q3ListViewItem*)</signal> |
|
125 |
<receiver>CoverDialogBase</receiver> |
|
126 |
<slot>slotArtistClicked(Q3ListViewItem*)</slot> |
|
127 |
<hints>
|
|
128 |
<hint type="sourcelabel" > |
|
129 |
<x>20</x> |
|
130 |
<y>20</y> |
|
131 |
</hint>
|
|
132 |
<hint type="destinationlabel" > |
|
133 |
<x>20</x> |
|
134 |
<y>20</y> |
|
135 |
</hint>
|
|
136 |
</hints>
|
|
137 |
</connection>
|
|
138 |
<connection>
|
|
139 |
<sender>m_covers</sender> |
|
140 |
<signal>contextMenuRequested(Q3IconViewItem*,QPoint)</signal> |
|
141 |
<receiver>CoverDialogBase</receiver> |
|
142 |
<slot>slotContextRequested(Q3IconViewItem*,QPoint)</slot> |
|
143 |
<hints>
|
|
144 |
<hint type="sourcelabel" > |
|
145 |
<x>20</x> |
|
146 |
<y>20</y> |
|
147 |
</hint>
|
|
148 |
<hint type="destinationlabel" > |
|
149 |
<x>20</x> |
|
150 |
<y>20</y> |
|
151 |
</hint>
|
|
152 |
</hints>
|
|
153 |
</connection>
|
|
154 |
</connections>
|
|
155 |
</ui>
|