Utility function to set button width for QWizard

This commit is contained in:
Klaus Basan
2019-03-25 02:37:27 +01:00
committed by Mat Sutcliffe
parent 0732c32922
commit 072bb34a32
4 changed files with 22 additions and 6 deletions

View File

@@ -33,6 +33,7 @@ class QLineEdit;
class QTabWidget;
class QDialog;
class QLabel;
class QWizard;
class QGraphicsOpacityEffect;
class QAbstractItemModel;
@@ -244,6 +245,9 @@ namespace BlackGui
//! Set elided text
static void setElidedText(QLabel *label, const QString &shortText, const QString &longText, Qt::TextElideMode mode = Qt::ElideMiddle);
//! Set button widths for a wizard
static void setWizardButtonWidths(QWizard *wizard);
private:
//! No constructor, use static functions only
CGuiUtility() {}