ubit::UIconbox Class Reference

Icon box. More...

#include <uicon.hpp>

Inheritance diagram for ubit::UIconbox:

ubit::UDocbox ubit::UVbox ubit::UBox ubit::UGroup ubit::UControl ubit::UBrick ubit::UObject List of all members.

Public Member Functions

 UIconbox (const UArgs &=UArgs::none)
virtual int readDir (const UStr &pathname, int path_type=0)
virtual UStrpathname ()
virtual UStrtitle ()
virtual UListboxicons ()
virtual UChoicechoice ()
virtual const UChoicechoice () const
virtual void addIcon (class UIcon &)
virtual void removeIcon (class UIcon &, bool auto_delete=true)
virtual void removeAllIcons (bool auto_delete=true)
virtual class UIcongetSelectedIcon ()
virtual class UIcongetPreviousIcon ()
virtual class UIcongetNextIcon ()
virtual class UIcongetIcon (int) const
virtual void selectIcon (UIcon &)
virtual void selectIcon (const UStr &name)
virtual void selectPreviousIcon ()
virtual void selectNextIcon ()
virtual void showDirs (bool)
virtual void showParentDir (bool)
virtual void showFiles (bool)
virtual void showSmallIcons (bool)
virtual void setIconSpacing (UHspacing &, UVspacing &)
virtual void setLargeIconProps (UIcon::Props *)
virtual void setSmallIconProps (UIcon::Props *)
 change settings.

Static Public Member Functions

static UStylecreateStyle ()
 < important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

Protected Member Functions

virtual void okBehavior (UEvent &)
virtual void constructs (UIcon::Props *, const UArgs &args)

Protected Attributes

UFlagdef show_dirs
UFlagdef show_docs
uptr< UStrppathname
uptr< UStrptitle
uptr< UListboxpicons
uptr< UIcon::Props > icon_props
uptr< UIcon::Props > small_icon_props
uptr< UIcon::Props > large_icon_props
uptr< UHspacingicon_hspacing
uptr< UVspacingicon_vspacing
UFileMode filemode
UTime filetime
bool show_parent_dir

Static Protected Attributes

static const UFlag DontShowDirs
static const UFlag DontShowDocs

Friends

class UFinder

Detailed Description

Icon box.


Member Function Documentation

UStyle * ubit::UIconbox::createStyle (  )  [static]

< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

this macro defines the UClass that corresponds to this class and:

Reimplemented from ubit::UVbox.

void ubit::UIconbox::setSmallIconProps ( UIcon::Props *   )  [virtual]

change settings.

note that UIcon::Props is shared and should not be destroyed all icons will be upadted if the fields of this argument are changed default props are used if this arg is null.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:51 2007 for Ubit by  doxygen 1.4.7