Changeset 66219 in vbox
- Timestamp:
- Mar 23, 2017 12:10:40 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114137
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/global
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.cpp
r66169 r66219 21 21 22 22 /* GUI includes: */ 23 # include "UIExtraDataManager.h" 23 24 # include "UIGlobalSettingsDisplay.h" 24 # include "UIExtraDataManager.h"25 25 26 26 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 73 73 74 74 /* Setup connections: */ 75 connect(m_pMaxResolutionCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(sltMaxResolutionComboActivated())); 75 connect(m_pMaxResolutionCombo, SIGNAL(currentIndexChanged(int)), 76 this, SLOT(sltHandleMaximumGuestScreenSizePolicyChange())); 76 77 77 78 /* Apply language settings: */ … … 184 185 /* Upload properties & settings to data: */ 185 186 UISettingsPageGlobal::uploadData(data); 186 }187 188 void UIGlobalSettingsDisplay::setOrderAfter(QWidget*)189 {190 187 } 191 188 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.h
r66190 r66219 29 29 30 30 /** Global settings: Display page. */ 31 class UIGlobalSettingsDisplay : public UISettingsPageGlobal, public Ui::UIGlobalSettingsDisplay 31 class UIGlobalSettingsDisplay : public UISettingsPageGlobal, 32 public Ui::UIGlobalSettingsDisplay 32 33 { 33 34 Q_OBJECT; … … 56 57 virtual void saveFromCacheTo(QVariant &data) /* overrride */; 57 58 58 /** Defines TAB order. */59 virtual void setOrderAfter(QWidget *pWidget) /* override */;60 61 59 /** Handles translation event. */ 62 60 virtual void retranslateUi() /* override */; 63 61 64 pr otectedslots:62 private slots: 65 63 66 64 /* Handler: Resolution-combo stuff: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp
r66169 r66219 24 24 25 25 /* GUI includes: */ 26 # include "QIFileDialog.h" 26 27 # include "UIGlobalSettingsExtension.h" 27 28 # include "UIIconPool.h" 28 # include " QIFileDialog.h"29 # include "UIMessageCenter.h" 29 30 # include "VBoxGlobal.h" 30 # include "UIMessageCenter.h"31 31 # include "VBoxLicenseViewer.h" 32 32 33 33 /* COM includes: */ 34 # include "CExtPackManager.h"35 34 # include "CExtPack.h" 36 35 # include "CExtPackFile.h" 36 # include "CExtPackManager.h" 37 37 38 38 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 374 374 /* Upload properties & settings to data: */ 375 375 UISettingsPageGlobal::uploadData(data); 376 }377 378 void UIGlobalSettingsExtension::setOrderAfter(QWidget *pWidget)379 {380 /* Setup tab-order: */381 setTabOrder(pWidget, m_pPackagesTree);382 376 } 383 377 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.h
r66190 r66219 30 30 31 31 /** Global settings: Extension page. */ 32 class UIGlobalSettingsExtension : public UISettingsPageGlobal, public Ui::UIGlobalSettingsExtension 32 class UIGlobalSettingsExtension : public UISettingsPageGlobal, 33 public Ui::UIGlobalSettingsExtension 33 34 { 34 35 Q_OBJECT; … … 58 59 * this task COULD be performed in other than the GUI thread. */ 59 60 virtual void saveFromCacheTo(QVariant &data) /* overrride */; 60 61 /** Defines TAB order. */62 virtual void setOrderAfter(QWidget *pWidget) /* override */;63 61 64 62 /** Handles translation event. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.cpp
r66169 r66219 160 160 } 161 161 162 void UIGlobalSettingsGeneral::setOrderAfter(QWidget *pWidget)163 {164 /* Configure navigation: */165 setTabOrder(pWidget, m_pSelectorMachineFolder);166 setTabOrder(m_pSelectorMachineFolder, m_pSelectorVRDPLibName);167 setTabOrder(m_pSelectorVRDPLibName, m_pCheckBoxHostScreenSaver);168 }169 170 162 void UIGlobalSettingsGeneral::retranslateUi() 171 163 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.h
r66190 r66219 29 29 30 30 /** Global settings: General page. */ 31 class UIGlobalSettingsGeneral : public UISettingsPageGlobal, public Ui::UIGlobalSettingsGeneral 31 class UIGlobalSettingsGeneral : public UISettingsPageGlobal, 32 public Ui::UIGlobalSettingsGeneral 32 33 { 33 34 Q_OBJECT; … … 56 57 virtual void saveFromCacheTo(QVariant &data) /* overrride */; 57 58 58 /** Defines TAB order. */59 virtual void setOrderAfter(QWidget *pWidget) /* override */;60 61 59 /** Handles translation event. */ 62 60 virtual void retranslateUi() /* override */; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r65701 r66219 21 21 22 22 /* Qt includes: */ 23 # include <QAbstractItemDelegate> 23 24 # include <QHeaderView> 24 # include <QAbstractItemDelegate>25 25 # include <QItemEditorFactory> 26 26 # include <QTabWidget> 27 27 28 28 /* GUI includes: */ 29 # include "QIWidgetValidator.h"30 29 # include "QIStyledItemDelegate.h" 31 30 # include "QITableView.h" 31 # include "QIWidgetValidator.h" 32 32 # include "UIActionPool.h" 33 33 # include "UIGlobalSettingsInput.h" 34 # include "UIHostComboEditor.h" 35 # include "UIHotKeyEditor.h" 34 36 # include "UIShortcutPool.h" 35 # include "UIHotKeyEditor.h"36 # include "UIHostComboEditor.h"37 37 # include "VBoxGlobalSettings.h" 38 38 … … 923 923 924 924 /* Prepare validation: */ 925 prepareValidation(); 925 connect(m_pSelectorModel, SIGNAL(sigRevalidationRequired()), this, SLOT(revalidate())); 926 connect(m_pMachineModel, SIGNAL(sigRevalidationRequired()), this, SLOT(revalidate())); 926 927 927 928 /* Apply language settings: */ … … 1083 1084 } 1084 1085 1085 void UIGlobalSettingsInput::prepareValidation()1086 {1087 /* Prepare validation: */1088 connect(m_pSelectorModel, SIGNAL(sigRevalidationRequired()), this, SLOT(revalidate()));1089 connect(m_pMachineModel, SIGNAL(sigRevalidationRequired()), this, SLOT(revalidate()));1090 }1091 1092 1086 # include "UIGlobalSettingsInput.moc" 1093 1087 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
r66190 r66219 24 24 25 25 /* Forward declartions: */ 26 class QLineEdit; 26 27 class QTabWidget; 27 class QLineEdit;28 28 class UIDataSettingsGlobalInput; 29 class UIHotKeyTable; 29 30 class UIHotKeyTableModel; 30 class UIHotKeyTable;31 31 typedef UISettingsCache<UIDataSettingsGlobalInput> UISettingsCacheGlobalInput; 32 32 33 33 34 34 /** Global settings: Input page. */ 35 class UIGlobalSettingsInput : public UISettingsPageGlobal, public Ui::UIGlobalSettingsInput 35 class UIGlobalSettingsInput : public UISettingsPageGlobal, 36 public Ui::UIGlobalSettingsInput 36 37 { 37 38 Q_OBJECT; … … 78 79 private: 79 80 80 /* Helper: Prepare stuff: */ 81 void prepareValidation(); 82 83 QTabWidget *m_pTabWidget; 84 QLineEdit *m_pSelectorFilterEditor; 81 QTabWidget *m_pTabWidget; 82 QLineEdit *m_pSelectorFilterEditor; 85 83 UIHotKeyTableModel *m_pSelectorModel; 86 UIHotKeyTable *m_pSelectorTable;87 QLineEdit *m_pMachineFilterEditor;84 UIHotKeyTable *m_pSelectorTable; 85 QLineEdit *m_pMachineFilterEditor; 88 86 UIHotKeyTableModel *m_pMachineModel; 89 UIHotKeyTable *m_pMachineTable;87 UIHotKeyTable *m_pMachineTable; 90 88 91 89 /** Holds the page data cache instance. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp
r66169 r66219 300 300 } 301 301 302 void UIGlobalSettingsLanguage::setOrderAfter(QWidget *pWidget)303 {304 /* Configure navigation: */305 setTabOrder(pWidget, m_pLanguageTree);306 }307 308 302 void UIGlobalSettingsLanguage::retranslateUi() 309 303 { … … 333 327 /* Remember current info-label width: */ 334 328 m_pLanguageInfo->setMinimumTextWidth(m_pLanguageInfo->width()); 335 }336 337 void UIGlobalSettingsLanguage::reload(const QString &strLangId)338 {339 /* Clear languages tree: */340 m_pLanguageTree->clear();341 342 /* Load languages tree: */343 char szNlsPath[RTPATH_MAX];344 int rc = RTPathAppPrivateNoArch(szNlsPath, sizeof(szNlsPath));345 AssertRC(rc);346 QString strNlsPath = QString(szNlsPath) + gVBoxLangSubDir;347 QDir nlsDir(strNlsPath);348 QStringList files = nlsDir.entryList(QStringList(QString("%1*%2").arg(gVBoxLangFileBase, gVBoxLangFileExt)), QDir::Files);349 350 QTranslator translator;351 /* Add the default language: */352 new UILanguageItem(m_pLanguageTree);353 /* Add the built-in language: */354 new UILanguageItem(m_pLanguageTree, translator, gVBoxBuiltInLangName, true /* built-in */);355 /* Add all existing languages */356 for (QStringList::Iterator it = files.begin(); it != files.end(); ++it)357 {358 QString strFileName = *it;359 QRegExp regExp(QString(gVBoxLangFileBase) + gVBoxLangIDRegExp);360 int iPos = regExp.indexIn(strFileName);361 if (iPos == -1)362 continue;363 364 /* Skip any English version, cause this is extra handled: */365 QString strLanguage = regExp.cap(2);366 if (strLanguage.toLower() == "en")367 continue;368 369 bool fLoadOk = translator.load(strFileName, strNlsPath);370 if (!fLoadOk)371 continue;372 373 new UILanguageItem(m_pLanguageTree, translator, regExp.cap(1));374 }375 376 /* Adjust selector list: */377 m_pLanguageTree->resizeColumnToContents(0);378 379 /* Search for necessary language: */380 QList<QTreeWidgetItem*> itemsList = m_pLanguageTree->findItems(strLangId, Qt::MatchExactly, 1);381 QTreeWidgetItem *pItem = itemsList.isEmpty() ? 0 : itemsList[0];382 if (!pItem)383 {384 /* Add an pItem for an invalid language to represent it in the list: */385 pItem = new UILanguageItem(m_pLanguageTree, strLangId);386 m_pLanguageTree->resizeColumnToContents(0);387 }388 Assert(pItem);389 if (pItem)390 m_pLanguageTree->setCurrentItem(pItem);391 392 m_pLanguageTree->sortItems(0, Qt::AscendingOrder);393 m_pLanguageTree->scrollToItem(pItem);394 329 } 395 330 … … 427 362 } 428 363 364 void UIGlobalSettingsLanguage::reload(const QString &strLangId) 365 { 366 /* Clear languages tree: */ 367 m_pLanguageTree->clear(); 368 369 /* Load languages tree: */ 370 char szNlsPath[RTPATH_MAX]; 371 int rc = RTPathAppPrivateNoArch(szNlsPath, sizeof(szNlsPath)); 372 AssertRC(rc); 373 QString strNlsPath = QString(szNlsPath) + gVBoxLangSubDir; 374 QDir nlsDir(strNlsPath); 375 QStringList files = nlsDir.entryList(QStringList(QString("%1*%2").arg(gVBoxLangFileBase, gVBoxLangFileExt)), QDir::Files); 376 377 QTranslator translator; 378 /* Add the default language: */ 379 new UILanguageItem(m_pLanguageTree); 380 /* Add the built-in language: */ 381 new UILanguageItem(m_pLanguageTree, translator, gVBoxBuiltInLangName, true /* built-in */); 382 /* Add all existing languages */ 383 for (QStringList::Iterator it = files.begin(); it != files.end(); ++it) 384 { 385 QString strFileName = *it; 386 QRegExp regExp(QString(gVBoxLangFileBase) + gVBoxLangIDRegExp); 387 int iPos = regExp.indexIn(strFileName); 388 if (iPos == -1) 389 continue; 390 391 /* Skip any English version, cause this is extra handled: */ 392 QString strLanguage = regExp.cap(2); 393 if (strLanguage.toLower() == "en") 394 continue; 395 396 bool fLoadOk = translator.load(strFileName, strNlsPath); 397 if (!fLoadOk) 398 continue; 399 400 new UILanguageItem(m_pLanguageTree, translator, regExp.cap(1)); 401 } 402 403 /* Adjust selector list: */ 404 m_pLanguageTree->resizeColumnToContents(0); 405 406 /* Search for necessary language: */ 407 QList<QTreeWidgetItem*> itemsList = m_pLanguageTree->findItems(strLangId, Qt::MatchExactly, 1); 408 QTreeWidgetItem *pItem = itemsList.isEmpty() ? 0 : itemsList[0]; 409 if (!pItem) 410 { 411 /* Add an pItem for an invalid language to represent it in the list: */ 412 pItem = new UILanguageItem(m_pLanguageTree, strLangId); 413 m_pLanguageTree->resizeColumnToContents(0); 414 } 415 Assert(pItem); 416 if (pItem) 417 m_pLanguageTree->setCurrentItem(pItem); 418 419 m_pLanguageTree->sortItems(0, Qt::AscendingOrder); 420 m_pLanguageTree->scrollToItem(pItem); 421 } 422 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.h
r66190 r66219 29 29 30 30 /** Global settings: Language page. */ 31 class UIGlobalSettingsLanguage : public UISettingsPageGlobal, public Ui::UIGlobalSettingsLanguage 31 class UIGlobalSettingsLanguage : public UISettingsPageGlobal, 32 public Ui::UIGlobalSettingsLanguage 32 33 { 33 34 Q_OBJECT; … … 55 56 * this task COULD be performed in other than the GUI thread. */ 56 57 virtual void saveFromCacheTo(QVariant &data) /* overrride */; 57 58 /** Defines TAB order. */59 virtual void setOrderAfter(QWidget *pWidget) /* override */;60 58 61 59 /** Handles translation event. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r66169 r66219 802 802 } 803 803 804 void UIGlobalSettingsNetwork::sltEditNetworkNAT() 805 { 806 /* Get network item: */ 807 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem()); 808 AssertMsg(pItem, ("Current item should present!\n")); 809 810 /* Edit current item data: */ 811 UIDataSettingsGlobalNetworkNAT data; 812 pItem->uploadNetworkData(data); 813 UIGlobalSettingsNetworkDetailsNAT details(this, data); 814 if (details.exec() == QDialog::Accepted) 815 { 816 /* Put data back: */ 817 pItem->fetchNetworkData(data); 818 sltHandleCurrentItemChangeNetworkNAT(); 819 /* Revalidate: */ 820 revalidate(); 821 } 822 } 823 804 824 void UIGlobalSettingsNetwork::sltDelNetworkNAT() 805 825 { … … 830 850 } 831 851 832 void UIGlobalSettingsNetwork::sltEditNetworkNAT()833 {834 /* Get network item: */835 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem());836 AssertMsg(pItem, ("Current item should present!\n"));837 838 /* Edit current item data: */839 UIDataSettingsGlobalNetworkNAT data;840 pItem->uploadNetworkData(data);841 UIGlobalSettingsNetworkDetailsNAT details(this, data);842 if (details.exec() == QDialog::Accepted)843 {844 /* Put data back: */845 pItem->fetchNetworkData(data);846 sltHandleCurrentItemChangeNetworkNAT();847 /* Revalidate: */848 revalidate();849 }850 }851 852 852 void UIGlobalSettingsNetwork::sltHandleItemChangeNetworkNAT(QTreeWidgetItem *pChangedItem) 853 853 { … … 858 858 /* Update item data: */ 859 859 pItem->updateData(); 860 } 861 862 void UIGlobalSettingsNetwork::sltHandleCurrentItemChangeNetworkNAT() 863 { 864 /* Get current item: */ 865 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem()); 866 /* Update availability: */ 867 m_pActionDelNetworkNAT->setEnabled(pItem); 868 m_pActionEditNetworkNAT->setEnabled(pItem); 869 } 870 871 void UIGlobalSettingsNetwork::sltShowContextMenuNetworkNAT(const QPoint &pos) 872 { 873 /* Compose temporary context-menu: */ 874 QMenu menu; 875 if (m_pTreeNetworkNAT->itemAt(pos)) 876 { 877 menu.addAction(m_pActionEditNetworkNAT); 878 menu.addAction(m_pActionDelNetworkNAT); 879 } 880 else 881 { 882 menu.addAction(m_pActionAddNetworkNAT); 883 } 884 /* And show it: */ 885 menu.exec(m_pTreeNetworkNAT->mapToGlobal(pos)); 860 886 } 861 887 … … 893 919 } 894 920 921 void UIGlobalSettingsNetwork::sltEditNetworkHost() 922 { 923 /* Get network item: */ 924 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->currentItem()); 925 AssertMsg(pItem, ("Current item should present!\n")); 926 927 /* Edit current item data: */ 928 UIDataSettingsGlobalNetworkHost data; 929 pItem->uploadNetworkData(data); 930 UIGlobalSettingsNetworkDetailsHost details(this, data); 931 if (details.exec() == QDialog::Accepted) 932 { 933 /* Put data back: */ 934 pItem->fetchNetworkData(data); 935 sltHandleCurrentItemChangeNetworkHost(); 936 /* Revalidate: */ 937 revalidate(); 938 } 939 } 940 895 941 void UIGlobalSettingsNetwork::sltDelNetworkHost() 896 942 { … … 934 980 } 935 981 936 void UIGlobalSettingsNetwork::sltEditNetworkHost()937 {938 /* Get network item: */939 UIItemNetworkHost *pItem = static_cast<UIItemNetworkHost*>(m_pTreeNetworkHost->currentItem());940 AssertMsg(pItem, ("Current item should present!\n"));941 942 /* Edit current item data: */943 UIDataSettingsGlobalNetworkHost data;944 pItem->uploadNetworkData(data);945 UIGlobalSettingsNetworkDetailsHost details(this, data);946 if (details.exec() == QDialog::Accepted)947 {948 /* Put data back: */949 pItem->fetchNetworkData(data);950 sltHandleCurrentItemChangeNetworkHost();951 /* Revalidate: */952 revalidate();953 }954 }955 956 void UIGlobalSettingsNetwork::sltHandleCurrentItemChangeNetworkNAT()957 {958 /* Get current item: */959 UIItemNetworkNAT *pItem = static_cast<UIItemNetworkNAT*>(m_pTreeNetworkNAT->currentItem());960 /* Update availability: */961 m_pActionDelNetworkNAT->setEnabled(pItem);962 m_pActionEditNetworkNAT->setEnabled(pItem);963 }964 965 982 void UIGlobalSettingsNetwork::sltHandleCurrentItemChangeNetworkHost() 966 983 { … … 970 987 m_pActionDelNetworkHost->setEnabled(pItem); 971 988 m_pActionEditNetworkHost->setEnabled(pItem); 972 }973 974 void UIGlobalSettingsNetwork::sltShowContextMenuNetworkNAT(const QPoint &pos)975 {976 /* Compose temporary context-menu: */977 QMenu menu;978 if (m_pTreeNetworkNAT->itemAt(pos))979 {980 menu.addAction(m_pActionEditNetworkNAT);981 menu.addAction(m_pActionDelNetworkNAT);982 }983 else984 {985 menu.addAction(m_pActionAddNetworkNAT);986 }987 /* And show it: */988 menu.exec(m_pTreeNetworkNAT->mapToGlobal(pos));989 989 } 990 990 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.h
r66190 r66219 33 33 34 34 /** Global settings: Network page. */ 35 class UIGlobalSettingsNetwork : public UISettingsPageGlobal, public Ui::UIGlobalSettingsNetwork 35 class UIGlobalSettingsNetwork : public UISettingsPageGlobal, 36 public Ui::UIGlobalSettingsNetwork 36 37 { 37 38 Q_OBJECT; … … 73 74 /* Handlers: NAT network stuff: */ 74 75 void sltAddNetworkNAT(); 76 void sltEditNetworkNAT(); 75 77 void sltDelNetworkNAT(); 76 void sltEditNetworkNAT();77 78 void sltHandleItemChangeNetworkNAT(QTreeWidgetItem *pChangedItem); 78 79 void sltHandleCurrentItemChangeNetworkNAT(); … … 81 82 /* Handlers: Host network stuff: */ 82 83 void sltAddNetworkHost(); 84 void sltEditNetworkHost(); 83 85 void sltDelNetworkHost(); 84 void sltEditNetworkHost();85 86 void sltHandleCurrentItemChangeNetworkHost(); 86 87 void sltShowContextMenuNetworkHost(const QPoint &pos); … … 106 107 /* Variables: NAT network actions: */ 107 108 QAction *m_pActionAddNetworkNAT; 109 QAction *m_pActionEditNetworkNAT; 108 110 QAction *m_pActionDelNetworkNAT; 109 QAction *m_pActionEditNetworkNAT;110 111 111 112 /* Variables: Host network actions: */ 112 113 QAction *m_pActionAddNetworkHost; 114 QAction *m_pActionEditNetworkHost; 113 115 QAction *m_pActionDelNetworkHost; 114 QAction *m_pActionEditNetworkHost;115 116 116 117 /** Holds the page data cache instance. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp
r66169 r66219 209 209 } 210 210 211 void UIGlobalSettingsProxy::setOrderAfter(QWidget *pWidget)212 {213 /* Configure navigation: */214 setTabOrder(pWidget, m_pRadioProxyAuto);215 setTabOrder(m_pRadioProxyAuto, m_pRadioProxyDisabled);216 setTabOrder(m_pRadioProxyDisabled, m_pRadioProxyEnabled);217 setTabOrder(m_pRadioProxyEnabled, m_pHostEditor);218 setTabOrder(m_pHostEditor, m_pPortEditor);219 }220 221 211 void UIGlobalSettingsProxy::retranslateUi() 222 212 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.h
r66190 r66219 30 30 31 31 /** Global settings: Proxy page. */ 32 class UIGlobalSettingsProxy : public UISettingsPageGlobal, public Ui::UIGlobalSettingsProxy 32 class UIGlobalSettingsProxy : public UISettingsPageGlobal, 33 public Ui::UIGlobalSettingsProxy 33 34 { 34 35 Q_OBJECT; … … 60 61 virtual bool validate(QList<UIValidationMessage> &messages) /* override */; 61 62 62 /** Defines TAB order. */63 virtual void setOrderAfter(QWidget *pWidget) /* override */;64 65 63 /** Handles translation event. */ 66 64 virtual void retranslateUi() /* override */; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.h
r66190 r66219 30 30 31 31 /** Global settings: Update page. */ 32 class UIGlobalSettingsUpdate : public UISettingsPageGlobal, public Ui::UIGlobalSettingsUpdate 32 class UIGlobalSettingsUpdate : public UISettingsPageGlobal, 33 public Ui::UIGlobalSettingsUpdate 33 34 { 34 35 Q_OBJECT;
Note:
See TracChangeset
for help on using the changeset viewer.