Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
IdPropertyList.h
Go to the documentation of this file.
1#pragma once
2#include <gii/global.h>
4
5namespace sf
6{
7
12{
13 public:
18 explicit IdPropertyList(QObject* target);
19
25 void add(const QByteArray& name, InformationIdEdit* iie);
26
30 void update();
31
35 void apply();
36
42 [[nodiscard]] bool isModified() const;
43
44 private:
48 typedef QList<QPair<QByteArray, InformationIdEdit*>> ListType;
52 QObject* _target;
56 ListType _list;
57};
58
59}// namespace sf
Class making checking of widgets Information ID's easier.
Definition IdPropertyList.h:12
bool isModified() const
Gets the modified status of the ID edit widgets. This method corresponds with the sf::PropertyPage::i...
void update()
Method which updates the ID edit widgets using the property value.
void add(const QByteArray &name, InformationIdEdit *iie)
Adds a property name and corresponding ID edit widget.
IdPropertyList(QObject *target)
Constructor.
void apply()
Method which sets the target property using the ID edit widget's value.
Line edit having a button.
Definition InformationIdEdit.h:19
#define _GII_CLASS
Definition gii/global.h:38
Definition Application.h:10