Changeset 69526 in vbox for trunk/src/VBox
- Timestamp:
- Oct 30, 2017 1:04:33 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/medium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDetailsWidget.cpp
r69519 r69526 58 58 , m_pTabWidget(0) 59 59 , m_pLabelType(0), m_pComboBoxType(0), m_pErrorPaneType(0) 60 , m_pLabelLocation(0), m_pEditorLocation(0), m_p ButtonLocation(0), m_pErrorPaneLocation(0)60 , m_pLabelLocation(0), m_pEditorLocation(0), m_pErrorPaneLocation(0), m_pButtonLocation(0) 61 61 , m_pLabelDescription(0), m_pEditorDescription(0), m_pErrorPaneDescription(0) 62 62 , m_pLabelSize(0), m_pEditorSize(0), m_pErrorPaneSize(0) … … 340 340 } 341 341 342 /* Create location error pane: */ 343 m_pErrorPaneLocation = new QLabel; 344 AssertPtrReturnVoid(m_pErrorPaneLocation); 345 { 346 /* Configure label: */ 347 m_pErrorPaneLocation->setAlignment(Qt::AlignCenter); 348 m_pErrorPaneLocation->setPixmap(UIIconPool::iconSet(":/status_error_16px.png") 349 .pixmap(QSize(iIconMetric, iIconMetric))); 350 /* Add into layout: */ 351 pLayoutLocation->addWidget(m_pErrorPaneLocation); 352 } 353 342 354 /* Create location button: */ 343 355 m_pButtonLocation = new QIToolButton; … … 354 366 /* Add into layout: */ 355 367 pLayoutLocation->addWidget(m_pButtonLocation); 356 }357 358 /* Create location error pane: */359 m_pErrorPaneLocation = new QLabel;360 AssertPtrReturnVoid(m_pErrorPaneLocation);361 {362 /* Configure label: */363 m_pErrorPaneLocation->setAlignment(Qt::AlignCenter);364 m_pErrorPaneLocation->setPixmap(UIIconPool::iconSet(":/status_error_16px.png")365 .pixmap(QSize(iIconMetric, iIconMetric)));366 /* Add into layout: */367 pLayoutLocation->addWidget(m_pErrorPaneLocation);368 368 } 369 369 -
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDetailsWidget.h
r69519 r69526 299 299 /** Holds the location editor. */ 300 300 QLineEdit *m_pEditorLocation; 301 /** Holds the location error pane. */ 302 QLabel *m_pErrorPaneLocation; 301 303 /** Holds the location button. */ 302 304 QIToolButton *m_pButtonLocation; 303 /** Holds the location error pane. */304 QLabel *m_pErrorPaneLocation;305 305 306 306 /** Holds the description label. */
Note:
See TracChangeset
for help on using the changeset viewer.