Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ElementInfoPropertyPage.h
Go to the documentation of this file.
1#pragma once
4#include <ipj/sm/toolbase/global.h>
7
8namespace sf::ipj
9{
10
11namespace Ui
12{
13class ElementInfoPropertyPage;
14}
15
16class _TBSM_CLASS ElementInfoPropertyPage : public PropertyPage
17{
18 Q_OBJECT
19
20 public:
26 explicit ElementInfoPropertyPage(ElementInformation* target, QWidget* parent = nullptr);
27
32
36 void applyPage() override;
37
41 void afterPageApply(bool was_modified) override;
42
46 bool isPageModified() const override;
47
51 void updatePage() override;
52
53 private:
54 Ui::ElementInfoPropertyPage* ui;
56 ElementInformation* _data;
58 UnitConverter _unitConverterDistance;
60 int _displacementPrecision;
61};
62
64{
65 public:
71 explicit ElementInfoFilerPropertyPage(const IniEnvelope& target, QWidget* parent = nullptr);
72
73 protected:
77 void applyPage() override;
78
79 private:
80 IniEnvelope _iniFile;
81 ElementInformation _elementInfo;
82};
83
84}// namespace sf::ipj
Holds the information on the transducer.
Definition ElementInformation.h:12
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:15
unit conversion class to easy the pain of conversions in dialogs.
Definition UnitConversion.h:90
Definition ElementInfoPropertyPage.h:64
ElementInfoFilerPropertyPage(const IniEnvelope &target, QWidget *parent=nullptr)
Constructor.
void applyPage() override
Overridden from base class.
Definition ElementInfoPropertyPage.h:17
bool isPageModified() const override
Overridden from base class.
void afterPageApply(bool was_modified) override
Overridden from base class.
~ElementInfoPropertyPage() override
Virtual destructor.
ElementInfoPropertyPage(ElementInformation *target, QWidget *parent=nullptr)
Constructor.
void updatePage() override
Overridden from base class.
void applyPage() override
Overridden from base class.
Definition ApplicationPropertyPage.h:7
Definition CircleScanMethod.h:5