Changeset 73231 in vbox
- Timestamp:
- Jul 19, 2018 10:18:09 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIEmptyFilePathSelector.cpp
r73019 r73231 56 56 57 57 mMainLayout = new QHBoxLayout (this); 58 mMainLayout->setMargin (0); 59 60 mSelectButton = new QIToolButton(this); 58 mMainLayout->setContentsMargins(0, 0, 0, 0); 59 #ifdef VBOX_WS_MAC 60 mMainLayout->setSpacing(5); 61 #endif 62 63 mSelectButton = new QToolButton(this); 64 #ifdef VBOX_WS_MAC 65 mSelectButton->setStyleSheet("QToolButton { border: 0px none black; margin: 0px 0px 0px 0px; } QToolButton::menu-indicator {image: none;}"); 66 #endif 61 67 mSelectButton->setIcon(UIIconPool::iconSet(":/select_file_16px.png", ":/select_file_disabled_16px.png")); 62 68 connect(mSelectButton, SIGNAL(clicked()), this, SLOT(choose())); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIEmptyFilePathSelector.h
r71901 r73231 32 32 class QHBoxLayout; 33 33 class QAction; 34 class Q IToolButton;34 class QToolButton; 35 35 36 36 … … 108 108 UIEmptyFilePathSelector::Mode mMode; 109 109 QILineEdit *mLineEdit; 110 Q IToolButton *mSelectButton;110 QToolButton *mSelectButton; 111 111 bool m_fButtonToolTipSet; 112 112 QString mFileDialogTitle;
Note:
See TracChangeset
for help on using the changeset viewer.