Changeset 84008 in vbox
- Timestamp:
- Apr 27, 2020 2:27:53 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137576
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFormEditorWidget.cpp
r83961 r84008 1439 1439 } 1440 1440 1441 void UIFormEditorWidget::setValues(const QVector<CFormValue> &values) 1442 { 1443 m_pTableModel->setFormValues(values); 1444 adjustTable(); 1445 } 1446 1441 1447 void UIFormEditorWidget::setForm(const CForm &comForm) 1442 1448 { 1443 1449 AssertPtrReturnVoid(m_pTableModel); 1444 1450 /// @todo add some check.. 1445 m_pTableModel->setFormValues(comForm.GetValues()); 1446 adjustTable(); 1451 setValues(comForm.GetValues()); 1447 1452 } 1448 1453 … … 1451 1456 AssertPtrReturnVoid(m_pTableModel); 1452 1457 /// @todo add some check.. 1453 m_pTableModel->setFormValues(comForm.GetValues()); 1454 adjustTable(); 1458 setValues(comForm.GetValues()); 1455 1459 } 1456 1460 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFormEditorWidget.h
r83961 r84008 26 26 #include <QWidget> 27 27 28 /* COM includes: */ 29 #include "COMEnums.h" 30 #include "CFormValue.h" 31 28 32 /* Forward declarations: */ 29 33 class QHeaderView; … … 48 52 QHeaderView *verticalHeader() const; 49 53 54 /** Defines @a values to be edited. */ 55 void setValues(const QVector<CFormValue> &values); 50 56 /** Defines @a comForm to be edited. */ 51 57 void setForm(const CForm &comForm);
Note:
See TracChangeset
for help on using the changeset viewer.