Changeset 71186 in vbox
- Timestamp:
- Mar 4, 2018 1:07:19 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIGuestControlFileTable.cpp
r71185 r71186 21 21 22 22 /* Qt includes: */ 23 # include <QAction> 23 24 # include <QDir> 24 25 # include <QHeaderView> … … 28 29 /* GUI includes: */ 29 30 # include "QILineEdit.h" 31 # include "UIIconPool.h" 30 32 # include "UIGuestControlFileTable.h" 31 33 # include "UIToolBar.h" … … 349 351 , m_pMainLayout(0) 350 352 , m_pCurrentLocationEdit(0) 351 353 , m_pToolBar(0) 352 354 { 353 355 prepareObjects(); … … 379 381 m_pMainLayout->setContentsMargins(0, 0, 0, 0); 380 382 setLayout(m_pMainLayout); 383 384 385 m_pToolBar = new UIToolBar; 386 if (m_pToolBar) 387 { 388 m_pMainLayout->addWidget(m_pToolBar); 389 } 390 m_pActionRefresh = new QAction(this); 391 m_pActionRefresh->setIcon(UIIconPool::iconSet(QString(":/refresh_22px.png"))); 392 393 m_pToolBar->addAction(m_pActionRefresh); 394 395 396 381 397 382 398 m_pCurrentLocationEdit = new QILineEdit; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIGuestControlFileTable.h
r71185 r71186 33 33 34 34 /* Forward declarations: */ 35 class QAction; 35 36 class QILineEdit; 36 37 class QVBoxLayout; … … 114 115 private: 115 116 116 void prepareObjects(); 117 QVBoxLayout *m_pMainLayout; 118 QILineEdit *m_pCurrentLocationEdit; 117 void prepareObjects(); 118 QVBoxLayout *m_pMainLayout; 119 QILineEdit *m_pCurrentLocationEdit; 120 UIToolBar *m_pToolBar; 121 QAction *m_pActionRefresh; 119 122 120 123 friend class UIGuestControlFileModel;
Note:
See TracChangeset
for help on using the changeset viewer.