mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4924 AppFwk : Add support for editable combo box
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "CustomObjectEditor.h"
|
||||
#include "ManyGroups.h"
|
||||
#include "MenuItemProducer.h"
|
||||
#include "TamComboBox.h"
|
||||
#include "WidgetLayoutTest.h"
|
||||
|
||||
#include "cafAppEnum.h"
|
||||
@@ -16,6 +17,7 @@
|
||||
#include "cafCmdSelectionHelper.h"
|
||||
#endif
|
||||
|
||||
#include "cafCmdFeatureMenuBuilder.h"
|
||||
#include "cafFilePath.h"
|
||||
#include "cafPdmDocument.h"
|
||||
#include "cafPdmObject.h"
|
||||
@@ -37,7 +39,6 @@
|
||||
#include "cafPdmUiTreeView.h"
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include "cafCmdFeatureMenuBuilder.h"
|
||||
#include <QAction>
|
||||
#include <QDockWidget>
|
||||
#include <QFileDialog>
|
||||
@@ -1166,6 +1167,9 @@ void MainWindow::buildTestModel()
|
||||
SingleEditorPdmObject* singleEditorObj = new SingleEditorPdmObject;
|
||||
m_testRoot->objects.push_back(singleEditorObj);
|
||||
|
||||
auto tamComboBox = new TamComboBox;
|
||||
m_testRoot->objects.push_back(tamComboBox);
|
||||
|
||||
DemoPdmObject* demoObj2 = new DemoPdmObject;
|
||||
|
||||
demoObject->m_textField = "Mitt Demo Obj";
|
||||
|
||||
Reference in New Issue
Block a user