TabWidget: Add missing size hints

This is mostly for completeness, it does not fix any known issues.
This commit is contained in:
Johannes Lorenz
2019-07-13 22:15:56 +02:00
parent 3585b14b98
commit a4b801fe1b
2 changed files with 9 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ protected:
virtual void resizeEvent( QResizeEvent * _re );
virtual void wheelEvent( QWheelEvent * _we );
virtual QSize minimumSizeHint() const;
virtual QSize sizeHint() const;
private:
struct widgetDesc

View File

@@ -333,6 +333,14 @@ QSize TabWidget::minimumSizeHint() const
QSize TabWidget::sizeHint() const
{
return minimumSizeHint();
}
// Return the color to be used to draw a TabWidget's title text (if any)
QColor TabWidget::tabTitleText() const
{