Contains the user interface components for the SDK. More...
#include <kaydaradef.h>
#include <fbxsdk/fbxsdk_nsbegin.h>
#include <fbxsdk/fbxsdk_nsend.h>
#include <fbsdk/fbcomponent.h>
Go to the source code of this file.
Classes | |
class | FBVisualComponent |
Visual Component base class. More... | |
struct | FBVisualComponent::__Region |
Region information structure. More... | |
struct | FBVisualComponent::__Region::__Ratio |
Structure for attachment ratio. More... | |
struct | FBVisualComponent::__Region::__AttachType |
Structure for attachment types. More... | |
struct | FBVisualComponent::__Region::__AttachTo |
Structure for attachment components. More... | |
struct | FBVisualComponent::__Region::__Pos |
Structure for absolute positions. More... | |
struct | FBVisualComponent::__Border |
Border information structure. More... | |
class | FBEventInput |
Input event class. More... | |
class | FBEventTransaction |
Transaction event. More... | |
class | FBEventDragAndDrop |
Drag and drop interface. More... | |
class | FBEventShow |
Show event class. More... | |
class | FBEventActivate |
Activation event. More... | |
class | FBEventExpose |
Event sent when a control needs to be displayed. More... | |
class | FBEventResize |
Event sent to a control that resizes. More... | |
class | FBEventMenu |
Menu event. More... | |
class | FBMenuItem |
Menu Item. More... | |
class | FBLayout |
Used to build the user interface. More... | |
class | FBTabPanel |
Tab panel. More... | |
class | FBButton |
Used to create and manage buttons in a user interface. More... | |
class | FBArrowButton |
Creates a button which opens a layout to display content. More... | |
class | FBScrollBox |
Scroll Box. More... | |
class | FBLabel |
Text label. More... | |
class | FBImageContainer |
Image. More... | |
class | FBEdit |
Text edit box. More... | |
class | FBEditNumber |
Number edit box. More... | |
class | FBEditColor |
Color edit widget. More... | |
class | FBEditVector |
Vector edit widget. More... | |
class | FBEventDblClick |
Input event class. More... | |
class | FBList |
List of items. More... | |
class | FBSlider |
Slider. More... | |
class | FBLayoutRegion |
Layout region. More... | |
class | FBThermometer |
Thermometer. More... | |
class | FBSpreadPart |
Spreadsheet part. More... | |
class | FBSpreadCell |
Spreadsheet cell. More... | |
class | FBSpreadRow |
Spreadsheet row. More... | |
class | FBSpreadColumn |
Spreadsheet column. More... | |
class | FBSpread |
Base spreadsheet class. More... | |
class | FBEventSpread |
Spreadsheet event. More... | |
class | FBVisualContainer |
Used to create a container for a tool UI. More... | |
class | FBEditTimeCode |
class | FBEventTree |
FBTree node event. More... | |
class | FBEventTreeSelect |
FBTree selection event. More... | |
class | FBTreeNode |
A node in the tree view. More... | |
class | FBPropertyListTreeNode |
PropertyList of nodes in the tree view. More... | |
class | FBTree |
Tree list view. More... | |
class | FBView |
Generic view. More... | |
class | FBProgress |
Progress bar. More... | |
class | FBPopup |
Popup window. More... | |
class | FBFilePopup |
File Popup (for open/save). More... | |
class | FBFolderPopup |
Folder Popup (for selecting a directory). More... | |
class | FBMemo |
Multi-line text input. More... | |
class | FBWebView |
Web viewer. More... | |
class | FBFCurveEditor |
FCurve editor. More... | |
class | FBFCurveEditorEvent |
This class is used when receiving a callback about an interaction that the user has done in the FCurve Editor. More... | |
class | FBFCurveEditorUtility |
FBFCurveEditor Utility class Utility class allowing different operations on a FBFCurveEditor or on the main FCurveEditor. More... | |
class | FBPropertyConnectionEditor |
Property Connection Editor. More... | |
class | FBEditProperty |
Property editor widget. More... | |
class | FBEditPropertyModern |
Property editor widget. More... | |
class | FBBrowsingProperty |
Property browsing. More... | |
class | FBWidgetHolder |
Native Widget Holder (can be used to embed native Qt Widget inside MoBu UI elements) A Widget holder provides a bridge to instantiate a Native Qt widget into MB framework. More... | |
class | FBPlotPopup |
Plot Popup (for setting options only). More... | |
class | FBPropertyViewList |
FBProperty View List. More... | |
class | FBPropertyViewDefinition |
FBProperty View. More... | |
class | FBPropertyViewManager |
FBProperty View Manager. More... | |
Macros | |
#define | FBSDK_DLL K_DLLEXPORT |
FBSDKDLL_ K_DLLEXPORT. | |
#define | SPLIT_WIDTH 10 |
SPLIT_WIDTH. | |
#define | FBRegisterControl(ClassName, Path, Label, Description, IconFilename) |
Register a control. | |
#define | FBMenuItemDeclare(ClassName, Parent) |
Menu Item class declaration. | |
#define | FBMenuItemImplementation(ClassName) |
Menu item class implementation. | |
#define | FBRegisterMenuItem(ClassName) |
Menu item registration. | |
#define | FBMenuItemActivation(ClassName) |
Menu item activation. | |
#define | FBMenuItemHandle(ClassName, Handle) Handle = ClassName::g##ClassName |
Get the handle of a menu item. | |
Functions | |
K_FORWARD (IKtLayoutRegion) | |
K_FORWARD (IKtObject) | |
K_FORWARD (IKtView) | |
FB_DEFINE_COMPONENT (K_DLLEXPORT, Layout) | |
FB_DEFINE_COMPONENT (K_DLLEXPORT, VisualComponent) | |
FB_DEFINE_COMPONENT (K_DLLEXPORT, View) | |
FB_DEFINE_COMPONENT (K_DLLEXPORT, TreeNode) | |
FB_DEFINE_ENUM (K_DLLEXPORT, Orientation) | |
FB_DEFINE_ENUM (K_DLLEXPORT, InputType) | |
FB_DEFINE_ENUM (K_DLLEXPORT, InputModifier) | |
FB_DEFINE_ENUM (K_DLLEXPORT, InputKey) | |
__FB_FORWARD (FBLayout) | |
__FB_FORWARD (FBVisualComponent) | |
FB_FORWARD (FBStringList) | |
FB_DEFINE_COMPONENT (K_DLLEXPORT, FBVisualComponent) | |
FB_DEFINE_ENUM (K_DLLEXPORT, AttachType) | |
FB_DEFINE_ENUM (K_DLLEXPORT, BorderStyle) | |
__FB_FORWARD (FBEventInput) | |
__FB_FORWARD (FBEventTransaction) | |
__FB_FORWARD (FBEventDragAndDrop) | |
FB_DEFINE_ENUM (K_DLLEXPORT, DragAndDropState) | |
__FB_FORWARD (FBEventShow) | |
__FB_FORWARD (FBEventActivate) | |
__FB_FORWARD (FBEventExpose) | |
__FB_FORWARD (FBEventResize) | |
__FB_FORWARD (FBEventMenu) | |
__FB_FORWARD (FBMenuItem) | |
FB_DEFINE_ENUM (K_DLLEXPORT, MenuItemType) | |
__FB_FORWARD (FBTabPanel) | |
__FB_FORWARD (FBButton) | |
FB_DEFINE_ENUM (K_DLLEXPORT, ButtonStyle) | |
FB_DEFINE_ENUM (K_DLLEXPORT, TextJustify) | |
FB_DEFINE_ENUM (K_DLLEXPORT, TextStyle) | |
FB_DEFINE_ENUM (K_DLLEXPORT, ButtonLook) | |
__FB_FORWARD (FBArrowButton) | |
__FB_FORWARD (FBScrollBox) | |
__FB_FORWARD (FBLabel) | |
__FB_FORWARD (FBImageContainer) | |
__FB_FORWARD (FBEdit) | |
__FB_FORWARD (FBEditNumber) | |
__FB_FORWARD (FBEditColor) | |
__FB_FORWARD (FBEditVector) | |
__FB_FORWARD (FBEventDblClick) | |
__FB_FORWARD (FBList) | |
FB_DEFINE_ENUM (K_DLLEXPORT, ListStyle) | |
__FB_FORWARD (FBSlider) | |
__FB_FORWARD (FBLayoutRegion) | |
__FB_FORWARD (FBThermometer) | |
__FB_FORWARD (FBSpread) | |
FB_DEFINE_ENUM (K_DLLEXPORT, CellStyle) | |
__FB_FORWARD (FBSpreadPart) | |
__FB_FORWARD (FBSpreadCell) | |
__FB_FORWARD (FBSpreadRow) | |
__FB_FORWARD (FBSpreadColumn) | |
__FB_FORWARD (FBEventSpread) | |
__FB_FORWARD (FBVisualContainer) | |
__FB_FORWARD (FBImage) | |
FB_DEFINE_ENUM (K_DLLEXPORT, IconPosition) | |
__FB_FORWARD (FBEditTimeCode) | |
__FB_FORWARD (FBTreeNode) | |
__FB_FORWARD (FBTree) | |
__FB_FORWARD (FBEventTree) | |
FB_DEFINE_ENUM (K_DLLEXPORT, EventTreeWhy) | |
__FB_FORWARD (FBEventTreeSelect) | |
__FB_FORWARD (FBView) | |
__FB_FORWARD (FBProgress) | |
__FB_FORWARD (FBPopup) | |
__FB_FORWARD (FBFilePopup) | |
FB_DEFINE_ENUM (K_DLLEXPORT, FilePopupStyle) | |
__FB_FORWARD (FBFolderPopup) | |
K_DLLEXPORT 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) |
Dialog popup box. | |
K_DLLEXPORT 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. | |
K_DLLEXPORT 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) |
Dialog popup box to get user input. | |
__FB_FORWARD (FBMemo) | |
__FB_FORWARD (FBWebView) | |
__FB_FORWARD (FBFCurveEditor) | |
FB_DEFINE_ENUM (K_DLLEXPORT, FCurveEditorEventType) | |
__FB_FORWARD (FBFCurveEditorUtility) | |
__FB_FORWARD (FBPropertyConnectionEditor) | |
__FB_FORWARD (FBEditProperty) | |
__FB_FORWARD (FBEditPropertyModern) | |
__FB_FORWARD (FBBrowsingProperty) | |
__FB_FORWARD (FBWidgetHolder) | |
FB_FORWARD (FBPlotOptions) | |
__FB_FORWARD (FBPlotPopup) | |
FB_FORWARD (FBPropertyViewList) | |
FB_FORWARD (FBPropertyViewDefinition) | |
__FB_FORWARD (FBPropertyViewManager) | |
Contains the user interface components for the SDK.
All of the user interface elements available for use with the SDK are defined in this file. These elements (for the most part) derive from the FBVisualComponent base class and provide the functionality required to develop an interface for a plugin.
Definition in file fbcontrols.h.
#define FBMenuItemActivation | ( | ClassName | ) |
Menu item activation.
ClassName | Menu item class to activate. |
Definition at line 661 of file fbcontrols.h.
#define FBMenuItemDeclare | ( | ClassName, | |
Parent | |||
) |
Menu Item class declaration.
ClassName | Name of menu item class to declare. |
Parent | Name of menu item class's parent class. |
Definition at line 632 of file fbcontrols.h.
#define FBMenuItemHandle | ( | ClassName, | |
Handle | |||
) | Handle = ClassName::g##ClassName |
Get the handle of a menu item.
ClassName | Menu item class to get a handle for. |
Handle | Handle to the menu item. |
Definition at line 669 of file fbcontrols.h.
#define FBMenuItemImplementation | ( | ClassName | ) |
Menu item class implementation.
ClassName | Menu item class to implement. |
Definition at line 642 of file fbcontrols.h.
#define FBRegisterControl | ( | ClassName, | |
Path, | |||
Label, | |||
Description, | |||
IconFilename | |||
) |
Register a control.
ClassName | Control class name to register. |
Path | Internal path to store control. |
Label | Short description of control. |
Description | Long description of control. |
IconFilename | Filename of associated icon. |
Definition at line 92 of file fbcontrols.h.
#define FBRegisterMenuItem | ( | ClassName | ) |
Menu item registration.
ClassName | Menu item class to register. |
Definition at line 649 of file fbcontrols.h.
#define FBSDK_DLL K_DLLEXPORT |
FBSDKDLL_ K_DLLEXPORT.
Definition at line 50 of file fbcontrols.h.
#define SPLIT_WIDTH 10 |
SPLIT_WIDTH.
Definition at line 82 of file fbcontrols.h.
enum FBAttachType |
Types of attachments between UI regions.
Definition at line 281 of file fbcontrols.h.
enum FBBorderStyle |
Different border types available.
Definition at line 294 of file fbcontrols.h.
enum FBButtonLook |
Button look.
Definition at line 1052 of file fbcontrols.h.
enum FBButtonState |
Possible button states.
Currently, only two button states are possible.
Enumerator | |
---|---|
kFBButtonState0 | State is 0, usually meaning not active. |
kFBButtonState1 | State is 1, usually meaning active. |
Definition at line 1025 of file fbcontrols.h.
enum FBButtonStyle |
Style of buttons.
Definition at line 1013 of file fbcontrols.h.
enum FBCellStyle |
Different styles of spreadsheet cell styles.
Enumerator | |
---|---|
kFBCellStyleDefault | Default cell style. |
kFBCellStyleString | String. |
kFBCellStyleDouble | Double. |
kFBCellStyleInteger | Integer. |
kFBCellStyleButton | Button. |
kFBCellStyle2StatesButton | 2 state button. |
kFBCellStyle3StatesButton | 3 state button. |
kFBCellStyleMenu | Menu. |
kFBCellStyleVoid | Void (no value). |
kFBCellStyleView | View (user definable, you need to specify the view using FBSpread::SetCellView()). |
kFBCellStyleTime | Time. |
Definition at line 1417 of file fbcontrols.h.
enum FBColorIndex |
Definition at line 186 of file fbcontrols.h.
enum FBDragAndDropState |
State of Drag and Drop.
Definition at line 498 of file fbcontrols.h.
enum FBEventTreeWhy |
Tree node different event type.
Definition at line 1765 of file fbcontrols.h.
This enum indicates what event happened in the FCurve Editor.
Enumerator | |
---|---|
kFBUnspecified | Unspecified event. |
kFBGhostKeep | Ghost Keep button pressed. |
kFBGhostSwap | Ghost Swap button pressed. |
kFBGhostClear | Ghost Clear button pressed. |
Definition at line 2225 of file fbcontrols.h.
enum FBFilePopupStyle |
Different types of file popup windows.
Enumerator | |
---|---|
kFBFilePopupOpen | Open file popup (Shows 'Open Directory'). |
kFBFilePopupSave | Save file popup (Shows 'Save Directory'). |
Definition at line 2033 of file fbcontrols.h.
enum FBIconPosition |
Different icon positions possible.
Enumerator | |
---|---|
kFBIconLeft | Icon on left of text. |
kFBIconTop | Icon on top of text. |
Definition at line 1681 of file fbcontrols.h.
enum FBInputKey |
Keyboard inputs.
Definition at line 149 of file fbcontrols.h.
enum FBInputModifier |
Input Modifiers (Ctrl, Alt, Shift).
Enumerator | |
---|---|
kFBKeyNone | No modifier. |
kFBKeyShift | Shift was pressed. |
kFBKeyCtrl | Control was pressed. |
kFBKeyAlt | Alt was pressed. |
Definition at line 141 of file fbcontrols.h.
enum FBInputType |
Types of input events.
Definition at line 123 of file fbcontrols.h.
enum FBListStyle |
List style or direction.
Enumerator | |
---|---|
kFBDropDownList | Drop down list. |
kFBVerticalList | Vertical list. |
Definition at line 1316 of file fbcontrols.h.
enum FBMenuItemType |
Types of menu items available.
Enumerator | |
---|---|
kFBMenuItemMotionImport | Motion Files->Import. |
kFBMenuItemSceneImport | Scenes->Import. |
kFBMenuItemMotionExport | Motion Files->Export. |
kFBMenuItemSceneExport | Scenes->Export. |
Definition at line 673 of file fbcontrols.h.
enum FBOrientation |
General directions for UI components.
Enumerator | |
---|---|
kFBHorizontal | Horizontal. |
kFBVertical | Vertical |
Definition at line 109 of file fbcontrols.h.
enum FBPopupInputType |
User input types for a popup.
Definition at line 2114 of file fbcontrols.h.
enum FBPropertyViewType |
Property view set type.
Enumerator | |
---|---|
kFBViewGlobal | Global property view. |
kFBViewByObjectType | Class type property view. |
kFBViewByObject | Object property view. |
Definition at line 2677 of file fbcontrols.h.
enum FBTextJustify |
Text justification styles.
Enumerator | |
---|---|
kFBTextJustifyLeft | Left justify. |
kFBTextJustifyRight | Right justify. |
kFBTextJustifyCenter | Center alignment. |
Definition at line 1033 of file fbcontrols.h.
enum FBTextStyle |
Text appearance styles.
Enumerator | |
---|---|
kFBTextStyleNone | Normal. |
kFBTextStyleBold | Bold. |
kFBTextStyleItalic | Italic. |
kFBTextStyleUnderlined | Underlined. |
Definition at line 1042 of file fbcontrols.h.
K_DLLEXPORT 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 |
||
) |
Dialog popup box.
Opens a message box containing a message and up to three buttons. Waits for the user to click a button.
pBoxTitle | Title of message box. |
pMessage | Message to place in box. |
pButton1Str | String for first button (Cannot be NULL). |
pButton2Str | String for second button (NULL will not create a button). |
pButton3Str | String for third button (NULL will not create a button). |
pDefaultButton | Indicates the default (pre-selected) button (default is 0). |
pScrolledMessage | Scroll message (default is 0). |
K_DLLEXPORT 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 |
||
) |
Dialog popup box to get user input.
Opens a message box, with up to three buttons, asking the user to enter data. The type of data to be entered is specified by the pValue and pValueType parameters.
pBoxTitle | Title of message box. |
pMessage | Message to place in box. |
pValue | Value entered by user (must correspond with pValueType). |
pValueType | Type of pointer specified in pValue. |
pButton1Str | String for first button (Cannot be NULL). |
pButton2Str | String for second button (NULL will not create a button). |
pButton3Str | String for third button (NULL will not create a button). |
pDefaultButton | Indicates the default (pre-selected) button(default=0). |
pLastButtonCancel | Indicates the last button is Cancel (if more than one button) so pValue won't be updated if the last button is clicked. |
K_DLLEXPORT 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.
Opens a message box containing a message, up to three buttons and a check box. Waits for the user to click a button.
pBoxTitle | Title of message box. |
pMessage | Message to place in box. |
pButton1Str | String for first button (Cannot be NULL). |
pButton2Str | String for second button (NULL will not create a button). |
pButton3Str | String for third button (NULL will not create a button). |
pCheckBoxStr | Check box string (Cannot be NULL). |
pCheckBoxValue | Check box value. |
pDefaultButton | Indicates the default (pre-selected) button (default is 0). |
pScrolledMessage | Scroll message (default is 0). |