#include <FXFoldingList.h>
Inheritance diagram for FX::FXFoldingItem:
Definition at line 55 of file FXFoldingList.h.
Public Types | |
SELECTED | |
FOCUS | |
DISABLED | |
OPENED | |
EXPANDED | |
HASITEMS | |
DRAGGABLE | |
OPENICONOWNED | |
CLOSEDICONOWNED | |
enum | { SELECTED, FOCUS, DISABLED, OPENED, EXPANDED, HASITEMS, DRAGGABLE, OPENICONOWNED, CLOSEDICONOWNED } |
Public Member Functions | |
FXFoldingItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) | |
FXFoldingItem * | getParent () const |
FXFoldingItem * | getNext () const |
FXFoldingItem * | getPrev () const |
FXFoldingItem * | getFirst () const |
FXFoldingItem * | getLast () const |
FXFoldingItem * | getBelow () const |
FXFoldingItem * | getAbove () const |
FXint | getNumChildren () const |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setOpenIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getOpenIcon () const |
virtual void | setClosedIcon (FXIcon *icn, FXbool owned=FALSE) |
FXIcon * | getClosedIcon () const |
void | setData (void *ptr) |
void * | getData () const |
virtual void | setFocus (FXbool focus) |
FXbool | hasFocus () const |
virtual void | setSelected (FXbool selected) |
FXbool | isSelected () const |
virtual void | setOpened (FXbool opened) |
FXbool | isOpened () const |
virtual void | setExpanded (FXbool expanded) |
FXbool | isExpanded () const |
virtual void | setEnabled (FXbool enabled) |
FXbool | isEnabled () const |
virtual void | setDraggable (FXbool draggable) |
FXbool | isDraggable () const |
FXbool | hasItems () const |
void | setHasItems (FXbool flag) |
FXbool | isChildOf (const FXFoldingItem *item) const |
FXbool | isParentOf (const FXFoldingItem *item) const |
virtual FXint | getWidth (const FXFoldingList *list) const |
virtual FXint | getHeight (const FXFoldingList *list) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXFoldingItem () |
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 | |
FXFoldingItem () | |
virtual void | draw (const FXFoldingList *list, FXDC &dc, FXint x, FXint y, FXint w, FXint h) const |
virtual FXint | hitItem (const FXFoldingList *list, FXint x, FXint y) const |
Protected Attributes | |
FXFoldingItem * | parent |
FXFoldingItem * | prev |
FXFoldingItem * | next |
FXFoldingItem * | first |
FXFoldingItem * | last |
FXString | label |
FXIcon * | openIcon |
FXIcon * | closedIcon |
void * | data |
FXuint | state |
FXint | x |
FXint | y |
Friends | |
class | FXFoldingList |
class | FXDirList |