Maki
Formally verfied low-code orchestration
Toggle main menu visibility
Loading...
Searching...
No Matches
type_reference_dialog.h
1
#pragma once
2
3
#include "../base_dialog.h"
4
#include "typing/type_reference.h"
5
6
class
QComboBox;
7
class
QDialogButtonBox;
8
class
QLabel;
9
class
QPushButton;
10
class
QStackedWidget;
11
12
namespace
maki
13
{
14
15
class
SelectorWidget
;
16
class
ButtonWidget
;
17
class
TypeSelector
;
18
19
class
TypeReferenceDialog :
public
BaseDialog
20
{
21
Q_OBJECT
22
23
public
:
24
TypeReferenceDialog(
const
QString& title, QWidget* parent =
nullptr
);
25
26
void
setTypeRef(
const
koda::types::TypeReference& ref);
27
koda::types::TypeReference typeRef()
const
;
28
29
private
slots:
30
void
kindChanged(
const
QString& value);
31
32
private
:
33
QStackedWidget* mStack =
nullptr
;
34
maki::SelectorWidget
* mKindCombo =
nullptr
;
35
36
void
buildUi();
37
int
kindToIndex(koda::types::TypeReferenceKind type)
const
;
38
39
static
koda::types::TypeReference defaultNamedType();
40
};
41
42
}
// namespace maki
BaseDialog::BaseDialog
BaseDialog(const QString &title, double ratio, double screenFraction, QWidget *parent=nullptr)
Constructs a new BaseDialog instance.
Definition
base_dialog.cpp:19
maki::ButtonWidget
A widget wrapping a push button with optional description and icon support.
Definition
widget_factory.h:501
maki::SelectorWidget
A widget for selecting one value from a list of options.
Definition
widget_factory.h:451
maki::TypeSelector
Definition
type_selector.h:13
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