source: src/gui/settingsdialog.ui @ 8bdf2d3

qt5
Last change on this file since 8bdf2d3 was 3cdaf7d, checked in by kirilma <kirilma@…>, 12 years ago

UI tune: use buttonBox instead of single buttons to comply with platform conventions

maemo5 does not print "Cancel" buttons, and names "OK" differently
just use buttonBox, and it will behave properly at each platform

  • Property mode set to 100644
File size: 2.3 KB
Line 
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="sizePolicy">
6   <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
7    <horstretch>0</horstretch>
8    <verstretch>0</verstretch>
9   </sizepolicy>
10  </property>
11  <property name="minimumSize">
12   <size>
13    <width>500</width>
14    <height>0</height>
15   </size>
16  </property>
17  <property name="windowTitle">
18   <string>Settings</string>
19  </property>
20  <layout class="QVBoxLayout" name="verticalLayout">
21   <item>
22    <widget class="QGroupBox" name="groupBox">
23     <property name="title">
24      <string>Proxy Settings</string>
25     </property>
26     <layout class="QVBoxLayout" name="verticalLayout_2">
27      <item>
28       <widget class="QCheckBox" name="directConnection">
29        <property name="text">
30         <string>Direct connection</string>
31        </property>
32        <property name="checked">
33         <bool>true</bool>
34        </property>
35       </widget>
36      </item>
37      <item>
38       <widget class="QWidget" name="proxyWidget" native="true">
39        <layout class="QHBoxLayout" name="horizontalLayout_3">
40         <item>
41          <widget class="QLabel" name="label">
42           <property name="text">
43            <string>Address: </string>
44           </property>
45          </widget>
46         </item>
47         <item>
48          <widget class="QLineEdit" name="address"/>
49         </item>
50         <item>
51          <widget class="QLabel" name="label_2">
52           <property name="text">
53            <string>Port:</string>
54           </property>
55          </widget>
56         </item>
57         <item>
58          <widget class="QSpinBox" name="port">
59           <property name="maximum">
60            <number>9999</number>
61           </property>
62           <property name="value">
63            <number>8080</number>
64           </property>
65          </widget>
66         </item>
67        </layout>
68       </widget>
69      </item>
70     </layout>
71    </widget>
72   </item>
73   <item>
74    <widget class="QDialogButtonBox" name="buttonBox">
75     <property name="orientation">
76      <enum>Qt::Horizontal</enum>
77     </property>
78     <property name="standardButtons">
79      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
80     </property>
81    </widget>
82   </item>
83  </layout>
84 </widget>
85 <resources/>
86 <connections/>
87</ui>
Note: See TracBrowser for help on using the repository browser.