KDEUI
ksqueezedtextlabel.cpp
Go to the documentation of this file.
QString i18n(const char *text)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void mouseReleaseEvent(QMouseEvent *)
Definition: ksqueezedtextlabel.cpp:177
int width() const
void contextMenuEvent(QContextMenuEvent *)
Definition: ksqueezedtextlabel.cpp:150
virtual void setAlignment(Qt::Alignment)
Overridden for internal reasons; the API remains unaffected.
Definition: ksqueezedtextlabel.cpp:126
QString selectedText() const
virtual QSize minimumSizeHint() const
Definition: ksqueezedtextlabel.cpp:71
void setAlignment(QFlags< Qt::AlignmentFlag >)
static QRect desktopGeometry(const QPoint &point)
This function returns the desktop geometry for an application that needs to set the geometry of a wid...
Definition: kglobalsettings.cpp:732
void clear()
QString join(const QString &separator) const
int lineWidth() const
typedef Alignment
int selectionStart() const
QSize size() const
QClipboard * clipboard()
Qt::MouseButton button() const
virtual ~KSqueezedTextLabel()
Definition: ksqueezedtextlabel.cpp:61
void setWidth(int width)
bool hasSelectedText() const
QString elidedText(const QString &text, Qt::TextElideMode mode, int width, int flags) const
Qt::TextFormat textFormat() const
QString text() const
void setSizePolicy(QSizePolicy)
void accept()
int width(const QString &text, int len) const
void setTextElideMode(Qt::TextElideMode mode)
Sets the text elide mode.
Definition: ksqueezedtextlabel.cpp:139
Qt::TextInteractionFlags textInteractionFlags() const
QString & replace(int position, int n, QChar after)
virtual void contextMenuEvent(QContextMenuEvent *ev)
void resizeEvent(QResizeEvent *)
Called when widget is resized.
Definition: ksqueezedtextlabel.cpp:66
int width() const
QString mid(int position, int n) const
QFontMetrics fontMetrics() const
virtual void mouseReleaseEvent(QMouseEvent *ev)
virtual QSize sizeHint() const
int length() const
bool mightBeRichText(const QString &text)
virtual QSize minimumSizeHint() const
void setText(const QString &text, Mode mode)
void setToolTip(const QString &)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Qt::TextElideMode textElideMode() const
Returns the text elide mode.
int height() const
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.