|
static QApplication * | m_app = nullptr |
|
◆ DefaultEditorFactoryTest()
DefaultEditorFactoryTest::DefaultEditorFactoryTest |
( |
| ) |
|
|
inline |
◆ ~DefaultEditorFactoryTest()
DefaultEditorFactoryTest::~DefaultEditorFactoryTest |
( |
| ) |
|
|
default |
◆ createEditor()
Helper function to build temporary model and create editor for cell.
Definition at line 48 of file defaulteditorfactory.test.cpp.
57 propertyItem->setLimits(limits);
58 if (!editor_type.empty())
59 propertyItem->setEditorType(editor_type);
63 return m_factory->createEditor(viewModel.index(0, 1));
View model to show content of SessionModel in Qt widgets: two column tree with label/data.
Item to carry concrete editable entity (e.g.
bool hasUpperLimit() const
if has upper limit
bool hasLowerLimit() const
if has lower limit
bool setData(const T &value, int role=ItemDataRole::DATA, bool direct=false)
Sets data for a given role.
Main class to hold hierarchy of SessionItem objects.
T * insertItem(SessionItem *parent=nullptr, const TagRow &tagrow={})
Inserts item into given parent under given tagrow.
◆ SetUpTestSuite()
void WidgetBasedTest::SetUpTestSuite |
( |
| ) |
|
|
staticinherited |
◆ TearDownTestSuite()
void WidgetBasedTest::TearDownTestSuite |
( |
| ) |
|
|
staticinherited |
◆ m_app
QApplication * WidgetBasedTest::m_app = nullptr |
|
staticprotectedinherited |
◆ m_factory
The documentation for this class was generated from the following file: