- Timestamp:
- May 16, 2014 3:34:46 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.cpp
r44528 r51280 37 37 , mIsExpanded (false) 38 38 { 39 updateIcon();39 init(); 40 40 } 41 41 … … 44 44 , mIsExpanded (false) 45 45 { 46 updateIcon();46 init(); 47 47 } 48 48 … … 52 52 updateIcon(); 53 53 QIRichToolButton::buttonClicked(); 54 } 55 56 void QIArrowButtonSwitch::init() 57 { 58 /* Restrict icon size: */ 59 mButton->setIconSize(QSize(10, 10)); 60 /* And update icon finally: */ 61 updateIcon(); 54 62 } 55 63 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowButtonSwitch.h
r44528 r51280 50 50 private: 51 51 52 /** Performs initialization. */ 53 void init(); 52 54 void updateIcon(); 53 55 bool eventFilter (QObject *aObject, QEvent *aEvent); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
r48576 r51280 25 25 #include "VBoxGlobal.h" 26 26 #include "UIConverter.h" 27 #include "UIIconPool.h" 27 28 28 29 /* COM includes: */ … … 58 59 m_pMACEditor->setValidator(new QRegExpValidator(QRegExp("[0-9A-Fa-f]{12}"), this)); 59 60 m_pMACEditor->setMinimumWidthByText(QString().fill('0', 12)); 61 m_pMACButton->setIcon(UIIconPool::iconSet(":/refresh_16px.png")); 60 62 61 63 /* Setup connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.ui
r51276 r51280 218 218 <string>Generates a new random MAC address.</string> 219 219 </property> 220 <property name="icon">221 <iconset resource="../VirtualBox1.qrc">222 <normaloff>:/refresh_16px.png</normaloff>:/refresh_16px.png</iconset>223 </property>224 220 </widget> 225 221 </item>
Note:
See TracChangeset
for help on using the changeset viewer.