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
qtabwidget.cpp File Reference

(323cf718f634e5530ac43fef6f85777daa201570)

#include "qtabwidget.h"
#include "private/qapplication_p.h"
#include "private/qwidget_p.h"
#include "private/qtabbar_p.h"
#include "qapplication.h"
#include "qbitmap.h"
#include "qevent.h"
#include "qlayout.h"
#include "qstackedwidget.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qstylepainter.h"
#include "qtabbar.h"
#include "qtoolbutton.h"
#include "moc_qtabwidget.cpp"
+ Include dependency graph for qtabwidget.cpp:

Go to the source code of this file.

Classes

class  QTabWidgetPrivate
 

Functions

static QSize basicSize (bool horizontal, const QSize &lc, const QSize &rc, const QSize &s, const QSize &t)
 
QTabBar::Shape _q_tb_tabBarShapeFrom (QTabWidget::TabShape shape, QTabWidget::TabPosition position)
 

Function Documentation

◆ _q_tb_tabBarShapeFrom()

QTabBar::Shape _q_tb_tabBarShapeFrom ( QTabWidget::TabShape shape,
QTabWidget::TabPosition position )

Definition at line 1410 of file qtabwidget.cpp.

References QTabWidget::East, QTabWidget::North, position(), QTabWidget::Rounded, QTabBar::RoundedEast, QTabBar::RoundedNorth, QTabBar::RoundedSouth, QTabBar::RoundedWest, QTabWidget::South, QTabBar::TriangularEast, QTabBar::TriangularNorth, QTabBar::TriangularSouth, QTabBar::TriangularWest, and QTabWidget::West.

Referenced by QMdiAreaPrivate::setViewMode().

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

◆ basicSize()

static QSize basicSize ( bool horizontal,
const QSize & lc,
const QSize & rc,
const QSize & s,
const QSize & t )
inlinestatic

Definition at line 824 of file qtabwidget.cpp.

References QSize::height(), qMax(), and QSize::width().

Referenced by QTabWidget::heightForWidth(), QTabWidget::minimumSizeHint(), and QTabWidget::sizeHint().

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