CFx SDK Documentation  2022 SP0
FxUI.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2021 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 <IdArrays.h>
24 
25 #include "FxPragmaPush.h"
26 
27 class QIcon;
28 class xFxKeySequence;
29 class CFxToolBar;
30 
32 class CFxUIGroup;
33 class CFxUIMenuItem;
34 class CFxUIToolbarItem;
36 class CFxUIAccelerator;
37 class CFxUIButton;
38 class CFxUITabletMenu;
41 class CFxUIWorkspace;
42 class CFxUIImageItem;
43 
53 
54 class CFxRibbonPreviewProxy;
55 
56 class CFxUIContext;
57 
58 class CFxUIReactor;
59 
65 template <class T>
67 {
68 public:
69  virtual ~CFxUIIterator(){};
70 
71  virtual bool Done() const = 0;
72  virtual void Next() = 0;
73  virtual void Rewind() = 0;
74  virtual T* GetItem() = 0;
75 };
76 
81 
87 class CFxUI
88 {
89 public:
90 
95  typedef enum _MenuType
96  {
105 
110  typedef enum _ToolbarType
111  {
114  eFlyout
116 
121  typedef enum _ButtonType
122  {
128 
133  typedef enum _Orientation
134  {
135  eLeft = 0x0001,
136  eRight = 0x0002,
137  eTop = 0x0004,
138  eBottom = 0x0008,
139  eFloating = 0x0010,
142 
144  {
145  eFull = 0,
146  eMedium = 1,
147  eNarrow = 2
149 
150  virtual ~CFxUI() {}
151 
156  virtual void LoadInterface() = 0;
157 
162  virtual void SaveInterface() = 0;
163 
173  virtual bool LoadResourceFile( const CFxString& name, CFxUIGroup** pLoadedGroup = 0 ) = 0;
174 
184  virtual CFxUIItemDefinition* FindItem( const CFxString& uiGroup, const CFxString& id ) = 0;
185 
195  virtual CFxUIItemDefinition* CreateItemDefinition( const CFxString& id, CFxUIContext* pContext ) const = 0;
196 
203  virtual void DestroyItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
204 
213  virtual bool RemoveItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
214 
215  //groups
216 
225  virtual bool AddGroup( CFxUIGroup* pItem ) = 0;
226 
235  virtual bool RemoveGroup( const CFxString& sGroupName ) = 0;
236 
242  virtual CFxUIGroup* GetStartUpGroup() = 0;
243 
250 
259  virtual CFxUIGroup* GetGroup( const CFxString& name ) = 0;
260 
268 
269  //workspace
270 
279  virtual bool AddWorkspace( CFxUIWorkspace* pItem ) = 0;
280 
289  virtual bool RemoveWorkspace( CFxUIWorkspace* pItem ) = 0;
290 
299  virtual CFxUIWorkspace* GetWorkspace( const CFxString& name ) = 0;
300 
308 
316 
323  virtual void SetCurrentWorkspace(CFxUIWorkspace* ) = 0;
324 
325 
326  //creation
327 
334  virtual CFxString CreateUniqueID() const = 0;
335 
345  virtual CFxUIGroup* CreateGroup( const CFxString& groupName, const CFxString& fileName ) const = 0;
346  virtual CFxUIGroup* CreateRuntimeGroup( const CFxString& groupName ) const = 0;
347 
357  virtual CFxUIWorkspace* CreateWorkspace( const CFxString& wsName, const CFxString& fileName ) const = 0;
358 
370  virtual CFxUIMenuItem* CreateMenuItem( MenuType eType, const CFxString& pClass, const CFxString& command, const CFxString& id = CFxString()) const = 0;
371 
378  virtual void DestroyMenuItem( CFxUIMenuItem* pItem ) = 0;
379 
389 
396  virtual void DestroyToolbarItem( CFxUIToolbarItem* pItem ) = 0;
397 
405  virtual CFxUIRibbonTab* CreateRibbonTabItem( const CFxString& sUID = CFxString() ) const = 0;
406 
414  virtual CFxUIRibbonPanel* CreateRibbonPanelItem( const CFxString& sUID = CFxString() ) const = 0;
415 
423  virtual CFxUIRibbonRow* CreateRibbonRowItem( const CFxString& sUID = CFxString() ) const = 0;
424 
433 
442 
451 
460 
469 
476  virtual void DestroyRibbonTabItem( CFxUIRibbonTab* pTab ) = 0;
477 
484  virtual void DestroyRibbonPanelItem( CFxUIRibbonPanel* pPanel ) = 0;
485 
492  virtual void DestroyRibbonRowItem( CFxUIRibbonRow* pRow ) = 0;
493 
501 
508  virtual void DestroyRibbonQuickAccessBar( CFxUIRibbonQuickAccessBar* pQuickAccessBar ) = 0;
509 
516  virtual void DestroyRibbonSystemMenuItem( CFxUIRibbonSystemMenuItem* pSystemMenuItem ) = 0;
517 
524  virtual void DestroyRibbonHelpMenuItem( CFxUIRibbonHelpMenuItem* pHelpMenuItem ) = 0;
525 
532  virtual void DestroyRibbonQuickAccessBarItem( CFxUIRibbonQuickAccessBarItem* pQuickAccessBarItem ) = 0;
533 
542  virtual CFxUIDoubleClickAction* CreateDoubleClickAction( const CFxString& className, const CFxString& sUID = CFxString() ) const = 0;
543 
551 
560  virtual CFxUIAccelerator* CreateAccelerator( CFxUIItemDefinition* pDefinition, const CFxString& sUID = CFxString() ) const = 0;
561 
568  virtual void DestroyAccelerator( CFxUIAccelerator* pItem ) = 0;
569 
579  virtual CFxUIButton* CreateMouseButton( CFxUIItemDefinition* pDefinition, int iButtonNumber, const CFxString& sUID = CFxString() ) const = 0;
580  virtual void DestroyMouseButton( CFxUIButton* pItem ) = 0;
581 
588  virtual CFxUITabletMenu* CreateTabletMenu() const = 0;
589 
596  virtual void DestroyTabletMenu( CFxUITabletMenu* pItem ) = 0;
597 
604  virtual CFxUITempOverrideKey* CreateTempOverrideKey( const CFxString& sUID = CFxString() ) const = 0;
605 
612  virtual void DestroyTempOverrideKey( CFxUITempOverrideKey* pItem ) = 0;
613 
622  virtual CFxUIImageItem* CreateImageItem( const CFxString& sName, const CFxString& sUID = CFxString() ) const = 0;
623 
630  virtual void DestroyImageItem( CFxUIImageItem* pItem ) = 0;
631 
632  // Create toolbar with sToolbarName
633  // Returns object name of create UI toolbar
634 
643  virtual CFxString CreateRuntimeToolbar( const CFxString& sToolbarName ) = 0;
644 
645  // Create toolbar with sToolbarName and add it to *sGroupName* group.
646  // Returns pointer to created UI toolbar.
647 
657  virtual CFxUIToolbarItem* CreateRuntimeToolbar( const CFxString& sToolbarName, const CFxString& sGroupName ) = 0;
658 
659  // Destroy UI toolbar with specified object name
660 
667  virtual void DestroyRuntimeToolbar( const CFxString& sObjectName ) = 0;
668 
669  //context menus
670 
677  virtual void AddUserDefaultContextMenu( CFxUIContext* pContext ) = 0;
678 
685  virtual void RemoveUserDefaultContextMenu( CFxUIContext* pContext ) = 0;
686 
694  virtual void AddUserObjectContextMenu( const CFxString& pClass, CFxUIContext* pContext ) = 0;
695 
703  virtual void RemoveUserObjectContextMenu( const CFxString& pClass, CFxUIContext* pContext ) = 0;
704 
712  virtual void AddUserCommandContextMenu( const CFxString& strCommand, CFxUIContext* pContext ) = 0;
713 
721  virtual void RemoveUserCommandContextMenu( const CFxString& strCommand, CFxUIContext* pContext ) = 0;
722 
723  virtual bool DisplayContextMenu() = 0;
724 
734  virtual int Menucmd( const CFxString& strCmd, CFxString & strResult ) = 0;
735 
747  virtual bool CheckEvents( bool bMouseMove, bool bMouseWheel, bool bMouseButton, bool bAllKeyboard ) = 0;
748 
753  virtual void ResetEvents() = 0;
754 
755  // Update
756 
763  virtual void Update( bool bFullUpdate = false ) = 0;
764 
769  virtual void UpdateMenu() = 0;
770 
775  virtual void UpdateRibbon() = 0;
776 
781  virtual CFxWidget* UpdatePanelPreview( CFxUIRibbonPanel* pRibbonPanelDef, CFxWidget* parent, CFxRibbonPreviewProxy* pRibbonPreviewProxy, const CFxString& strUID ) = 0;
782 
789  virtual void SetCleanScreenState( bool bValue ) = 0;
790 
797  virtual void AddUIReactor( CFxUIReactor* pReactor ) = 0;
798 
805  virtual void RemoveUIReactor( CFxUIReactor* pReactor ) = 0;
806 
807  //runtime ui elements
808  virtual CFxUIItemDefinition* CreateRuntimeItemDefinition( const CFxString& id, CFxUIContext* pContext ) const = 0;
809  virtual void DestroyRuntimeItemDefinition( CFxUIItemDefinition* pDefinition ) = 0;
810 
811  virtual CFxUIMenuItem* CreateRuntimeMenuItem( MenuType eType, const CFxString& pClass, const CFxString& command, const CFxString& id = CFxString()) const = 0;
812  virtual void DestroyRuntimeMenuItem( CFxUIMenuItem* pItem ) = 0;
813 
815  virtual void DestroyRuntimeToolbarItem( CFxUIToolbarItem* pItem ) = 0;
816 
817  //visible top level ui elements
824 
825 #if defined Q_OS_MACX
826  virtual void setBlockAppleMenuActions( bool bBlock ) = 0;
827  virtual bool isMacMenuVisible() = 0;
828  virtual void clearMenuOnPrinting() = 0;
829  virtual void setHideFloatingToolbars( bool bHide ) = 0;
830 #endif
831 };
832 
839 {
840 public:
842 
849  virtual unsigned int GetCount() const = 0;
850 
859  virtual CFxUIDockableWindow* GetItem( unsigned int index ) = 0;
860 
865  virtual void UpdateCurrentState() = 0;
866 };
867 
874 {
875 protected:
876  virtual ~CFxUIWorkspace() {}
877 
878 public:
879 
886  virtual const CFxString& GetName() const = 0;
887 
894  virtual void SetName( const CFxString& strName ) = 0;
895 
902  virtual const CFxString& GetFileName() const = 0;
903 
910  virtual void SetFileName( const CFxString& strFileName ) = 0;
911 
918  virtual const CFxString& GetDescription() const = 0;
919 
926  virtual void SetDescription( const CFxString& strDesc ) = 0;
927 
935 
943 
951 
959 
967 
974  virtual bool GetStatusBarVisible() const = 0;
975 
982  virtual void SetStatusBarVisible( bool bVisible ) = 0;
983 
991 
999 
1003  virtual void SetRibbonQuickAccessBar( CFxUIRibbonQuickAccessBar* pQuickAccessBar, CFxString sGroupName ) = 0;
1004 };
1005 
1012 {
1013 protected:
1014  virtual ~CFxUIGroup() {}
1015 
1016 public:
1017 
1024  virtual const CFxString& GetName() const = 0;
1025 
1032  virtual const CFxString& GetFileName() const = 0;
1033 
1040  virtual bool IsBaseGroup() const = 0;
1041 
1049 
1057 
1065 
1066 
1074 
1082 
1090 
1098 
1106 
1114 
1122 
1130 
1138 
1146 
1154 
1162 
1170 
1178 
1186 
1194 
1202 
1210 
1218 
1226 
1234 
1242 
1250 
1257  virtual bool IsRuntimeGroup() const = 0;
1258 };
1259 
1266 {
1267 public:
1269 
1278  virtual bool Add( CFxUIItemDefinition* pItem ) = 0;
1279  //bool Remove( const CFxUIItemDefinition& item );
1280 
1288 
1297  virtual CFxUIItemDefinition* FindItem( const CFxString& id ) = 0;
1298 
1299  virtual bool Has( const CFxUIItemDefinition* pItem ) const = 0;
1300 };
1301 
1308 {
1309 public:
1311 
1321  virtual bool InsertAfter( const CFxUIMenuItem* pPosition, CFxUIMenuItem* pItem ) = 0;
1322 
1331  virtual bool Add( CFxUIMenuItem* pItem ) = 0;
1332 
1341  virtual bool Remove( CFxUIMenuItem* pItem ) = 0;
1342 
1349  virtual unsigned int GetCount() const = 0;
1350 
1359  virtual CFxUIMenuItem* GetItem( unsigned int index ) = 0;
1360 
1367  virtual void Clear( bool bDeleteItems ) = 0;
1368 
1369  virtual bool Has( const CFxUIMenuItem* pItem ) const = 0;
1370 };
1371 
1378 {
1379 public:
1381 
1391  virtual bool InsertAfter( const CFxUIToolbarItem* pPosition, CFxUIToolbarItem* pItem ) = 0;
1392 
1401  virtual bool Add( CFxUIToolbarItem* pItem ) = 0;
1402 
1411  virtual bool Remove( CFxUIToolbarItem* pItem ) = 0;
1412 
1419  virtual unsigned int GetCount() const = 0;
1420 
1429  virtual CFxUIToolbarItem* GetItem( unsigned int index ) = 0;
1430 
1437  virtual void Clear( bool bDeleteItems ) = 0;
1438 
1439  virtual bool Has( const CFxUIToolbarItem* pItem ) const = 0;
1440 };
1441 
1448 {
1449 public:
1451 
1460  virtual bool Add( CFxUIDoubleClickAction* pItem ) = 0;
1461 
1470  virtual bool Remove( CFxUIDoubleClickAction* pItem ) = 0;
1471 
1478  virtual unsigned int GetCount() const = 0;
1479 
1488  virtual CFxUIDoubleClickAction* GetItem( unsigned int index ) = 0;
1489 
1498  virtual CFxUIDoubleClickAction* GetItem( const CFxString& pClass ) = 0;
1499 };
1500 
1507 {
1508 public:
1510 
1519  virtual bool Add( CFxUIButton* pItem ) = 0;
1520 
1529  virtual bool Remove( CFxUIButton* pItem ) = 0;
1530 
1537  virtual unsigned int GetCount() const = 0;
1538 
1547  virtual CFxUIButton* GetItem( unsigned int index ) = 0;
1548 };
1549 
1556 {
1557 public:
1559 
1568  virtual bool Add( CFxUIAccelerator* pItem ) = 0;
1569 
1578  virtual bool Remove( CFxUIAccelerator* pItem ) = 0;
1579 
1586  virtual unsigned int GetCount() const = 0;
1587 
1596  virtual CFxUIAccelerator* GetItem( unsigned int index ) = 0;
1597 };
1598 
1605 {
1606 public:
1608 
1617  virtual bool Add( CFxUITabletMenu* pItem ) = 0;
1618 
1627  virtual bool Remove( CFxUITabletMenu* pItem ) = 0;
1628 
1635  virtual unsigned int GetCount() const = 0;
1636 
1645  virtual CFxUITabletMenu* GetItem( unsigned int index ) = 0;
1646 };
1647 
1654 {
1655 public:
1657 
1666  virtual bool Add( CFxUITempOverrideKey* pItem ) = 0;
1667 
1676  virtual bool Remove( CFxUITempOverrideKey* pItem ) = 0;
1677 
1684  virtual unsigned int GetCount() const = 0;
1685 
1694  virtual CFxUITempOverrideKey* GetItem( const xFxKeySequence& keySequence ) = 0;
1695 
1704  virtual CFxUITempOverrideKey* GetItem( unsigned int index ) = 0;
1705 };
1706 
1713 {
1714 public:
1716 
1725  virtual bool Add( CFxUIImageItem* pItem ) = 0;
1726 
1735  virtual bool Remove( CFxUIImageItem* pItem ) = 0;
1736 
1743  virtual unsigned int GetCount() const = 0;
1744 
1753  virtual CFxUIImageItem* GetItem( unsigned int index ) = 0;
1754 
1761  virtual void Clear( bool bDeleteItems ) = 0;
1762 
1763  virtual bool Has( const CFxUIImageItem* pItem ) = 0;
1764 };
1765 
1772 {
1773 protected:
1775 
1776 public:
1777 
1784  virtual void SetID( const CFxString& sId ) = 0;
1785 
1792  virtual const CFxString& GetID() const = 0;
1793 
1800  virtual CFxUIContext* GetContext() = 0;
1801 
1808  virtual const CFxString& GetName() const = 0;
1809 
1816  virtual void SetName( const CFxString& name ) = 0;
1817 
1824  virtual const CFxString& GetCommand() const = 0;
1825 
1832  virtual void SetCommand( const CFxString& command ) = 0;
1833 
1840  virtual QIcon& GetIcon( int iSize ) = 0;
1841 
1848  virtual QIcon& GetDarkIcon( int iSize ) = 0;
1849 
1856  virtual QIcon& GetLightIcon( int iSize ) = 0;
1857 
1866  virtual const CFxString& GetDarkIconInfo( CFxString& iconResource ) const = 0;
1867 
1875  virtual void SetDarkIconInfo( const CFxString& iconName, const CFxString& iconResource ) = 0;
1876 
1885  virtual const CFxString& GetLightIconInfo( CFxString& iconResource ) const = 0;
1886 
1894  virtual void SetLightIconInfo( const CFxString& iconName, const CFxString& iconResource ) = 0;
1895 
1902  virtual const CFxString& GetDescription() const = 0;
1903 
1910  virtual void SetDescription( const CFxString& description ) = 0;
1911 
1918  virtual bool IsObsolete() const = 0;
1919 
1926  virtual void SetObsolete( bool bObsolete ) = 0;
1927 
1934  virtual bool IsRuntime() const = 0;
1935  };
1936 
1943 {
1944 protected:
1945  virtual ~CFxUIMenuItem() {}
1946 
1947 public:
1948 
1955  virtual const CFxString& GetUID() const = 0;
1956 
1963  virtual void SetUID( const CFxString& strUID ) = 0;
1964 
1971  virtual const CFxString& GetName() const = 0;
1972 
1979  virtual void SetName( const CFxString& name ) = 0;
1980 
1988 
1995  virtual void AddAlias( const CFxString& sAlias ) = 0;
1996 
2003  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2004 
2012 
2019  virtual const CFxUIMenuItem* GetParent() const = 0;
2020 
2028 
2035  virtual bool IsAction() const = 0;
2036 
2043  virtual bool IsSeparator() const = 0;
2044 
2049  virtual void SetToSeparator() = 0;
2050 
2057  virtual CFxUI::MenuType GetType() const = 0;
2058 
2065  virtual void SetType( CFxUI::MenuType type ) = 0;
2066 
2073  virtual bool IsObsolete() const = 0;
2074 
2081  virtual void SetObsolete( bool bObsolete ) = 0;
2082 
2089  virtual bool IsRuntime() const = 0;
2090 };
2091 
2098 {
2099 protected:
2100  virtual ~CFxUIToolbarItem() {}
2101 
2102 public:
2103 
2110  virtual const CFxString& GetUID() const = 0;
2111 
2118  virtual void SetUID( const CFxString& strUID ) = 0;
2119 
2126  virtual const CFxString& GetName() const = 0;
2127 
2134  virtual void SetName( const CFxString& name ) = 0;
2135 
2143 
2150  virtual void AddAlias( const CFxString& sAlias ) = 0;
2151 
2158  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2159 
2167 
2174  virtual const CFxUIToolbarItem* GetParent() const = 0;
2175 
2183 
2190  virtual CFxUI::ToolbarType GetType() const = 0;
2191 
2198  virtual bool IsAction() const = 0;
2199 
2206  virtual bool IsSeparator() const = 0;
2207 
2212  virtual void SetToSeparator() = 0;
2213 
2220  virtual bool GetOnByDefault() const = 0;
2221 
2228  virtual void SetOnByDefault( bool bOnByDefault ) = 0;
2229 
2236  virtual CFxUI::Orientation GetOrientation() const = 0;
2237 
2244  virtual void SetOrientation( CFxUI::Orientation orientation ) = 0;
2245 
2252  virtual bool GetMovable() const = 0;
2253 
2260  virtual void SetMovable( bool bMovable ) = 0;
2261 
2268  virtual int GetDefXLocation() const = 0;
2269 
2276  virtual void SetDefXLocation( int iXLocation ) = 0;
2277 
2284  virtual int GetDefYLocation() const = 0;
2285 
2292  virtual void SetDefYLocation( int iYLocation ) = 0;
2293 
2300  virtual bool IsInMatrixToolbar() const = 0;
2301 
2308  virtual void SetInMatrixToolbar( bool bInMatrixToolbar ) = 0;
2309 
2316  virtual int GetMatrixToolbarIndex() const = 0;
2317 
2324  virtual void SetMatrixToolbarIndex( int index ) = 0;
2325 
2332  virtual bool IsExpanded() const = 0;
2333 
2340  virtual void SetExpanded( bool bIsExpanded) = 0;
2341 
2348  virtual int GetRows() const = 0;
2349 
2356  virtual void SetRows( int iRows ) = 0;
2357 
2364  virtual bool IsObsolete() const = 0;
2365 
2372  virtual void SetObsolete( bool bObsolete ) = 0;
2373 
2380  virtual const CFxString& GetFlyoutID() const = 0;
2381 
2388  virtual void SetFlyoutID(CFxString flyoutID) = 0;
2389 
2390  virtual int GetDockRow() const = 0;
2391  virtual void SetDockRow( int iDockRow ) = 0;
2392 
2393  virtual int GetDockColumn() const = 0;
2394  virtual void SetDockColumn( int iDockColumn ) = 0;
2395 
2402  virtual bool IsRuntime() const = 0;
2403 };
2404 
2411 {
2412 protected:
2414 
2415 public:
2416 
2423  virtual const CFxString& GetUID() const = 0;
2424 
2431  virtual void SetUID( const CFxString& strUID ) = 0;
2432 
2439  virtual const CFxString& GetName() const = 0;
2440 
2447  virtual void SetName( const CFxString& name ) = 0;
2448 
2455  virtual const CFxString& GetDxfClassName() const = 0;
2456 
2463  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2464 
2472 
2479  virtual bool IsObsolete() const = 0;
2480 
2487  virtual void SetObsolete( bool bObsolete ) = 0;
2488 
2495  virtual bool IsRuntime() const = 0;
2496 };
2497 
2504 {
2505 protected:
2506  virtual ~CFxUIAccelerator() {}
2507 
2508 public:
2509 
2516  virtual const CFxString& GetUID() const = 0;
2517 
2524  virtual void SetUID( const CFxString& strUID ) = 0;
2525 
2532  virtual const CFxString& GetName() const = 0;
2533 
2540  virtual void SetName( const CFxString& name ) = 0;
2541 
2548  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2549 
2557 
2564  virtual const xFxKeySequence& GetKeySequence() const = 0;
2565 
2572  virtual void SetKeySequence( const xFxKeySequence& keySequence ) = 0;
2573 
2580  virtual bool IsObsolete() const = 0;
2581 
2588  virtual void SetObsolete( bool bObsolete ) = 0;
2589 
2596  virtual bool IsRuntime() const = 0;
2597 };
2598 
2605 {
2606 protected:
2607  virtual ~CFxUIButton() {}
2608 
2609 public:
2610 
2617  virtual const CFxString& GetUID() const = 0;
2618 
2625  virtual void SetUID( const CFxString& strUID ) = 0;
2626 
2633  virtual const CFxString& GetName() const = 0;
2634 
2641  virtual void SetName( const CFxString& name ) = 0;
2642 
2649  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
2650 
2658 
2665  virtual int GetButtonNumber() const = 0;
2666 
2673  virtual bool IsObsolete() const = 0;
2674 
2681  virtual void SetObsolete( bool bObsolete ) = 0;
2682 
2689  virtual bool IsRuntime() const = 0;
2690 };
2691 
2698 {
2699 protected:
2700  virtual ~CFxUITabletMenu() {}
2701 
2702 public:
2703 
2710  virtual int GetRowsNumber() const = 0;
2711 
2720  virtual bool SetRowsNumber( int iRowsNumber ) = 0;
2721 
2728  virtual int GetColumnsNumber() const = 0;
2729 
2738  virtual bool SetColumnsNumber( int ColumnsNumber ) = 0;
2739 
2749  virtual CFxUIItemDefinition* GetItem( int iRow, int iColumn ) const = 0;
2750 
2761  virtual bool SetItem( int iRow, int iColumn, CFxUIItemDefinition* pItem ) = 0;
2762 
2763  virtual const CFxString& GetName() const = 0;
2764 
2771  virtual bool IsObsolete() const = 0;
2772 
2779  virtual void SetObsolete( bool bObsolete ) = 0;
2780 
2787  virtual bool IsRuntime() const = 0;
2788 };
2789 
2796 {
2797 protected:
2799 
2800 public:
2801 
2808  virtual const CFxString& GetUID() const = 0;
2809 
2816  virtual void SetUID( const CFxString& strUID ) = 0;
2817 
2824  virtual const CFxString& GetName() const = 0;
2825 
2832  virtual void SetName( const CFxString& name ) = 0;
2833 
2840  virtual const CFxString& GetDescription() const = 0;
2841 
2848  virtual void SetDescription( const CFxString& description ) = 0;
2849 
2856  virtual const xFxKeySequence& GetKeySequence() const = 0;
2857 
2864  virtual void SetKeySequence( const xFxKeySequence& keySequence ) = 0;
2865 
2872  virtual const CFxString& GetKeyDownMacro() const = 0;
2873 
2880  virtual void SetKeyDownMacro( const CFxString& macro ) = 0;
2881 
2888  virtual const CFxString& GetKeyUpMacro() const = 0;
2889 
2896  virtual void SetKeyUpMacro( const CFxString& macro ) = 0;
2897 
2904  virtual bool IsObsolete() const = 0;
2905 
2912  virtual void SetObsolete( bool bObsolete ) = 0;
2913 
2920  virtual bool IsRuntime() const = 0;
2921 };
2922 
2929 {
2930 public:
2932 
2939  virtual bool GetShow() const = 0;
2940 
2947  virtual void SetShow( bool bShow ) = 0;
2948 
2956 
2963  virtual CFxUI::Orientation GetOrientation() const = 0;
2964 
2973  virtual bool SetOrientation( CFxUI::Orientation orientation ) = 0;
2974 
2981  virtual bool GetAllowDocking() const = 0;
2982 
2989  virtual void SetAllowDocking( bool bDockable ) = 0;
2990 
2997  virtual const CFxString& GetName() const = 0;
2998 
3005  virtual const CFxString& GetObjectName() const = 0;
3006 };
3007 
3014 {
3015 public:
3016  virtual ~CFxUIContext() {}
3017 
3024  virtual void OnCommand( const CFxUIItemDefinition* ) = 0;
3025 
3035 
3040  virtual void OnUpdateMenu() = 0;
3041 };
3042 
3049 {
3050 protected:
3051  virtual ~CFxUIImageItem() {}
3052 
3053 public:
3054 
3061  virtual const CFxString& GetUID() const = 0;
3062 
3069  virtual void SetUID( const CFxString& strUID ) = 0;
3070 
3077  virtual const CFxString& GetName() const = 0;
3078 
3085  virtual void SetName( const CFxString& name ) = 0;
3086 
3093  virtual const CFxString& GetUITitleName() const = 0;
3094 
3101  virtual void SetUITitleName( const CFxString& titlename ) = 0;
3102 
3109  virtual const CFxString& GetImageLibFile() const = 0;
3110 
3117  virtual void SetImageLibFile( const CFxString& imagelibname ) = 0;
3118 
3125  virtual const CFxString& GetImageName() const = 0;
3126 
3133  virtual void SetImageName( const CFxString& imagename ) = 0;
3134 
3141  virtual void SetDefinition( CFxUIItemDefinition* pDefinition ) = 0;
3142 
3150 
3157  virtual bool IsObsolete() const = 0;
3158 
3165  virtual void SetObsolete( bool bObsolete ) = 0;
3166 
3173  virtual const CFxUIImageItem* GetParent() const = 0;
3174 
3182 
3189  virtual bool IsSeparator() const = 0;
3190 
3195  virtual void SetToSeparator() = 0;
3196 
3203  virtual bool IsRuntime() const = 0;
3204 
3210  virtual int GetColumns() const = 0;
3211 
3217  virtual void SetColumns( int iColumns ) = 0;
3218 
3224  virtual int GetRows() const = 0;
3225 
3231  virtual void SetRows( int iRows ) = 0;
3232 };
3233 
3235 {
3236 public:
3238 
3245  virtual void OnToolbarItemCreated( const CFxUIToolbarItem* pToolBarItem ) {}
3246 
3253  virtual void OnItemDefinitionCreated( const CFxUIItemDefinition* pItemDef ) {}
3254 
3261  virtual void OnMenuItemCreated( const CFxUIMenuItem* pMenuItem ) {}
3262 
3269  virtual void OnToolbarItemAboutToDestroy( const CFxUIToolbarItem* pUIToolBar ) {}
3270 
3277  virtual void OnItemDefinitionAboutToDestroy( const CFxUIItemDefinition* pUIItemDef ) {}
3278 
3285  virtual void OnMenuItemAboutToDestroy( const CFxUIMenuItem* pUIMenuItem ) {}
3286 
3294  virtual void OnToolbarVisibilityChanged( const CFxUIToolbarItem* pUIToolBar, bool bVisible ) {}
3295  virtual void OnToolbarWidgetCreated( const CFxUIToolbarItem* pToolBarDefinition, CFxToolBar* pToolBar ) {}
3296 
3297  virtual void OnSubMenuAboutToShow( CFxUIMenuItem* pSubMenu ) {}
3298 
3299  virtual void OnInterfaceAboutToReload() {}
3300  virtual void OnInterfaceReloaded() {}
3301  virtual void OnRibbonControlCreated( const CFxString& strId, CFxWidget*& pControl ){}
3302 };
3303 
3305 {
3306 public:
3307  enum UIStyle
3308  {
3313  };
3314 };
3315 
3316 #include "FxPragmaPop.h"
#define xFxKeySequence
#define CFxWidget
#define CFxToolBar
CFxUIIterator< CFxUIWorkspace > CFxUIWorkspaceIterator
Definition: FxUI.h:80
CFxUIIterator< CFxUIGroup > CFxUIGroupIterator
Definition: FxUI.h:77
CFxUIIterator< CFxUIItemDefinition > CFxUIItemDefinitionIterator
Definition: FxUI.h:78
CFxUIIterator< CFxUIMenuItem > CFxUIMenuIterator
Definition: FxUI.h:79
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:2506
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:1558
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:2607
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:1509
virtual bool Add(CFxUIButton *pItem)=0
virtual CFxUIMenuItem * GetMenuContext(const CFxString &, const OdDbObjectIdArray &)=0
virtual void OnUpdateMenu()=0
virtual ~CFxUIContext()
Definition: FxUI.h:3016
virtual void OnCommand(const CFxUIItemDefinition *)=0
virtual ~CFxUIDockableWindowCollection()
Definition: FxUI.h:841
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:2931
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:2413
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:1450
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 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:1014
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:88
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:144
@ eNarrow
Definition: FxUI.h:147
@ eFull
Definition: FxUI.h:145
@ eMedium
Definition: FxUI.h:146
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:134
@ eFloating
Definition: FxUI.h:139
@ eRight
Definition: FxUI.h:136
@ eTop
Definition: FxUI.h:137
@ eBottom
Definition: FxUI.h:138
@ eAll
Definition: FxUI.h:140
@ eLeft
Definition: FxUI.h:135
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:111
@ eControl
Definition: FxUI.h:113
@ eFlyout
Definition: FxUI.h:114
@ eAction
Definition: FxUI.h:112
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:96
@ eContextEditDefault
Definition: FxUI.h:100
@ eContextObject
Definition: FxUI.h:102
@ eContextCommandDefault
Definition: FxUI.h:101
@ eContextCommand
Definition: FxUI.h:103
@ eNormal
Definition: FxUI.h:97
@ eMain
Definition: FxUI.h:98
@ eContextDefault
Definition: FxUI.h:99
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:150
virtual void DestroyAccelerator(CFxUIAccelerator *pItem)=0
_ButtonType
Definition: FxUI.h:122
@ eCtrlShiftClick
Definition: FxUI.h:126
@ eCtrlClick
Definition: FxUI.h:125
@ eShiftClick
Definition: FxUI.h:124
@ eClick
Definition: FxUI.h:123
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:1715
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:3051
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:1268
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:1774
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:69
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:1310
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:1945
virtual void OnMenuItemAboutToDestroy(const CFxUIMenuItem *pUIMenuItem)
Definition: FxUI.h:3285
virtual void OnInterfaceReloaded()
Definition: FxUI.h:3300
virtual void OnInterfaceAboutToReload()
Definition: FxUI.h:3299
virtual void OnToolbarItemCreated(const CFxUIToolbarItem *pToolBarItem)
Definition: FxUI.h:3245
virtual void OnRibbonControlCreated(const CFxString &strId, CFxWidget *&pControl)
Definition: FxUI.h:3301
CFxUIReactor()
Definition: FxUI.h:3237
virtual void OnSubMenuAboutToShow(CFxUIMenuItem *pSubMenu)
Definition: FxUI.h:3297
virtual void OnItemDefinitionCreated(const CFxUIItemDefinition *pItemDef)
Definition: FxUI.h:3253
virtual void OnItemDefinitionAboutToDestroy(const CFxUIItemDefinition *pUIItemDef)
Definition: FxUI.h:3277
virtual void OnMenuItemCreated(const CFxUIMenuItem *pMenuItem)
Definition: FxUI.h:3261
virtual void OnToolbarVisibilityChanged(const CFxUIToolbarItem *pUIToolBar, bool bVisible)
Definition: FxUI.h:3294
virtual void OnToolbarItemAboutToDestroy(const CFxUIToolbarItem *pUIToolBar)
Definition: FxUI.h:3269
virtual void OnToolbarWidgetCreated(const CFxUIToolbarItem *pToolBarDefinition, CFxToolBar *pToolBar)
Definition: FxUI.h:3295
enum CFxUIRibbonItem::_RibbonItemType RibbonItemType
@ GraebertDarkStyle
Definition: FxUI.h:3311
@ GraebertDarkStyle2
Definition: FxUI.h:3312
@ GraebertLightStyle
Definition: FxUI.h:3309
@ GraebertLightStyle2
Definition: FxUI.h:3310
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:2700
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:1607
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:2798
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:1656
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:1380
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:2100
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:876
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 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