OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::TreeWidgetItemInfo Class Reference

#include "TreeWidgetItemInfo.h"

Public Member Functions

 TreeWidgetItemInfo ()
 
 TreeWidgetItemInfo (const QString &_text, const QIcon &_icon=QIcon(), const NavigationTreeItemFlags &_flags=NavigationTreeItemFlags())
 
 TreeWidgetItemInfo (const NavigationTreeItem &_config)
 
 TreeWidgetItemInfo (const TreeWidgetItemInfo &_other)
 
virtual ~TreeWidgetItemInfo ()
 
TreeWidgetItemInfooperator= (const TreeWidgetItemInfo &_other)
 
void setText (const QString &_text)
 
const QString & text (void) const
 
void setIcon (const QIcon &_icon)
 
const QIcon & icon (void) const
 
void setFlag (NavigationTreeItemFlag _flag, bool _active=true)
 
void setFlags (const NavigationTreeItemFlags _flags)
 
NavigationTreeItemFlags flags (void) const
 
ot::TreeWidgetItemInfoaddChildItem (const QString &_text, const QIcon &_icon=QIcon(), const NavigationTreeItemFlags &_flags=NavigationTreeItemFlags())
 
void addChildItem (const TreeWidgetItemInfo &_info)
 
void setChildItems (const std::list< TreeWidgetItemInfo > &_childs)
 
const std::list< TreeWidgetItemInfo > & childItems (void) const
 
void clearChildItems (void)
 

Constructor & Destructor Documentation

◆ TreeWidgetItemInfo() [1/4]

ot::TreeWidgetItemInfo::TreeWidgetItemInfo ( )

◆ TreeWidgetItemInfo() [2/4]

ot::TreeWidgetItemInfo::TreeWidgetItemInfo ( const QString & _text,
const QIcon & _icon = QIcon(),
const NavigationTreeItemFlags & _flags = NavigationTreeItemFlags() )

◆ TreeWidgetItemInfo() [3/4]

ot::TreeWidgetItemInfo::TreeWidgetItemInfo ( const NavigationTreeItem & _config)

◆ TreeWidgetItemInfo() [4/4]

ot::TreeWidgetItemInfo::TreeWidgetItemInfo ( const TreeWidgetItemInfo & _other)

◆ ~TreeWidgetItemInfo()

ot::TreeWidgetItemInfo::~TreeWidgetItemInfo ( )
virtual

Member Function Documentation

◆ addChildItem() [1/2]

ot::TreeWidgetItemInfo & ot::TreeWidgetItemInfo::addChildItem ( const QString & _text,
const QIcon & _icon = QIcon(),
const NavigationTreeItemFlags & _flags = NavigationTreeItemFlags() )

◆ addChildItem() [2/2]

void ot::TreeWidgetItemInfo::addChildItem ( const TreeWidgetItemInfo & _info)

◆ childItems()

const std::list< TreeWidgetItemInfo > & ot::TreeWidgetItemInfo::childItems ( void ) const
inline

◆ clearChildItems()

void ot::TreeWidgetItemInfo::clearChildItems ( void )

◆ flags()

NavigationTreeItemFlags ot::TreeWidgetItemInfo::flags ( void ) const
inline

◆ icon()

const QIcon & ot::TreeWidgetItemInfo::icon ( void ) const
inline

◆ operator=()

ot::TreeWidgetItemInfo & ot::TreeWidgetItemInfo::operator= ( const TreeWidgetItemInfo & _other)

◆ setChildItems()

void ot::TreeWidgetItemInfo::setChildItems ( const std::list< TreeWidgetItemInfo > & _childs)
inline

◆ setFlag()

void ot::TreeWidgetItemInfo::setFlag ( NavigationTreeItemFlag _flag,
bool _active = true )
inline

◆ setFlags()

void ot::TreeWidgetItemInfo::setFlags ( const NavigationTreeItemFlags _flags)
inline

◆ setIcon()

void ot::TreeWidgetItemInfo::setIcon ( const QIcon & _icon)
inline

◆ setText()

void ot::TreeWidgetItemInfo::setText ( const QString & _text)
inline

◆ text()

const QString & ot::TreeWidgetItemInfo::text ( void ) const
inline

The documentation for this class was generated from the following files: