-rw-r--r-- | noncore/settings/aqpkg/instoptions.ui | 101 | ||||
-rw-r--r-- | noncore/settings/aqpkg/instoptionsimpl.cpp | 4 |
2 files changed, 64 insertions, 41 deletions
diff --git a/noncore/settings/aqpkg/instoptions.ui b/noncore/settings/aqpkg/instoptions.ui index d4a3548..52897dd 100644 --- a/noncore/settings/aqpkg/instoptions.ui +++ b/noncore/settings/aqpkg/instoptions.ui | |||
@@ -11,7 +11,7 @@ | |||
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>158</width> | 14 | <width>154</width> |
15 | <height>205</height> | 15 | <height>205</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
@@ -23,103 +23,126 @@ | |||
23 | <name>sizeGripEnabled</name> | 23 | <name>sizeGripEnabled</name> |
24 | <bool>false</bool> | 24 | <bool>false</bool> |
25 | </property> | 25 | </property> |
26 | <grid> | 26 | <widget> |
27 | <property stdset="1"> | ||
28 | <name>margin</name> | ||
29 | <number>11</number> | ||
30 | </property> | ||
31 | <property stdset="1"> | ||
32 | <name>spacing</name> | ||
33 | <number>6</number> | ||
34 | </property> | ||
35 | <widget row="0" column="0" > | ||
36 | <class>QGroupBox</class> | 27 | <class>QGroupBox</class> |
37 | <property stdset="1"> | 28 | <property stdset="1"> |
38 | <name>name</name> | 29 | <name>name</name> |
39 | <cstring>GroupBox1</cstring> | 30 | <cstring>GroupBox1</cstring> |
40 | </property> | 31 | </property> |
41 | <property stdset="1"> | 32 | <property stdset="1"> |
42 | <name>title</name> | 33 | <name>geometry</name> |
43 | <string>Options</string> | 34 | <rect> |
44 | </property> | 35 | <x>11</x> |
45 | <grid> | 36 | <y>11</y> |
46 | <property stdset="1"> | 37 | <width>136</width> |
47 | <name>margin</name> | 38 | <height>120</height> |
48 | <number>11</number> | 39 | </rect> |
49 | </property> | 40 | </property> |
50 | <property stdset="1"> | 41 | <property stdset="1"> |
51 | <name>spacing</name> | 42 | <name>title</name> |
52 | <number>6</number> | 43 | <string>Options</string> |
53 | </property> | 44 | </property> |
54 | <widget row="0" column="0" > | 45 | <widget> |
55 | <class>QCheckBox</class> | 46 | <class>QCheckBox</class> |
56 | <property stdset="1"> | 47 | <property stdset="1"> |
57 | <name>name</name> | 48 | <name>name</name> |
58 | <cstring>forceDepends</cstring> | 49 | <cstring>forceDepends</cstring> |
59 | </property> | 50 | </property> |
60 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>geometry</name> | ||
53 | <rect> | ||
54 | <x>11</x> | ||
55 | <y>19</y> | ||
56 | <width>114</width> | ||
57 | <height>19</height> | ||
58 | </rect> | ||
59 | </property> | ||
60 | <property stdset="1"> | ||
61 | <name>text</name> | 61 | <name>text</name> |
62 | <string>Force Depends</string> | 62 | <string>Force Depends</string> |
63 | </property> | 63 | </property> |
64 | </widget> | 64 | </widget> |
65 | <widget row="1" column="0" > | 65 | <widget> |
66 | <class>QCheckBox</class> | 66 | <class>QCheckBox</class> |
67 | <property stdset="1"> | 67 | <property stdset="1"> |
68 | <name>name</name> | 68 | <name>name</name> |
69 | <cstring>forceReinstall</cstring> | 69 | <cstring>forceReinstall</cstring> |
70 | </property> | 70 | </property> |
71 | <property stdset="1"> | 71 | <property stdset="1"> |
72 | <name>text</name> | 72 | <name>geometry</name> |
73 | <string>Force Reinstall</string> | 73 | <rect> |
74 | </property> | 74 | <x>11</x> |
75 | </widget> | 75 | <y>44</y> |
76 | <widget row="2" column="0" > | 76 | <width>114</width> |
77 | <class>QCheckBox</class> | 77 | <height>19</height> |
78 | <property stdset="1"> | 78 | </rect> |
79 | <name>name</name> | ||
80 | <cstring>forceRemove</cstring> | ||
81 | </property> | 79 | </property> |
82 | <property stdset="1"> | 80 | <property stdset="1"> |
83 | <name>text</name> | 81 | <name>text</name> |
84 | <string>Force Remove</string> | 82 | <string>Force Reinstall</string> |
85 | </property> | 83 | </property> |
86 | </widget> | 84 | </widget> |
87 | <widget row="3" column="0" > | 85 | <widget> |
88 | <class>QCheckBox</class> | 86 | <class>QCheckBox</class> |
89 | <property stdset="1"> | 87 | <property stdset="1"> |
90 | <name>name</name> | 88 | <name>name</name> |
91 | <cstring>forceOverwrite</cstring> | 89 | <cstring>forceOverwrite</cstring> |
92 | </property> | 90 | </property> |
93 | <property stdset="1"> | 91 | <property stdset="1"> |
92 | <name>geometry</name> | ||
93 | <rect> | ||
94 | <x>11</x> | ||
95 | <y>94</y> | ||
96 | <width>114</width> | ||
97 | <height>19</height> | ||
98 | </rect> | ||
99 | </property> | ||
100 | <property stdset="1"> | ||
94 | <name>text</name> | 101 | <name>text</name> |
95 | <string>Force Overwrite</string> | 102 | <string>Force Overwrite</string> |
96 | </property> | 103 | </property> |
97 | </widget> | 104 | </widget> |
98 | <widget row="4" column="0" > | 105 | <widget> |
99 | <class>QCheckBox</class> | 106 | <class>QCheckBox</class> |
100 | <property stdset="1"> | 107 | <property stdset="1"> |
101 | <name>name</name> | 108 | <name>name</name> |
102 | <cstring>makeLinks</cstring> | 109 | <cstring>forceRemove</cstring> |
110 | </property> | ||
111 | <property stdset="1"> | ||
112 | <name>geometry</name> | ||
113 | <rect> | ||
114 | <x>11</x> | ||
115 | <y>69</y> | ||
116 | <width>114</width> | ||
117 | <height>19</height> | ||
118 | </rect> | ||
103 | </property> | 119 | </property> |
104 | <property stdset="1"> | 120 | <property stdset="1"> |
105 | <name>text</name> | 121 | <name>text</name> |
106 | <string>Link to root</string> | 122 | <string>Force Remove</string> |
107 | </property> | 123 | </property> |
108 | </widget> | 124 | </widget> |
109 | </grid> | ||
110 | </widget> | 125 | </widget> |
111 | <widget row="1" column="0" > | 126 | <widget> |
112 | <class>QPushButton</class> | 127 | <class>QPushButton</class> |
113 | <property stdset="1"> | 128 | <property stdset="1"> |
114 | <name>name</name> | 129 | <name>name</name> |
115 | <cstring>btnOK</cstring> | 130 | <cstring>btnOK</cstring> |
116 | </property> | 131 | </property> |
117 | <property stdset="1"> | 132 | <property stdset="1"> |
133 | <name>geometry</name> | ||
134 | <rect> | ||
135 | <x>11</x> | ||
136 | <y>166</y> | ||
137 | <width>136</width> | ||
138 | <height>28</height> | ||
139 | </rect> | ||
140 | </property> | ||
141 | <property stdset="1"> | ||
118 | <name>text</name> | 142 | <name>text</name> |
119 | <string>OK</string> | 143 | <string>OK</string> |
120 | </property> | 144 | </property> |
121 | </widget> | 145 | </widget> |
122 | </grid> | ||
123 | </widget> | 146 | </widget> |
124 | <connections> | 147 | <connections> |
125 | <connection> | 148 | <connection> |
diff --git a/noncore/settings/aqpkg/instoptionsimpl.cpp b/noncore/settings/aqpkg/instoptionsimpl.cpp index d9d2be9..dd996e0 100644 --- a/noncore/settings/aqpkg/instoptionsimpl.cpp +++ b/noncore/settings/aqpkg/instoptionsimpl.cpp | |||
@@ -37,8 +37,8 @@ InstallOptionsDlgImpl::InstallOptionsDlgImpl( int flags, QWidget * parent, const | |||
37 | forceRemove->setChecked( true ); | 37 | forceRemove->setChecked( true ); |
38 | if ( flags & FORCE_OVERWRITE ) | 38 | if ( flags & FORCE_OVERWRITE ) |
39 | forceOverwrite->setChecked( true ); | 39 | forceOverwrite->setChecked( true ); |
40 | if ( flags & MAKE_LINKS ) | 40 | // if ( flags & MAKE_LINKS ) |
41 | makeLinks->setChecked( true ); | 41 | // makeLinks->setChecked( true ); |
42 | 42 | ||
43 | showMaximized(); | 43 | showMaximized(); |
44 | 44 | ||