Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
DefaultBinderPropertyPage.h
Go to the documentation of this file.
1#pragma once
2#include "DefaultScanBinder.h"
3#include "misc/qt/ListModel.h"
4
6
7namespace sf
8{
9namespace Ui
10{
11class DefaultBinderPropertyPage;
12}
13
15{
16 Q_OBJECT
17
18 public:
25
30
34 void applyPage() override;
35
39 void afterPageApply(bool was_modified) override;
40
44 bool canApplyPage() const override;
45
49 bool isPageModified() const override;
50
54 void updatePage() override;
55
62 void getListData(const QModelIndex& index, int role, QVariant& data);
63
70 void setListData(const QModelIndex& index, int role, const QVariant& data);
71
72 private:
73 Ui::DefaultBinderPropertyPage* ui;
75 ListModel* _listModel;
79 TDefaultScanBinder* FBinder;
81 QPoint FClickPoint;
83 ConfigStore FSaveState;
84};
85}// namespace sf
Class to store application configuration. Uses the global application settings or a given ini-file.
Definition ConfigStore.h:15
Definition DefaultBinderPropertyPage.h:15
void setListData(const QModelIndex &index, int role, const QVariant &data)
Handles setting the data represented by the treeview.
bool isPageModified() const override
Overridden from base class.
void getListData(const QModelIndex &index, int role, QVariant &data)
Handles getting the data for Treeview.
void applyPage() override
Overridden from base class.
~DefaultBinderPropertyPage() override
Destructor.
void updatePage() override
Overridden from base class.
void afterPageApply(bool was_modified) override
Overridden from base class.
DefaultBinderPropertyPage(TDefaultScanBinder *target, QWidget *parent)
Constructor.
bool canApplyPage() const override
Overridden from base class.
Definition ListModel.h:14
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:15
Definition DefaultScanBinder.h:13
Definition ApplicationPropertyPage.h:7
Definition Application.h:10
List of approach positions.
Definition DefaultScanBinder.h:557