#include <uicon.hpp>
Inheritance diagram for ubit::UIconbox:
Public Member Functions | |
| UIconbox (const UArgs &=UArgs::none) | |
| virtual int | readDir (const UStr &pathname, int path_type=0) |
| virtual UStr & | pathname () |
| virtual UStr & | title () |
| virtual UListbox & | icons () |
| virtual UChoice & | choice () |
| virtual const UChoice & | choice () const |
| virtual void | addIcon (class UIcon &) |
| virtual void | removeIcon (class UIcon &, bool auto_delete=true) |
| virtual void | removeAllIcons (bool auto_delete=true) |
| virtual class UIcon * | getSelectedIcon () |
| virtual class UIcon * | getPreviousIcon () |
| virtual class UIcon * | getNextIcon () |
| virtual class UIcon * | getIcon (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 UStyle * | createStyle () |
| < 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< UStr > | ppathname |
| uptr< UStr > | ptitle |
| uptr< UListbox > | picons |
| uptr< UIcon::Props > | icon_props |
| uptr< UIcon::Props > | small_icon_props |
| uptr< UIcon::Props > | large_icon_props |
| uptr< UHspacing > | icon_hspacing |
| uptr< UVspacing > | icon_vspacing |
| UFileMode | filemode |
| UTime | filetime |
| bool | show_parent_dir |
Static Protected Attributes | |
| static const UFlag | DontShowDirs |
| static const UFlag | DontShowDocs |
Friends | |
| class | UFinder |
| 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.
1.4.7