CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
propertyeditordialog.h
Go to the documentation of this file.
1#ifndef SRC_GUI_PROPERTYEDITORDIALOG_H_
2#define SRC_GUI_PROPERTYEDITORDIALOG_H_
3
4#include <QBoxLayout>
5#include <QDialog>
6#include <QPushButton>
7#include <QStandardItemModel>
8#include <QTableView>
9#include <memory>
10
11namespace Ui {
13}
14
18class PropertyEditorDialog : public QDialog {
19 Q_OBJECT
20
21public:
22 PropertyEditorDialog(const QString& title, const QWidget& propertySource, QWidget* parent = nullptr);
23 virtual ~PropertyEditorDialog();
24
25 std::shared_ptr<QWidget> properties();
26
27private:
28 std::unique_ptr<Ui::PropertyEditorDialog> _ui;
29 QStandardItemModel _model;
30
31 void fillModel(const QWidget& propsObj);
32};
33
34#endif /* SRC_GUI_PROPERTYEDITORDIALOG_H_ */
Definition propertyeditordialog.h:18
std::shared_ptr< QWidget > properties()
Definition propertyeditordialog.cpp:25
virtual ~PropertyEditorDialog()
Definition propertyeditordialog.cpp:23
Definition canrawsender_p.h:13