#include <FXId.h>
Public Member Functions | |
FXApp * | getApp () const |
FXEventLoop * | getEventLoop () const |
FXID | id () const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
void | setUserData (void *ptr) |
void * | getUserData () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXId () |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
QTransString | tr (const char *text, const char *hint=0) |
virtual void * | getPythonObject () const |
virtual void | decouplePythonObject () const |
Protected Member Functions | |
FXId (FXApp *a) | |
Protected Attributes | |
FXID | xid |
virtual FX::FXId::~FXId | ( | ) | [inline, virtual] |
Destructor.
FXApp* FX::FXId::getApp | ( | ) | const [inline] |
Get application.
FXEventLoop* FX::FXId::getEventLoop | ( | ) | const [inline] |
Get event loop which owns this.
FXID FX::FXId::id | ( | ) | const [inline] |
Get XID handle.
virtual void FX::FXId::create | ( | ) | [inline, virtual] |
Create resource.
Reimplemented in FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXColorBar, FX::FXColorRing, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXComposeContext, FX::FXComposite, FX::FXCursor, FX::FXDirBox, FX::FXDirList, FX::FXDockTitle, FX::FXDragCorner, FX::FXDriveBox, FX::FXExceptionDialog, FX::FXFileList, FX::FXFoldingList, FX::FXFont, FX::FXFontSelector, FX::FXGLCanvas, FX::FXGLContext, FX::FXGLViewer, FX::FXGLVisual, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeader, FX::FXIcon, FX::FXIconList, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMainWindow, FX::FXMDIChild, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRootWindow, FX::FXRuler, FX::FXShell, FX::FXSplashWindow, FX::FXStatusLine, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBarShell, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, FX::FXWindow, and FX::TnFXVTKCanvas.
virtual void FX::FXId::detach | ( | ) | [inline, virtual] |
Detach resource.
Reimplemented in FX::FXBitmap, FX::FXBitmapView, FX::FXColorBar, FX::FXColorRing, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXComposite, FX::FXCursor, FX::FXDirBox, FX::FXDirList, FX::FXDockTitle, FX::FXDriveBox, FX::FXFileList, FX::FXFoldingList, FX::FXFont, FX::FXGLCanvas, FX::FXGLContext, FX::FXGLViewer, FX::FXGLVisual, FX::FXGroupBox, FX::FXHeader, FX::FXIcon, FX::FXIconList, FX::FXImage, FX::FXImageView, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXProgressBar, FX::FXRootWindow, FX::FXRuler, FX::FXSplashWindow, FX::FXStatusLine, FX::FXTable, FX::FXText, FX::FXToggleButton, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, and FX::FXWindow.
virtual void FX::FXId::destroy | ( | ) | [inline, virtual] |
Destroy resource.
Reimplemented in FX::FXBitmap, FX::FXComboBox, FX::FXComposeContext, FX::FXComposite, FX::FXCursor, FX::FXDirBox, FX::FXDirList, FX::FXDriveBox, FX::FXFileList, FX::FXFont, FX::FXGLCanvas, FX::FXGLContext, FX::FXGLVisual, FX::FXIcon, FX::FXImage, FX::FXListBox, FX::FXMenuCascade, FX::FXOptionMenu, FX::FXRootWindow, FX::FXTopWindow, FX::FXTreeListBox, FX::FXVisual, and FX::FXWindow.
void FX::FXId::setUserData | ( | void * | ptr | ) | [inline] |
Set user data pointer.
void* FX::FXId::getUserData | ( | ) | const [inline] |
Get user data pointer.
virtual void FX::FXId::save | ( | FXStream & | store | ) | const [virtual] |
Save object to stream.
Reimplemented from FX::FXObject.
Reimplemented in FX::FX4Splitter, FX::FX7Segment, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXChoiceBox, FX::FXColorBar, FX::FXColorDialog, FX::FXColorRing, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXCursor, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDockBar, FX::FXDockHandler, FX::FXDockTitle, FX::FXDragCorner, FX::FXDrawable, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingList, FX::FXFont, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLContext, FX::FXGLViewer, FX::FXGLVisual, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeader, FX::FXIconList, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXKnob, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrimaryButton, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXReplaceDialog, FX::FXRuler, FX::FXRulerView, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplashWindow, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, FX::FXWindow, and FX::FXWizard.
virtual void FX::FXId::load | ( | FXStream & | store | ) | [virtual] |
Load object from stream.
Reimplemented from FX::FXObject.
Reimplemented in FX::FX4Splitter, FX::FX7Segment, FX::FXArrowButton, FX::FXBitmap, FX::FXBitmapFrame, FX::FXBitmapView, FX::FXCheckButton, FX::FXChoiceBox, FX::FXColorBar, FX::FXColorDialog, FX::FXColorRing, FX::FXColorSelector, FX::FXColorWell, FX::FXColorWheel, FX::FXComboBox, FX::FXCursor, FX::FXDial, FX::FXDirBox, FX::FXDirDialog, FX::FXDirList, FX::FXDirSelector, FX::FXDockBar, FX::FXDockHandler, FX::FXDockTitle, FX::FXDragCorner, FX::FXDrawable, FX::FXDriveBox, FX::FXFileDialog, FX::FXFileList, FX::FXFileSelector, FX::FXFoldingList, FX::FXFont, FX::FXFontDialog, FX::FXFontSelector, FX::FXFrame, FX::FXGLCanvas, FX::FXGLContext, FX::FXGLViewer, FX::FXGLVisual, FX::FXGradientBar, FX::FXGroupBox, FX::FXHeader, FX::FXIconList, FX::FXImage, FX::FXImageFrame, FX::FXImageView, FX::FXKnob, FX::FXLabel, FX::FXList, FX::FXListBox, FX::FXMDIChild, FX::FXMDIClient, FX::FXMenuButton, FX::FXMenuCaption, FX::FXMenuCascade, FX::FXMenuCheck, FX::FXMenuCommand, FX::FXMenuRadio, FX::FXMenuSeparator, FX::FXMenuTitle, FX::FXOptionMenu, FX::FXPacker, FX::FXPrimaryButton, FX::FXPrintDialog, FX::FXProgressBar, FX::FXRadioButton, FX::FXRealSlider, FX::FXRealSpinner, FX::FXReplaceDialog, FX::FXRuler, FX::FXRulerView, FX::FXScrollBar, FX::FXSlider, FX::FXSpinner, FX::FXSplashWindow, FX::FXSplitter, FX::FXSpring, FX::FXStatusBar, FX::FXStatusLine, FX::FXSwitcher, FX::FXTabBar, FX::FXTable, FX::FXText, FX::FXTextField, FX::FXToggleButton, FX::FXToolBarGrip, FX::FXToolBarShell, FX::FXToolBarTab, FX::FXToolTip, FX::FXTopWindow, FX::FXTreeList, FX::FXTreeListBox, FX::FXTriStateButton, FX::FXVisual, FX::FXWindow, and FX::FXWizard.
virtual long FX::FXObject::onDefault | ( | FXObject * | , | |
FXSelector | , | |||
void * | ||||
) | [virtual, inherited] |
Called for unhandled messages.
Reimplemented in FX::FXDelegator, FX::FXGLViewer, FX::FXMDIChild, and FX::FXMDIClient.
const FXchar* FX::FXObject::getClassName | ( | ) | const [inherited] |
Get class name of some object.
bool FX::FXObject::isMemberOf | ( | const FXMetaClass * | metaclass | ) | const [inherited] |
Check if object is member of metaclass.
virtual long FX::FXObject::tryHandle | ( | FXObject * | sender, | |
FXSelector | sel, | |||
void * | ptr | |||
) | [virtual, inherited] |
Try handle message safely.
QTransString FX::FXObject::tr | ( | const char * | text, | |
const char * | hint = 0 | |||
) | [inherited] |
Returns a human translated version of the text to the locale language (warning: uses a virtual method call, so can't use before construction)
virtual void* FX::FXObject::getPythonObject | ( | ) | const [inline, virtual, inherited] |
Returns the python object representing this instance (if created in python).
virtual void FX::FXObject::decouplePythonObject | ( | ) | const [inline, virtual, inherited] |
Causes decoupling of python object from this object (deletes self).