Maki
Formally verfied low-code orchestration
Toggle main menu visibility
Loading...
Searching...
No Matches
type_selector.h
1
#pragma once
2
3
#include <QWidget>
4
5
#include "typing/type_reference.h"
6
7
class
QComboBox;
8
9
namespace
maki
10
{
11
12
class
TypeSelector :
public
QWidget
13
{
14
Q_OBJECT
15
public
:
16
TypeSelector(
const
QString& objectName, QWidget* parent =
nullptr
);
17
18
koda::types::TypeReference getReference()
const
;
19
void
setReference(
const
koda::types::TypeReference& reference);
20
21
void
setPrimitive();
22
void
setEditorTitle(
const
QString& title);
23
void
populateTypes(
const
koda::types::QualifiedName* currentName =
nullptr
);
24
25
QList<QWidget*> focusWidgets()
const
;
26
27
signals:
28
void
typeChanged(
const
koda::types::TypeReference& reference);
29
30
protected
:
31
void
focusInEvent(QFocusEvent* event)
override
;
32
33
private
:
34
QComboBox* mSelector;
35
bool
mUsesPrimitives;
36
QString mTitle;
37
38
QComboBox* createComboBox();
39
};
40
41
};
// namespace maki
maki
Contains UI helper widgets and layout grouping utilities used by MAKI.
Definition
generator.h:10
Generated for
MAKI
· © 2026 with
Doxygen
1.9.8
GitHub
Research