FLImaging 6.5.8.1
GUIFixedViewDeclaration.h
1#pragma once
2#include "GUIDefinitions.h"
3
13namespace FLImaging
14{
16 namespace GUI
17 {
18 class CGUIDocBase;
19 class CGUIChildFrameBase;
20 class CGUIViewBase;
21
29 class FL_EXPORT CGUIFixedViewDeclaration : public Base::CFLBase
30 {
31 public:
39
47
56 virtual void SetMultiDocTemplateName(std::string strMultiDocTemplateName);
57
66 virtual std::string GetMultiDocTemplateName() const;
67
79 virtual void SetViewName(const Base::CFLString<wchar_t>& strViewName);
80
92
100 virtual void ClearViewName();
101
113
125
134
145 virtual CGUIDocBase* GetCreatedDocument() const;
146
157 virtual CGUIChildFrameBase* GetCreatedFrame() const;
158
169 virtual CGUIViewBase* GetCreatedView() const;
170
182 virtual const FLImaging::CResult Load();
183
199 virtual const FLImaging::CResult Save(ESaveItemOfFixedViewDeclaration eSaveItem = ESaveItemOfFixedViewDeclaration_All) const;
200
212
213 DeclareGetClassType();
214
215 protected:
216 std::string m_strMultiDocTemplateName;
217 Base::CFLString<wchar_t> m_strViewName;
218 Base::CFLString<wchar_t> m_strConstantTitle;
219
220 CGUIDocBase* m_pCreatedDoc;
221 CGUIChildFrameBase* m_pCreatedFrame;
222 CGUIViewBase* m_pCreatedView;
223
224 friend class CGUIManagerView;
225 };
226 }
227}
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition INIUtilities.h:20
FLImaging module execution result object.
Definition ResultsDef.h:1514
A class of fixed view declaration.
Definition GUIFixedViewDeclaration.h:30
virtual CGUIViewBase * GetCreatedView() const
Get the pointer of created view.
virtual const FLImaging::CResult Load()
Loads attribute values for the fixed view (e.g., pixel precision for the image view) and sets them to...
virtual Base::CFLString< wchar_t > GetConstantTitleOfView() const
Function that returns a fixed title if the view is set to always display the same title.
virtual void SetConstantTitleOfView(const Base::CFLString< wchar_t > &strTitle)
Function to set the view to always display the same title. If an empty string is provided,...
virtual void SetMultiDocTemplateName(std::string strMultiDocTemplateName)
Set the MultiDocTemplateName of view.
virtual void ClearConstantTitleOfView()
A function that clears the constant title of the view set by SetConstantTitleOfView().
virtual Base::CFLString< wchar_t > GetViewName() const
Get the name of view.
virtual CGUIDocBase * GetCreatedDocument() const
Get the pointer of document.
virtual void ClearViewName()
A function that clears the name of the view set by SetViewName().
virtual CGUIChildFrameBase * GetCreatedFrame() const
Get the pointer of child frame.
virtual void SetViewName(const Base::CFLString< wchar_t > &strViewName)
Set the name of view.
virtual ~CGUIFixedViewDeclaration()
Default destructor.
CGUIFixedViewDeclaration()
Default constructor.
virtual std::string GetMultiDocTemplateName() const
Get the MultiDocTemplateName of view.
virtual const FLImaging::CResult Save(ESaveItemOfFixedViewDeclaration eSaveItem=ESaveItemOfFixedViewDeclaration_All) const
Saves attribute values for the fixed view (e.g., pixel precision for the image view) to the path obta...
virtual Base::CFLString< wchar_t > GetFileName() const
Returns the path to the settings file that stores the most recent settings in the pinned view....