FLImaging 6.7.10.2
GUIFixedViewDeclaration.h
1#pragma once
2#include "GUIDefinitions.h"
3
11
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
115 virtual void SetConstantTitleOfView(const Base::CFLString<wchar_t>& strTitle, bool bSaveToConfig = true);
116
128
137
148 virtual CGUIDocBase* GetCreatedDocument() const;
149
160 virtual CGUIChildFrameBase* GetCreatedFrame() const;
161
172 virtual CGUIViewBase* GetCreatedView() const;
173
185 virtual const FLImaging::CResult Load();
186
202 virtual const FLImaging::CResult Save(ESaveItemOfFixedViewDeclaration eSaveItem = ESaveItemOfFixedViewDeclaration_All) const;
203
215
216 DeclareGetClassType();
217
218 protected:
219 std::string m_strMultiDocTemplateName;
220 Base::CFLString<wchar_t> m_strViewName;
221 Base::CFLString<wchar_t> m_strConstantTitle;
222
223 CGUIDocBase* m_pCreatedDoc;
224 CGUIChildFrameBase* m_pCreatedFrame;
225 CGUIViewBase* m_pCreatedView;
226
227 friend class CGUIManagerView;
228 };
229 }
230}
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1596
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 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 void SetConstantTitleOfView(const Base::CFLString< wchar_t > &strTitle, bool bSaveToConfig=true)
Function to set the view to always display the same title. If an empty string is provided,...
virtual Base::CFLString< wchar_t > GetFileName() const
Returns the path to the settings file that stores the most recent settings in the pinned view....
Definition D2DObject.h:12