|
Public Types |
| FOLDER |
| EXECUTABLE |
| SYMLINK |
| CHARDEV |
| BLOCKDEV |
| FIFO |
| SOCK |
enum | {
FOLDER,
EXECUTABLE,
SYMLINK,
CHARDEV,
BLOCKDEV,
FIFO,
SOCK
} |
| SELECTED |
| FOCUS |
| DISABLED |
| OPENED |
| EXPANDED |
| HASITEMS |
| DRAGGABLE |
| OPENICONOWNED |
| CLOSEDICONOWNED |
enum | {
SELECTED,
FOCUS,
DISABLED,
OPENED,
EXPANDED,
HASITEMS,
DRAGGABLE,
OPENICONOWNED,
CLOSEDICONOWNED
} |
Public Member Functions |
| FXDirItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) |
FXbool | isFile () const |
FXbool | isDirectory () const |
FXbool | isExecutable () const |
FXbool | isSymlink () const |
FXbool | isChardev () const |
FXbool | isBlockdev () const |
FXbool | isFifo () const |
FXbool | isSocket () const |
FXFileAssoc * | getAssoc () const |
FXlong | getSize () const |
FXTime | getDate () const |
FXTreeItem * | getParent () const |
FXTreeItem * | getNext () const |
FXTreeItem * | getPrev () const |
FXTreeItem * | getFirst () const |
FXTreeItem * | getLast () const |
FXTreeItem * | getBelow () const |
FXTreeItem * | 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 FXTreeItem *item) const |
FXbool | isParentOf (const FXTreeItem *item) const |
virtual FXint | getWidth (const FXTreeList *list) const |
virtual FXint | getHeight (const FXTreeList *list) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
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 |
| FXDirItem () |
virtual void | draw (const FXTreeList *list, FXDC &dc, FXint x, FXint y, FXint w, FXint h) const |
virtual FXint | hitItem (const FXTreeList *list, FXint x, FXint y) const |
Protected Attributes |
FXFileAssoc * | assoc |
FXDirItem * | link |
FXDirItem * | list |
FXlong | size |
FXTime | date |
FXTreeItem * | parent |
FXTreeItem * | prev |
FXTreeItem * | next |
FXTreeItem * | first |
FXTreeItem * | last |
FXString | label |
FXIcon * | openIcon |
FXIcon * | closedIcon |
void * | data |
FXuint | state |
FXint | x |
FXint | y |
Friends |
class | FXDirList |