Changeset 45219 in vbox
- Timestamp:
- Mar 28, 2013 4:20:50 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84586
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/global
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp
r45193 r45219 102 102 m_pPackagesToolbar->setUsesTextLabel(false); 103 103 m_pPackagesToolbar->setIconSize(QSize(16, 16)); 104 m_pPackagesToolbar->setOrientation(Qt::Vertical); 104 105 m_pActionAdd = m_pPackagesToolbar->addAction(UIIconPool::iconSet(":/extension_pack_install_16px.png", 105 106 ":/extension_pack_install_disabled_16px.png"), -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.ui
r43106 r45219 70 70 </item> 71 71 <item row="1" column="2"> 72 <layout class="QHBoxLayout" name="m_pLayout1"> 73 <property name="spacing"> 74 <number>3</number> 75 </property> 76 <property name="margin"> 77 <number>0</number> 78 </property> 79 <item> 80 <widget class="QTreeWidget" name="m_pPackagesTree"> 81 <property name="sizePolicy"> 82 <sizepolicy vsizetype="Expanding" hsizetype="Expanding"> 83 <horstretch>0</horstretch> 84 <verstretch>0</verstretch> 85 </sizepolicy> 86 </property> 87 <property name="minimumSize"> 88 <size> 89 <width>0</width> 90 <height>150</height> 91 </size> 92 </property> 93 <property name="whatsThis"> 94 <string>Lists all installed packages.</string> 95 </property> 96 <property name="rootIsDecorated"> 97 <bool>false</bool> 98 </property> 99 <column> 100 <property name="text"> 101 <string>Active</string> 72 <widget class="QWidget" native="1" name="m_pExtensionPackContainer" > 73 <layout class="QHBoxLayout" name="m_pLayout1"> 74 <property name="spacing"> 75 <number>3</number> 76 </property> 77 <property name="margin"> 78 <number>0</number> 79 </property> 80 <item> 81 <widget class="QTreeWidget" name="m_pPackagesTree"> 82 <property name="sizePolicy"> 83 <sizepolicy vsizetype="Expanding" hsizetype="Expanding"> 84 <horstretch>0</horstretch> 85 <verstretch>0</verstretch> 86 </sizepolicy> 102 87 </property> 103 </column> 104 <column> 105 <property name="text"> 106 <string>Name</string> 88 <property name="minimumSize"> 89 <size> 90 <width>0</width> 91 <height>150</height> 92 </size> 107 93 </property> 108 </column> 109 <column> 110 <property name="text"> 111 <string>Version</string> 94 <property name="whatsThis"> 95 <string>Lists all installed packages.</string> 112 96 </property> 113 </column> 114 </widget> 115 </item> 116 <item> 117 <widget class="UIToolBar" name="m_pPackagesToolbar"> 118 <property name="orientation"> 119 <enum>Qt::Vertical</enum> 120 </property> 121 </widget> 122 </item> 123 </layout> 97 <property name="rootIsDecorated"> 98 <bool>false</bool> 99 </property> 100 <column> 101 <property name="text"> 102 <string>Active</string> 103 </property> 104 </column> 105 <column> 106 <property name="text"> 107 <string>Name</string> 108 </property> 109 </column> 110 <column> 111 <property name="text"> 112 <string>Version</string> 113 </property> 114 </column> 115 </widget> 116 </item> 117 <item> 118 <widget class="UIToolBar" name="m_pPackagesToolbar"/> 119 </item> 120 </layout> 121 </widget> 124 122 </item> 125 123 </layout> -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r45193 r45219 229 229 m_pActionsToolbar->addAction(m_pDelAction); 230 230 m_pActionsToolbar->addAction(m_pEditAction); 231 m_pActionsToolbar->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::MinimumExpanding);232 m_pActionsToolbar->updateGeometry();233 m_pActionsToolbar->setMinimumHeight(m_pActionsToolbar->sizeHint().height());234 231 235 232 /* Setup connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.ui
r43106 r45219 54 54 </item> 55 55 <item row="1" column="2"> 56 <layout class="QHBoxLayout" name="m_pLayout1"> 57 <property name="spacing"> 58 <number>3</number> 59 </property> 60 <property name="margin"> 61 <number>0</number> 62 </property> 63 <item> 64 <widget class="QTreeWidget" name="m_pInterfacesTree"> 65 <property name="sizePolicy"> 66 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 67 <horstretch>0</horstretch> 68 <verstretch>0</verstretch> 69 </sizepolicy> 70 </property> 71 <property name="minimumSize"> 72 <size> 73 <width>0</width> 74 <height>150</height> 75 </size> 76 </property> 77 <property name="whatsThis"> 78 <string>Lists all available host-only networks.</string> 79 </property> 80 <property name="rootIsDecorated"> 81 <bool>false</bool> 82 </property> 83 <column> 84 <property name="text"> 85 <string>Name</string> 56 <widget class="QWidget" native="1" name="m_pNetworkSettingsContainer" > 57 <layout class="QHBoxLayout" name="m_pLayout1"> 58 <property name="spacing"> 59 <number>3</number> 60 </property> 61 <property name="margin"> 62 <number>0</number> 63 </property> 64 <item> 65 <widget class="QTreeWidget" name="m_pInterfacesTree"> 66 <property name="sizePolicy"> 67 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 68 <horstretch>0</horstretch> 69 <verstretch>0</verstretch> 70 </sizepolicy> 86 71 </property> 87 </column> 88 </widget> 89 </item> 90 <item> 91 <widget class="UIToolBar" name="m_pActionsToolbar"> 92 <property name="orientation"> 93 <enum>Qt::Horizontal</enum> 94 </property> 95 </widget> 96 </item> 97 </layout> 72 <property name="minimumSize"> 73 <size> 74 <width>0</width> 75 <height>150</height> 76 </size> 77 </property> 78 <property name="whatsThis"> 79 <string>Lists all available host-only networks.</string> 80 </property> 81 <property name="rootIsDecorated"> 82 <bool>false</bool> 83 </property> 84 <column> 85 <property name="text"> 86 <string>Name</string> 87 </property> 88 </column> 89 </widget> 90 </item> 91 <item> 92 <widget class="UIToolBar" name="m_pActionsToolbar"/> 93 </item> 94 </layout> 95 </widget> 98 96 </item> 99 97 <item row="1" column="1">
Note:
See TracChangeset
for help on using the changeset viewer.