kopete/kopete
#include <TokenWithLayout.h>

Public Slots | |
void | setAlignCenter (bool) |
void | setAlignLeft (bool) |
void | setAlignRight (bool) |
void | setBold (bool bold) |
void | setItalic (bool italic) |
void | setPrefix (const QString &) |
void | setSuffix (const QString &) |
void | setWidth (int width) |
void | setWidthForced (bool) |
Public Member Functions | |
TokenWithLayout (const QString &text, const QString &iconName, int value, QWidget *parent=0) | |
~TokenWithLayout () | |
Qt::Alignment | alignment () |
bool | bold () const |
bool | italic () const |
QString | prefix () const |
void | setAlignment (Qt::Alignment alignment) |
qreal | size () const |
QString | suffix () const |
qreal | width () const |
bool | widthForced () const |
![]() | |
Token (const QString &text, const QString &iconName, int value, QWidget *parent=0) | |
KIcon | icon () const |
QString | iconName () const |
QString | name () const |
int | value () const |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
virtual void | fillMenu (QMenu *menu) |
virtual void | menuExecuted (const QAction *action) |
![]() | |
virtual void | paintEvent (QPaintEvent *pe) |
Additional Inherited Members | |
![]() | |
void | changed () |
![]() | |
KIcon | m_icon |
QLabel * | m_iconContainer |
QString | m_iconName |
QLabel * | m_label |
QString | m_name |
int | m_value |
Detailed Description
An extended Token with controls for layouting the token and getting layout values for use outside the Token.
Definition at line 38 of file TokenWithLayout.h.
Constructor & Destructor Documentation
TokenWithLayout::TokenWithLayout | ( | const QString & | text, |
const QString & | iconName, | ||
int | value, | ||
QWidget * | parent = 0 |
||
) |
Definition at line 47 of file TokenWithLayout.cpp.
TokenWithLayout::~TokenWithLayout | ( | ) |
Definition at line 59 of file TokenWithLayout.cpp.
Member Function Documentation
Qt::Alignment TokenWithLayout::alignment | ( | ) |
Definition at line 181 of file TokenWithLayout.cpp.
bool TokenWithLayout::bold | ( | ) | const |
Definition at line 214 of file TokenWithLayout.cpp.
|
protectedvirtual |
Definition at line 166 of file TokenWithLayout.cpp.
|
protectedvirtual |
Reimplemented in ContactListToken.
Definition at line 63 of file TokenWithLayout.cpp.
bool TokenWithLayout::italic | ( | ) | const |
Definition at line 268 of file TokenWithLayout.cpp.
|
protectedvirtual |
Reimplemented in ContactListToken.
Definition at line 152 of file TokenWithLayout.cpp.
|
inline |
Definition at line 53 of file TokenWithLayout.h.
|
slot |
Definition at line 202 of file TokenWithLayout.cpp.
|
slot |
Definition at line 196 of file TokenWithLayout.cpp.
void TokenWithLayout::setAlignment | ( | Qt::Alignment | alignment | ) |
Definition at line 186 of file TokenWithLayout.cpp.
|
slot |
Definition at line 208 of file TokenWithLayout.cpp.
|
slot |
Definition at line 219 of file TokenWithLayout.cpp.
|
slot |
Definition at line 273 of file TokenWithLayout.cpp.
|
slot |
Definition at line 231 of file TokenWithLayout.cpp.
|
slot |
Definition at line 240 of file TokenWithLayout.cpp.
|
slot |
Definition at line 249 of file TokenWithLayout.cpp.
|
slot |
Definition at line 258 of file TokenWithLayout.cpp.
|
inline |
Definition at line 50 of file TokenWithLayout.h.
|
inline |
Definition at line 54 of file TokenWithLayout.h.
qreal TokenWithLayout::width | ( | ) | const |
Definition at line 263 of file TokenWithLayout.cpp.
|
inline |
Definition at line 52 of file TokenWithLayout.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.