Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtabbar.cpp File Reference

(5358d7a5fe394a37435a947484f1efb7ce297fa2)

#include "private/qlayoutengine_p.h"
#include "qapplication.h"
#include "qevent.h"
#include "qpainter.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qstylepainter.h"
#include "private/qtextengine_p.h"
#include "qdebug.h"
#include "private/qapplication_p.h"
#include "private/qtabbar_p.h"
#include "moc_qtabbar.cpp"
#include "qtabbar.moc"
+ Include dependency graph for qtabbar.cpp:

Go to the source code of this file.

Functions

static QString computeElidedText (Qt::TextElideMode mode, const QString &text)
 

Function Documentation

◆ computeElidedText()

static QString computeElidedText ( Qt::TextElideMode mode,
const QString & text )
static

Definition at line 1522 of file qtabbar.cpp.

References Qt::ElideLeft, Qt::ElideMiddle, Qt::ElideNone, Qt::ElideRight, QString::left(), ret, QString::right(), QString::size(), and text.

Referenced by QTabBar::minimumTabSizeHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: