Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
DefaultBinderFrame.h
Go to the documentation of this file.
1#pragma once
2#include "DefaultScanBinder.h"
3#include <misc/qt/Widget.h>
4
5#include <QWidget>
6#include <math/Types.h>
7
8namespace sf
9{
10
11namespace Ui
12{
13// Forward definition of auto generated class.
14class DefaultBinderFrame;
15}// namespace Ui
16
18{
19 Q_OBJECT
20
21 public:
25 DefaultBinderFrame(TDefaultScanBinder* binder, QWidget* parent);
26
31
32 //
42
44 void UpdateControls(bool clear);
45
46 private:
47 void handleActionUpdate();
48 void handleActionNextExecute();
49 void handleActionPrevExecute();
50 void handleActionOffsetApplyExecute();
51 void handleActionOffsetResetExecute();
52 void handleActionBalanceExecute();
53 void handleButtonBalanceIgnoreClick();
54 void handleComboBoxChecksChange();
55 void handleAxesOffsetsChange();
56
57 Ui::DefaultBinderFrame* ui;
59 void SetCheckOffset(const Vector3D& chk_ofs);
61 bool FIgnoreOffsetChange;
63 TDefaultScanBinder* FBinder;
65 ConfigStore FSaveState;
67 EDisplayMode FDisplayMode;
70};
71
72}// namespace sf
Class to store application configuration. Uses the global application settings or a given ini-file.
Definition ConfigStore.h:15
Definition DefaultBinderFrame.h:18
DefaultBinderFrame(TDefaultScanBinder *binder, QWidget *parent)
Constructor.
void SetDisplayMode(EDisplayMode dm)
void UpdateControls(bool clear)
~DefaultBinderFrame() override
Virtual destructor.
EDisplayMode
Definition DefaultBinderFrame.h:34
@ dmBALANCE
Balance mode display.
Definition DefaultBinderFrame.h:40
@ dmCHECK
Check mode display.
Definition DefaultBinderFrame.h:38
@ dmNONE
Initialized value at creation.
Definition DefaultBinderFrame.h:36
Definition DefaultScanBinder.h:13
Widget adding an activity change signal for e.g. updating QActions.
Definition Widget.h:14
Definition ApplicationPropertyPage.h:7
Definition Application.h:10
Structure to hold and compare check positions.
Definition DefaultScanBinder.h:115