Qt 4.8
Public Functions | Public Variables | List of all members
QToolBoxPrivate::Page Struct Reference

Public Functions

QIcon icon () const
 
bool operator== (const Page &other) const
 
void setIcon (const QIcon &is)
 
void setText (const QString &text)
 
void setToolTip (const QString &tip)
 
QString text () const
 
QString toolTip () const
 

Public Variables

QToolBoxButtonbutton
 
QScrollAreasv
 
QWidgetwidget
 

Detailed Description

Definition at line 93 of file qtoolbox.cpp.

Functions

◆ icon()

QIcon QToolBoxPrivate::Page::icon ( ) const
inline

Definition at line 106 of file qtoolbox.cpp.

Referenced by QToolBox::itemIcon().

106 { return button->icon(); }
QIcon icon() const
QToolBoxButton * button
Definition: qtoolbox.cpp:95

◆ operator==()

bool QToolBoxPrivate::Page::operator== ( const Page other) const
inline

Definition at line 108 of file qtoolbox.cpp.

109  {
110  return widget == other.widget;
111  }

◆ setIcon()

void QToolBoxPrivate::Page::setIcon ( const QIcon is)
inline

Definition at line 100 of file qtoolbox.cpp.

Referenced by QToolBox::insertItem(), and QToolBox::setItemIcon().

100 { button->setIcon(is); }
void setIcon(const QIcon &icon)
QToolBoxButton * button
Definition: qtoolbox.cpp:95

◆ setText()

void QToolBoxPrivate::Page::setText ( const QString text)
inline

Definition at line 99 of file qtoolbox.cpp.

Referenced by QToolBox::insertItem(), and QToolBox::setItemText().

99 { button->setText(text); }
void setText(const QString &text)
QToolBoxButton * button
Definition: qtoolbox.cpp:95

◆ setToolTip()

void QToolBoxPrivate::Page::setToolTip ( const QString tip)
inline

Definition at line 102 of file qtoolbox.cpp.

Referenced by QToolBox::setItemToolTip().

102 { button->setToolTip(tip); }
void setToolTip(const QString &)
Definition: qwidget.cpp:11600
QToolBoxButton * button
Definition: qtoolbox.cpp:95

◆ text()

QString QToolBoxPrivate::Page::text ( ) const
inline

Definition at line 105 of file qtoolbox.cpp.

Referenced by QToolBox::itemText().

105 { return button->text(); }
QString text() const
QToolBoxButton * button
Definition: qtoolbox.cpp:95

◆ toolTip()

QString QToolBoxPrivate::Page::toolTip ( ) const
inline

Definition at line 103 of file qtoolbox.cpp.

Referenced by QToolBox::itemToolTip().

103 { return button->toolTip(); }
QString toolTip() const
QToolBoxButton * button
Definition: qtoolbox.cpp:95

Properties

◆ button

QToolBoxButton* QToolBoxPrivate::Page::button

◆ sv

QScrollArea* QToolBoxPrivate::Page::sv

Definition at line 96 of file qtoolbox.cpp.

Referenced by QToolBoxPrivate::_q_widgetDestroyed(), and QToolBox::insertItem().

◆ widget

QWidget* QToolBoxPrivate::Page::widget

Definition at line 97 of file qtoolbox.cpp.

Referenced by QToolBox::insertItem(), operator==(), and QToolBoxPrivate::updateTabs().


The documentation for this struct was generated from the following file: