Fixed settings save bug
[someplayer] / src / ui / settingsdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>SettingsDialog</class>
4  <widget class="QDialog" name="SettingsDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Settings</string>
15   </property>
16   <layout class="QHBoxLayout" name="horizontalLayout_2">
17    <item>
18     <layout class="QVBoxLayout" name="verticalLayout">
19      <item>
20       <widget class="QScrollArea" name="scrollArea">
21        <property name="widgetResizable">
22         <bool>true</bool>
23        </property>
24        <widget class="QWidget" name="scrollAreaWidgetContents">
25         <property name="geometry">
26          <rect>
27           <x>0</x>
28           <y>0</y>
29           <width>776</width>
30           <height>296</height>
31          </rect>
32         </property>
33         <layout class="QVBoxLayout" name="verticalLayout_6">
34          <item>
35           <widget class="QGroupBox" name="albumSortingGroupBox">
36            <property name="enabled">
37             <bool>true</bool>
38            </property>
39            <property name="title">
40             <string/>
41            </property>
42            <layout class="QVBoxLayout" name="verticalLayout_3">
43             <item>
44              <widget class="QLabel" name="label_2">
45               <property name="text">
46                <string>Sort album:</string>
47               </property>
48              </widget>
49             </item>
50             <item>
51              <layout class="QHBoxLayout" name="horizontalLayout_3">
52               <item>
53                <widget class="QRadioButton" name="albumsSortAButton">
54                 <property name="text">
55                  <string>Alphabetical</string>
56                 </property>
57                </widget>
58               </item>
59               <item>
60                <widget class="QRadioButton" name="albumsSortDButton">
61                 <property name="text">
62                  <string>By date</string>
63                 </property>
64                </widget>
65               </item>
66              </layout>
67             </item>
68            </layout>
69           </widget>
70          </item>
71          <item>
72           <widget class="QGroupBox" name="groupBox_3">
73            <property name="title">
74             <string/>
75            </property>
76            <layout class="QVBoxLayout" name="verticalLayout_5">
77             <item>
78              <widget class="QLabel" name="label_4">
79               <property name="text">
80                <string>Orientation:</string>
81               </property>
82              </widget>
83             </item>
84             <item>
85              <layout class="QHBoxLayout" name="horizontalLayout_5">
86               <item>
87                <widget class="QRadioButton" name="orientationLButton">
88                 <property name="text">
89                  <string>Landscape</string>
90                 </property>
91                </widget>
92               </item>
93               <item>
94                <widget class="QRadioButton" name="orientationPButton">
95                 <property name="text">
96                  <string>Portrait</string>
97                 </property>
98                </widget>
99               </item>
100               <item>
101                <widget class="QRadioButton" name="orientationAButton">
102                 <property name="text">
103                  <string>Auto</string>
104                 </property>
105                </widget>
106               </item>
107              </layout>
108             </item>
109            </layout>
110           </widget>
111          </item>
112          <item>
113           <widget class="QGroupBox" name="groupBox_2">
114            <property name="title">
115             <string/>
116            </property>
117            <layout class="QVBoxLayout" name="verticalLayout_4">
118             <item>
119              <widget class="QLabel" name="label_3">
120               <property name="text">
121                <string>Show track lenght in library view:</string>
122               </property>
123              </widget>
124             </item>
125             <item>
126              <layout class="QHBoxLayout" name="horizontalLayout_4">
127               <item>
128                <widget class="QRadioButton" name="showTrackLenghtYButton">
129                 <property name="text">
130                  <string>Yes</string>
131                 </property>
132                </widget>
133               </item>
134               <item>
135                <widget class="QRadioButton" name="showTrackLenghtNButton">
136                 <property name="text">
137                  <string>No</string>
138                 </property>
139                </widget>
140               </item>
141              </layout>
142             </item>
143            </layout>
144           </widget>
145          </item>
146         </layout>
147        </widget>
148       </widget>
149      </item>
150      <item>
151       <spacer name="verticalSpacer">
152        <property name="orientation">
153         <enum>Qt::Vertical</enum>
154        </property>
155        <property name="sizeHint" stdset="0">
156         <size>
157          <width>20</width>
158          <height>40</height>
159         </size>
160        </property>
161       </spacer>
162      </item>
163     </layout>
164    </item>
165   </layout>
166  </widget>
167  <resources/>
168  <connections/>
169 </ui>