-rw-r--r-- | noncore/settings/aqpkg/instoptions.ui | 185 | ||||
-rw-r--r-- | noncore/settings/aqpkg/instoptionsimpl.cpp | 4 |
2 files changed, 106 insertions, 83 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 @@ <rect> <x>0</x> <y>0</y> - <width>158</width> + <width>154</width> <height>205</height> </rect> </property> @@ -23,103 +23,126 @@ <name>sizeGripEnabled</name> <bool>false</bool> </property> - <grid> + <widget> + <class>QGroupBox</class> <property stdset="1"> - <name>margin</name> - <number>11</number> + <name>name</name> + <cstring>GroupBox1</cstring> </property> <property stdset="1"> - <name>spacing</name> - <number>6</number> + <name>geometry</name> + <rect> + <x>11</x> + <y>11</y> + <width>136</width> + <height>120</height> + </rect> </property> - <widget row="0" column="0" > - <class>QGroupBox</class> + <property stdset="1"> + <name>title</name> + <string>Options</string> + </property> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>forceDepends</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>11</x> + <y>19</y> + <width>114</width> + <height>19</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Force Depends</string> + </property> + </widget> + <widget> + <class>QCheckBox</class> <property stdset="1"> <name>name</name> - <cstring>GroupBox1</cstring> + <cstring>forceReinstall</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>11</x> + <y>44</y> + <width>114</width> + <height>19</height> + </rect> </property> <property stdset="1"> - <name>title</name> - <string>Options</string> + <name>text</name> + <string>Force Reinstall</string> </property> - <grid> - <property stdset="1"> - <name>margin</name> - <number>11</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>6</number> - </property> - <widget row="0" column="0" > - <class>QCheckBox</class> - <property stdset="1"> - <name>name</name> - <cstring>forceDepends</cstring> - </property> - <property stdset="1"> - <name>text</name> - <string>Force Depends</string> - </property> - </widget> - <widget row="1" column="0" > - <class>QCheckBox</class> - <property stdset="1"> - <name>name</name> - <cstring>forceReinstall</cstring> - </property> - <property stdset="1"> - <name>text</name> - <string>Force Reinstall</string> - </property> - </widget> - <widget row="2" column="0" > - <class>QCheckBox</class> - <property stdset="1"> - <name>name</name> - <cstring>forceRemove</cstring> - </property> - <property stdset="1"> - <name>text</name> - <string>Force Remove</string> - </property> - </widget> - <widget row="3" column="0" > - <class>QCheckBox</class> - <property stdset="1"> - <name>name</name> - <cstring>forceOverwrite</cstring> - </property> - <property stdset="1"> - <name>text</name> - <string>Force Overwrite</string> - </property> - </widget> - <widget row="4" column="0" > - <class>QCheckBox</class> - <property stdset="1"> - <name>name</name> - <cstring>makeLinks</cstring> - </property> - <property stdset="1"> - <name>text</name> - <string>Link to root</string> - </property> - </widget> - </grid> </widget> - <widget row="1" column="0" > - <class>QPushButton</class> + <widget> + <class>QCheckBox</class> <property stdset="1"> <name>name</name> - <cstring>btnOK</cstring> + <cstring>forceOverwrite</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>11</x> + <y>94</y> + <width>114</width> + <height>19</height> + </rect> </property> <property stdset="1"> <name>text</name> - <string>OK</string> + <string>Force Overwrite</string> </property> </widget> - </grid> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>forceRemove</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>11</x> + <y>69</y> + <width>114</width> + <height>19</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>Force Remove</string> + </property> + </widget> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>btnOK</cstring> + </property> + <property stdset="1"> + <name>geometry</name> + <rect> + <x>11</x> + <y>166</y> + <width>136</width> + <height>28</height> + </rect> + </property> + <property stdset="1"> + <name>text</name> + <string>OK</string> + </property> + </widget> </widget> <connections> <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 forceRemove->setChecked( true ); if ( flags & FORCE_OVERWRITE ) forceOverwrite->setChecked( true ); - if ( flags & MAKE_LINKS ) - makeLinks->setChecked( true ); +// if ( flags & MAKE_LINKS ) +// makeLinks->setChecked( true ); showMaximized(); |