- Timestamp:
- Feb 14, 2019 8:11:08 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128851
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/medium/viso
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoBrowserBase.cpp ¶
r77321 r77322 36 36 * UILocationSelector definition. * 37 37 *********************************************************************************************************************************/ 38 38 /** A QWidget extension used to show/hide parents treeview (thru signals) and show the path of 39 * the current selected file item. */ 39 40 class UILocationSelector : public QIWithRetranslateUI<QWidget> 40 41 { … … 58 59 private: 59 60 60 void prepareWidget ();61 void prepareWidgets(); 61 62 QLineEdit *m_pLineEdit; 62 63 QGridLayout *m_pMainLayout; … … 74 75 , m_pExpandButton(0) 75 76 { 76 prepareWidget ();77 prepareWidgets(); 77 78 } 78 79 … … 98 99 void UILocationSelector::retranslateUi() 99 100 { 101 if (m_pExpandButton) 102 m_pExpandButton->setToolTip(QApplication::translate("UIVisoCreator", "Click to show/hide the tree view")); 100 103 } 101 104 … … 115 118 } 116 119 117 void UILocationSelector::prepareWidget ()120 void UILocationSelector::prepareWidgets() 118 121 { 119 122 m_pMainLayout = new QGridLayout; … … 141 144 } 142 145 setLayout(m_pMainLayout); 146 retranslateUi(); 143 147 } 144 148 -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp ¶
r77321 r77322 120 120 } 121 121 122 // bool UIVisoCreator::event(QEvent *pEvent)123 // {124 125 // if (pEvent->type() == QEvent::KeyPress)126 // {127 // printf("key press %d\n", pEvent->type());128 // }129 // return false;130 // }131 132 // bool UIVisoCreator::eventFilter(QObject *, QEvent *pEvent)133 // {134 // if (pEvent->type() == QEvent::KeyPress)135 // {136 // printf("key press in filter %d\n", pEvent->type());137 // }138 139 // return false;140 // }141 142 122 void UIVisoCreator::sltHandleAddObjectsToViso(QStringList pathList) 143 123 { -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.h ¶
r77321 r77322 71 71 72 72 virtual void retranslateUi() /* override */; 73 // virtual bool event(QEvent *pEvent) /* override */;74 // virtual bool eventFilter(QObject *pObj, QEvent *pEvent) /* override */;75 73 76 74 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.