SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
annotationstyledialog.h
Go to the documentation of this file.
1
15#ifndef OPENSWMMVIS_UI_DIALOGS_ANNOTATIONSTYLEDIALOG_H
16#define OPENSWMMVIS_UI_DIALOGS_ANNOTATIONSTYLEDIALOG_H
17
18#include <QDialog>
19
21class QDialogButtonBox;
22class QPropertyModel;
23class QTreeView;
24class QLineEdit;
25
26class AnnotationStyleDialog : public QDialog
27{
28 Q_OBJECT
29public:
32 QWidget *parent = nullptr);
34
38 void setEditMode(bool edit);
39
40private:
41 void buildUi();
42
43 AnnotationTextItem *m_item = nullptr;
44 QLineEdit *m_text = nullptr;
45 QTreeView *m_tree = nullptr;
46 QPropertyModel *m_model = nullptr;
47 QDialogButtonBox *m_btns = nullptr;
48};
49
50#endif // OPENSWMMVIS_UI_DIALOGS_ANNOTATIONSTYLEDIALOG_H
Definition annotationstyledialog.h:27
void setEditMode(bool edit)
Definition annotationstyledialog.cpp:37
~AnnotationStyleDialog() override
Data model for a single styled text annotation.
Definition annotationtextitem.h:34
QVector< int > parent
union-find
Definition pslgminsize.cpp:176