#include "qtabwidget.h"
#include "private/qwidget_p.h"
#include "private/qtabbar_p.h"
#include "qapplication.h"
#include "qbitmap.h"
#include "qdesktopwidget.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"
Go to the source code of this file.
◆ basicSize()
- Warning
- This function is not part of the public interface.
Definition at line 836 of file qtabwidget.cpp.
Referenced by QTabWidget::heightForWidth(), QTabWidget::minimumSizeHint(), and QTabWidget::sizeHint().
842 : QSize(s.width() + (
qMax(rc.width(),
qMax(lc.width(), t.width()))),
843 qMax(s.height(), t.height() + rc.height() + lc.height()));
Q_DECL_CONSTEXPR const T & qMax(const T &a, const T &b)
int width() const
Returns the width.
int height() const
Returns the height.
The QSize class defines the size of a two-dimensional object using integer point precision.