fbcontrols/fbcontrols.h Source File

fbcontrols.h
Go to the documentation of this file.
1 #ifndef __FBCONTROLS_H__
2 #define __FBCONTROLS_H__
3 /**************************************************************************
4 Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5 All Rights Reserved.
6 
7 The coded instructions, statements, computer programs, and/or related
8 material (collectively the "Data") in these files contain unpublished
9 information proprietary to Autodesk, Inc. and/or its licensors, which is
10 protected by Canada and United States of America federal copyright law
11 and by international treaties.
12 
13 The Data may not be disclosed or distributed to third parties, in whole
14 or in part, without the prior written consent of Autodesk, Inc.
15 ("Autodesk").
16 
17 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24 FREE.
25 
26 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35 BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
47 #include <kaydaradef.h>
48 #ifndef FBSDK_DLL
49 #define FBSDK_DLL K_DLLEXPORT
51 #endif
52 
53 #include <fbsdk/fbcomponent.h>
54 
55 K_FORWARD( IKtLayoutRegion );
56 K_FORWARD( IKtObject );
57 K_FORWARD( IKtView );
58 
59 class QWidget;
60 
61 #ifdef FBSDKUseNamespace
62  namespace FBSDKNamespace {
63 #endif
64 
66 FB_DEFINE_COMPONENT( FBSDK_DLL, VisualComponent );
68 
69 #ifdef K_DISABLE_UI //{
70 
71 #else // }{
72 
74 
76 #define SPLIT_WIDTH 10
77 
86 #define FBRegisterControl( ClassName, Path, Label, Description, IconFilename ) \
87  HIObject RegisterControl##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void * /*pData*/) \
88 {\
89  ClassName *Class = new ClassName; \
90  return Class->GetHIObject(); \
91 } \
92  FBLibraryModule( ClassName )\
93 {\
94  FBRegisterObject( ClassName,Path,Label,Description,RegisterControl##ClassName, true, IconFilename );\
95  FBRegisterObject( ClassName##1,"FBSDK",Label,Description,RegisterControl##ClassName, true, IconFilename );\
96 }
97 
99 // General
101 
106 };
107 
108 FB_DEFINE_ENUM( FBSDK_DLL, Orientation );
109 
110 #endif //K_DISABLE_UI
111 
112 
114 // Input type, modifiers, and keys
132 };
133 
137  kFBKeyShift = 1 << 0,
138  kFBKeyCtrl = 1 << 1,
139  kFBKeyAlt = 1 << 2
140 };
141 
143 enum FBInputKey {
144  kFBKeyReturn = 0x0D,
146  kFBKeyTab = 0x09,
147  kFBKeyEscape = 0x1B,
148 
149  kFBKeyPageUp = 0x121,
150  kFBKeyPageDown = 0x122,
151  kFBKeyEnd = 0x123,
152  kFBKeyHome = 0x124,
153  kFBKeyLeft = 0x125,
154  kFBKeyUp = 0x126,
155  kFBKeyRight = 0x127,
156  kFBKeyDown = 0x128,
157 
158  kFBKeyIns = 0x12D,
159  kFBKeyDel = 0x12E,
160 
161  kFBKeyF1 = 0x170,
162  kFBKeyF2 = 0x171,
163  kFBKeyF3 = 0x172,
164  kFBKeyF4 = 0x173,
165  kFBKeyF5 = 0x174,
166  kFBKeyF6 = 0x175,
167  kFBKeyF7 = 0x176,
168  kFBKeyF8 = 0x177,
169  kFBKeyF9 = 0x178,
170  kFBKeyF10 = 0x179,
171  kFBKeyF11 = 0x17A,
172  kFBKeyF12 = 0x17B
173 };
174 
175 FB_DEFINE_ENUM( FBSDK_DLL, InputType );
176 FB_DEFINE_ENUM( FBSDK_DLL, InputModifier );
178 
181 {
182  // "Traditional" colors
200  // Colors to be defined and used by skins
257  // Total number of colors
259 };
260 
261 
262 #ifndef K_DISABLE_UI
263 
265 // FBVisualComponent
267 __FB_FORWARD( FBLayout );
268 __FB_FORWARD( FBVisualComponent );
269 
270 FB_FORWARD( FBStringList );
271 
273 
284 };
285 FB_DEFINE_ENUM( FBSDK_DLL, AttachType );
286 
300 };
301 FB_DEFINE_ENUM( FBSDK_DLL, BorderStyle ); // FBPropertyBorderStyle
302 
308 protected:
309  friend class FBLayout;
310  friend class FBRenderer;
311 
315  virtual HIKtObject GetHIKtObject();
316 public:
318  FBVisualComponent(HIObject pObject);
319 
320  IObject_Declare(K_IMPLEMENTATION); // Interface to IObject
321  ICallback_Declare(K_IMPLEMENTATION); // Interface to ICallback
322 
326  virtual HIKtView GetKtView();
327 
331  QWidget* GetQWidgetAddress();
332 
338  virtual bool AddChild( FBVisualComponent* pChild,int pId=0);
339 
344  virtual FBVisualComponent* GetChild( int pId=0 );
345 
349  virtual void Refresh(bool pNow=false);
350 
352  virtual void ViewExpose();
353 
361  virtual void ViewInput(int pMouseX,int pMouseY,FBInputType pAction,int pButtonKey,int pModifier);
362 
366  virtual bool IsView();
367 
371  struct __Region
372  {
374 
379 
382  {
387  } Ratio;
388 
391  {
396  } AttachType;
397 
400  {
405  } AttachTo;
406 
409  {
412  } Position;
413 
414  } Region;
415 
418  {
427  } Border;
428 
434 
439 
442 };
443 
444 
446 // FBEventInput
449 
452 {
453 public:
457  FBEventInput( HKEventBase pEvent );
458 
467 };
468 
470 // FBEventTransaction
473 
476 {
477 public:
479 
484 };
486 // FBEventDragAndDrop
488 //__FB_FORWARD( FBDragAndDrop );
490 
499 };
500 
501 FB_DEFINE_ENUM( FBSDK_DLL, DragAndDropState );
502 
505 {
506 public:
510  FBEventDragAndDrop ( HKEventBase pEvent );
511 
513 
518  virtual void Accept();
519 
524  virtual void Add( FBComponent* pComponent, int pId=0);
525 
530  virtual FBComponent* Get( int pIndex );
531 
533  virtual void Clear();
534 
538  virtual int GetCount();
539 
540  //-- Properties
545 };
546 
548 // FBEventShow
551 
554 {
555 public:
559  FBEventShow( HKEventBase pEvent );
560 
562 };
563 
565 // FBEventActivate
568 
571 {
572 public:
576  FBEventActivate( HKEventBase pEvent );
577 
579 };
580 
582 // FBEventExpose
585 
588 {
589 public:
593  FBEventExpose( HKEventBase pEvent );
594 
595  //FBGeometry* Data; //!< <b>Read Write Property:</b> Generic data of event.
596 };
597 
599 // FBEventResize
602 
605 {
606 public:
610  FBEventResize( HKEventBase pEvent );
611 
614 };
615 
617 // FBEventMenu
621 
626 #define FBMenuItemDeclare( ClassName,Parent ) \
627  FBClassDeclare( ClassName,Parent ); \
628 public: \
629  ClassName():Parent() { FBClassInit; FBCreate(); } \
630 private:
631 
635 #define FBMenuItemImplementation( ThisComponent ) \
636  FBClassImplementation( ThisComponent )
637 
641 #define FBRegisterMenuItem( ClassName ) \
642  HIObject RegisterMenuItem##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void * /*pData*/) \
643 {\
644  return NULL;\
645 }\
646  FBLibraryModule( ClassName ) \
647 { \
648 } \
649  ClassName* g##ClassName;
650 
654 #define FBMenuItemActivation( ClassName ) \
655  extern ClassName* g##ClassName; \
656  g##ClassName = new ClassName; \
657  g##ClassName->Activate();
658 
663 #define FBMenuItemHandle( ClassName, Handle ) \
664  extern ClassName* g##ClassName; \
665  Handle = g##ClassName;
666 
673 };
674 
675 FB_DEFINE_ENUM( FBSDK_DLL, MenuItemType );
676 
679 {
680 public:
683 
687  FBEventMenu( HKEventBase pEvent);
688 };
689 
692 {
694 
695 public:
697  FBMenuItem();
698 
705  void Set(FBMenuItemType pType, const char* pExtension, const char* pLabel, const char* pDescription);
706 
710  bool IsActive();
711 
719  void Activate( bool pState = true );
720 
726  virtual void OnItemSelectEvent(HIRegister pSender, HKEvent pEvent);
727 
728 public:
734 
736 
737 public:
745  virtual bool Execute(const char *pFilename=NULL) = 0;
746 };
747 
749 // FBLayout
751 
778 public:
779 
782  {
783  kFBNoSplit = 0,
784  kFBHSplit = 1,
785  kFBVSplit = 2,
786  kFBHVSplit = 3
787  };
788 
790  FBLayout(HIObject pObject=NULL);
791 
818  virtual bool AddRegion( const char *pName, const char *pTitle,
819  int pX, FBAttachType pXType, const char *pXRelative, float pMultX,
820  int pY, FBAttachType pYType, const char *pYRelative, float pMultY,
821  int pW, FBAttachType pWType, const char *pWRelative, float pMultW,
822  int pH, FBAttachType pHType, const char *pHRelative, float pMultH);
823 
830  virtual bool MoveRegion( const char *pName, int pX, int pY );
831 
838  virtual bool SizeRegion( const char *pName, int pW, int pH );
839 
844  virtual bool RemoveRegion( const char *pName );
845 
851  virtual bool RenameRegion( const char *pOldName, const char *pNewName );
852 
857  virtual bool GetRegion( const char *pName );
858 
868  virtual bool GetRegionPositions ( const char *pName, bool pComputed,
869  int *pX, int *pY,
870  int *pW=NULL, int *pH=NULL );
871 
873 
878  virtual bool SetControl( const char *pName, FBVisualComponent* pComponent );
879  virtual bool SetControl( const char *pName, FBVisualComponent &pComponent );
881 
885  virtual void ClearControl(const char *pName);
886 
891  virtual FBVisualComponent* GetControl(const char *pName);
892 
897  virtual HIKtObject GetHIKtObject( const char *pName );
898 
904  virtual bool SetHIKtView( const char *pName, HIKtView pView );
905 
911  virtual HIKtView GetHIKtView( const char *pName );
912 
914 
919  virtual bool SetView( const char *pName, FBVisualComponent* pComponent );
920  virtual bool SetView( const char *pName, FBVisualComponent &pComponent );
922 
934  virtual bool SetBorder ( const char *pName, FBBorderStyle pType, bool pShowTitle,
935  bool pInSet, int pWidth, int pSpacing,
936  float pMaxAngle, int pCornerRadius );
937 
943  virtual bool SetSplitStyle ( const char *pName, FBSplitStyle pRegionType );
944 
949  virtual FBSplitStyle GetSplitStyle ( const char *pName );
950 
956  virtual bool SetRegionTitle ( const char *pName, const char* pTitle );
957 
961  void SetAutoRestructure( bool pAutoRestructure );
962 
966  void Restructure( bool pNoMove );
967 
968  IObject_Declare(K_IMPLEMENTATION); // Interface to IObject.
969 
970  //--- Events
976 };
977 
979 // FBTabPanel
982 
986 public:
988  FBTabPanel();
989 
995 };
996 
998 // FBButton
1001 
1012 };
1013 
1020 };
1021 
1022 FB_DEFINE_ENUM( FBSDK_DLL, ButtonStyle );
1023 
1029 };
1030 
1031 FB_DEFINE_ENUM( FBSDK_DLL, TextJustify );
1032 
1036  kFBTextStyleBold = 1 << 0,
1039 };
1040 
1042 
1050 };
1051 
1052 FB_DEFINE_ENUM( FBSDK_DLL, ButtonLook );
1053 
1062 public:
1064  FBButton();
1065 
1071  FBColor GetStateColor( FBButtonState pState );
1072 
1077  void SetStateColor( FBButtonState pState, const FBColor& pColor );
1078 
1085  void SetImageFileNames( const char* pUpImage, const char* pDownImage = 0, const char* pThirdImage = 0, bool pFromResources = false );
1086 
1090  void HookToButton(FBButton* pButton);
1091 
1096 
1099 };
1100 
1102 // FBArrowButton
1105 
1114 public:
1116  FBArrowButton();
1117 
1125  void SetContent( const char* pTitle, FBVisualComponent* pContent, int pContentWidth, int pContentHeight );
1126 };
1127 
1129 // FBScrollBox
1132 
1141 public:
1143  FBScrollBox();
1144 
1148  void SetContentWidth( int pContentWidth );
1149 
1153  void SetContentHeight(int pContentHeight );
1154 
1159  FBLayout* GetContent();
1160 private:
1161  FBLayout mLayout;
1162 };
1163 
1164 
1166 // FBLabel
1169 
1173 public:
1175  FBLabel();
1176 
1181  void SetTextColor(const FBColorAndAlpha& pColorRGBA);
1182 
1187  void SetBackgroundDrawing(bool pDrawBackGround);
1188 
1192 };
1193 
1195 // FBImageContainer
1198 
1202 public:
1204  FBImageContainer();
1205 
1209 
1211 };
1212 
1214 // FBEdit
1216 __FB_FORWARD( FBEdit );
1217 
1221 public:
1223  FBEdit(HIObject pObject=NULL);
1224 
1227 
1230 };
1231 
1233 // FBEditNumber
1236 
1240 public:
1242  FBEditNumber();
1243 
1250 
1252 };
1253 
1255 // FBEditColor
1258 
1262 public:
1264  FBEditColor();
1265 
1268 
1270 };
1271 
1273 // FBEditVector
1276 
1280 public:
1282  FBEditVector();
1283 
1285 
1287 };
1288 
1290 
1293 {
1294 public:
1298  FBEventDblClick( HKEventBase pEvent );
1299 
1301 };
1302 
1304 // FBList
1306 __FB_FORWARD( FBList );
1307 
1312 };
1313 
1314 FB_DEFINE_ENUM( FBSDK_DLL, ListStyle ); // FBPropertyListStyle
1315 
1319 public:
1321  FBList();
1322 
1324 
1329 
1332 
1337  virtual bool IsSelected( int pIndex );
1338 
1343  virtual void Selected( int pIndex, bool pSelected );
1344 };
1345 
1347 // FBSlider
1350 
1354 public:
1356  FBSlider();
1357 
1364 
1367 };
1368 
1370 // FBLayoutRegion
1373 
1377 public:
1379  FBLayoutRegion();
1380 };
1381 
1383 // FBThermometer
1386 
1390 public:
1392  FBThermometer();
1393 
1397 
1401  void Clear();
1402 };
1403 
1405 // FBSpread
1408 
1422 };
1423 
1424 FB_DEFINE_ENUM( FBSDK_DLL, CellStyle ); // FBPropertyCellStyle
1425 
1427 
1433 protected:
1438  FBSpreadPart( FBSpread* pParent );
1439 
1440 public:
1447 
1451  FBSpread* GetSpread();
1452 };
1453 
1455 
1459 public:
1460 
1466  FBSpreadCell( FBSpread* pParent, kReference pRow, int pCol );
1467 };
1468 
1470 
1474 public:
1479  FBSpreadRow( FBSpread* pParent, kReference pRow );
1480 
1482  virtual void Remove();
1483 
1488  virtual bool EditCaption();
1489 
1493 };
1494 
1496 
1500 public:
1505  FBSpreadColumn( FBSpread* pParent, int pCol );
1506 
1510 };
1511 
1515 public:
1518  FBSpread();
1519 
1524 
1529 
1534  virtual void RowAdd( const char * pString, kReference pRef=0 );
1535 
1539  virtual void RowSort( bool pAscending=true );
1540 
1545  virtual void ColumnAdd( const char * pString, kReference pRef=0 );
1546 
1550  virtual FBSpreadCell GetCurrentCell();
1551 
1557  virtual FBSpreadCell GetCell( kReference pRef,int pColumn );
1558 
1563  virtual FBSpreadColumn GetColumn( int pColumn );
1564 
1569  virtual FBSpreadRow GetRow( kReference pRef );
1570 
1576  virtual void SetCell( kReference pRef,int pColumn, const char* pString );
1577 
1579 
1584  virtual void SetCell( kReference pRef,int pColumn, int pValue );
1585  virtual void SetCell( kReference pRef,int pColumn, kLongLong pValue );
1586  virtual void SetCell( kReference pRef,int pColumn, double pValue );
1588 
1594  virtual void GetCell( kReference pRef,int pColumn, const char* &pString );
1595 
1597 
1602  virtual void GetCell( kReference pRef,int pColumn, int &pValue );
1603  virtual void GetCell( kReference pRef,int pColumn, kLongLong &pValue );
1604  virtual void GetCell( kReference pRef,int pColumn, double &pValue );
1606 
1612  virtual void SetCellView( kReference pRef,int pColumn, HIKtView pView );
1613 
1619  virtual void GetCellView( kReference pRef,int pColumn, HIKtView &pView );
1620 
1624  virtual void Clear();
1625 };
1626 
1628 
1631 {
1632 public:
1636  FBEventSpread( HKEventBase pEvent );
1637 
1640 
1645 };
1646 
1648 // FBVisualContainer
1652 
1657 };
1658 
1659 FB_DEFINE_ENUM( FBSDK_DLL, IconPosition ); // FBPropertyIconPosition
1660 
1664 public:
1668 
1675  bool ItemIconSet( kReference pRef, FBImage* pImage, bool pUseACopyOfTheImage=true );
1676 
1683  K_DEPRECATED_2014 virtual bool ItemIconSet( kReference pRef, FBImageContainer* pImage, bool pUseACopyOfTheImage=true );
1684 
1690  virtual bool ItemIconSet( kReference pRef, const char *pFilename );
1691 
1696  virtual bool ItemNameEdit( kReference pRef );
1697 
1701  virtual int GetSelection();
1702 
1704 
1711 
1715 };
1716 
1718 // FBEditTimeCode
1721 
1724 public:
1727  FBEditTimeCode();
1728 
1730 
1732 };
1733 
1735 // FBTree
1738 __FB_FORWARD( FBTree );
1739 
1741 // FBEventTreeClick
1744 
1747 {
1752 };
1753 
1754 FB_DEFINE_ENUM( FBSDK_DLL, EventTreeWhy ); // FBPropertyEventTreeWhy
1755 
1758 {
1759 public:
1763  FBEventTree( HKEventBase pEvent );
1764 
1767 };
1768 
1770 
1773 {
1774 public:
1778  FBEventTreeSelect( HKEventBase pEvent );
1780 };
1781 
1784 {
1786 public:
1791  FBTreeNode(FBTree* pTree, HIObject pObject);
1792 
1795 };
1796 
1799 {
1800 private:
1802 
1803 public:
1805 
1806  virtual ~FBPropertyListTreeNode();
1807 
1808  virtual void Refresh ();
1809 
1814  virtual int Add( FBTreeNode* pNode );
1815 
1819  virtual void RemoveAt( int pIndex );
1820 
1825  virtual FBTreeNode* operator[]( int pIndex );
1826 
1830  virtual int GetCount ();
1831 };
1832 
1835 {
1837 public:
1839  FBTree();
1840 
1844  FBTreeNode* GetRoot();
1845 
1848  void Clear();
1849 
1855  FBTreeNode* InsertLast( FBTreeNode* pNode, const char* pName );
1856 
1858 
1870 
1894 };
1895 
1897 // FBView
1899 __FB_FORWARD( FBView );
1900 
1904 public:
1907  FBView();
1908 
1909  IObject_Declare(K_IMPLEMENTATION); // Interface to IObject
1910 
1914  bool CreatePBuffer();
1915 
1919  virtual void Refresh(bool pNow=false);
1920 
1924  virtual bool IsView();
1925 
1932  virtual void DrawString(const char *pText,float pX,float pY, int pEnable=-1);
1933 
1941  virtual bool SetViewport(int pX,int pY,int pW,int pH);
1942 
1945 };
1946 
1948 // FBProgress
1951 
1955 public:
1958  FBProgress();
1959 
1962  void ProgressBegin();
1965  void ProgressDone();
1966 
1970  bool UserRequestCancell();
1971 
1975 };
1976 
1978 // FBPopup
1981 
1985 class FBSDK_DLL FBPopup : public FBLayout {
1987 public:
1990  FBPopup();
1991 
1996  virtual bool Show( FBVisualComponent* pParent=NULL );
1997 
2001  virtual void Close(bool pOk=false);
2002 
2005 };
2006 
2008 // FBFilePopup
2011 
2016 };
2017 
2018 FB_DEFINE_ENUM( FBSDK_DLL, FilePopupStyle ); // FBPropertyFilePopupStyle
2019 
2023 public:
2026  FBFilePopup();
2027 
2031  virtual bool Execute();
2032 
2039 };
2040 
2042 // FBFolderPopup
2045 
2049 public:
2052  FBFolderPopup();
2053 
2057  virtual bool Execute();
2058 
2061 };
2062 
2075 FBSDK_DLL int FBMessageBox( const char* pBoxTitle, const char* pMessage, const char* pButton1Str, const char* pButton2Str=NULL, const char* pButton3Str=NULL, int pDefaultButton=0, int pScrolledMessage=0);
2076 
2091 FBSDK_DLL int FBMessageBoxWithCheck( const char* pBoxTitle, const char* pMessage, const char* pButton1Str, const char* pButton2Str, const char* pButton3Str, const char* pCheckBoxStr, bool& pCheckBoxValue, int pDefaultButton=0, int pScrolledMessage=0);
2092 
2102 };
2103 
2119 FBSDK_DLL int FBMessageBoxGetUserValue( const char* pBoxTitle, const char* pMessage, void* pValue, FBPopupInputType pValueType, const char* pButton1Str, const char* pButton2Str=NULL, const char* pButton3Str=NULL, int pDefaultButton=0, bool pLastButtonCancel = true );
2120 
2122 // FBMemo
2124 __FB_FORWARD( FBMemo );
2125 
2127 class FBSDK_DLL FBMemo : public FBEdit {
2129 public:
2131  FBMemo();
2132 
2136  void SetStrings(FBStringList* pLines);
2137 
2141  void GetStrings(FBStringList* pLines);
2142 };
2143 
2145 // FBWebView
2148 
2152 public:
2154  FBWebView();
2155 
2159  void Load(const char* pURL);
2160 };
2161 
2162 
2164 // FBFCurveEditor
2167 
2171 public:
2173  FBFCurveEditor();
2174 
2178  void AddAnimationNode(FBAnimationNode* pNode);
2182  void RemoveAnimationNode(FBAnimationNode* pNode);
2183 
2187  void AddProperty(FBPropertyAnimatable* pProperty);
2191  void RemoveProperty(FBPropertyAnimatable* pProperty);
2192 
2195  void Clear();
2196 };
2197 
2199 // FBPropertyConnectionEditor
2202 
2206 public:
2209 
2212  void PopupTree();
2213 
2216  void PopupList();
2217 
2219 };
2220 
2222 // FBEditProperty
2225 
2270 public:
2272  FBEditProperty();
2273 
2275 
2282 };
2283 
2284 
2286 // FBEditPropertyModern
2289 
2298 public:
2301 
2306  void SetBackgroundColorIndex( FBColorIndex pIndex );
2307 
2309 
2315 };
2316 
2318 // FBBrowsingProperty
2321 
2325 public:
2329 
2333  void AddObject(FBPlug* pObject);
2334 
2338  void RemoveObject(FBPlug* pObject);
2339 
2343  int ObjectGetCount();
2344 
2349  FBPlug* ObjectGet(int pIndex);
2350 
2357  int AddButtonInToolbar(const char* pCaption, HICallback pOwner, kICallbackHandler pHandler);
2358 
2359 };
2360 
2362 // FBWidgetHolder
2365 
2366 
2381 public:
2382 
2384  typedef QWidget* (*WidgetCreator)(QWidget* pParent);
2385 
2388  FBWidgetHolder();
2389 
2397  void SetCreator(WidgetCreator pCreatorFunction );
2398 
2402  virtual QWidget* WidgetCreate(QWidget* pParent);
2403 };
2404 
2406 // FBPlotPopup
2410 
2414 public:
2417  FBPlotPopup();
2418 
2422  virtual bool Popup(const char* pWindowName);
2423 
2427  FBPlotOptions GetPlotOptions();
2428 
2433 };
2434 
2436 // FBPropertyViewManager, FBPropertyViewList and FBPropertyViewDefinition
2441 
2444 {
2448 };
2449 
2454 {
2455 public:
2457  bool IsEditable();
2458 
2464  FBPropertyViewDefinition* AddPropertyView(FBProperty* pProperty, const char* pHierarchy);
2465 
2470  bool RemovePropertyView(FBPropertyViewDefinition* pPropertyViewDefinition);
2471 
2473  FBPropertyViewDefinition* FindPropertyView(const char* pPropertyName);
2474 private:
2481  FBPropertyViewList & operator =(const FBPropertyViewList &);
2483 };
2484 
2489 {
2490 public:
2492  bool IsOpen();
2494  bool IsSaved();
2496  bool IsFolder();
2497 
2499  void SetOpen(bool pTrue, bool pApplyUpHierarchy);
2501  void SetSaved(bool pTrue, bool pApplyUpHierarchy);
2502 
2503 private:
2510  FBPropertyViewDefinition & operator =(const FBPropertyViewDefinition &);
2512 };
2513 
2521 {
2523 
2524 public:
2525  // ----- VIEW LIST -----
2526 
2533  FBPropertyViewList* CreatePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2534 
2541  bool RemovePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2542 
2549  FBPropertyViewList* FindPropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2550 
2551  // ----- GLOBAL VIEW (ALL) -----
2552 
2560  FBPropertyViewDefinition* AddPropertyView(const char* pClassName, const char* pPropertyName, const char* pHierarchy);
2561 
2568  bool RemovePropertyView(const char* pClassName, const char* pPropertyName);
2569 
2576  void HidePropertyView(const char* pClassName, const char* pPropertyName, bool pHide);
2577 
2578  // ----- REFRESH -----
2579 
2582  void RefreshPropertyViews();
2583 
2587  static FBPropertyViewManager& TheOne();
2588 
2589 private:
2595 };
2596 
2597 #endif //}
2598 
2599 #ifdef FBSDKUseNamespace
2600 }
2601 #endif
2602 
2603 #endif
HKEventBase HKEvent
HKEvent.
Definition: fbcomponent.h:394
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes).
Definition: fbcontrols.h:1366
No attachment.
Definition: fbcontrols.h:283
FBPropertyFloat X
Property: Ratio for X attachment.
Definition: fbcontrols.h:383
class FBPropertyBaseEnum< enum FBCellStyle > FBPropertyCellStyle
Definition: fbcontrols.h:1424
State is 0, usually meaning not active.
Definition: fbcontrols.h:1018
FBPropertyString Path
Read Write Property: Path of folder selected.
Definition: fbcontrols.h:2060
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
Definition: fbcontrols.h:1331
#define Set(a0, a1, a2, a3)
Definition: Python-ast.h:467
class FBPropertyBaseComponent< FBTreeNode * > FBPropertyTreeNode
Definition: fbcontrols.h:73
FBPropertyTreeNode TreeNode
Read Write Property: Tree node.
Definition: fbcontrols.h:1766
Standard Checkbox Disabled 2 color.
Definition: fbcontrols.h:212
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:132
FBPropertyOrientation Orientation
Read Write Property: Slider orientation.
Definition: fbcontrols.h:1361
FBPropertyEvent OnDragAndDrop
Event: Drag and drop.
Definition: fbcontrols.h:1210
Property Connection Editor.
Definition: fbcontrols.h:2204
Standard Checkbox Ambig 2 color.
Definition: fbcontrols.h:210
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1249
Tree list view.
Definition: fbcontrols.h:1834
A keyboard key was released.
Definition: fbcontrols.h:130
FBPropertyIconPosition IconPosition
Read Write Property: Where the icon is positioned for the items.
Definition: fbcontrols.h:1708
FBPropertyEvent OnDragAndDrop
Event: Drag and Drop event.
Definition: fbcontrols.h:1714
FBPropertyString FullFilename
Read Only Property: Full filename (path and file).
Definition: fbcontrols.h:2036
FBPropertyBool EditNodeOn2Select
Read Write Property: Set to true, to allow automatic node editing on second select.
Definition: fbcontrols.h:1882
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1363
FBPropertyTextJustify Justify
Read Write Property: Current state of button.
Definition: fbcontrols.h:1094
class FBPropertyBaseEnum< enum FBTextStyle > FBPropertyTextStyle
Definition: fbcontrols.h:1041
FBPropertyInt ItemIndex
Read Write Property: Current item index.
Definition: fbcontrols.h:1325
Show event class.
Definition: fbcontrols.h:553
FBPropertyString Caption
Property: Caption to display in border.
Definition: fbcontrols.h:419
Attach to center [center(x1,y1,x2,y2)].
Definition: fbcontrols.h:282
Save file popup (Shows 'Save Directory').
Definition: fbcontrols.h:2015
FBPropertyInt PosX
Property: X position of mouse.
Definition: fbcontrols.h:542
FBPropertyFloat MaxAngle
Property: Max angle for rounding.
Definition: fbcontrols.h:425
A mouse button was pressed.
Definition: fbcontrols.h:120
FBDragAndDropState
State of Drag and Drop.
Definition: fbcontrols.h:492
Open Reality renderer interface.
Definition: fbrenderer.h:450
K_FORWARD(KStringList)
Number edit box.
Definition: fbcontrols.h:1238
FBPropertyBool NoSelectOnRightClick
Read Write Property: Tells whether node are selected if right click on node.
Definition: fbcontrols.h:1888
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
Definition: fbproperties.h:139
FBPropertyEvent OnChange
Event: Change of the selection.
Definition: fbcontrols.h:1867
FBPropertyInt Key
Read Only Property: Input key.
Definition: fbcontrols.h:463
FBInputKey
Keyboard inputs.
Definition: fbcontrols.h:143
Tree Background Title color.
Definition: fbcontrols.h:246
FBPropertykReference Parent
Read Write Property: Parent of row (reference).
Definition: fbcontrols.h:1491
FBPropertyAttachType Y
Property: Y Attachment type.
Definition: fbcontrols.h:393
FBPropertyBool AutoExpandOnDragOver
Read Write Property: Allow automatic expand on drag over, default is false.
Definition: fbcontrols.h:1891
FBPropertyInt Width
Property: Region width offset.
Definition: fbcontrols.h:377
Class type property view.
Definition: fbcontrols.h:2446
Tree Background SubtitleLine color.
Definition: fbcontrols.h:248
Property: StringList
Definition: fbproperties.h:982
Attach to right [max(x1,x2)].
Definition: fbcontrols.h:277
FBIconPosition
Different icon positions possible.
Definition: fbcontrols.h:1654
FBPropertyColor Value
Read Write Property: Current value of color.
Definition: fbcontrols.h:1266
Structure for attachment components.
Definition: fbcontrols.h:399
View (user definable, you need to specify the view using FBSpread::SetCellView()).
Definition: fbcontrols.h:1420
Spreadsheet part.
Definition: fbcontrols.h:1431
FBPropertyEvent OnChange
Event: Timecode changed.
Definition: fbcontrols.h:1731
FBPropertyEvent OnChange
Event: Vector value changed.
Definition: fbcontrols.h:1286
FBPropertyEvent OnChange
Event: Color changed.
Definition: fbcontrols.h:1269
FBPropertyListStyle Style
Read Write Property: Style or direction of list.
Definition: fbcontrols.h:1328
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
Definition: fbcontrols.h:1528
Flat Button Passive 1 color.
Definition: fbcontrols.h:205
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2279
IKtView * HIKtView
Definition: fbcontrols.h:57
FBPropertyEvent OnSelect
Event: A node was selected.
Definition: fbcontrols.h:1857
FBPropertyEvent OnCellChange
Event: Cell value changed.
Definition: fbcontrols.h:1525
Default cell style.
Definition: fbcontrols.h:1411
Standard List Background Selected 2 color.
Definition: fbcontrols.h:222
Native Widget Holder (can be used to embed native Qt Widget inside MoBu UI elements) A Widget holder ...
Definition: fbcontrols.h:2379
FBPropertyInt Height
Property: Region height offset.
Definition: fbcontrols.h:378
FBPropertyEvent OnChange
Event: Tab panel change.
Definition: fbcontrols.h:994
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyBool HighlightOnRightClick
Read Write Property: Hightlight node on right click.
Definition: fbcontrols.h:1889
Dropping empty stack.
Definition: fbcontrols.h:498
FBPropertyInt ColorMode
Read Write Property: 3 for RGB, 4 for RGBA (Default = 3)
Definition: fbcontrols.h:1267
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2276
Creates a button which opens a layout to display content.
Definition: fbcontrols.h:1112
FBPropertyString Caption
Read Write Property: Caption to display in popup.
Definition: fbcontrols.h:2003
FBPropertyFilePopupStyle Style
Read Write Property: Style of file popup.
Definition: fbcontrols.h:2038
FBPropertykReference Data
Read Write Property: Generic data of event.
Definition: fbcontrols.h:578
FBPropertyFloat Width
Property: Ratio for Width attachment.
Definition: fbcontrols.h:385
FBPropertyBool ReadOnly
Read Write Property: Is SpreadPart read-only?
Definition: fbcontrols.h:1443
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2277
FBPropertykReference Row
Read Write Property: Current row.
Definition: fbcontrols.h:1521
FBPropertyFloat Y
Property: Ratio for Y attachment.
Definition: fbcontrols.h:384
Attach to width [abs(x2-x1)].
Definition: fbcontrols.h:280
Standard edged smooth border.
Definition: fbcontrols.h:296
Object property view.
Definition: fbcontrols.h:2447
Standard Button 1 color.
Definition: fbcontrols.h:201
FBTree node event.
Definition: fbcontrols.h:1757
class FBPropertyBaseEnum< enum FBBorderStyle > FBPropertyBorderStyle
Definition: fbcontrols.h:301
FBPropertyBool EnableSmartPlotControls
Read Write Property: Enable Smart Plot option for popup.
Definition: fbcontrols.h:2430
FBPropertyInt PosY
Property: Y position of mouse.
Definition: fbcontrols.h:543
FBPropertyBool ExtendedSelect
Read Write Property: Extended selection state?
Definition: fbcontrols.h:1327
#define NULL
Definition: kaydara.h:169
FBPropertyStringList Items
List: Names for tab panels.
Definition: fbcontrols.h:990
Structure for attachment ratio.
Definition: fbcontrols.h:381
FBPropertyInt Spacing
Property: Spacing of border.
Definition: fbcontrols.h:424
#define ICallback_Declare(IsPure)
Forwarding.
Definition: icallback.h:42
FBPropertyEvent OnInput
Event: Input.
Definition: fbcontrols.h:968
FBPropertyInt Y
Property: Region Y offset.
Definition: fbcontrols.h:376
FBPropertyEvent OnClickCheck
Event: Click on a node checkbox of the tree.
Definition: fbcontrols.h:1860
No modifier.
Definition: fbcontrols.h:136
Smoothed edges border.
Definition: fbcontrols.h:294
FBPropertyBool DoubleBuffer
Read Only Property: Indicates if the view is double buffered.
Definition: fbcontrols.h:1944
FBPropertyAttachType Height
Property: Height Attachment type.
Definition: fbcontrols.h:395
Spreadsheet column.
Definition: fbcontrols.h:1498
FBPropertyTextStyle Style
Read Write Property: Text style appearance.
Definition: fbcontrols.h:1190
class FBPropertyBaseComponent< FBVisualComponent * > FBPropertyVisualComponent
Definition: fbcontrols.h:66
FBInputType
Types of input events.
Definition: fbcontrols.h:117
FBPropertyString Description
Read Write Property: Description of the menu item.
Definition: fbcontrols.h:732
class FBPropertyBase< FBProperty *, kFBPT_Reference > FBPropertyReference
Property: FBProperty *
FBPropertyInt Selection
Read Only Property: Id of selection.
Definition: fbcontrols.h:1300
FBInputModifier
Input Modifiers (Ctrl, Alt, Shift).
Definition: fbcontrols.h:135
class FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
Generic view.
Definition: fbcontrols.h:1902
#define K_IMPLEMENTATION
Definition: iobject.h:53
Attach to bottom [max(y1,y2)].
Definition: fbcontrols.h:279
Standard List Background Focus Selected 1 color.
Definition: fbcontrols.h:223
Flat Button Passive 2 color.
Definition: fbcontrols.h:206
FBPropertyVisualComponent Y
Property: Y Attachment source.
Definition: fbcontrols.h:402
class FBPropertyBaseEnum< enum FBIconPosition > FBPropertyIconPosition
Definition: fbcontrols.h:1659
FBPropertyBool MultiSelect
Read Write Property: Can there be multiple selections?
Definition: fbcontrols.h:1523
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2059
FBProperty View List.
Definition: fbcontrols.h:2453
Standard Tab Active 1 color.
Definition: fbcontrols.h:229
Color and alpha vector.
Definition: fbtypes.h:489
Standard List Text Selected color.
Definition: fbcontrols.h:225
Standard Scroll Passive 1 color.
Definition: fbcontrols.h:217
FBPropertyBool DeselectOnCollapse
Read Write Property: Tells whether node are deselected if parent node is collapsed.
Definition: fbcontrols.h:1886
FBPropertyEvent OnRowClick
Event: Row clicked.
Definition: fbcontrols.h:1526
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1245
FBPropertyEvent OnCollapsed
Event: Click on the "-" sign before a non-leaf node.
Definition: fbcontrols.h:1865
class FBPropertyBase< float, kFBPT_float > FBPropertyFloat
Property: float
int FBMessageBox(const char *pBoxTitle, const char *pMessage, const char *pButton1Str, const char *pButton2Str=((void *) 0), const char *pButton3Str=((void *) 0), int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box.
FBPropertyReference Property
Read Write Property: Property to edit.
Definition: fbcontrols.h:2274
#define IObject_Declare(IsPure)
Definition: iobject.h:75
Property class: const char * (String).
Color vector.
Definition: fbtypes.h:447
Standard List Line color.
Definition: fbcontrols.h:227
class FBPropertyBaseEnum< enum FBEventTreeWhy > FBPropertyEventTreeWhy
Definition: fbcontrols.h:1754
FBPropertyMenuItemType Type
Read Write Property: Type of menu item.
Definition: fbcontrols.h:733
FBPropertyFloat Height
Property: Ratio for Height attachment.
Definition: fbcontrols.h:386
FBPropertyString Caption
Read Write Property: Caption to display for spreadsheet.
Definition: fbcontrols.h:1520
FBPropertyAttachType X
Property: X Attachment type.
Definition: fbcontrols.h:392
FBPropertyBool GraphicOGL
Read Only Property: Indicates if the view is OpenGL.
Definition: fbcontrols.h:1943
Tree Editbox Background color.
Definition: fbcontrols.h:250
Tree Background Subtitle color.
Definition: fbcontrols.h:247
Base Event class.
Definition: fbcomponent.h:959
#define FBSDK_DLL
FBSDKDLL_ K_DLLEXPORT.
Definition: fbcontrols.h:50
Standard Scroll Active 2 color.
Definition: fbcontrols.h:216
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1360
FBPropertyInt Column
Read Only Property: Column of event.
Definition: fbcontrols.h:1639
Transaction event.
Definition: fbcontrols.h:475
Timeline Outside 1 color.
Definition: fbcontrols.h:238
FBTree selection event.
Definition: fbcontrols.h:1772
List of items.
Definition: fbcontrols.h:1317
FBPropertyString Hint
Read Write Property: Hint to show.
Definition: fbcontrols.h:433
FBPropertyString Caption
Read Write Property: Caption of the column.
Definition: fbcontrols.h:1507
FBPropertyBool Enabled
Read Write Property: Is SpreadPart enabled?
Definition: fbcontrols.h:1444
Highlight border.
Definition: fbcontrols.h:298
Activation event.
Definition: fbcontrols.h:570
FBPropertyInt Width
Property: New Width of the window.
Definition: fbcontrols.h:612
Multi-line text input.
Definition: fbcontrols.h:2127
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:148
class FBPropertyBaseEnum< enum FBButtonStyle > FBPropertyButtonStyle
Definition: fbcontrols.h:1022
Connections Basic Open Reality SDK Element.
Definition: fbplug.h:220
Image class.
Definition: fbimage.h:104
Timeline Center 1 color.
Definition: fbcontrols.h:240
MotionBuilder SDK base class.
Definition: fbcomponent.h:668
FBPropertyInt Column
Read Only Property: Column number.
Definition: fbcontrols.h:1442
FBPropertyString Path
Read Write Property: Path of file selected.
Definition: fbcontrols.h:2035
State is 1, usually meaning active.
Definition: fbcontrols.h:1019
FBPropertyInt X
Read Only Property: Mouse X Position.
Definition: fbcontrols.h:460
Color edit widget.
Definition: fbcontrols.h:1260
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2313
FBPropertyBool MultiSelect
Read Write Property: Can multiple items be selected?
Definition: fbcontrols.h:1326
FBPropertyInt Indent
Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes...
Definition: fbcontrols.h:1877
FBPropertyInt X
Property: Region X offset.
Definition: fbcontrols.h:375
Character input.
Definition: fbcontrols.h:2096
The mouse pointer is leaving the window.
Definition: fbcontrols.h:125
Property editor widget.
Definition: fbcontrols.h:2268
FBPropertyFloat Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1394
Standard List Text Dragover color.
Definition: fbcontrols.h:226
FBPropertyComponent Component
Read Write Property: Component handle.
Definition: fbcontrols.h:729
Popup window.
Definition: fbcontrols.h:1985
FBPropertyTreeNode TreeNode
Read Write Property: Selected tree node.
Definition: fbcontrols.h:1779
Used to build the user interface.
Definition: fbcontrols.h:776
A keyboard key was pressed.
Definition: fbcontrols.h:118
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyBool Enabled
Read Write Property: Is visual enabled?
Definition: fbcontrols.h:432
FBPropertyInt Percent
Read Write Property: Percent completed for the operation.
Definition: fbcontrols.h:1974
FBFilePopupStyle
Different types of file popup windows.
Definition: fbcontrols.h:2013
FBPropertyBool Visible
Read Write Property: Is visual component visible?
Definition: fbcontrols.h:430
2 state button with 2 bitmaps.
Definition: fbcontrols.h:1011
FBPropertyEvent OnChange
Event: Number changed.
Definition: fbcontrols.h:1251
class FBPropertyBase< kReference, kFBPT_kReference > FBPropertykReference
Property: kReference
Icon on left of text.
Definition: fbcontrols.h:1655
FBPropertyEvent OnPaint
Event: Paint layout.
Definition: fbcontrols.h:972
FBPropertyEvent OnClick
Event: Button clicked.
Definition: fbcontrols.h:1097
FBPropertyVisualComponent X
Property: X Attachment source.
Definition: fbcontrols.h:401
Control was pressed.
Definition: fbcontrols.h:138
FBPropertyInt MouseWheelDelta
Read Only Property: Wheel Delta.
Definition: fbcontrols.h:466
FBPropertyEvent OnDblClick
Event: Double click.
Definition: fbcontrols.h:1713
FBPropertyVisualComponent Width
Property: Width Attachment source.
Definition: fbcontrols.h:403
Event sent when a control needs to be displayed.
Definition: fbcontrols.h:587
FBPropertyString Name
Read Write Property: Name of menu item.
Definition: fbcontrols.h:682
Standard Field 1 color.
Definition: fbcontrols.h:213
Open file popup (Shows 'Open Directory').
Definition: fbcontrols.h:2014
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2310
FBPropertyTextJustify Justify
Read Write Property: Text justification for label.
Definition: fbcontrols.h:1189
Folder Popup (for selecting a directory).
Definition: fbcontrols.h:2047
FBPropertyEvent OnEnter
Event: On mouse enter.
Definition: fbcontrols.h:440
A mouse button was released.
Definition: fbcontrols.h:121
FBPropertyString Extension
Read Write Property: Default extension.
Definition: fbcontrols.h:730
FBPopupInputType
User input types for a popup.
Definition: fbcontrols.h:2094
class FBPropertyBaseEnum< enum FBOrientation > FBPropertyOrientation
Definition: fbcontrols.h:108
FBPropertyBool PasswordMode
Read Write Property: Set password mode for this edit box.
Definition: fbcontrols.h:1226
FBPropertyInt ItemIndex
Read Write Property: Current item selected.
Definition: fbcontrols.h:1705
Spreadsheet cell.
Definition: fbcontrols.h:1457
FBPropertyEvent OnExit
Event: On mouse exit.
Definition: fbcontrols.h:441
The internal event could not be translated.
Definition: fbcontrols.h:131
A keyboard key was pressed.
Definition: fbcontrols.h:129
FBPropertyEvent OnExpanded
Event: Click on the "+" sign before a non-leaf node
Definition: fbcontrols.h:1863
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1248
Input event class.
Definition: fbcontrols.h:451
FBPropertyBool AllowCollapse
Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
Definition: fbcontrols.h:1874
Used to create and manage buttons in a user interface.
Definition: fbcontrols.h:1060
Text edit box.
Definition: fbcontrols.h:1219
FBPropertyInt Column
Read Write Property: Current column.
Definition: fbcontrols.h:1522
FBPropertyBool IsBeginTransaction
Read Only Property: Tells if the transaction is at begin.
Definition: fbcontrols.h:478
FBPropertyEvent OnChange
Event: List changed.
Definition: fbcontrols.h:1330
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown.
Definition: fbcontrols.h:2280
FBPropertyBool MultiDrag
Read Write Property: Tells whether multiple drag/drop is allowed or not.
Definition: fbcontrols.h:1875
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2278
class FBPropertyBaseEnum< enum FBMenuItemType > FBPropertyMenuItemType
Definition: fbcontrols.h:675
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1246
FBPropertyInt ItemWidth
Read Write Property: Item width.
Definition: fbcontrols.h:1709
FBAttachType
Types of attachments between UI regions.
Definition: fbcontrols.h:275
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2033
Flat Tab Background 1 color.
Definition: fbcontrols.h:232
FBPropertyEvent OnCollapsing
Event: Fired before the node collapse.
Definition: fbcontrols.h:1866
FBPropertyString Text
Read Write Property: Text displayed.
Definition: fbcontrols.h:1225
Spreadsheet event.
Definition: fbcontrols.h:1630
Option parameters for plotting.
Standard smoothed edges border.
Definition: fbcontrols.h:297
FBProperty View Manager.
Definition: fbcontrols.h:2520
Definition: Python-ast.h:18
Begin a drag and drop sequence.
Definition: fbcontrols.h:493
FBPropertyEvent OnShow
Event: Show layout.
Definition: fbcontrols.h:974
Event sent to a control that resizes.
Definition: fbcontrols.h:604
FBPropertyBool Shown
Read Only Property: Was layer just shown?
Definition: fbcontrols.h:561
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown.
Definition: fbcontrols.h:2314
class FBPropertyBaseEnum< enum FBDragAndDropState > FBPropertyDragAndDropState
Definition: fbcontrols.h:501
FBPropertyString Label
Read Write Property: Label of the menu item.
Definition: fbcontrols.h:731
Standard Checkbox Disabled 1 color.
Definition: fbcontrols.h:211
FBPropertyBool AutoScroll
Read Write Property: If AutoScroll property is True then the tree window will be automatically scroll...
Definition: fbcontrols.h:1876
Embossed border.
Definition: fbcontrols.h:291
FBPropertyBool ItemWrap
Read Write Property: Are items wrapped when enough space is available?
Definition: fbcontrols.h:1707
FBPropertyString FileName
Read Write Property: File selected.
Definition: fbcontrols.h:2034
Alt was pressed.
Definition: fbcontrols.h:139
Attach to left [min(x1,x2)].
Definition: fbcontrols.h:276
Base spreadsheet class.
Definition: fbcontrols.h:1513
FBOrientation
General directions for UI components.
Definition: fbcontrols.h:103
FBPropertyInt Width
Property: Width of border.
Definition: fbcontrols.h:423
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
FBPropertyEventTreeWhy Why
Read Write Property: Reason of the event.
Definition: fbcontrols.h:1765
FBPropertyBool AllowExpansion
Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
Definition: fbcontrols.h:1873
Property: Base property class.
Definition: fbproperties.h:192
FBPropertyTextJustify Justify
Read Write Property: Text justification for SpreadPart
Definition: fbcontrols.h:1446
FBPropertyBool AutoScrollOnExpand
Read Write Property: Allow automatic scroll on expand, default is true.
Definition: fbcontrols.h:1890
Template class to contain an array of items.
Definition: fbarray.h:77
class FBPropertyBaseEnum< enum FBButtonLook > FBPropertyButtonLook
Definition: fbcontrols.h:1052
Border information structure.
Definition: fbcontrols.h:417
Animatable property base class.
FBPropertyBool NoSelectOnDrag
Read Write Property: Tells whether node are selected if drag is start and node is not already selecte...
Definition: fbcontrols.h:1887
class FBPropertyBaseEnum< enum FBListStyle > FBPropertyListStyle
Definition: fbcontrols.h:1314
FBPropertyInt MouseButton
Read Only Property: Mouse Button.
Definition: fbcontrols.h:462
Plot Popup (for setting options only).
Definition: fbcontrols.h:2412
FBPropertyInt Row
Read Only Property: Row number.
Definition: fbcontrols.h:1441
Standard Checkbox Ambig 1 color.
Definition: fbcontrols.h:209
A node in the tree view.
Definition: fbcontrols.h:1783
FBPropertyInt State
Read Write Property: Current state of button.
Definition: fbcontrols.h:1092
class FBPropertyBaseEnum< enum FBInputType > FBPropertyInputType
Definition: fbcontrols.h:175
FBPropertyBool ShowCaption
Property: Show caption?
Definition: fbcontrols.h:420
Flat Button Active 2 color.
Definition: fbcontrols.h:204
The mouse wheel has moved.
Definition: fbcontrols.h:126
FBPropertyString Text
Read Write Property: Text to display on progress bar.
Definition: fbcontrols.h:1973
FBPropertyEvent OnResize
Event: Resize layout.
Definition: fbcontrols.h:975
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes).
Definition: fbcontrols.h:1229
FBPropertyStringList Items
List: Names of items in container.
Definition: fbcontrols.h:1703
FBPropertyInputType InputType
Read Only Property: Input type.
Definition: fbcontrols.h:459
FBPropertyBool ShowLines
Read Write Property: On node selection, will draw entire line selected
Definition: fbcontrols.h:1879
#define FBSDKNamespace
FBSDKNamespace define.
Definition: fbversion.h:64
Standard Button 2 color.
Definition: fbcontrols.h:202
FBPropertyEvent OnClick
Event: Click on a node of the tree.
Definition: fbcontrols.h:1859
Standard List Background Selected 1 color.
Definition: fbcontrols.h:221
End of drag and drop.
Definition: fbcontrols.h:496
FBPropertyInt Height
Read Write Property: Height.
Definition: fbcontrols.h:438
Motion Files->Import.
Definition: fbcontrols.h:669
FBPropertyInt Id
Read Write Property: Id number for menu item.
Definition: fbcontrols.h:681
FBPropertyAttachType Width
Property: Width Attachment type.
Definition: fbcontrols.h:394
FBPropertyButtonStyle Style
Read Write Property: Button style.
Definition: fbcontrols.h:1093
Standard Checkbox Clear 2 color.
Definition: fbcontrols.h:208
FBTextJustify
Text justification styles.
Definition: fbcontrols.h:1025
FBPropertyEvent OnDragAndDrop
Event: Drag and drop of an element.
Definition: fbcontrols.h:1868
A mouse button was double clicked.
Definition: fbcontrols.h:123
Used to create a container for a tool UI.
Definition: fbcontrols.h:1662
FBPropertyInt CornerRadius
Property: Corner radius (rounded).
Definition: fbcontrols.h:426
Basic class definitions.
The mouse is dropping items.
Definition: fbcontrols.h:128
FBPropertyEvent OnDragAndDrop
Event: Something was dragged.
Definition: fbcontrols.h:1098
class FBPropertyBaseEnum< enum FBAttachType > FBPropertyAttachType
Definition: fbcontrols.h:285
Standard List Text color.
Definition: fbcontrols.h:224
Spreadsheet row.
Definition: fbcontrols.h:1472
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1362
PropertyEvent: Base event class.
Definition: fbproperties.h:507
FBPropertyInt Pressure
Read Only Property: Pressure.
Definition: fbcontrols.h:465
Timeline Manipulator color.
Definition: fbcontrols.h:244
KEventBase * HKEventBase
Definition: fbcomponent.h:75
Standard Tab Active 1 color.
Definition: fbcontrols.h:228
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1244
FBPropertyOrientation Orientation
Read Write Property: Orientation of container.
Definition: fbcontrols.h:1706
FBPropertyBool WordWrap
Read Write Property: Enable wordwrap on text drawing.
Definition: fbcontrols.h:1191
Progress bar.
Definition: fbcontrols.h:1953
FBPropertyVisualComponent Height
Property: Height Attachment source.
Definition: fbcontrols.h:404
A keyboard key was released.
Definition: fbcontrols.h:119
Drag and drop interface.
Definition: fbcontrols.h:504
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2312
FBEventTreeWhy
Tree node different event type.
Definition: fbcontrols.h:1746
FBPropertyEvent OnChange
Event: Slider value changed.
Definition: fbcontrols.h:1365
FBPropertyBool MultiSelect
Read Write Property: Tells whether multiple selection is allowed or not.
Definition: fbcontrols.h:1881
Tree Background Node color.
Definition: fbcontrols.h:249
Boolean input.
Definition: fbcontrols.h:2095
FBTextStyle
Text appearance styles.
Definition: fbcontrols.h:1034
Tree Keying Group color.
Definition: fbcontrols.h:252
FBPropertyInt ItemHeight
Read Write Property: Height of an item.
Definition: fbcontrols.h:1880
Global property view.
Definition: fbcontrols.h:2445
FBPropertyEvent OnIdle
Event: Idle.
Definition: fbcontrols.h:973
FBPropertyDragAndDropState State
Property: Drag and drop sub-event.
Definition: fbcontrols.h:541
FBPropertyBool CheckBoxes
Read Write Property: Draw check boxe for each node.
Definition: fbcontrols.h:1878
IKtObject * HIKtObject
Definition: fbcontrols.h:56
FBCellStyle
Different styles of spreadsheet cell styles.
Definition: fbcontrols.h:1410
FBPropertyBool EnablePlotLockedProperties
Read Write Property: Enable Plot Locked Properties option for popup.
Definition: fbcontrols.h:2432
Color Index Size color.
Definition: fbcontrols.h:258
FBPropertyInt Top
Read Write Property: Top coordinate.
Definition: fbcontrols.h:436
FBPropertyEvent OnExpanding
Event: Is fired before the node expand.
Definition: fbcontrols.h:1864
FBPropertyEvent OnEditNode
Event: Called upon node edition.
Definition: fbcontrols.h:1869
#define K_DEPRECATED_2014
Definition: kaydara.h:412
FBPropertyInt Action
Read Only Property: Action associated to the spread event.
Definition: fbcontrols.h:1644
FBPropertyString Name
Property: Region name.
Definition: fbcontrols.h:373
FBPropertyCellStyle Style
Read Write Property: Style of cell
Definition: fbcontrols.h:1445
Vector edit widget.
Definition: fbcontrols.h:1278
FBPropertyInt TabStyle
Read Write Property: Style of the tab panel, 0 creates normal tabs, 1 creates buttons to activate tab...
Definition: fbcontrols.h:992
FBPropertyInt TreeHeight
Read Only Property: Height of the tree.
Definition: fbcontrols.h:1883
Input event class.
Definition: fbcontrols.h:1292
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
Standard Checkbox Clear 1 color.
Definition: fbcontrols.h:207
FBPropertyEvent OnChange
Event: Container contents changed.
Definition: fbcontrols.h:1712
String list.
Definition: fbstring.h:201
Flat Button Active 1 color.
Definition: fbcontrols.h:203
Password input (String with '*'s).
Definition: fbcontrols.h:2101
FBPropertyInt Width
Read Write Property: Width.
Definition: fbcontrols.h:437
Tree Keying Select color.
Definition: fbcontrols.h:255
FBPropertyStringList Items
List: Names of items in list.
Definition: fbcontrols.h:1323
FBPropertyInt ItemHeight
Read Write Property: Item height.
Definition: fbcontrols.h:1710
FBPropertyString Caption
Read Write Property: Caption to display with row.
Definition: fbcontrols.h:1490
2 state button (2 colors).
Definition: fbcontrols.h:1009
FBPropertyString Path
Read Write Property: Default path to open file dialog to.
Definition: fbcontrols.h:735
Shift was pressed.
Definition: fbcontrols.h:137
Attach to top [min(y1,y2)].
Definition: fbcontrols.h:278
FBPropertyBool Modal
Read Write Property: Modal?
Definition: fbcontrols.h:2004
Structure for absolute positions.
Definition: fbcontrols.h:408
Standard List Background 1 color.
Definition: fbcontrols.h:220
FBBorderStyle
Different border types available.
Definition: fbcontrols.h:288
FBPropertyEvent OnDblClick
Event: Double-Click on a node of the tree.
Definition: fbcontrols.h:1861
FBPropertyString Filename
Read Write Property: Filename for image.
Definition: fbcontrols.h:1206
class FBPropertyBaseComponent< FBComponent * > FBPropertyComponent
Property: FBPropertyBaseComponent(FBComponent*)
FBPropertyReference Property
Read Write Property: Property to edit connections.
Definition: fbcontrols.h:2218
Text label.
Definition: fbcontrols.h:1171
FBPropertyButtonLook Look
Read Write Property: Current state of button.
Definition: fbcontrols.h:1095
FBPropertyEvent OnDeselect
Event: Deselection on a node of the tree.
Definition: fbcontrols.h:1862
FBPropertyBorderStyle Style
Property: Style of border.
Definition: fbcontrols.h:421
Integer input.
Definition: fbcontrols.h:2098
FBPropertyInt SelectedCount
Read Only Property: Count of selected items.
Definition: fbcontrols.h:1871
Standard Scroll Active 1 color.
Definition: fbcontrols.h:215
FBPropertyTime Value
Read Write Property: Current timecode value.
Definition: fbcontrols.h:1729
Property browsing.
Definition: fbcontrols.h:2323
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1358
FBPropertyVector3d Value
Read Write Property: Current value of vector.
Definition: fbcontrols.h:1284
FBPropertyInt VisibleItemCount
Read Only Property: Count of visible items.
Definition: fbcontrols.h:1872
FBPropertyBool InSet
Property: Is border inset?
Definition: fbcontrols.h:422
FBPropertyEvent OnColumnClick
Event: Column clicked.
Definition: fbcontrols.h:1527
FBPropertyInt KeyState
Read Only Property: State of key.
Definition: fbcontrols.h:464
FBPropertyBool Checked
Read Write Property: Is FBTreeNode checked.
Definition: fbcontrols.h:1794
FBButtonStyle
Style of buttons.
Definition: fbcontrols.h:1005
FBPropertyFloat Value
Read Write Property: Current value.
Definition: fbcontrols.h:1396
FBPropertyBool EnablePlotCharacterExtension
Read Write Property: Enable Plot Character Extension option for popup.
Definition: fbcontrols.h:2431
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Visual Component base class.
Definition: fbcontrols.h:306
class FBPropertyBaseEnum< enum FBTextJustify > FBPropertyTextJustify
Definition: fbcontrols.h:1031
FBPropertyBool ReadOnly
Read Write Property: Is visual component read only?
Definition: fbcontrols.h:431
FBPropertyString Filter
Read Write Property: Filter to use for popup window file selection.
Definition: fbcontrols.h:2037
Timeline Highlight color.
Definition: fbcontrols.h:243
FBPropertyBool AutoExpandOnDblClick
Read Write Property: Allow automatic expand on double click, default is false.
Definition: fbcontrols.h:1892
FBPropertyTextJustify Justify
Read Write Property: Text justification.
Definition: fbcontrols.h:1509
FBSplitStyle
Type of split style (sub-division) for layout.
Definition: fbcontrols.h:781
FBPropertyViewType
Property view set type.
Definition: fbcontrols.h:2443
int FBMessageBoxGetUserValue(const char *pBoxTitle, const char *pMessage, void *pValue, FBPopupInputType pValueType, const char *pButton1Str, const char *pButton2Str=((void *) 0), const char *pButton3Str=((void *) 0), int pDefaultButton=0, bool pLastButtonCancel=true)
Dialog popup box to get user input.
class FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
FBPropertyListTreeNode SelectedNodes
Read Only Property: List of selected nodes.
Definition: fbcontrols.h:1893
The mouse is dragging items.
Definition: fbcontrols.h:127
FBButtonState
Possible button states.
Definition: fbcontrols.h:1017
Button with bitmap on it.
Definition: fbcontrols.h:1007
Empty the drag and drop stack.
Definition: fbcontrols.h:497
FBPropertyInt CaptionSize
Read Write Property: Indicate how much width should the Property Editor reserve for displaying the pr...
Definition: fbcontrols.h:2281
FBPropertyBool SelectionActive
Read Write Property: Tells whether selection is allowed or not.
Definition: fbcontrols.h:1885
Standard Tab Passive 1 color.
Definition: fbcontrols.h:230
FBPropertyInt Row
Read Only Property: Row of event.
Definition: fbcontrols.h:1638
FBPropertyInt ItemIndex
Read Write Property: Current tab panel.
Definition: fbcontrols.h:991
FBPropertyInt Left
Read Write Property: Left coordinate.
Definition: fbcontrols.h:435
FBListStyle
List style or direction.
Definition: fbcontrols.h:1309
FBPropertyInt Width
Read Write Property: Column width.
Definition: fbcontrols.h:1508
FBColorIndex
FBColor.
Definition: fbcontrols.h:180
The mouse pointer is entering the window.
Definition: fbcontrols.h:124
The mouse has been moved.
Definition: fbcontrols.h:122
Standard Scroll Cursor color.
Definition: fbcontrols.h:219
FBPropertyInt Y
Read Only Property: Mouse Y Position.
Definition: fbcontrols.h:461
FBButtonLook
Button look.
Definition: fbcontrols.h:1044
FBPropertykReference Reference
Read Write Property: Data to be associated to this node.
Definition: fbcontrols.h:1793
Standard Scroll Passive 2 color.
Definition: fbcontrols.h:218
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2311
class FBPropertyBaseEnum< enum FBFilePopupStyle > FBPropertyFilePopupStyle
Definition: fbcontrols.h:2018
Region information structure.
Definition: fbcontrols.h:371
FBPropertyEvent OnChange
Event: Text changed.
Definition: fbcontrols.h:1228
Timeline Center 2 color.
Definition: fbcontrols.h:241
Property editor widget.
Definition: fbcontrols.h:2296
FBPropertyInt TreeWidth
Read Only Property: Width of the tree.
Definition: fbcontrols.h:1884
class FBPropertyBaseComponent< FBLayout * > FBPropertyLayout
Definition: fbcontrols.h:65
File Popup (for open/save).
Definition: fbcontrols.h:2021
PropertyList of nodes in the tree view.
Definition: fbcontrols.h:1798
FBPropertyString Caption
Property: Widget caption.
Definition: fbcontrols.h:429
Attach to height [abs(y2-y1)].
Definition: fbcontrols.h:281
Standard smooth border.
Definition: fbcontrols.h:295
IRegister * HIRegister
Definition: fbcomponent.h:71
FBPropertyString Caption
Read Write Property: Caption to be displayed for progress bar.
Definition: fbcontrols.h:1972
Standard Field 2 color.
Definition: fbcontrols.h:214
FBPropertyDouble Precision
Read Write Property: Precision of value.
Definition: fbcontrols.h:1247
Standard Tab Passive 1 color.
Definition: fbcontrols.h:231
Motion Files->Export.
Definition: fbcontrols.h:671
FBPropertyBool EnablePlotTranslationOnRootOnly
Read Write Property: Enable Plot Translation On Root Only option for popup.
Definition: fbcontrols.h:2429
Flat Tab Text Selected color.
Definition: fbcontrols.h:233
FBPropertyReference Property
Read Write Property: Property to edit.
Definition: fbcontrols.h:2308
FBPropertyFloat Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1395
void(ICallback::* kICallbackHandler)(HIRegister pCaller, HKEventBase pEvent)
Definition: icallback.h:50
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1359
FBMenuItemType
Types of menu items available.
Definition: fbcontrols.h:668
FBPropertyBool RowSelected
Read Write Property: Is row selected?
Definition: fbcontrols.h:1492
int FBMessageBoxWithCheck(const char *pBoxTitle, const char *pMessage, const char *pButton1Str, const char *pButton2Str, const char *pButton3Str, const char *pCheckBoxStr, bool &pCheckBoxValue, int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box with a check box.
Icon on top of text.
Definition: fbcontrols.h:1656
FBPropertyInt Height
Property: New Height of the window.
Definition: fbcontrols.h:613
FBPropertyLayout Layout
Read Write Property: Layout for current tab panel.
Definition: fbcontrols.h:993