Changeset 100979 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 25, 2023 3:33:24 PM (16 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 1 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r100961 r100979 876 876 src/notificationcenter/UINotificationProgressTask.h \ 877 877 src/objects/UIExecutionQueue.h \ 878 src/settings/UIAdvancedSettingsDialog.h \ 879 src/settings/UIAdvancedSettingsDialogSpecific.h \ 878 880 src/settings/UISettingsDialog.h \ 879 881 src/settings/UISettingsDialogSpecific.h \ … … 1459 1461 src/objects/UIRichTextString.cpp \ 1460 1462 src/settings/UISettingsDefs.cpp \ 1463 src/settings/UIAdvancedSettingsDialog.cpp \ 1464 src/settings/UIAdvancedSettingsDialogSpecific.cpp \ 1461 1465 src/settings/UISettingsDialog.cpp \ 1462 1466 src/settings/UISettingsDialogSpecific.cpp \ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.cpp
r100977 r100979 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI SettingsDialog class implementation.3 * VBox Qt GUI - UIAdvancedSettingsDialog class implementation. 4 4 */ 5 5 … … 37 37 /* GUI includes: */ 38 38 #include "QIDialogButtonBox.h" 39 #include "UIAdvancedSettingsDialog.h" 39 40 #include "UICommon.h" 40 41 #include "UIDesktopWidgetWatchdog.h" … … 42 43 #include "UIModalWindowManager.h" 43 44 #include "UIPopupCenter.h" 44 #include "UISettingsDialog.h"45 45 #include "UISettingsPage.h" 46 46 #include "UISettingsPageValidator.h" … … 61 61 62 62 63 UI SettingsDialog::UISettingsDialog(QWidget *pParent,64 const QString &strCategory,65 const QString &strControl)63 UIAdvancedSettingsDialog::UIAdvancedSettingsDialog(QWidget *pParent, 64 const QString &strCategory, 65 const QString &strControl) 66 66 : QIWithRetranslateUI<QMainWindow>(pParent) 67 67 , m_strCategory(strCategory) … … 87 87 } 88 88 89 UI SettingsDialog::~UISettingsDialog()89 UIAdvancedSettingsDialog::~UIAdvancedSettingsDialog() 90 90 { 91 91 cleanup(); 92 92 } 93 93 94 void UI SettingsDialog::accept()94 void UIAdvancedSettingsDialog::accept() 95 95 { 96 96 /* Save data: */ … … 102 102 } 103 103 104 void UI SettingsDialog::reject()104 void UIAdvancedSettingsDialog::reject() 105 105 { 106 106 /* Close if there is no ongoing serialization: */ … … 109 109 } 110 110 111 void UI SettingsDialog::sltCategoryChanged(int cId)111 void UIAdvancedSettingsDialog::sltCategoryChanged(int cId) 112 112 { 113 113 #ifndef VBOX_WS_MAC … … 158 158 } 159 159 160 void UI SettingsDialog::sltHandleSerializationStarted()160 void UIAdvancedSettingsDialog::sltHandleSerializationStarted() 161 161 { 162 162 m_pProcessBar->setValue(0); … … 164 164 } 165 165 166 void UI SettingsDialog::sltHandleSerializationProgressChange(int iValue)166 void UIAdvancedSettingsDialog::sltHandleSerializationProgressChange(int iValue) 167 167 { 168 168 m_pProcessBar->setValue(iValue); … … 176 176 } 177 177 178 void UI SettingsDialog::sltHandleSerializationFinished()178 void UIAdvancedSettingsDialog::sltHandleSerializationFinished() 179 179 { 180 180 /* Delete serializer if exists: */ … … 186 186 } 187 187 188 void UI SettingsDialog::retranslateUi()188 void UIAdvancedSettingsDialog::retranslateUi() 189 189 { 190 190 #ifndef VBOX_GUI_WITH_TOOLBAR_SETTINGS … … 202 202 } 203 203 204 void UI SettingsDialog::showEvent(QShowEvent *pEvent)204 void UIAdvancedSettingsDialog::showEvent(QShowEvent *pEvent) 205 205 { 206 206 /* Polish stuff: */ … … 215 215 } 216 216 217 void UI SettingsDialog::polishEvent()217 void UIAdvancedSettingsDialog::polishEvent() 218 218 { 219 219 /* Check what's the minimum selector size: */ … … 277 277 } 278 278 279 void UI SettingsDialog::closeEvent(QCloseEvent *pEvent)279 void UIAdvancedSettingsDialog::closeEvent(QCloseEvent *pEvent) 280 280 { 281 281 /* Ignore event initially: */ … … 297 297 } 298 298 299 void UI SettingsDialog::choosePageAndTab(bool fKeepPreviousByDefault /* = false */)299 void UIAdvancedSettingsDialog::choosePageAndTab(bool fKeepPreviousByDefault /* = false */) 300 300 { 301 301 /* Setup settings window: */ … … 334 334 } 335 335 336 void UI SettingsDialog::loadData(QVariant &data)336 void UIAdvancedSettingsDialog::loadData(QVariant &data) 337 337 { 338 338 /* Mark serialization started: */ … … 346 346 /* Configure settings loader: */ 347 347 connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessStarted, 348 this, &UI SettingsDialog::sltHandleSerializationStarted);348 this, &UIAdvancedSettingsDialog::sltHandleSerializationStarted); 349 349 connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessProgressChanged, 350 this, &UI SettingsDialog::sltHandleSerializationProgressChange);350 this, &UIAdvancedSettingsDialog::sltHandleSerializationProgressChange); 351 351 connect(m_pSerializeProcess, &UISettingsSerializer::sigNotifyAboutProcessFinished, 352 this, &UI SettingsDialog::sltHandleSerializationFinished);352 this, &UIAdvancedSettingsDialog::sltHandleSerializationFinished); 353 353 354 354 /* Raise current page priority: */ … … 363 363 } 364 364 365 void UI SettingsDialog::saveData(QVariant &data)365 void UIAdvancedSettingsDialog::saveData(QVariant &data) 366 366 { 367 367 /* Mark serialization started: */ … … 397 397 } 398 398 399 void UI SettingsDialog::setConfigurationAccessLevel(ConfigurationAccessLevel enmConfigurationAccessLevel)399 void UIAdvancedSettingsDialog::setConfigurationAccessLevel(ConfigurationAccessLevel enmConfigurationAccessLevel) 400 400 { 401 401 /* Make sure something changed: */ … … 411 411 } 412 412 413 void UI SettingsDialog::addItem(const QString &strBigIcon,414 const QString &strMediumIcon,415 const QString &strSmallIcon,416 int cId,417 const QString &strLink,418 UISettingsPage *pSettingsPage /* = 0 */,419 int iParentId /* = -1 */)413 void UIAdvancedSettingsDialog::addItem(const QString &strBigIcon, 414 const QString &strMediumIcon, 415 const QString &strSmallIcon, 416 int cId, 417 const QString &strLink, 418 UISettingsPage *pSettingsPage /* = 0 */, 419 int iParentId /* = -1 */) 420 420 { 421 421 /* Add new selector item: */ … … 433 433 /* Create validator: */ 434 434 UISettingsPageValidator *pValidator = new UISettingsPageValidator(this, pSettingsPage); 435 connect(pValidator, &UISettingsPageValidator::sigValidityChanged, this, &UI SettingsDialog::sltHandleValidityChange);435 connect(pValidator, &UISettingsPageValidator::sigValidityChanged, this, &UIAdvancedSettingsDialog::sltHandleValidityChange); 436 436 pSettingsPage->setValidator(pValidator); 437 437 m_pWarningPane->registerValidator(pValidator); … … 442 442 } 443 443 444 void UI SettingsDialog::addPageHelpKeyword(int iPageType, const QString &strHelpKeyword)444 void UIAdvancedSettingsDialog::addPageHelpKeyword(int iPageType, const QString &strHelpKeyword) 445 445 { 446 446 m_pageHelpKeywords[iPageType] = strHelpKeyword; 447 447 } 448 448 449 void UI SettingsDialog::revalidate()449 void UIAdvancedSettingsDialog::revalidate() 450 450 { 451 451 /* Perform dialog revalidation: */ … … 490 490 } 491 491 492 bool UI SettingsDialog::isSettingsChanged()492 bool UIAdvancedSettingsDialog::isSettingsChanged() 493 493 { 494 494 bool fIsSettingsChanged = false; … … 502 502 } 503 503 504 void UI SettingsDialog::sltHandleValidityChange(UISettingsPageValidator *pValidator)504 void UIAdvancedSettingsDialog::sltHandleValidityChange(UISettingsPageValidator *pValidator) 505 505 { 506 506 /* Determine which settings-page had called for revalidation: */ … … 525 525 } 526 526 527 void UI SettingsDialog::sltHandleWarningPaneHovered(UISettingsPageValidator *pValidator)527 void UIAdvancedSettingsDialog::sltHandleWarningPaneHovered(UISettingsPageValidator *pValidator) 528 528 { 529 529 LogRelFlow(("Settings Dialog: Warning-icon hovered: %s.\n", pValidator->internalName().toUtf8().constData())); … … 535 535 } 536 536 537 void UI SettingsDialog::sltHandleWarningPaneUnhovered(UISettingsPageValidator *pValidator)537 void UIAdvancedSettingsDialog::sltHandleWarningPaneUnhovered(UISettingsPageValidator *pValidator) 538 538 { 539 539 LogRelFlow(("Settings Dialog: Warning-icon unhovered: %s.\n", pValidator->internalName().toUtf8().constData())); … … 543 543 } 544 544 545 void UI SettingsDialog::prepare()545 void UIAdvancedSettingsDialog::prepare() 546 546 { 547 547 /* Prepare central-widget: */ … … 564 564 } 565 565 566 void UI SettingsDialog::prepareSelector()566 void UIAdvancedSettingsDialog::prepareSelector() 567 567 { 568 568 #ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS … … 615 615 if (m_pSelector) 616 616 connect(m_pSelector, &UISettingsSelectorTreeWidget::sigCategoryChanged, 617 this, &UI SettingsDialog::sltCategoryChanged);618 } 619 620 void UI SettingsDialog::prepareStack()617 this, &UIAdvancedSettingsDialog::sltCategoryChanged); 618 } 619 620 void UIAdvancedSettingsDialog::prepareStack() 621 621 { 622 622 /* Prepare page-stack: */ … … 632 632 } 633 633 634 void UI SettingsDialog::prepareButtonBox()634 void UIAdvancedSettingsDialog::prepareButtonBox() 635 635 { 636 636 /* Prepare button-box: */ … … 650 650 m_pButtonBox->button(QDialogButtonBox::Ok)->setShortcut(Qt::Key_Return); 651 651 m_pButtonBox->button(QDialogButtonBox::Cancel)->setShortcut(Qt::Key_Escape); 652 connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UI SettingsDialog::close);653 connect(m_pButtonBox, &QIDialogButtonBox::accepted, this, &UI SettingsDialog::accept);652 connect(m_pButtonBox, &QIDialogButtonBox::rejected, this, &UIAdvancedSettingsDialog::close); 653 connect(m_pButtonBox, &QIDialogButtonBox::accepted, this, &UIAdvancedSettingsDialog::accept); 654 654 #ifndef VBOX_WS_MAC 655 655 connect(m_pButtonBox->button(QDialogButtonBox::Help), &QAbstractButton::pressed, … … 678 678 { 679 679 connect(m_pWarningPane, &UISettingsWarningPane::sigHoverEnter, 680 this, &UI SettingsDialog::sltHandleWarningPaneHovered);680 this, &UIAdvancedSettingsDialog::sltHandleWarningPaneHovered); 681 681 connect(m_pWarningPane, &UISettingsWarningPane::sigHoverLeave, 682 this, &UI SettingsDialog::sltHandleWarningPaneUnhovered);682 this, &UIAdvancedSettingsDialog::sltHandleWarningPaneUnhovered); 683 683 m_pStatusBar->addWidget(m_pWarningPane); 684 684 } … … 693 693 } 694 694 695 void UI SettingsDialog::cleanup()695 void UIAdvancedSettingsDialog::cleanup() 696 696 { 697 697 /* Delete serializer if exists: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.h
r100977 r100979 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox Qt GUI - UI SettingsDialog class declaration.3 * VBox Qt GUI - UIAdvancedSettingsDialog class declaration. 4 4 */ 5 5 … … 26 26 */ 27 27 28 #ifndef FEQT_INCLUDED_SRC_settings_UI SettingsDialog_h29 #define FEQT_INCLUDED_SRC_settings_UI SettingsDialog_h28 #ifndef FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h 29 #define FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h 30 30 #ifndef RT_WITHOUT_PRAGMA_ONCE 31 31 # pragma once … … 59 59 * base dialog class for both Global Preferences & Machine Settings 60 60 * dialogs, which encapsulates most of their common functionality. */ 61 class SHARED_LIBRARY_STUFF UI SettingsDialog : public QIWithRetranslateUI<QMainWindow>61 class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialog : public QIWithRetranslateUI<QMainWindow> 62 62 { 63 63 Q_OBJECT; … … 76 76 * @param strCategory Brings the name of category to be opened. 77 77 * @param strControl Brings the name of control to be focused. */ 78 UI SettingsDialog(QWidget *pParent,79 const QString &strCategory,80 const QString &strControl);78 UIAdvancedSettingsDialog(QWidget *pParent, 79 const QString &strCategory, 80 const QString &strControl); 81 81 /** Destructs settings dialog. */ 82 virtual ~UI SettingsDialog() RT_OVERRIDE;82 virtual ~UIAdvancedSettingsDialog() RT_OVERRIDE; 83 83 84 84 /** Loads the dialog data. */ … … 252 252 }; 253 253 254 #endif /* !FEQT_INCLUDED_SRC_settings_UI SettingsDialog_h */254 #endif /* !FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialog_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
r100977 r100979 30 30 31 31 /* GUI includes: */ 32 #include " QIWidgetValidator.h"32 #include "UIAdvancedSettingsDialogSpecific.h" 33 33 #include "UICommon.h" 34 34 #include "UIExtraDataManager.h" … … 36 36 #include "UIMessageCenter.h" 37 37 #include "UISettingsDefs.h" 38 #include "UISettingsDialogSpecific.h"39 38 #include "UISettingsSerializer.h" 40 39 #include "UISettingsSelector.h" … … 77 76 78 77 /********************************************************************************************************************************* 79 * Class UI SettingsDialogGlobal implementation.*78 * Class UIAdvancedSettingsDialogGlobal implementation. * 80 79 *********************************************************************************************************************************/ 81 80 82 UI SettingsDialogGlobal::UISettingsDialogGlobal(QWidget *pParent,83 const QString &strCategory /* = QString() */,84 const QString &strControl /* = QString() */)81 UIAdvancedSettingsDialogGlobal::UIAdvancedSettingsDialogGlobal(QWidget *pParent, 82 const QString &strCategory /* = QString() */, 83 const QString &strControl /* = QString() */) 85 84 : UISettingsDialog(pParent, strCategory, strControl) 86 85 { … … 88 87 } 89 88 90 void UI SettingsDialogGlobal::retranslateUi()89 void UIAdvancedSettingsDialogGlobal::retranslateUi() 91 90 { 92 91 /* Selector itself: */ … … 130 129 } 131 130 132 void UI SettingsDialogGlobal::load()131 void UIAdvancedSettingsDialogGlobal::load() 133 132 { 134 133 /* Get host & properties: */ … … 144 143 } 145 144 146 void UI SettingsDialogGlobal::save()145 void UIAdvancedSettingsDialogGlobal::save() 147 146 { 148 147 /* Get host & properties: */ … … 173 172 } 174 173 175 QString UI SettingsDialogGlobal::titleExtension() const174 QString UIAdvancedSettingsDialogGlobal::titleExtension() const 176 175 { 177 176 #ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS … … 182 181 } 183 182 184 QString UI SettingsDialogGlobal::title() const183 QString UIAdvancedSettingsDialogGlobal::title() const 185 184 { 186 185 return tr("VirtualBox - %1").arg(titleExtension()); 187 186 } 188 187 189 void UI SettingsDialogGlobal::prepare()188 void UIAdvancedSettingsDialogGlobal::prepare() 190 189 { 191 190 #ifndef VBOX_WS_MAC … … 293 292 } 294 293 295 bool UI SettingsDialogGlobal::isPageAvailable(int) const294 bool UIAdvancedSettingsDialogGlobal::isPageAvailable(int) const 296 295 { 297 296 /* Add restrictions here.. */ … … 301 300 302 301 /********************************************************************************************************************************* 303 * Class UI SettingsDialogMachine implementation.*302 * Class UIAdvancedSettingsDialogMachine implementation. * 304 303 *********************************************************************************************************************************/ 305 304 306 UI SettingsDialogMachine::UISettingsDialogMachine(QWidget *pParent,307 const QUuid &uMachineId,308 UIActionPool *pActionPool,309 const QString &strCategory /* = QString() */,310 const QString &strControl /* = QString() */)305 UIAdvancedSettingsDialogMachine::UIAdvancedSettingsDialogMachine(QWidget *pParent, 306 const QUuid &uMachineId, 307 UIActionPool *pActionPool, 308 const QString &strCategory /* = QString() */, 309 const QString &strControl /* = QString() */) 311 310 : UISettingsDialog(pParent, strCategory, strControl) 312 311 , m_uMachineId(uMachineId) … … 316 315 } 317 316 318 void UI SettingsDialogMachine::setNewMachineId(const QUuid &uMachineId,319 const QString &strCategory /* = QString() */,320 const QString &strControl /* = QString() */)317 void UIAdvancedSettingsDialogMachine::setNewMachineId(const QUuid &uMachineId, 318 const QString &strCategory /* = QString() */, 319 const QString &strControl /* = QString() */) 321 320 { 322 321 /* Cache new machine stuff: */ … … 344 343 } 345 344 346 void UI SettingsDialogMachine::retranslateUi()345 void UIAdvancedSettingsDialogMachine::retranslateUi() 347 346 { 348 347 /* Selector itself: */ … … 401 400 } 402 401 403 void UI SettingsDialogMachine::load()402 void UIAdvancedSettingsDialogMachine::load() 404 403 { 405 404 /* Check that session is NOT created: */ … … 427 426 } 428 427 429 void UI SettingsDialogMachine::save()428 void UIAdvancedSettingsDialogMachine::save() 430 429 { 431 430 /* Check that session is NOT created: */ … … 488 487 } 489 488 490 QString UI SettingsDialogMachine::titleExtension() const489 QString UIAdvancedSettingsDialogMachine::titleExtension() const 491 490 { 492 491 #ifdef VBOX_GUI_WITH_TOOLBAR_SETTINGS … … 497 496 } 498 497 499 QString UI SettingsDialogMachine::title() const498 QString UIAdvancedSettingsDialogMachine::title() const 500 499 { 501 500 QString strDialogTitle; … … 507 506 } 508 507 509 void UI SettingsDialogMachine::recorrelate(UISettingsPage *pSettingsPage)508 void UIAdvancedSettingsDialogMachine::recorrelate(UISettingsPage *pSettingsPage) 510 509 { 511 510 switch (pSettingsPage->id()) … … 546 545 } 547 546 548 void UI SettingsDialogMachine::sltCategoryChanged(int cId)547 void UIAdvancedSettingsDialogMachine::sltCategoryChanged(int cId) 549 548 { 550 549 /* Raise priority of requested page: */ … … 556 555 } 557 556 558 void UI SettingsDialogMachine::sltHandleSerializationFinished()557 void UIAdvancedSettingsDialogMachine::sltHandleSerializationFinished() 559 558 { 560 559 /* Call to base-class: */ … … 571 570 } 572 571 573 void UI SettingsDialogMachine::sltSessionStateChanged(const QUuid &uMachineId, const KSessionState enmSessionState)572 void UIAdvancedSettingsDialogMachine::sltSessionStateChanged(const QUuid &uMachineId, const KSessionState enmSessionState) 574 573 { 575 574 /* Ignore if serialization is in progress: */ … … 590 589 } 591 590 592 void UI SettingsDialogMachine::sltMachineStateChanged(const QUuid &uMachineId, const KMachineState enmMachineState)591 void UIAdvancedSettingsDialogMachine::sltMachineStateChanged(const QUuid &uMachineId, const KMachineState enmMachineState) 593 592 { 594 593 /* Ignore if serialization is in progress: */ … … 609 608 } 610 609 611 void UI SettingsDialogMachine::sltMachineDataChanged(const QUuid &uMachineId)610 void UIAdvancedSettingsDialogMachine::sltMachineDataChanged(const QUuid &uMachineId) 612 611 { 613 612 /* Ignore if serialization is in progress: */ … … 626 625 } 627 626 628 void UI SettingsDialogMachine::prepare()627 void UIAdvancedSettingsDialogMachine::prepare() 629 628 { 630 629 #ifndef VBOX_WS_MAC … … 635 634 /* Make sure settings window will be updated on session/machine state/data changes: */ 636 635 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigSessionStateChange, 637 this, &UI SettingsDialogMachine::sltSessionStateChanged);636 this, &UIAdvancedSettingsDialogMachine::sltSessionStateChanged); 638 637 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineStateChange, 639 this, &UI SettingsDialogMachine::sltMachineStateChanged);638 this, &UIAdvancedSettingsDialogMachine::sltMachineStateChanged); 640 639 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigMachineDataChange, 641 this, &UI SettingsDialogMachine::sltMachineDataChanged);640 this, &UIAdvancedSettingsDialogMachine::sltMachineDataChanged); 642 641 643 642 /* Get corresponding machine (required to determine dialog type and page availability): */ … … 774 773 } 775 774 776 bool UI SettingsDialogMachine::isPageAvailable(int iPageId) const775 bool UIAdvancedSettingsDialogMachine::isPageAvailable(int iPageId) const 777 776 { 778 777 if (m_machine.isNull()) … … 811 810 } 812 811 813 void UI SettingsDialogMachine::updateConfigurationAccessLevel()812 void UIAdvancedSettingsDialogMachine::updateConfigurationAccessLevel() 814 813 { 815 814 /* Determine new configuration access level: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.h
r100977 r100979 26 26 */ 27 27 28 #ifndef FEQT_INCLUDED_SRC_settings_UI SettingsDialogSpecific_h29 #define FEQT_INCLUDED_SRC_settings_UI SettingsDialogSpecific_h28 #ifndef FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h 29 #define FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h 30 30 #ifndef RT_WITHOUT_PRAGMA_ONCE 31 31 # pragma once … … 48 48 49 49 /** UISettingsDialog extension encapsulating all the specific functionality of the Global Preferences. */ 50 class SHARED_LIBRARY_STUFF UI SettingsDialogGlobal : public UISettingsDialog50 class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialogGlobal : public UISettingsDialog 51 51 { 52 52 Q_OBJECT; … … 57 57 * @param strCategory Brings the name of category to be opened. 58 58 * @param strControl Brings the name of control to be focused. */ 59 UI SettingsDialogGlobal(QWidget *pParent,60 const QString &strCategory = QString(),61 const QString &strControl = QString());59 UIAdvancedSettingsDialogGlobal(QWidget *pParent, 60 const QString &strCategory = QString(), 61 const QString &strControl = QString()); 62 62 63 63 protected: … … 86 86 87 87 /** Safe pointer to cloud machine settings dialog. */ 88 typedef QPointer<UI SettingsDialogGlobal> UISafePointerSettingsDialogGlobal;88 typedef QPointer<UIAdvancedSettingsDialogGlobal> UISafePointerAdvancedSettingsDialogGlobal; 89 89 90 90 91 91 /** UISettingsDialog extension encapsulating all the specific functionality of the Machine Settings. */ 92 class SHARED_LIBRARY_STUFF UI SettingsDialogMachine : public UISettingsDialog92 class SHARED_LIBRARY_STUFF UIAdvancedSettingsDialogMachine : public UISettingsDialog 93 93 { 94 94 Q_OBJECT; … … 101 101 * @param strCategory Brings the name of category to be opened. 102 102 * @param strControl Brings the name of control to be focused. */ 103 UI SettingsDialogMachine(QWidget *pParent,104 const QUuid &uMachineId,105 UIActionPool *pActionPool,106 const QString &strCategory = QString(),107 const QString &strControl = QString());103 UIAdvancedSettingsDialogMachine(QWidget *pParent, 104 const QUuid &uMachineId, 105 UIActionPool *pActionPool, 106 const QString &strCategory = QString(), 107 const QString &strControl = QString()); 108 108 109 109 /** Update machine stuff. … … 180 180 181 181 /** Safe pointer to cloud machine settings dialog. */ 182 typedef QPointer<UI SettingsDialogMachine> UISafePointerSettingsDialogMachine;182 typedef QPointer<UIAdvancedSettingsDialogMachine> UISafePointerAdvancedSettingsDialogMachine; 183 183 184 184 185 #endif /* !FEQT_INCLUDED_SRC_settings_UI SettingsDialogSpecific_h */185 #endif /* !FEQT_INCLUDED_SRC_settings_UIAdvancedSettingsDialogSpecific_h */
Note:
See TracChangeset
for help on using the changeset viewer.