KDEUI
kstatusbar.cpp
Go to the documentation of this file.
void setItemFixed(int id, int width=-1)
Sets item id to have fixed width.
Definition: kstatusbar.cpp:190
Type type() const
const Key key(const T &value) const
void changeItem(const QString &text, int id)
Changes the text in a status bar field.
Definition: kstatusbar.cpp:163
void setFixedWidth(int w)
virtual void setAlignment(Qt::Alignment)
Overridden for internal reasons; the API remains unaffected.
Definition: ksqueezedtextlabel.cpp:126
QString label(StandardShortcut id)
Returns a localized label for user-visible display.
Definition: kstandardshortcut.cpp:267
minimumWidth
void setAlignment(QFlags< Qt::AlignmentFlag >)
void reformat()
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
typedef Alignment
bool eventFilter(QObject *object, QEvent *event)
Definition: kstatusbar.cpp:53
void insertItem(const QString &text, int id, int stretch=0)
Inserts a temporary text label into the status bar.
Definition: kstatusbar.cpp:94
KSharedConfigPtr config()
int width() const
QRect boundingRect(QChar ch) const
const_iterator constEnd() const
void installEventFilter(QObject *filterObj)
void removeWidget(QWidget *widget)
virtual bool eventFilter(QObject *watched, QEvent *event)
void insertPermanentFixedItem(const QString &text, int id)
Inserts a fixed width permanent text label into status bar.
Definition: kstatusbar.cpp:131
void setText(const QString &)
A replacement for QLabel that squeezes its text.
Definition: ksqueezedtextlabel.h:47
void setSizeGripEnabled(bool)
void insertPermanentItem(const QString &text, int id, int stretch=0)
Inserts a permanent text label into the status bar.
Definition: kstatusbar.cpp:116
void addPermanentWidget(QWidget *widget, int stretch)
maximumWidth
QFontMetrics fontMetrics() const
void setFixedHeight(int h)
void setItemAlignment(int id, Qt::Alignment alignment)
Sets the alignment of item id.
Definition: kstatusbar.cpp:180
void show()
T readEntry(const QString &key, const T &aDefault) const
void insertFixedItem(const QString &text, int id)
Inserts a fixed width temporary text label into status bar.
Definition: kstatusbar.cpp:109
int height() const
bool hasItem(int id) const
Returns true if an item with id exists already in KStatusBar, otherwise returns false.
Definition: kstatusbar.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.