Changeset 91412 in vbox for trunk/src/VBox
- Timestamp:
- Sep 27, 2021 4:42:23 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r91411 r91412 27 27 #include "QIToolButton.h" 28 28 #include "UICloudNetworkingStuff.h" 29 #include "UIFormEditorWidget.h" 29 30 #include "UIIconPool.h" 30 31 #include "UIMessageCenter.h" … … 49 50 , m_pSourceImageList(0) 50 51 , m_pSettingsCnt(0) 52 , m_pFormEditor(0) 51 53 { 52 54 /* Prepare main layout: */ … … 183 185 const int iTotalHeight = 8 * iSectionHeight; 184 186 m_pFormEditor->setMinimumSize(QSize(iTotalWidth, iTotalHeight)); 185 /* Setup connections: */186 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressStarted,187 this, &UIWizardNewCloudVMPageExpert::sigProgressStarted);188 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressChange,189 this, &UIWizardNewCloudVMPageExpert::sigProgressChange);190 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressFinished,191 this, &UIWizardNewCloudVMPageExpert::sigProgressFinished);192 187 193 188 /* Add into layout: */ … … 216 211 connect(m_pSourceImageList, &QListWidget::currentRowChanged, 217 212 this, &UIWizardNewCloudVMPageExpert::sltHandleSourceImageChange); 213 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressStarted, 214 this, &UIWizardNewCloudVMPageExpert::sigProgressStarted); 215 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressChange, 216 this, &UIWizardNewCloudVMPageExpert::sigProgressChange); 217 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressFinished, 218 this, &UIWizardNewCloudVMPageExpert::sigProgressFinished); 218 219 } 219 220 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h
r91367 r91412 114 114 115 115 /** Holds the settings container instance. */ 116 QGroupBox 116 QGroupBox *m_pSettingsCnt; 117 117 /** Holds the Form Editor widget instance. */ 118 UIFormEditorWidget Pointerm_pFormEditor;118 UIFormEditorWidget *m_pFormEditor; 119 119 }; 120 120 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageProperties.cpp
r91411 r91412 22 22 /* GUI includes: */ 23 23 #include "QIRichTextLabel.h" 24 #include "UIFormEditorWidget.h" 24 25 #include "UIMessageCenter.h" 25 26 #include "UIWizardNewCloudVM.h" … … 34 35 *********************************************************************************************************************************/ 35 36 36 void UIWizardNewCloudVMProperties::refreshFormPropertiesTable(UIFormEditorWidget PointerpFormEditor,37 void UIWizardNewCloudVMProperties::refreshFormPropertiesTable(UIFormEditorWidget *pFormEditor, 37 38 const CVirtualSystemDescriptionForm &comForm) 38 39 { 39 40 /* Sanity check: */ 40 AssertPtrReturnVoid(pFormEditor .data());41 AssertPtrReturnVoid(pFormEditor); 41 42 AssertReturnVoid(comForm.isNotNull()); 42 43 … … 51 52 52 53 UIWizardNewCloudVMPageProperties::UIWizardNewCloudVMPageProperties() 54 : m_pLabel(0) 55 , m_pFormEditor(0) 53 56 { 54 57 /* Prepare main layout: */ … … 71 74 if (iDefaultSectionHeight > 0) 72 75 m_pFormEditor->setMinimumHeight(8 * iDefaultSectionHeight); 73 /* Setup connections: */74 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressStarted,75 this, &UIWizardNewCloudVMPageProperties::sigProgressStarted);76 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressChange,77 this, &UIWizardNewCloudVMPageProperties::sigProgressChange);78 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressFinished,79 this, &UIWizardNewCloudVMPageProperties::sigProgressFinished);80 76 81 77 /* Add into layout: */ … … 83 79 } 84 80 } 81 82 /* Setup connections: */ 83 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressStarted, 84 this, &UIWizardNewCloudVMPageProperties::sigProgressStarted); 85 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressChange, 86 this, &UIWizardNewCloudVMPageProperties::sigProgressChange); 87 connect(m_pFormEditor, &UIFormEditorWidget::sigProgressFinished, 88 this, &UIWizardNewCloudVMPageProperties::sigProgressFinished); 85 89 } 86 90 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageProperties.h
r91410 r91412 23 23 24 24 /* GUI includes: */ 25 #include "UIFormEditorWidget.h"26 25 #include "UINativeWizardPage.h" 27 26 28 27 /* COM includes: */ 29 #include "COMEnums.h"30 #include "CCloudClient.h"31 #include "CVirtualSystemDescription.h"32 28 #include "CVirtualSystemDescriptionForm.h" 33 29 34 30 /* Forward declarations: */ 35 31 class QIRichTextLabel; 32 class UIFormEditorWidget; 36 33 class UIWizardNewCloudVM; 37 34 … … 40 37 { 41 38 /** Refreshes @a pFormEditor on the basis of comForm specified. */ 42 void refreshFormPropertiesTable(UIFormEditorWidget PointerpFormEditor, const CVirtualSystemDescriptionForm &comForm);39 void refreshFormPropertiesTable(UIFormEditorWidget *pFormEditor, const CVirtualSystemDescriptionForm &comForm); 43 40 } 44 41 … … 82 79 83 80 /** Holds the Form Editor widget instance. */ 84 UIFormEditorWidget Pointerm_pFormEditor;81 UIFormEditorWidget *m_pFormEditor; 85 82 }; 86 83
Note:
See TracChangeset
for help on using the changeset viewer.