CFx SDK Documentation  2023 SP0
FxUI.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxString.h"
20 
21 #include "FxUIRibbon.h"
22 
23 #include "FxUIRibbonTabSelector.h"
24 
25 #include <IdArrays.h>
26 
27 #include "FxPragmaPush.h"
28 
29 class QIcon;
30 class xFxKeySequence;
31 class CFxToolBar;
32 
34 class CFxUIGroup;
35 class CFxUIMenuItem;
36 class CFxUIToolbarItem;
38 class CFxUIAccelerator;
39 class CFxUIButton;
40 class CFxUITabletMenu;
43 class CFxUIWorkspace;
44 class CFxUIImageItem;
45 
55 
56 class CFxRibbonPreviewProxy;
57 
58 class CFxUIContext;
59 
60 class CFxUIReactor;
61 
67 template <class T>
69 {
70 public:
71  virtual ~CFxUIIterator(){};
72 
73  virtual bool Done() const = 0;
74  virtual void Next() = 0;
75  virtual void Rewind() = 0;
76  virtual T* GetItem() = 0;
77 };
78 
83 
89 class CFxUI
90 {
91 public:
92 
97  typedef enum _MenuType
98  {
107 
112  typedef enum _ToolbarType
113  {
116  eFlyout
118 
123  typedef enum _ButtonType
124  {
130 
135  typedef enum _Orientation
136  {
137  eLeft = 0x0001,
138  eRight = 0x0002,
139  eTop = 0x0004,
140  eBottom = 0x0008,
141  eFloating = 0x0010,
144 
146  {
147  eFull = 0,
148  eMedium = 1,
149  eNarrow = 2
151 
152  virtual ~CFxUI() {}
153 
158  virtual void LoadInterface() = 0;
159 
164  virtual void SaveInterface() = 0;
165 
175  virtual bool LoadResourceFile( const CFxString& name, CFxUIGroup** pLoadedGroup = 0 ) = 0;
176 
186  virtual CFxUIItemDefinition* FindItem( const CFxString& uiGroup, const CFxString& id ) = 0;
187 
197  virtual CFxUIItemDefinition* CreateItemDefinition( const CFxString& id, CFxUIContext* pContext ) const = 0;
198 
205  virtual void DestroyItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
206 
215  virtual bool RemoveItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
216 
217  //groups
218 
227  virtual bool AddGroup( CFxUIGroup* pItem ) = 0;
228 
237  virtual bool RemoveGroup( const CFxString& sGroupName ) = 0;
238 
244  virtual CFxUIGroup* GetStartUpGroup() = 0;
245 
252 
261  virtual CFxUIGroup* GetGroup( const CFxString& name ) = 0;
262 
270 
271  //workspace
272 
281  virtual bool AddWorkspace( CFxUIWorkspace* pItem ) = 0;
282 
291  virtual bool RemoveWorkspace( CFxUIWorkspace* pItem ) = 0;
292 
301  virtual CFxUIWorkspace* GetWorkspace( const CFxString& name ) = 0;
302 
310 
318 
325  virtual void SetCurrentWorkspace(CFxUIWorkspace* ) = 0;
326 
327 
328  //creation
329 
336  virtual CFxString CreateUniqueID() const = 0;
337 
347  virtual CFxUIGroup* CreateGroup( const CFxString& groupName, const CFxString& fileName ) const = 0;
348  virtual CFxUIGroup* CreateRuntimeGroup( const CFxString& groupName ) const = 0;
349 
359  virtual CFxUIWorkspace* CreateWorkspace( const CFxString& wsName, const CFxString& fileName ) const = 0;
360 
372  virtual CFxUIMenuItem* CreateMenuItem( MenuType eType, const CFxString& pClass, const CFxString& command, const CFxString& id = CFxString()) const = 0;
373 
380  virtual void DestroyMenuItem( CFxUIMenuItem* pItem ) = 0;
381 
391 
398  virtual void DestroyToolbarItem( CFxUIToolbarItem* pItem ) = 0;
399 
407  virtual CFxUIRibbonTab* CreateRibbonTabItem( const CFxString& sUID = CFxString() ) const = 0;
408 
416  virtual CFxUIRibbonPanel* CreateRibbonPanelItem( const CFxString& sUID = CFxString() ) const = 0;
417 
425  virtual CFxUIRibbonRow* CreateRibbonRowItem( const CFxString& sUID = CFxString() ) const = 0;
426 
435 
444 
453 
462 
471 
478  virtual void DestroyRibbonTabItem( CFxUIRibbonTab* pTab ) = 0;
479 
486  virtual void DestroyRibbonPanelItem( CFxUIRibbonPanel* pPanel ) = 0;
487 
494  virtual void DestroyRibbonRowItem( CFxUIRibbonRow* pRow ) = 0;
495 
503 
510  virtual void DestroyRibbonQuickAccessBar( CFxUIRibbonQuickAccessBar* pQuickAccessBar ) = 0;
511 
518  virtual void DestroyRibbonSystemMenuItem( CFxUIRibbonSystemMenuItem* pSystemMenuItem ) = 0;
519 
526  virtual void DestroyRibbonHelpMenuItem( CFxUIRibbonHelpMenuItem* pHelpMenuItem ) = 0;
527 
534  virtual void DestroyRibbonQuickAccessBarItem( CFxUIRibbonQuickAccessBarItem* pQuickAccessBarItem ) = 0;
535 
544  virtual CFxUIDoubleClickAction* CreateDoubleClickAction( const CFxString& className, const CFxString& sUID = CFxString() ) const = 0;
545 
553 
562  virtual CFxUIAccelerator* CreateAccelerator( CFxUIItemDefinition* pDefinition, const CFxString& sUID = CFxString() ) const = 0;
563 
570  virtual void DestroyAccelerator( CFxUIAccelerator* pItem ) = 0;
571 
581  virtual CFxUIButton* CreateMouseButton( CFxUIItemDefinition* pDefinition, int iButtonNumber, const CFxString& sUID = CFxString() ) const = 0;
582  virtual void DestroyMouseButton( CFxUIButton* pItem ) = 0;
583 
590  virtual CFxUITabletMenu* CreateTabletMenu() const = 0;
591 
598  virtual void DestroyTabletMenu( CFxUITabletMenu* pItem ) = 0;
599 
606  virtual CFxUITempOverrideKey* CreateTempOverrideKey( const CFxString& sUID = CFxString() ) const = 0;
607 
614  virtual void DestroyTempOverrideKey( CFxUITempOverrideKey* pItem ) = 0;
615 
624  virtual CFxUIImageItem* CreateImageItem( const CFxString& sName, const CFxString& sUID = CFxString() ) const = 0;
625 
632  virtual void DestroyImageItem( CFxUIImageItem* pItem ) = 0;
633 
634  // Create toolbar with sToolbarName
635  // Returns object name of create UI toolbar
636 
645  virtual CFxString CreateRuntimeToolbar( const CFxString& sToolbarName ) = 0;
646 
647  // Create toolbar with sToolbarName and add it to *sGroupName* group.
648  // Returns pointer to created UI toolbar.
649 
659  virtual CFxUIToolbarItem* CreateRuntimeToolbar( const CFxString& sToolbarName, const CFxString& sGroupName ) = 0;
660 
661  // Destroy UI toolbar with specified object name
662 
669  virtual void DestroyRuntimeToolbar( const CFxString& sObjectName ) = 0;
670 
671  //context menus
672 
679  virtual void AddUserDefaultContextMenu( CFxUIContext* pContext ) = 0;
680 
687  virtual void RemoveUserDefaultContextMenu( CFxUIContext* pContext ) = 0;
688 
696  virtual void AddUserObjectContextMenu( const CFxString& pClass, CFxUIContext* pContext ) = 0;
697 
705  virtual void RemoveUserObjectContextMenu( const CFxString& pClass, CFxUIContext* pContext ) = 0;
706 
714  virtual void AddUserCommandContextMenu( const CFxString& strCommand, CFxUIContext* pContext ) = 0;
715 
723  virtual void RemoveUserCommandContextMenu( const CFxString& strCommand, CFxUIContext* pContext ) = 0;
724 
725  virtual bool DisplayContextMenu() = 0;
726 
736  virtual int Menucmd( const CFxString& strCmd, CFxString & strResult ) = 0;
737 
749  virtual bool CheckEvents( bool bMouseMove, bool bMouseWheel, bool bMouseButton, bool bAllKeyboard ) = 0;
750 
755  virtual void ResetEvents() = 0;
756 
757  // Update
758 
765  virtual void Update( bool bFullUpdate = false ) = 0;
766 
771  virtual void UpdateMenu() = 0;
772 
777  virtual void UpdateRibbon() = 0;
778 
783  virtual CFxWidget* UpdatePanelPreview( CFxUIRibbonPanel* pRibbonPanelDef, CFxWidget* parent, CFxRibbonPreviewProxy* pRibbonPreviewProxy, const CFxString& strUID ) = 0;
784 
791  virtual void SetCleanScreenState( bool bValue ) = 0;
792 
799  virtual void AddUIReactor( CFxUIReactor* pReactor ) = 0;
800 
807  virtual void RemoveUIReactor( CFxUIReactor* pReactor ) = 0;
808 
809  //runtime ui elements
810  virtual CFxUIItemDefinition* CreateRuntimeItemDefinition( const CFxString& id, CFxUIContext* pContext ) const = 0;
811  virtual void DestroyRuntimeItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
812 
813  virtual CFxUIMenuItem* CreateRuntimeMenuItem( MenuType eType, const CFxString& pClass, const CFxString& command, const CFxString& id = CFxString()) const = 0;
814  virtual void DestroyRuntimeMenuItem( CFxUIMenuItem* pItem ) = 0;
815 
817  virtual void DestroyRuntimeToolbarItem( CFxUIToolbarItem* pItem ) = 0;
818 
819  //visible top level ui elements
826 
827 #if defined Q_OS_MACX
828  virtual void setBlockAppleMenuActions( bool bBlock ) = 0;
829  virtual bool isMacMenuVisible() = 0;
830  virtual void clearMenuOnPrinting() = 0;
831  virtual void setHideFloatingToolbars( bool bHide ) = 0;
832 #endif
833 };
834 
841 {
842 public:
844 
851  virtual unsigned int GetCount() const = 0;
852 
861  virtual CFxUIDockableWindow* GetItem( unsigned int index ) = 0;
862 
867  virtual void UpdateCurrentState() = 0;
868 };
869 
876 {
877 protected:
878  virtual ~CFxUIWorkspace() {}
879 
880 public:
881 
888  virtual const CFxString& GetName() const = 0;
889 
896  virtual void SetName( const CFxString& strName ) = 0;
897 
904  virtual const CFxString& GetLocalizedName() const = 0;
905 
912  virtual void SetLocalizedName( const CFxString& strName ) = 0;
913 
920  virtual const CFxString& GetFileName() const = 0;
921 
928  virtual void SetFileName( const CFxString& strFileName ) = 0;
929 
936  virtual const CFxString& GetDescription() const = 0;
937 
944  virtual void SetDescription( const CFxString& strDesc ) = 0;
945 
953 
961 
969 
977 
985 
992  virtual bool GetStatusBarVisible() const = 0;
993 
1000  virtual void SetStatusBarVisible( bool bVisible ) = 0;
1001 
1009 
1017 
1021  virtual void SetRibbonQuickAccessBar( CFxUIRibbonQuickAccessBar* pQuickAccessBar, CFxString sGroupName ) = 0;
1022 };
1023 
1030 {
1031 protected:
1032  virtual ~CFxUIGroup() {}
1033 
1034 public:
1035 
1042  virtual const CFxString& GetName() const = 0;
1043 
1050  virtual const CFxString& GetFileName() const = 0;
1051 
1058  virtual bool IsBaseGroup() const = 0;
1059 
1067 
1075 
1083 
1084 
1092 
1100 
1108 
1110 
1118 
1126 
1134 
1142 
1150 
1158 
1166 
1174 
1182 
1190 
1198 
1206 
1214 
1222 
1230 
1238 
1246 
1254 
1262 
1270 
1277  virtual bool IsRuntimeGroup() const = 0;
1278 };
1279 
1286 {
1287 public:
1289 
1298  virtual bool Add( CFxUIItemDefinition* pItem ) = 0;
1299  //bool Remove( const CFxUIItemDefinition& item );
1300 
1308 
1317  virtual CFxUIItemDefinition* FindItem( const CFxString& id ) = 0;
1318 
1319  virtual bool Has( const CFxUIItemDefinition* pItem ) const = 0;
1320 };
1321 
1328 {
1329 public:
1331 
1341  virtual bool InsertAfter( const CFxUIMenuItem* pPosition, CFxUIMenuItem* pItem ) = 0;
1342 
1351  virtual bool Add( CFxUIMenuItem* pItem ) = 0;
1352 
1361  virtual bool Remove( CFxUIMenuItem* pItem ) = 0;
1362 
1369  virtual unsigned int GetCount() const = 0;
1370 
1379  virtual CFxUIMenuItem* GetItem( unsigned int index ) = 0;
1380 
1387  virtual void Clear( bool bDeleteItems ) = 0;
1388 
1389  virtual bool Has( const CFxUIMenuItem* pItem ) const = 0;
1390 };
1391 
1398 {
1399 public:
1401 
1411  virtual bool InsertAfter( const CFxUIToolbarItem* pPosition, CFxUIToolbarItem* pItem ) = 0;
1412 
1421  virtual bool Add( CFxUIToolbarItem* pItem ) = 0;
1422 
1431  virtual bool Remove( CFxUIToolbarItem* pItem ) = 0;
1432 
1439  virtual unsigned int GetCount() const = 0;
1440 
1449  virtual CFxUIToolbarItem* GetItem( unsigned int index ) = 0;
1450 
1457  virtual void Clear( bool bDeleteItems ) = 0;
1458 
1459  virtual bool Has( const CFxUIToolbarItem* pItem ) const = 0;
1460 };
1461 
1468 {
1469 public:
1471 
1480  virtual bool Add( CFxUIDoubleClickAction* pItem ) = 0;
1481 
1490  virtual bool Remove( CFxUIDoubleClickAction* pItem ) = 0;
1491 
1498  virtual unsigned int GetCount() const = 0;
1499 
1508  virtual CFxUIDoubleClickAction* GetItem( unsigned int index ) = 0;
1509 
1518  virtual CFxUIDoubleClickAction* GetItem( const CFxString& pClass ) = 0;
1519 };
1520 
1527 {
1528 public:
1530 
1539  virtual bool Add( CFxUIButton* pItem ) = 0;
1540 
1549  virtual bool Remove( CFxUIButton* pItem ) = 0;
1550 
1557  virtual unsigned int GetCount() const = 0;
1558 
1567  virtual CFxUIButton* GetItem( unsigned int index ) = 0;
1568 };
1569 
1576 {
1577 public:
1579 
1588  virtual bool Add( CFxUIAccelerator* pItem ) = 0;
1589 
1598  virtual bool Remove( CFxUIAccelerator* pItem ) = 0;
1599 
1606  virtual unsigned int GetCount() const = 0;
1607 
1616  virtual CFxUIAccelerator* GetItem( unsigned int index ) = 0;
1617 };
1618 
1625 {
1626 public:
1628 
1637  virtual bool Add( CFxUITabletMenu* pItem ) = 0;
1638 
1647  virtual bool Remove( CFxUITabletMenu* pItem ) = 0;
1648 
1655  virtual unsigned int GetCount() const = 0;
1656 
1665  virtual CFxUITabletMenu* GetItem( unsigned int index ) = 0;
1666 };
1667 
1674 {
1675 public:
1677 
1686  virtual bool Add( CFxUITempOverrideKey* pItem ) = 0;
1687 
1696  virtual bool Remove( CFxUITempOverrideKey* pItem ) = 0;
1697 
1704  virtual unsigned int GetCount() const = 0;
1705 
1714  virtual CFxUITempOverrideKey* GetItem( const xFxKeySequence& keySequence ) = 0;
1715 
1724  virtual CFxUITempOverrideKey* GetItem( unsigned int index ) = 0;
1725 };
1726 
1733 {
1734 public:
1736 
1745  virtual bool Add( CFxUIImageItem* pItem ) = 0;
1746 
1755  virtual bool Remove( CFxUIImageItem* pItem ) = 0;
1756 
1763  virtual unsigned int GetCount() const = 0;
1764 
1773  virtual CFxUIImageItem* GetItem( unsigned int index ) = 0;
1774 
1781  virtual void Clear( bool bDeleteItems ) = 0;
1782 
1783  virtual bool Has( const CFxUIImageItem* pItem ) = 0;
1784 };
1785 
1792 {
1793 protected:
1795 
1796 public:
1797 
1804  virtual void SetID( const CFxString& sId ) = 0;
1805 
1812  virtual const CFxString& GetID() const = 0;
1813 
1820  virtual CFxUIContext* GetContext() = 0;
1821 
1828  virtual const CFxString& GetName() const = 0;
1829 
1836  virtual void SetName( const CFxString& name ) = 0;
1837 
1844  virtual const CFxString& GetCommand() const = 0;
1845 
1852  virtual void SetCommand( const CFxString& command ) = 0;
1853 
1860  virtual QIcon& GetIcon( int iSize ) = 0;
1861 
1868  virtual QIcon& GetDarkIcon( int iSize ) = 0;
1869 
1876  virtual QIcon& GetLightIcon( int iSize ) = 0;
1877 
1886  virtual const CFxString& GetDarkIconInfo( CFxString& iconResource ) const = 0;
1887 
1895  virtual void SetDarkIconInfo( const CFxString& iconName, const CFxString& iconResource ) = 0;
1896 
1905  virtual const CFxString& GetLightIconInfo( CFxString& iconResource ) const = 0;
1906 
1914  virtual void SetLightIconInfo( const CFxString& iconName, const CFxString& iconResource ) = 0;
1915 
1922  virtual const CFxString& GetDescription() const = 0;
1923 
1930  virtual void SetDescription( const CFxString& description ) = 0;
1931 
1938  virtual bool IsObsolete() const = 0;
1939 
1946  virtual void SetObsolete( bool bObsolete ) = 0;
1947 
1954  virtual bool IsRuntime() const = 0;
1955  };
1956 
1963 {
1964 protected:
1965  virtual ~CFxUIMenuItem() {}
1966 
1967 public:
1968 
1975  virtual const CFxString& GetUID() const = 0;
1976 
1983  virtual void SetUID( const CFxString& strUID ) = 0;
1984 
1991  virtual const CFxString& GetName() const = 0;
1992 
1999  virtual void SetName( const CFxString& name ) = 0;
2000 
2008 
2015  virtual void AddAlias( const CFxString& sAlias ) = 0;
2016 
2023  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2024 
2032 
2039  virtual const CFxUIMenuItem* GetParent() const = 0;
2040 
2048 
2055  virtual bool IsAction() const = 0;
2056 
2063  virtual bool IsSeparator() const = 0;
2064 
2069  virtual void SetToSeparator() = 0;
2070 
2077  virtual CFxUI::MenuType GetType() const = 0;
2078 
2085  virtual void SetType( CFxUI::MenuType type ) = 0;
2086 
2093  virtual bool IsObsolete() const = 0;
2094 
2101  virtual void SetObsolete( bool bObsolete ) = 0;
2102 
2109  virtual bool IsRuntime() const = 0;
2110 };
2111 
2118 {
2119 protected:
2120  virtual ~CFxUIToolbarItem() {}
2121 
2122 public:
2123 
2130  virtual const CFxString& GetUID() const = 0;
2131 
2138  virtual void SetUID( const CFxString& strUID ) = 0;
2139 
2146  virtual const CFxString& GetName() const = 0;
2147 
2154  virtual void SetName( const CFxString& name ) = 0;
2155 
2163 
2170  virtual void AddAlias( const CFxString& sAlias ) = 0;
2171 
2178  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2179 
2187 
2194  virtual const CFxUIToolbarItem* GetParent() const = 0;
2195 
2203 
2210  virtual CFxUI::ToolbarType GetType() const = 0;
2211 
2218  virtual bool IsAction() const = 0;
2219 
2226  virtual bool IsSeparator() const = 0;
2227 
2232  virtual void SetToSeparator() = 0;
2233 
2240  virtual bool GetOnByDefault() const = 0;
2241 
2248  virtual void SetOnByDefault( bool bOnByDefault ) = 0;
2249 
2256  virtual CFxUI::Orientation GetOrientation() const = 0;
2257 
2264  virtual void SetOrientation( CFxUI::Orientation orientation ) = 0;
2265 
2272  virtual bool GetMovable() const = 0;
2273 
2280  virtual void SetMovable( bool bMovable ) = 0;
2281 
2288  virtual int GetDefXLocation() const = 0;
2289 
2296  virtual void SetDefXLocation( int iXLocation ) = 0;
2297 
2304  virtual int GetDefYLocation() const = 0;
2305 
2312  virtual void SetDefYLocation( int iYLocation ) = 0;
2313 
2320  virtual bool IsInMatrixToolbar() const = 0;
2321 
2328  virtual void SetInMatrixToolbar( bool bInMatrixToolbar ) = 0;
2329 
2336  virtual int GetMatrixToolbarIndex() const = 0;
2337 
2344  virtual void SetMatrixToolbarIndex( int index ) = 0;
2345 
2352  virtual bool IsExpanded() const = 0;
2353 
2360  virtual void SetExpanded( bool bIsExpanded) = 0;
2361 
2368  virtual int GetRows() const = 0;
2369 
2376  virtual void SetRows( int iRows ) = 0;
2377 
2384  virtual bool IsObsolete() const = 0;
2385 
2392  virtual void SetObsolete( bool bObsolete ) = 0;
2393 
2400  virtual const CFxString& GetFlyoutID() const = 0;
2401 
2408  virtual void SetFlyoutID(CFxString flyoutID) = 0;
2409 
2410  virtual int GetDockRow() const = 0;
2411  virtual void SetDockRow( int iDockRow ) = 0;
2412 
2413  virtual int GetDockColumn() const = 0;
2414  virtual void SetDockColumn( int iDockColumn ) = 0;
2415 
2422  virtual bool IsRuntime() const = 0;
2423 };
2424 
2431 {
2432 protected:
2434 
2435 public:
2436 
2443  virtual const CFxString& GetUID() const = 0;
2444 
2451  virtual void SetUID( const CFxString& strUID ) = 0;
2452 
2459  virtual const CFxString& GetName() const = 0;
2460 
2467  virtual void SetName( const CFxString& name ) = 0;
2468 
2475  virtual const CFxString& GetDxfClassName() const = 0;
2476 
2483  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2484 
2492 
2499  virtual bool IsObsolete() const = 0;
2500 
2507  virtual void SetObsolete( bool bObsolete ) = 0;
2508 
2515  virtual bool IsRuntime() const = 0;
2516 };
2517 
2524 {
2525 protected:
2526  virtual ~CFxUIAccelerator() {}
2527 
2528 public:
2529 
2536  virtual const CFxString& GetUID() const = 0;
2537 
2544  virtual void SetUID( const CFxString& strUID ) = 0;
2545 
2552  virtual const CFxString& GetName() const = 0;
2553 
2560  virtual void SetName( const CFxString& name ) = 0;
2561 
2568  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2569 
2577 
2584  virtual const xFxKeySequence& GetKeySequence() const = 0;
2585 
2592  virtual void SetKeySequence( const xFxKeySequence& keySequence ) = 0;
2593 
2600  virtual bool IsObsolete() const = 0;
2601 
2608  virtual void SetObsolete( bool bObsolete ) = 0;
2609 
2616  virtual bool IsRuntime() const = 0;
2617 };
2618 
2625 {
2626 protected:
2627  virtual ~CFxUIButton() {}
2628 
2629 public:
2630 
2637  virtual const CFxString& GetUID() const = 0;
2638 
2645  virtual void SetUID( const CFxString& strUID ) = 0;
2646 
2653  virtual const CFxString& GetName() const = 0;
2654 
2661  virtual void SetName( const CFxString& name ) = 0;
2662 
2669  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2670 
2678 
2685  virtual int GetButtonNumber() const = 0;
2686 
2693  virtual bool IsObsolete() const = 0;
2694 
2701  virtual void SetObsolete( bool bObsolete ) = 0;
2702 
2709  virtual bool IsRuntime() const = 0;
2710 };
2711 
2718 {
2719 protected:
2720  virtual ~CFxUITabletMenu() {}
2721 
2722 public:
2723 
2730  virtual int GetRowsNumber() const = 0;
2731 
2740  virtual bool SetRowsNumber( int iRowsNumber ) = 0;
2741 
2748  virtual int GetColumnsNumber() const = 0;
2749 
2758  virtual bool SetColumnsNumber( int ColumnsNumber ) = 0;
2759 
2769  virtual CFxUIItemDefinition* GetItem( int iRow, int iColumn ) const = 0;
2770 
2781  virtual bool SetItem( int iRow, int iColumn, CFxUIItemDefinition* pItem ) = 0;
2782 
2783  virtual const CFxString& GetName() const = 0;
2784 
2791  virtual bool IsObsolete() const = 0;
2792 
2799  virtual void SetObsolete( bool bObsolete ) = 0;
2800 
2807  virtual bool IsRuntime() const = 0;
2808 };
2809 
2816 {
2817 protected:
2819 
2820 public:
2821 
2828  virtual const CFxString& GetUID() const = 0;
2829 
2836  virtual void SetUID( const CFxString& strUID ) = 0;
2837 
2844  virtual const CFxString& GetName() const = 0;
2845 
2852  virtual void SetName( const CFxString& name ) = 0;
2853 
2860  virtual const CFxString& GetDescription() const = 0;
2861 
2868  virtual void SetDescription( const CFxString& description ) = 0;
2869 
2876  virtual const xFxKeySequence& GetKeySequence() const = 0;
2877 
2884  virtual void SetKeySequence( const xFxKeySequence& keySequence ) = 0;
2885 
2892  virtual const CFxString& GetKeyDownMacro() const = 0;
2893 
2900  virtual void SetKeyDownMacro( const CFxString& macro ) = 0;
2901 
2908  virtual const CFxString& GetKeyUpMacro() const = 0;
2909 
2916  virtual void SetKeyUpMacro( const CFxString& macro ) = 0;
2917 
2924  virtual bool IsObsolete() const = 0;
2925 
2932  virtual void SetObsolete( bool bObsolete ) = 0;
2933 
2940  virtual bool IsRuntime() const = 0;
2941 };
2942 
2949 {
2950 public:
2952 
2959  virtual bool GetShow() const = 0;
2960 
2967  virtual void SetShow( bool bShow ) = 0;
2968 
2976 
2983  virtual CFxUI::Orientation GetOrientation() const = 0;
2984 
2993  virtual bool SetOrientation( CFxUI::Orientation orientation ) = 0;
2994 
3001  virtual bool GetAllowDocking() const = 0;
3002 
3009  virtual void SetAllowDocking( bool bDockable ) = 0;
3010 
3017  virtual const CFxString& GetName() const = 0;
3018 
3025  virtual const CFxString& GetObjectName() const = 0;
3026 };
3027 
3034 {
3035 public:
3036  virtual ~CFxUIContext() {}
3037 
3044  virtual void OnCommand( const CFxUIItemDefinition* ) = 0;
3045 
3055 
3060  virtual void OnUpdateMenu() = 0;
3061 };
3062 
3069 {
3070 protected:
3071  virtual ~CFxUIImageItem() {}
3072 
3073 public:
3074 
3081  virtual const CFxString& GetUID() const = 0;
3082 
3089  virtual void SetUID( const CFxString& strUID ) = 0;
3090 
3097  virtual const CFxString& GetName() const = 0;
3098 
3105  virtual void SetName( const CFxString& name ) = 0;
3106 
3113  virtual const CFxString& GetUITitleName() const = 0;
3114 
3121  virtual void SetUITitleName( const CFxString& titlename ) = 0;
3122 
3129  virtual const CFxString& GetImageLibFile() const = 0;
3130 
3137  virtual void SetImageLibFile( const CFxString& imagelibname ) = 0;
3138 
3145  virtual const CFxString& GetImageName() const = 0;
3146 
3153  virtual void SetImageName( const CFxString& imagename ) = 0;
3154 
3161  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
3162 
3170 
3177  virtual bool IsObsolete() const = 0;
3178 
3185  virtual void SetObsolete( bool bObsolete ) = 0;
3186 
3193  virtual const CFxUIImageItem* GetParent() const = 0;
3194 
3202 
3209  virtual bool IsSeparator() const = 0;
3210 
3215  virtual void SetToSeparator() = 0;
3216 
3223  virtual bool IsRuntime() const = 0;
3224 
3230  virtual int GetColumns() const = 0;
3231 
3237  virtual void SetColumns( int iColumns ) = 0;
3238 
3244  virtual int GetRows() const = 0;
3245 
3251  virtual void SetRows( int iRows ) = 0;
3252 };
3253 
3255 {
3256 public:
3258 
3265  virtual void OnToolbarItemCreated( const CFxUIToolbarItem* pToolBarItem ) {}
3266 
3273  virtual void OnItemDefinitionCreated( const CFxUIItemDefinition* pItemDef ) {}
3274 
3281  virtual void OnMenuItemCreated( const CFxUIMenuItem* pMenuItem ) {}
3282 
3289  virtual void OnToolbarItemAboutToDestroy( const CFxUIToolbarItem* pUIToolBar ) {}
3290 
3297  virtual void OnItemDefinitionAboutToDestroy( const CFxUIItemDefinition* pUIItemDef ) {}
3298 
3305  virtual void OnMenuItemAboutToDestroy( const CFxUIMenuItem* pUIMenuItem ) {}
3306 
3314  virtual void OnToolbarVisibilityChanged( const CFxUIToolbarItem* pUIToolBar, bool bVisible ) {}
3315  virtual void OnToolbarWidgetCreated( const CFxUIToolbarItem* pToolBarDefinition, CFxToolBar* pToolBar ) {}
3316 
3317  virtual void OnSubMenuAboutToShow( CFxUIMenuItem* pSubMenu ) {}
3318 
3319  virtual void OnInterfaceAboutToReload() {}
3320  virtual void OnInterfaceReloaded() {}
3321  virtual void OnRibbonControlCreated( const CFxString& strId, CFxWidget*& pControl ){}
3322 };
3323 
3325 {
3326 public:
3327  enum UIStyle
3328  {
3333  };
3334 };
3335 
3336 #include "FxPragmaPop.h"
#define xFxKeySequence
#define CFxWidget
#define CFxToolBar
CFxUIIterator< CFxUIWorkspace > CFxUIWorkspaceIterator
Definition: FxUI.h:82
CFxUIIterator< CFxUIGroup > CFxUIGroupIterator
Definition: FxUI.h:79
CFxUIIterator< CFxUIItemDefinition > CFxUIItemDefinitionIterator
Definition: FxUI.h:80
CFxUIIterator< CFxUIMenuItem > CFxUIMenuIterator
Definition: FxUI.h:81
virtual const xFxKeySequence & GetKeySequence() const =0
virtual void SetUID(const CFxString &strUID)=0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual void SetName(const CFxString &name)=0
virtual const CFxString & GetUID() const =0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual bool IsRuntime() const =0
virtual void SetKeySequence(const xFxKeySequence &keySequence)=0
virtual bool IsObsolete() const =0
virtual ~CFxUIAccelerator()
Definition: FxUI.h:2526
virtual void SetObsolete(bool bObsolete)=0
virtual const CFxString & GetName() const =0
virtual bool Add(CFxUIAccelerator *pItem)=0
virtual CFxUIAccelerator * GetItem(unsigned int index)=0
virtual bool Remove(CFxUIAccelerator *pItem)=0
virtual unsigned int GetCount() const =0
virtual ~CFxUIAcceleratorsCollection()
Definition: FxUI.h:1578
virtual const CFxString & GetName() const =0
virtual void SetName(const CFxString &name)=0
virtual void SetUID(const CFxString &strUID)=0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual ~CFxUIButton()
Definition: FxUI.h:2627
virtual void SetObsolete(bool bObsolete)=0
virtual const CFxString & GetUID() const =0
virtual int GetButtonNumber() const =0
virtual bool IsObsolete() const =0
virtual bool IsRuntime() const =0
virtual bool Remove(CFxUIButton *pItem)=0
virtual CFxUIButton * GetItem(unsigned int index)=0
virtual unsigned int GetCount() const =0
virtual ~CFxUIButtonsCollection()
Definition: FxUI.h:1529
virtual bool Add(CFxUIButton *pItem)=0
virtual CFxUIMenuItem * GetMenuContext(const CFxString &, const OdDbObjectIdArray &)=0
virtual void OnUpdateMenu()=0
virtual ~CFxUIContext()
Definition: FxUI.h:3036
virtual void OnCommand(const CFxUIItemDefinition *)=0
virtual ~CFxUIDockableWindowCollection()
Definition: FxUI.h:843
virtual void UpdateCurrentState()=0
virtual CFxUIDockableWindow * GetItem(unsigned int index)=0
virtual unsigned int GetCount() const =0
virtual bool GetShow() const =0
virtual CFxUI::Orientation GetOrientation() const =0
virtual ~CFxUIDockableWindow()
Definition: FxUI.h:2951
virtual CFxUI::Orientation GetAvailableOrientations() const =0
virtual const CFxString & GetObjectName() const =0
virtual void SetShow(bool bShow)=0
virtual bool SetOrientation(CFxUI::Orientation orientation)=0
virtual void SetAllowDocking(bool bDockable)=0
virtual const CFxString & GetName() const =0
virtual bool GetAllowDocking() const =0
virtual void SetUID(const CFxString &strUID)=0
virtual ~CFxUIDoubleClickAction()
Definition: FxUI.h:2433
virtual void SetName(const CFxString &name)=0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual bool IsRuntime() const =0
virtual const CFxString & GetName() const =0
virtual void SetObsolete(bool bObsolete)=0
virtual bool IsObsolete() const =0
virtual const CFxString & GetDxfClassName() const =0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual const CFxString & GetUID() const =0
virtual unsigned int GetCount() const =0
virtual CFxUIDoubleClickAction * GetItem(const CFxString &pClass)=0
virtual ~CFxUIDoubleClickActionsCollection()
Definition: FxUI.h:1470
virtual CFxUIDoubleClickAction * GetItem(unsigned int index)=0
virtual bool Remove(CFxUIDoubleClickAction *pItem)=0
virtual bool Add(CFxUIDoubleClickAction *pItem)=0
virtual CFxUIImageItemCollection * GetImageItems()=0
virtual CFxUIToolbarItemCollection * GetToolbars()=0
virtual void SetMiddleButtonDoubleClickAction(CFxUIItemDefinition *pAction)=0
virtual CFxUIRibbonTabSelectorCollection * GetRibbonTabSelectors()=0
virtual CFxUIRibbonQuickAccessBarCollection * GetRibbonQuickAccessBars()=0
virtual CFxUIItemDefinition * GetMiddleButtonDoubleClickAction()=0
virtual bool IsBaseGroup() const =0
virtual CFxUIButtonsCollection * GetTabletClicks()=0
virtual CFxUIButtonsCollection * GetMouseCtrlShiftClicks()=0
virtual CFxUIButtonsCollection * GetMouseShiftClicks()=0
virtual CFxUIMenuItemCollection * GetMenus()=0
virtual CFxUIButtonsCollection * GetMouseClicks()=0
virtual CFxUIRibbonSystemMenuItemCollection * GetRibbonSystemMenuItems()=0
virtual CFxUIDoubleClickActionsCollection * GetDoubleClickActions()=0
virtual CFxUIButtonsCollection * GetMouseButtons()=0
virtual CFxUITabletMenusCollection * GetTabletMenus()=0
virtual CFxUIButtonsCollection * GetTabletCtrlClicks()=0
virtual CFxUIAcceleratorsCollection * GetAccelerators()=0
virtual bool IsRuntimeGroup() const =0
virtual CFxUIButtonsCollection * GetMouseCtrlClicks()=0
virtual CFxUIButtonsCollection * GetTabletCtrlShiftClicks()=0
virtual CFxUIToolbarItemCollection * GetNavigationToolbars()=0
virtual const CFxString & GetFileName() const =0
virtual CFxUIRibbonHelpMenuItemCollection * GetRibbonHelpMenuItems()=0
virtual CFxUIRibbonPanelCollection * GetRibbonPanels()=0
virtual CFxUIButtonsCollection * GetTabletShiftClicks()=0
virtual ~CFxUIGroup()
Definition: FxUI.h:1032
virtual CFxUIMenuItemCollection * GetContextMenus()=0
virtual CFxUIItemDefinitionCollection * GetUIItemDefinitions()=0
virtual CFxUITempOverrideKeysCollection * GetTempOverrideKeys()=0
virtual CFxUIRibbonTabCollection * GetRibbonTabs()=0
virtual const CFxString & GetName() const =0
Definition: FxUI.h:90
virtual void ResetEvents()=0
enum CFxUI::_MenuType MenuType
virtual void AddUIReactor(CFxUIReactor *pReactor)=0
virtual void SaveInterface()=0
virtual CFxUIWorkspaceIterator * CreateWorkspaceIterator()=0
virtual CFxUIItemDefinition * CreateRuntimeItemDefinition(const CFxString &id, CFxUIContext *pContext) const =0
virtual CFxUIWorkspace * GetWorkspace(const CFxString &name)=0
virtual CFxUIToolbarItem * CreateToolbarItem(CFxUI::ToolbarType type=CFxUI::eAction, const CFxString &sUID=CFxString()) const =0
virtual CFxString CreateRuntimeToolbar(const CFxString &sToolbarName)=0
virtual void DestroyRibbonHelpMenuItem(CFxUIRibbonHelpMenuItem *pHelpMenuItem)=0
virtual void DestroyImageItem(CFxUIImageItem *pItem)=0
virtual void DestroyMouseButton(CFxUIButton *pItem)=0
virtual bool AddGroup(CFxUIGroup *pItem)=0
virtual void UpdateMenu()=0
virtual void DestroyTabletMenu(CFxUITabletMenu *pItem)=0
virtual void DestroyDoubleClickAction(CFxUIDoubleClickAction *pItem)=0
virtual CFxUIRibbonRow * CreateRibbonRowItem(const CFxString &sUID=CFxString()) const =0
virtual CFxUIButton * CreateMouseButton(CFxUIItemDefinition *pDefinition, int iButtonNumber, const CFxString &sUID=CFxString()) const =0
virtual void AddUserCommandContextMenu(const CFxString &strCommand, CFxUIContext *pContext)=0
virtual void RemoveUserCommandContextMenu(const CFxString &strCommand, CFxUIContext *pContext)=0
virtual CFxUIGroupIterator * CreateGroupIterator()=0
virtual CFxUITempOverrideKey * CreateTempOverrideKey(const CFxString &sUID=CFxString()) const =0
virtual void DestroyRibbonSystemMenuItem(CFxUIRibbonSystemMenuItem *pSystemMenuItem)=0
virtual void DestroyRibbonQuickAccessBarItem(CFxUIRibbonQuickAccessBarItem *pQuickAccessBarItem)=0
enum CFxUI::_NavigationToolbarType NavigationToolbarType
virtual void DestroyRuntimeToolbarItem(CFxUIToolbarItem *pItem)=0
virtual void DestroyRuntimeMenuItem(CFxUIMenuItem *pItem)=0
virtual CFxUIGroup * GetGroup(const CFxString &name)=0
virtual CFxUIToolbarItem * CreateRuntimeToolbarItem(CFxUI::ToolbarType type=CFxUI::eAction) const =0
virtual void SetCurrentWorkspace(CFxUIWorkspace *)=0
virtual void Update(bool bFullUpdate=false)=0
virtual bool LoadResourceFile(const CFxString &name, CFxUIGroup **pLoadedGroup=0)=0
virtual CFxWidget * UpdatePanelPreview(CFxUIRibbonPanel *pRibbonPanelDef, CFxWidget *parent, CFxRibbonPreviewProxy *pRibbonPreviewProxy, const CFxString &strUID)=0
virtual CFxUIRibbonHelpMenuItem * CreateRibbonHelpMenuItem(const CFxString &sUID=CFxString()) const =0
_NavigationToolbarType
Definition: FxUI.h:146
@ eNarrow
Definition: FxUI.h:149
@ eFull
Definition: FxUI.h:147
@ eMedium
Definition: FxUI.h:148
virtual bool RemoveWorkspace(CFxUIWorkspace *pItem)=0
virtual CFxUIMenuItem * CreateMenuItem(MenuType eType, const CFxString &pClass, const CFxString &command, const CFxString &id=CFxString()) const =0
virtual void RemoveUserObjectContextMenu(const CFxString &pClass, CFxUIContext *pContext)=0
_Orientation
Definition: FxUI.h:136
@ eFloating
Definition: FxUI.h:141
@ eRight
Definition: FxUI.h:138
@ eTop
Definition: FxUI.h:139
@ eBottom
Definition: FxUI.h:140
@ eAll
Definition: FxUI.h:142
@ eLeft
Definition: FxUI.h:137
virtual void AddUserDefaultContextMenu(CFxUIContext *pContext)=0
virtual CFxUIRibbonRowItem * CreateRibbonRowElementItem(CFxUIRibbonItem::RibbonItemType type, const CFxString &sUID=CFxString()) const =0
enum CFxUI::_Orientation Orientation
_ToolbarType
Definition: FxUI.h:113
@ eControl
Definition: FxUI.h:115
@ eFlyout
Definition: FxUI.h:116
@ eAction
Definition: FxUI.h:114
virtual void RemoveUserDefaultContextMenu(CFxUIContext *pContext)=0
virtual CFxUIRibbonTabCollection * GetVisibleRibbonTabCollection()=0
virtual void RemoveUIReactor(CFxUIReactor *pReactor)=0
virtual CFxUIGroup * GetStartUpGroup()=0
virtual CFxUIMenuItemCollection * GetVisibleMenuCollection()=0
virtual CFxUIRibbonSystemMenuItem * GetVisibleRibbonSystemMenu()=0
virtual bool RemoveItemDefinition(CFxUIItemDefinition *pDefinition)=0
virtual CFxUIDoubleClickAction * CreateDoubleClickAction(const CFxString &className, const CFxString &sUID=CFxString()) const =0
virtual CFxUIRibbonQuickAccessBar * CreateRibbonQuickAccessBar(const CFxString &sUID=CFxString()) const =0
virtual bool RemoveGroup(const CFxString &sGroupName)=0
virtual CFxUIRibbonSystemMenuItem * CreateRibbonSystemMenuItem(const CFxString &sUID=CFxString()) const =0
virtual CFxString CreateUniqueID() const =0
virtual bool DisplayContextMenu()=0
virtual void LoadInterface()=0
virtual CFxUIWorkspace * GetStartUpWorkspace()=0
virtual void DestroyTempOverrideKey(CFxUITempOverrideKey *pItem)=0
virtual void DestroyToolbarItem(CFxUIToolbarItem *pItem)=0
virtual void DestroyRuntimeItemDefinition(CFxUIItemDefinition *pDefinition)=0
_MenuType
Definition: FxUI.h:98
@ eContextEditDefault
Definition: FxUI.h:102
@ eContextObject
Definition: FxUI.h:104
@ eContextCommandDefault
Definition: FxUI.h:103
@ eContextCommand
Definition: FxUI.h:105
@ eNormal
Definition: FxUI.h:99
@ eMain
Definition: FxUI.h:100
@ eContextDefault
Definition: FxUI.h:101
virtual int Menucmd(const CFxString &strCmd, CFxString &strResult)=0
virtual void DestroyMenuItem(CFxUIMenuItem *pItem)=0
enum CFxUI::_ButtonType ButtonType
virtual CFxUITabletMenu * CreateTabletMenu() const =0
virtual CFxUIRibbonPanel * CreateRibbonPanelItem(const CFxString &sUID=CFxString()) const =0
virtual CFxUIMenuItem * CreateRuntimeMenuItem(MenuType eType, const CFxString &pClass, const CFxString &command, const CFxString &id=CFxString()) const =0
virtual CFxUIRibbonHelpMenuItemCollection * GetVisibleRibbonHelpMenu()=0
virtual void UpdateRibbon()=0
virtual bool CheckEvents(bool bMouseMove, bool bMouseWheel, bool bMouseButton, bool bAllKeyboard)=0
virtual bool AddWorkspace(CFxUIWorkspace *pItem)=0
virtual ~CFxUI()
Definition: FxUI.h:152
virtual void DestroyAccelerator(CFxUIAccelerator *pItem)=0
_ButtonType
Definition: FxUI.h:124
@ eCtrlShiftClick
Definition: FxUI.h:128
@ eCtrlClick
Definition: FxUI.h:127
@ eShiftClick
Definition: FxUI.h:126
@ eClick
Definition: FxUI.h:125
virtual void DestroyRuntimeToolbar(const CFxString &sObjectName)=0
virtual void DestroyRibbonRowItem(CFxUIRibbonRow *pRow)=0
virtual void DestroyRibbonQuickAccessBar(CFxUIRibbonQuickAccessBar *pQuickAccessBar)=0
virtual void DestroyRibbonTabItem(CFxUIRibbonTab *pTab)=0
virtual CFxUIRibbonQuickAccessBar * GetVisibleRibbonQuickAccessBar()=0
virtual void DestroyItemDefinition(CFxUIItemDefinition *pDefinition)=0
virtual CFxUIToolbarItemCollection * GetVisibleToolbarCollection()=0
virtual CFxUIWorkspace * GetCurrentWorkspace()=0
virtual CFxUIGroup * CreateGroup(const CFxString &groupName, const CFxString &fileName) const =0
virtual CFxUIGroup * CreateRuntimeGroup(const CFxString &groupName) const =0
virtual CFxUIRibbonQuickAccessBarItem * CreateRibbonQuickAccessBarItem(const CFxString &sUID=CFxString()) const =0
virtual CFxUIImageItem * CreateImageItem(const CFxString &sName, const CFxString &sUID=CFxString()) const =0
virtual void DestroyRibbonRowElementItem(CFxUIRibbonRowItem *pItem)=0
virtual void SetCleanScreenState(bool bValue)=0
virtual CFxUIWorkspace * CreateWorkspace(const CFxString &wsName, const CFxString &fileName) const =0
virtual void AddUserObjectContextMenu(const CFxString &pClass, CFxUIContext *pContext)=0
virtual CFxUIItemDefinition * CreateItemDefinition(const CFxString &id, CFxUIContext *pContext) const =0
virtual CFxUIRibbonTab * CreateRibbonTabItem(const CFxString &sUID=CFxString()) const =0
virtual void DestroyRibbonPanelItem(CFxUIRibbonPanel *pPanel)=0
enum CFxUI::_ToolbarType ToolbarType
virtual CFxUIItemDefinition * FindItem(const CFxString &uiGroup, const CFxString &id)=0
virtual CFxUIToolbarItem * CreateRuntimeToolbar(const CFxString &sToolbarName, const CFxString &sGroupName)=0
virtual CFxUIAccelerator * CreateAccelerator(CFxUIItemDefinition *pDefinition, const CFxString &sUID=CFxString()) const =0
virtual CFxUIImageItem * GetItem(unsigned int index)=0
virtual bool Remove(CFxUIImageItem *pItem)=0
virtual bool Has(const CFxUIImageItem *pItem)=0
virtual ~CFxUIImageItemCollection()
Definition: FxUI.h:1735
virtual void Clear(bool bDeleteItems)=0
virtual unsigned int GetCount() const =0
virtual bool Add(CFxUIImageItem *pItem)=0
virtual void SetRows(int iRows)=0
virtual void SetName(const CFxString &name)=0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual bool IsObsolete() const =0
virtual void SetToSeparator()=0
virtual void SetUID(const CFxString &strUID)=0
virtual bool IsRuntime() const =0
virtual bool IsSeparator() const =0
virtual void SetImageName(const CFxString &imagename)=0
virtual const CFxString & GetUITitleName() const =0
virtual const CFxString & GetImageLibFile() const =0
virtual int GetColumns() const =0
virtual void SetColumns(int iColumns)=0
virtual ~CFxUIImageItem()
Definition: FxUI.h:3071
virtual void SetObsolete(bool bObsolete)=0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual void SetImageLibFile(const CFxString &imagelibname)=0
virtual void SetUITitleName(const CFxString &titlename)=0
virtual const CFxString & GetName() const =0
virtual const CFxUIImageItem * GetParent() const =0
virtual const CFxString & GetUID() const =0
virtual CFxUIImageItemCollection * GetChildren()=0
virtual const CFxString & GetImageName() const =0
virtual int GetRows() const =0
virtual CFxUIItemDefinition * FindItem(const CFxString &id)=0
virtual bool Has(const CFxUIItemDefinition *pItem) const =0
virtual CFxUIItemDefinitionIterator * CreateIterator()=0
virtual ~CFxUIItemDefinitionCollection()
Definition: FxUI.h:1288
virtual bool Add(CFxUIItemDefinition *pItem)=0
virtual QIcon & GetDarkIcon(int iSize)=0
virtual const CFxString & GetLightIconInfo(CFxString &iconResource) const =0
virtual QIcon & GetLightIcon(int iSize)=0
virtual void SetDescription(const CFxString &description)=0
virtual void SetLightIconInfo(const CFxString &iconName, const CFxString &iconResource)=0
virtual bool IsRuntime() const =0
virtual const CFxString & GetCommand() const =0
virtual QIcon & GetIcon(int iSize)=0
virtual const CFxString & GetDescription() const =0
virtual ~CFxUIItemDefinition()
Definition: FxUI.h:1794
virtual void SetCommand(const CFxString &command)=0
virtual void SetName(const CFxString &name)=0
virtual void SetDarkIconInfo(const CFxString &iconName, const CFxString &iconResource)=0
virtual const CFxString & GetName() const =0
virtual void SetObsolete(bool bObsolete)=0
virtual bool IsObsolete() const =0
virtual const CFxString & GetID() const =0
virtual CFxUIContext * GetContext()=0
virtual const CFxString & GetDarkIconInfo(CFxString &iconResource) const =0
virtual void SetID(const CFxString &sId)=0
virtual void Rewind()=0
virtual ~CFxUIIterator()
Definition: FxUI.h:71
virtual void Next()=0
virtual T * GetItem()=0
virtual bool Done() const =0
virtual CFxUIMenuItem * GetItem(unsigned int index)=0
virtual bool Has(const CFxUIMenuItem *pItem) const =0
virtual bool Add(CFxUIMenuItem *pItem)=0
virtual unsigned int GetCount() const =0
virtual ~CFxUIMenuItemCollection()
Definition: FxUI.h:1330
virtual void Clear(bool bDeleteItems)=0
virtual bool Remove(CFxUIMenuItem *pItem)=0
virtual bool InsertAfter(const CFxUIMenuItem *pPosition, CFxUIMenuItem *pItem)=0
virtual void AddAlias(const CFxString &sAlias)=0
virtual CFxUI::MenuType GetType() const =0
virtual const CFxUIMenuItem * GetParent() const =0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual const CFxString & GetUID() const =0
virtual void SetObsolete(bool bObsolete)=0
virtual bool IsAction() const =0
virtual CFxUIMenuItemCollection * GetChildren()=0
virtual void SetName(const CFxString &name)=0
virtual const CFxString & GetName() const =0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual void SetUID(const CFxString &strUID)=0
virtual bool IsRuntime() const =0
virtual void SetType(CFxUI::MenuType type)=0
virtual void SetToSeparator()=0
virtual bool IsObsolete() const =0
virtual OdArray< CFxString > & GetAliases()=0
virtual bool IsSeparator() const =0
virtual ~CFxUIMenuItem()
Definition: FxUI.h:1965
virtual void OnMenuItemAboutToDestroy(const CFxUIMenuItem *pUIMenuItem)
Definition: FxUI.h:3305
virtual void OnInterfaceReloaded()
Definition: FxUI.h:3320
virtual void OnInterfaceAboutToReload()
Definition: FxUI.h:3319
virtual void OnToolbarItemCreated(const CFxUIToolbarItem *pToolBarItem)
Definition: FxUI.h:3265
virtual void OnRibbonControlCreated(const CFxString &strId, CFxWidget *&pControl)
Definition: FxUI.h:3321
CFxUIReactor()
Definition: FxUI.h:3257
virtual void OnSubMenuAboutToShow(CFxUIMenuItem *pSubMenu)
Definition: FxUI.h:3317
virtual void OnItemDefinitionCreated(const CFxUIItemDefinition *pItemDef)
Definition: FxUI.h:3273
virtual void OnItemDefinitionAboutToDestroy(const CFxUIItemDefinition *pUIItemDef)
Definition: FxUI.h:3297
virtual void OnMenuItemCreated(const CFxUIMenuItem *pMenuItem)
Definition: FxUI.h:3281
virtual void OnToolbarVisibilityChanged(const CFxUIToolbarItem *pUIToolBar, bool bVisible)
Definition: FxUI.h:3314
virtual void OnToolbarItemAboutToDestroy(const CFxUIToolbarItem *pUIToolBar)
Definition: FxUI.h:3289
virtual void OnToolbarWidgetCreated(const CFxUIToolbarItem *pToolBarDefinition, CFxToolBar *pToolBar)
Definition: FxUI.h:3315
enum CFxUIRibbonItem::_RibbonItemType RibbonItemType
@ GraebertDarkStyle
Definition: FxUI.h:3331
@ GraebertDarkStyle2
Definition: FxUI.h:3332
@ GraebertLightStyle
Definition: FxUI.h:3329
@ GraebertLightStyle2
Definition: FxUI.h:3330
virtual bool SetItem(int iRow, int iColumn, CFxUIItemDefinition *pItem)=0
virtual bool IsRuntime() const =0
virtual CFxUIItemDefinition * GetItem(int iRow, int iColumn) const =0
virtual int GetRowsNumber() const =0
virtual bool SetColumnsNumber(int ColumnsNumber)=0
virtual bool SetRowsNumber(int iRowsNumber)=0
virtual ~CFxUITabletMenu()
Definition: FxUI.h:2720
virtual bool IsObsolete() const =0
virtual int GetColumnsNumber() const =0
virtual const CFxString & GetName() const =0
virtual void SetObsolete(bool bObsolete)=0
virtual ~CFxUITabletMenusCollection()
Definition: FxUI.h:1627
virtual CFxUITabletMenu * GetItem(unsigned int index)=0
virtual bool Remove(CFxUITabletMenu *pItem)=0
virtual bool Add(CFxUITabletMenu *pItem)=0
virtual unsigned int GetCount() const =0
virtual const CFxString & GetName() const =0
virtual const CFxString & GetDescription() const =0
virtual const CFxString & GetUID() const =0
virtual void SetName(const CFxString &name)=0
virtual void SetObsolete(bool bObsolete)=0
virtual const xFxKeySequence & GetKeySequence() const =0
virtual bool IsObsolete() const =0
virtual ~CFxUITempOverrideKey()
Definition: FxUI.h:2818
virtual const CFxString & GetKeyUpMacro() const =0
virtual void SetKeyUpMacro(const CFxString &macro)=0
virtual bool IsRuntime() const =0
virtual void SetKeyDownMacro(const CFxString &macro)=0
virtual void SetKeySequence(const xFxKeySequence &keySequence)=0
virtual void SetUID(const CFxString &strUID)=0
virtual void SetDescription(const CFxString &description)=0
virtual const CFxString & GetKeyDownMacro() const =0
virtual bool Add(CFxUITempOverrideKey *pItem)=0
virtual CFxUITempOverrideKey * GetItem(const xFxKeySequence &keySequence)=0
virtual unsigned int GetCount() const =0
virtual bool Remove(CFxUITempOverrideKey *pItem)=0
virtual CFxUITempOverrideKey * GetItem(unsigned int index)=0
virtual ~CFxUITempOverrideKeysCollection()
Definition: FxUI.h:1676
virtual CFxUIToolbarItem * GetItem(unsigned int index)=0
virtual void Clear(bool bDeleteItems)=0
virtual unsigned int GetCount() const =0
virtual bool Add(CFxUIToolbarItem *pItem)=0
virtual bool InsertAfter(const CFxUIToolbarItem *pPosition, CFxUIToolbarItem *pItem)=0
virtual bool Remove(CFxUIToolbarItem *pItem)=0
virtual bool Has(const CFxUIToolbarItem *pItem) const =0
virtual ~CFxUIToolbarItemCollection()
Definition: FxUI.h:1400
virtual bool GetOnByDefault() const =0
virtual void SetDefXLocation(int iXLocation)=0
virtual int GetRows() const =0
virtual const CFxString & GetFlyoutID() const =0
virtual void SetMovable(bool bMovable)=0
virtual bool IsInMatrixToolbar() const =0
virtual void SetName(const CFxString &name)=0
virtual void SetToSeparator()=0
virtual CFxUIItemDefinition * GetDefinition()=0
virtual void SetFlyoutID(CFxString flyoutID)=0
virtual int GetDefXLocation() const =0
virtual int GetDockRow() const =0
virtual void SetRows(int iRows)=0
virtual void SetDockColumn(int iDockColumn)=0
virtual CFxUI::ToolbarType GetType() const =0
virtual int GetDockColumn() const =0
virtual bool IsObsolete() const =0
virtual void SetObsolete(bool bObsolete)=0
virtual void SetInMatrixToolbar(bool bInMatrixToolbar)=0
virtual void SetMatrixToolbarIndex(int index)=0
virtual bool GetMovable() const =0
virtual bool IsRuntime() const =0
virtual void SetDefinition(CFxUIItemDefinition *pDefinition)=0
virtual int GetDefYLocation() const =0
virtual void SetUID(const CFxString &strUID)=0
virtual void SetExpanded(bool bIsExpanded)=0
virtual ~CFxUIToolbarItem()
Definition: FxUI.h:2120
virtual const CFxString & GetUID() const =0
virtual void AddAlias(const CFxString &sAlias)=0
virtual CFxUI::Orientation GetOrientation() const =0
virtual void SetOrientation(CFxUI::Orientation orientation)=0
virtual bool IsExpanded() const =0
virtual OdArray< CFxString > & GetAliases()=0
virtual void SetDefYLocation(int iYLocation)=0
virtual bool IsSeparator() const =0
virtual const CFxUIToolbarItem * GetParent() const =0
virtual void SetOnByDefault(bool bOnByDefault)=0
virtual CFxUIToolbarItemCollection * GetChildren()=0
virtual void SetDockRow(int iDockRow)=0
virtual int GetMatrixToolbarIndex() const =0
virtual const CFxString & GetName() const =0
virtual bool IsAction() const =0
virtual void SetFileName(const CFxString &strFileName)=0
virtual CFxUIToolbarItemCollection * GetNavigationToolbars()=0
virtual void SetDescription(const CFxString &strDesc)=0
virtual void SetStatusBarVisible(bool bVisible)=0
virtual CFxUIMenuItemCollection * GetMenus()=0
virtual CFxUIRibbonQuickAccessBar * GetRibbonQuickAccessBar()=0
virtual void SetRibbonQuickAccessBar(CFxUIRibbonQuickAccessBar *pQuickAccessBar, CFxString sGroupName)=0
virtual void SetName(const CFxString &strName)=0
virtual ~CFxUIWorkspace()
Definition: FxUI.h:878
virtual CFxUIToolbarItemCollection * GetToolbars()=0
virtual const CFxString & GetFileName() const =0
virtual CFxUIRibbonSystemMenuItem * GetRibbonSystemMenu()=0
virtual CFxUIRibbonTabCollection * GetRibbonTabs()=0
virtual const CFxString & GetName() const =0
virtual CFxUIDockableWindowCollection * GetDockableWindows()=0
virtual void SetLocalizedName(const CFxString &strName)=0
virtual const CFxString & GetLocalizedName() const =0
virtual bool GetStatusBarVisible() const =0
virtual const CFxString & GetDescription() const =0
GLuint index
Definition: gles2_ext.h:265
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274