FX::FXDirItem Class Reference

#include <FXDirList.h>

Inheritance diagram for FX::FXDirItem:

FX::FXTreeItem FX::FXObject List of all members.

Detailed Description

Directory item.

Definition at line 51 of file FXDirList.h.

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
FXFileAssocgetAssoc () const
FXlong getSize () const
FXTime getDate () const
FXTreeItemgetParent () const
FXTreeItemgetNext () const
FXTreeItemgetPrev () const
FXTreeItemgetFirst () const
FXTreeItemgetLast () const
FXTreeItemgetBelow () const
FXTreeItemgetAbove () const
FXint getNumChildren () const
virtual void setText (const FXString &txt)
const FXStringgetText () const
virtual void setOpenIcon (FXIcon *icn, FXbool owned=FALSE)
FXIcongetOpenIcon () const
virtual void setClosedIcon (FXIcon *icn, FXbool owned=FALSE)
FXIcongetClosedIcon () 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 FXchargetClassName () 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

FXFileAssocassoc
FXDirItemlink
FXDirItemlist
FXlong size
FXTime date
FXTreeItemparent
FXTreeItemprev
FXTreeItemnext
FXTreeItemfirst
FXTreeItemlast
FXString label
FXIconopenIcon
FXIconclosedIcon
void * data
FXuint state
FXint x
FXint y

Friends

class FXDirList


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:33:24 2009 for TnFOX by doxygen v1.4.7