FLImaging 7.10.21.1
GUIMenuItemProperty.h
1#pragma once
2
10
11#include "GUIMenuItemBase.h"
12#include "GUIPropertyMessageBox.h"
13#include "GUIStaticText.h"
14#include "DefinitionsGUI.h"
15
17namespace FLImaging
18{
20 namespace GUI
21 {
22 class CGUIPaneProperties;
25 class CGUIPropertyButton;
26 class CGUIPropertyMessageBox;
27 class CGUIStaticText;
28 class CGUIDialogKernel;
29 class CGUIManager;
30 class CGUIPaneFrameWnd;
33
34 typedef std::function<const CResult(int32_t)> CGUIMenuItemRegistrationCallback;
35 #define MakeMenuItemRegistrationCallback [=](int32_t i32Index) -> const CResult
36
37 typedef std::function<const CResult(int32_t)> CGUIMenuItemUnregistrationCallback;
38 #define MakeMenuItemUnregistrationCallback [=](int32_t i32Index) -> const CResult
39
47 class FL_EXPORT CGUIMenuItemProperty : public CGUIMenuItemBase
48 {
49 public:
58
69
80
89
101 virtual const CResult PreDestroy() override;
102
110 virtual void Clear();
111
125 virtual const CResult Assign(const CGUIMenuItemProperty& rhs);
126
140 virtual const CResult Assign(const CGUIMenuItemProperty* pRhs);
141
176
211
221 virtual bool DoesFileExist() const;
222
234 virtual const CResult RemoveSettingFile() const;
235
245 virtual bool Load() override;
246
256 virtual bool IsLoaded() const;
257
271 virtual bool Load(CGUIDialogKernel* pKernel);
272
281 virtual bool Save() const override;
282
296 virtual bool Save(CGUIDialogKernel* pKernel) const;
297
307 virtual bool IsLoading() const;
308
318 virtual void EnableAutoLoad(bool bAutoLoad);
319
329 virtual bool IsAutoLoadEnabled() const;
330
340 virtual void EnableAutoSave(bool bAutoSave);
341
351 virtual bool IsAutoSaveEnabled() const;
352
362 virtual void EnableWindowCreation(bool bSet = true);
363
373 virtual bool IsWindowCreationEnabled() const;
374
384 virtual void SetActivateViewOnShowPane(bool bActivate);
385
395 virtual bool DoesActivateViewOnShowPane() const;
396
406 virtual bool OnLButtonDoubleClick();
407
417 virtual bool OnRButtonClick();
418
428 virtual bool ShowPaneWindow();
429
439 virtual bool InitialDockPaneWindow();
440
456 virtual bool AddItem(CGUIPropertyItemBase* pItem, bool bAdjustLayout = true);
457
479 template<typename TPropertyItem>
480 TPropertyItem* AddItem(const wchar_t* pWcsName, const wchar_t* pWcsPath = nullptr, const wchar_t* pWcsValue = nullptr, const wchar_t* pWcsDefaultValue = nullptr, bool bAdjustLayout = false);
504 template<typename TPropertyItem>
505 TPropertyItem* AddItem(ESliderTemplateType eTemplateType, const wchar_t* pWcsName, const wchar_t* pWcsPath = nullptr, const wchar_t* pWcsValue = nullptr, const wchar_t* pWcsDefaultValue = nullptr, bool bAdjustLayout = false);
506
543 virtual bool InsertItem(CGUIPropertyItemBase* pItem, const CGUIPropertyItemBase* pItemBefore, bool bAdjustLayout = true);
544
560 virtual bool RemoveItem(CGUIPropertyItemBase* pItem, bool bAdjustLayout = true);
561
596 virtual bool MoveItem(CGUIPropertyItemBase* pItem, const CGUIPropertyItemBase* pItemNewParent, EAppendPosition eAppendPosition = EAppendPosition_Back, bool bAdjustLayout = true);
597
634 virtual bool MoveItem(CGUIPropertyItemBase* pItem, EInsertPosition eInsertPosition, const CGUIPropertyItemBase* pItemInsertPosition, bool bAdjustLayout = true);
635
672 virtual bool MoveItem(CGUIPropertyItemBase* pItem, const Base::CFLString<wchar_t>& strParentItemFullPath, EAppendPosition eAppendPosition = EAppendPosition_Back, bool bAdjustLayout = true);
673
710 virtual bool MoveItem(CGUIPropertyItemBase* pItem, EInsertPosition eInsertPosition, const Base::CFLString<wchar_t>& strInsertPositionItemFullPath, bool bAdjustLayout = true);
711
723 virtual const CResult UpdateProperty();
724
737
749 virtual bool BuildItems(CMFCPropertyGridCtrl* pCtrl);
750
760 virtual int64_t GetItemCount() const;
761
775 virtual int64_t GetItemCountByName(const Base::CFLString<wchar_t>& strName) const;
776
790 virtual CGUIPropertyItemBase* GetItem(int64_t i64Index) const;
791
811 virtual CGUIPropertyItemBase* FindItemByName(const Base::CFLString<wchar_t>& strName, bool bNocase = true, size_t stIndex = 0) const;
812
830 virtual CGUIPropertyItemBase* FindItemByFullPath(const Base::CFLString<wchar_t>& strFullPath, bool bNocase = true) const;
831
843 virtual CGUIPropertyItemBase* FindItemByHash(uint32_t u32Hash) const;
844
863 virtual std::vector<CGUIPropertyItemBase*> FindItemsByPath(const Base::CFLString<wchar_t>& strPath, bool bNocase = true) const;
864
887 virtual const CResult FindItemsByPath(const Base::CFLString<wchar_t>& strPath, std::vector<CGUIPropertyItemBase*>& vctItems, bool bNocase = true) const;
888
900 virtual int64_t GetPropertyItemFigureCount() const;
901
916
930 virtual bool AddButton(CGUIPropertyButton* pButton);
931
949 virtual bool SetShortcut(EKeyType eKeyType, CGUIPropertyButton* pButton);
950
962 std::vector<CGUIPropertyButton*>* GetPropertyButtons() const;
963
979 CGUIPropertyButton* FindPropertyButtonByName(const Base::CFLString<wchar_t>& strBtnName);
980
993 CGUIPropertyButton* FindPropertyButtonByIndex(int64_t i64Index);
994
1004 void EnableStatusMessageBox(bool bEnable);
1005
1016
1026 void ShowSearchBar(bool bShow);
1027
1038
1055
1068
1080 void SetMessageDisplayMode(EMessageDisplayMode eMessageDisplayMode = EMessageDisplayMode_NoScroll);
1081
1093 EMessageDisplayMode GetMessageDisplayMode() const;
1094
1106 virtual bool InitializePropertyPane(bool bLoad = true);
1107
1123 virtual bool InitializePropertyPaneStandalone(bool bLoad, CWnd* pParentWnd, CGUIDockablePaneHostFrame* pHostFrame = nullptr);
1124
1136 CGUIPaneProperties* GetPaneProperties() const;
1137
1153 virtual bool SetMenuItemRegistrationCallback(CGUIMenuItemRegistrationCallback* pFunc, bool bAutoDestroy = true);
1154
1166 virtual CGUIMenuItemRegistrationCallback* GetRegistrationCallback() const;
1167
1183 virtual bool SetMenuItemUnregistrationCallback(CGUIMenuItemUnregistrationCallback* pFunc, bool bAutoDestroy = true);
1184
1196 virtual CGUIMenuItemUnregistrationCallback* GetDestroyInstanceCallback() const;
1197
1207 virtual bool IsInitialized() const;
1208
1222 virtual bool DoesSameFullPathExist(const Base::CFLString<wchar_t>& flstrFullPath) const;
1223
1233 virtual bool CreateProperty();
1234
1247
1261 virtual CGUIMenuItemProperty* GetChildInstanceAsMenuItemProperty(int32_t i32InstanceIdx) const;
1262
1275
1277
1290 virtual CGUIMenuItemBase* CreateChildInstance(int32_t i32InstanceIdx = -1) override;
1291
1305 virtual const CResult DeleteChildInstance(int32_t i32InstanceIndex) override;
1307
1323 virtual Base::CFLString<wchar_t> GetItemValue(CGUIPropertyItemBase* pItem) const;
1324
1340 virtual const CResult SelectPopupMenuItem(EMenuItemPaneMenuTree eSelectedContextMenu);
1341
1351 void EnableOpenWindow(bool bEnable);
1352
1363
1373 virtual void SetGlobalModel(bool bSet);
1374
1384 virtual bool IsGlobalModel() const;
1385
1395 virtual void Enable(bool bEnable) override;
1396
1412 virtual void SetMinimalAuthorityLevelOnContextMenu(Base::EAuthorityLevel eAuthorityLevel, GUI::EMenuItemPaneMenuTree eMenuItemPaneMenuTree) override;
1413
1425 virtual const CResult DeletePane();
1426
1438 virtual const CResult ClosePane();
1439
1449 virtual bool IsTerminateAppRequested() const;
1450
1460 virtual void RequestTerminateApp(bool bTerminate = true);
1461
1485
1498
1524 virtual const CResult SetPropertyGridCtrlLeftColumnWidthRatio(float f32Ratio = 0.5f, ESizeMode eSizeMode = ESizeMode_Ratio);
1525
1536
1562 virtual const CResult SetPropertyGridCtrlLeftColumnWidth(int32_t i32Width, ESizeMode eSizeMode = ESizeMode_Fixed);
1563
1573 virtual int32_t GetPropertyGridCtrlLeftColumnWidth() const;
1574
1575 virtual Base::CFLString<wchar_t> GetPaneName();
1576
1577 virtual CGUIPaneBase* GetPane() const override;
1578
1579 virtual void SetDockDone(bool bSet);
1580 virtual bool IsDockDone() const;
1581
1582 /* Create Instance*/
1583 virtual CGUIMenuItemProperty* CreateInstance(int32_t i32InstanceIdx = -1);
1584 virtual CGUIMenuItemProperty* LoadToCreateInstance(int32_t i32InstanceIdx = -1);
1585
1586 virtual void UpdateChildProperty();
1587 virtual bool OnShortKeyDown(UINT uKeyType);
1588 virtual const CResult ActivateSelectedViewOfFirstViewList();
1589
1590 CGUIPropertyMessageBox* GetMessageBox() const;
1591
1592 virtual std::vector<CGUIPropertyItemBase*>& GetItems() const;
1593 virtual std::unordered_map<uint32_t, CGUIPropertyItemBase*>& GetItemsHashMap() const;
1594 virtual std::vector<CGUIPropertyButton*>& GetButtons() const;
1595
1596 virtual bool DoesItemExistInVector(const CGUIPropertyItemBase* pItem, bool bLock = true) const;
1597 virtual const CGUIManagerPropertyItem* GetManagerPropertyItem() const;
1598
1599 protected:
1600 virtual bool InternalLoad();
1601 virtual bool InternalSave() const;
1602
1603 virtual bool IsSNAPNodeProperty() const;
1604
1605 protected:
1606 bool m_bDockDone;
1607 /* Property Items*/
1608 CGUIManagerPropertyItem* m_pMgrPI;
1609 std::map<EKeyType, CGUIPropertyButton*>& m_mapBtnShortcuts;
1610
1611 /* Buttons*/
1612 std::vector<CGUIPropertyButton*>& m_vctButtons;
1613
1614 /* Message box*/
1615 CGUIPropertyMessageBox* m_pStaticMessage;
1616 Base::CFLString<wchar_t> m_strMessage;
1617
1618 /* Property Pane*/
1619 CGUIPaneProperties* m_pProperties;
1620 bool m_bInitialized;
1621
1622 /* Create Window */
1623 bool m_bEnableWindowCreation;
1624
1625 CGUIMenuItemRegistrationCallback* m_pRegistrationCallback;
1626 bool m_bCreateCallbackAutoDestroy;
1627
1628 /* Destroy Instance*/
1629 CGUIMenuItemUnregistrationCallback* m_pDestroyInstanceCallback;
1630 bool m_bDestroyCallbackAutoDestroy;
1631
1632 bool m_bLoaded;
1633 bool m_bLoadingNow;
1634 bool m_bAutoLoad;
1635 bool m_bAutoSave;
1636 bool m_bActivateViewOnShowPane;
1637
1638 bool m_bShowSearchBar;
1639 bool m_bEnableOpenWindow;
1640 bool m_bGlobalModel;
1641
1642 ESizeMode m_ePGCLeftColWidthSizeMode;
1643 float m_f32PGCLeftColWidthRatio;
1644 int32_t m_i32PGCLeftColWidth;
1645
1646 friend class CGUIPaneProperties;
1647 friend class CGUITabbedPane;
1648 friend class CGUIPropertyItemBase;
1649 friend class CGUIManager;
1650 friend class CGUIPaneMenu;
1651 friend class CGUIManagerPane;
1652 friend class CGUIMainFrame;
1653 friend class CGUIPaneFrameWnd;
1654 friend class CGUIPanePropertiesShell;
1655 friend class CGUIPropertyMenuSNAPView;
1656 friend class CGUIManagerModel;
1657 };
1658}
1659}
1660
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition FLImagingBase/ResultsDef.h:1712
Definition GUIDialogKernel.h:51
GUIDockablePaneHostFrame class.
Definition FLImagingGUI/GUIDockablePaneHostFrame.h:27
Manager class responsible for handling CGUIPropertyItemBase objects and synchronizing them with CGUIP...
Definition GUIManagerPropertyItem.h:46
virtual Base::CFLString< wchar_t > GetItemValue(CGUIPropertyItemBase *pItem) const
Retrieves the value of an item.
virtual CGUIPropertyItemBase * GetItem(int64_t i64Index) const
Retrieves the item at the specified index.
virtual int64_t GetPropertyItemFigureCount() const
Retrieves the count of CGUIPropertyItemViewImageFigure items.
virtual bool IsAutoLoadEnabled() const
Checks if auto-load is enabled for the property items.
bool IsEnabledOpenWindow() const
Checks if the open window functionality is enabled.
virtual void Clear()
Clears all the added property items.
virtual const CResult Assign(const CGUIMenuItemProperty *pRhs)
Assigns properties from another CGUIMenuItemProperty object using a pointer.
EMessageDisplayMode GetMessageDisplayMode() const
Retrieves the current message display mode.
virtual bool AddItem(CGUIPropertyItemBase *pItem, bool bAdjustLayout=true)
Function to add a property item.
virtual bool IsTerminateAppRequested() const
Returns whether a program termination request has been received.
virtual CGUIPropertyItemBase * FindItemByHash(uint32_t u32Hash) const
Finds an item by its hash value.
virtual void EnableAutoLoad(bool bAutoLoad)
Enables or disables the auto-load feature for property items.
TPropertyItem * AddItem(ESliderTemplateType eTemplateType, const wchar_t *pWcsName, const wchar_t *pWcsPath=nullptr, const wchar_t *pWcsValue=nullptr, const wchar_t *pWcsDefaultValue=nullptr, bool bAdjustLayout=false)
Function to add a slider-type property item.
CGUIPropertyButton * FindPropertyButtonByName(const Base::CFLString< wchar_t > &strBtnName)
Retrieves a pointer to the CGUIPropertyButton object that matches the given button name.
virtual const CResult UpdateProperty()
Refreshes the property grid screen. It performs the same action as calling GetPaneProperties()->GetPr...
virtual bool OnRButtonClick()
Handles the right button click event.
virtual bool Load() override
Loads the value of property items from a file.
virtual bool MoveItem(CGUIPropertyItemBase *pItem, const Base::CFLString< wchar_t > &strParentItemFullPath, EAppendPosition eAppendPosition=EAppendPosition_Back, bool bAdjustLayout=true)
Moves an existing property item under a new parent item using the parent's full path....
virtual const CResult SelectPopupMenuItem(EMenuItemPaneMenuTree eSelectedContextMenu)
Selects a popup menu item.
void EnableStatusMessageBox(bool bEnable)
Enables or disables the status message box.
virtual int64_t GetItemCount() const
Retrieves the number of property items.
virtual const CResult Assign(const CGUIMenuItemProperty &rhs)
Assigns properties from another CGUIMenuItemProperty object.
virtual const CResult DeletePane()
Deletes the property pane.
virtual bool InitializePropertyPane(bool bLoad=true)
Initializes the property pane.
virtual void EnableWindowCreation(bool bSet=true)
Sets whether the property window associated with this object should be created.
virtual bool RemoveItem(CGUIPropertyItemBase *pItem, bool bAdjustLayout=true)
Function to remove a property item from CGUIPropertyGridCtrl.
virtual bool AddButton(CGUIPropertyButton *pButton)
Adds a CGUIPropertyButton object.
bool IsSearchBarVisible() const
Checks if the search bar is visible.
virtual bool Load(CGUIDialogKernel *pKernel)
Loads kernel values into the specified kernel dialog.
virtual CGUIPropertyItemViewImageFigure * GetPropertyItemFigure(int32_t i32Index) const
Retrieves the pointer to the CGUIPropertyItemViewImageFigure at the specified index.
virtual bool IsWindowCreationEnabled() const
Returns whether the property window associated with this object should be created.
void EnableOpenWindow(bool bEnable)
Enables or disables the open window functionality.
virtual bool IsAutoSaveEnabled() const
Checks if auto-save is enabled for the property items.
CGUIMenuItemProperty()
Default constructor for CGUIMenuItemProperty.
virtual ESizeMode GetPropertyGridCtrlLeftColumnWidthSizeMode() const
Gets the current size mode of the left column in the property grid control.
virtual void Enable(bool bEnable) override
Enables or disables the menu item.
bool IsStatusMessageBoxEnabled() const
Checks if the status message box is enabled.
virtual CGUIMenuItemProperty * GetParentMultiInstanceMenuItemProperty() const
Returns the pointer to the parent object if the current object is a child instance.
virtual bool Save(CGUIDialogKernel *pKernel) const
Saves the values of the kernel dialog.
virtual float GetPropertyGridCtrlLeftColumnWidthRatio() const
Gets the ratio used for the left column width.
virtual void SetGlobalModel(bool bSet)
Sets the global model flag.
virtual std::vector< CGUIPropertyItemBase * > FindItemsByPath(const Base::CFLString< wchar_t > &strPath, bool bNocase=true) const
Retrieves items that match the specified path.
virtual const CResult DeleteChildInstance(int32_t i32InstanceIndex) override
Deletes a child instance. This function works only if this is a multi-instance parent.
virtual void SetActivateViewOnShowPane(bool bActivate)
Sets the flag to activate the view when showing the pane.
virtual int64_t GetItemCountByName(const Base::CFLString< wchar_t > &strName) const
Retrieves the count of items by name.
virtual const CResult SetPropertyGridCtrlLeftColumnWidthSizeMode(ESizeMode eSizeMode=ESizeMode_Ratio)
Sets the size mode of the left column in the property grid control.
virtual const CResult FindItemsByPath(const Base::CFLString< wchar_t > &strPath, std::vector< CGUIPropertyItemBase * > &vctItems, bool bNocase=true) const
Retrieves items that match the specified path.
virtual bool BuildItems(CMFCPropertyGridCtrl *pCtrl)
Function to initialize the property window and add items to the property pane.
const CResult SetStatusMessage(const Base::CFLString< wchar_t > &strMessage)
Sets the status message to be displayed.
virtual const CResult SetPropertyGridCtrlLeftColumnWidth(int32_t i32Width, ESizeMode eSizeMode=ESizeMode_Fixed)
Sets the left column width using a fixed value.
virtual const CResult UpdatePropertyAsync()
Refreshes the property grid screen. It performs the same action as calling GetPaneProperties()->GetPr...
virtual bool SetShortcut(EKeyType eKeyType, CGUIPropertyButton *pButton)
Assigns a shortcut key to perform the click action of a CGUIPropertyButton.
void ShowSearchBar(bool bShow)
Shows or hides the search bar.
virtual Base::CFLString< wchar_t > GetFileName() const
Returns the INI file path associated with this object.
virtual CGUIMenuItemBase * CreateChildInstance(int32_t i32InstanceIdx=-1) override
Creates a child instance. This function works only if this is a multi-instance parent....
CGUIMenuItemProperty(const CGUIMenuItemProperty *pRhs)
Pointer-based copy constructor for CGUIMenuItemProperty.
virtual bool ShowPaneWindow()
Shows the pane window.
virtual int32_t GetPropertyGridCtrlLeftColumnWidth() const
Gets the fixed width of the left column.
virtual Base::CFLString< wchar_t > GetChildInstanceIndexAsString() const
Retrieves the child instance numbers as a comma-separated string. For example, if the child instance ...
virtual ~CGUIMenuItemProperty()
Destructor for CGUIMenuItemProperty.
virtual bool DoesSameFullPathExist(const Base::CFLString< wchar_t > &flstrFullPath) const
Checks if an item with the same full path exists.
CGUIPropertyButton * FindPropertyButtonByIndex(int64_t i64Index)
Retrieves a pointer to the CGUIPropertyButton object at the specified index.
virtual bool IsInitialized() const
Checks if the menu item is initialized.
virtual bool MoveItem(CGUIPropertyItemBase *pItem, EInsertPosition eInsertPosition, const CGUIPropertyItemBase *pItemInsertPosition, bool bAdjustLayout=true)
Moves an existing property item relative to a reference item. The item's parent becomes the same as t...
virtual CGUIPropertyItemBase * FindItemByName(const Base::CFLString< wchar_t > &strName, bool bNocase=true, size_t stIndex=0) const
Finds an item by name.
virtual Base::CFLString< wchar_t > GetDirPath() const
Retrieves the directory path associated with this object.
virtual bool OnLButtonDoubleClick()
Handles the left button double-click event.
virtual const CResult RemoveSettingFile() const
Removes the configuration file (e.g., .ini file) associated with this object. The file path for the c...
void SetMessageDisplayMode(EMessageDisplayMode eMessageDisplayMode=EMessageDisplayMode_NoScroll)
Sets the message display mode.
virtual void RequestTerminateApp(bool bTerminate=true)
Requests or cancels a program termination.
virtual bool DoesFileExist() const
Checks if the settings file associated with this exists. The file path for the configuration can be o...
CGUIPaneProperties * GetPaneProperties() const
Retrieves the pane properties.
virtual bool IsGlobalModel() const
Returns whether it is a global model.
virtual const CResult ClosePane()
Closes the property pane.
std::vector< CGUIPropertyButton * > * GetPropertyButtons() const
Retrieves a pointer to the vector containing the added CGUIPropertyButton objects.
virtual void SetMinimalAuthorityLevelOnContextMenu(Base::EAuthorityLevel eAuthorityLevel, GUI::EMenuItemPaneMenuTree eMenuItemPaneMenuTree) override
Sets the minimal authority level for the context menu.
virtual bool DoesActivateViewOnShowPane() const
Checks if the view is activated when showing the pane.
virtual CGUIMenuItemProperty * GetChildInstanceAsMenuItemProperty(int32_t i32InstanceIdx) const
Retrieves a child instance by its index.
virtual bool SetMenuItemRegistrationCallback(CGUIMenuItemRegistrationCallback *pFunc, bool bAutoDestroy=true)
Sets the menu item registration callback.
virtual bool IsLoaded() const
Checks if the value of property items are loaded.
virtual bool IsLoading() const
Checks if the property is currently being loaded.
virtual CGUIPropertyItemBase * FindItemByFullPath(const Base::CFLString< wchar_t > &strFullPath, bool bNocase=true) const
Finds an item by its full path.
CGUIMenuItemProperty(const CGUIMenuItemProperty &rhs)
Copy constructor for CGUIMenuItemProperty.
virtual bool Save() const override
Saves the properties to a file.
virtual bool CreateProperty()
Creates a property.
virtual bool SetMenuItemUnregistrationCallback(CGUIMenuItemUnregistrationCallback *pFunc, bool bAutoDestroy=true)
Sets the menu item unregistration callback.
virtual bool InitializePropertyPaneStandalone(bool bLoad, CWnd *pParentWnd, CGUIDockablePaneHostFrame *pHostFrame=nullptr)
Initializes the standalone property pane (for execution in a standalone DLL environment).
virtual CGUIMenuItemUnregistrationCallback * GetDestroyInstanceCallback() const
Retrieves the destroy instance callback function.
TPropertyItem * AddItem(const wchar_t *pWcsName, const wchar_t *pWcsPath=nullptr, const wchar_t *pWcsValue=nullptr, const wchar_t *pWcsDefaultValue=nullptr, bool bAdjustLayout=false)
Function to add a property item of a specific type.
virtual bool InsertItem(CGUIPropertyItemBase *pItem, const CGUIPropertyItemBase *pItemBefore, bool bAdjustLayout=true)
Inserts an item at the specified position. If pItem already exists, the item is not inserted; in this...
Base::CFLString< wchar_t > GetStatusMessage() const
Retrieves the current status message.
virtual const CResult SetPropertyGridCtrlLeftColumnWidthRatio(float f32Ratio=0.5f, ESizeMode eSizeMode=ESizeMode_Ratio)
Sets the left column width using a ratio.
virtual bool MoveItem(CGUIPropertyItemBase *pItem, EInsertPosition eInsertPosition, const Base::CFLString< wchar_t > &strInsertPositionItemFullPath, bool bAdjustLayout=true)
Moves an existing property item relative to a reference item specified by full path....
virtual const CResult PreDestroy() override
Performs cleanup operations before the object is destroyed.
virtual bool MoveItem(CGUIPropertyItemBase *pItem, const CGUIPropertyItemBase *pItemNewParent, EAppendPosition eAppendPosition=EAppendPosition_Back, bool bAdjustLayout=true)
Moves an existing property item under a new parent item. The item is placed at the front or back amon...
virtual bool InitialDockPaneWindow()
Initializes the dock pane window.
virtual void EnableAutoSave(bool bAutoSave)
Enables or disables the auto-save feature for property items. When enabled, changes to the values of ...
virtual CGUIMenuItemRegistrationCallback * GetRegistrationCallback() const
Retrieves the registration callback function.
Property item base class.
Definition GUIPropertyItemBase.h:319
A class of Figure property.
Definition GUIPropertyItemViewImageFigure.h:31
EAuthorityLevel
Authority level.
Definition FLImagingBase/AuthorityManager.h:29
Definition D2DObject.h:12
EInsertPosition
Definition FLImagingGUI/DefinitionsGUI.h:15514
EKeyType
Keyboard input value.
Definition FLImagingGUI/DefinitionsGUI.h:11448
ESizeMode
Specifies how a UI element's size is determined.
Definition FLImagingGUI/DefinitionsGUI.h:16476
@ ESizeMode_Ratio
Ratio-based size.
Definition FLImagingGUI/DefinitionsGUI.h:16508
@ ESizeMode_Fixed
Fixed size (e.g., pixel-based).
Definition FLImagingGUI/DefinitionsGUI.h:16497
ESliderTemplateType
Template type of slider.
Definition FLImagingGUI/DefinitionsGUI.h:14598
EAppendPosition
Definition FLImagingGUI/DefinitionsGUI.h:15534
@ EAppendPosition_Back
Definition FLImagingGUI/DefinitionsGUI.h:15539
EMenuItemPaneMenuTree
Menu items in the menu tree.
Definition FLImagingGUI/DefinitionsGUI.h:13282