forked from qt-creator/qt-creator
Utils: Centralize style-related property names as constants
This introduces string constants in Utils::StyleHelper. They are used by code all over in Qt Creator to tell ManhattanStyle how to paint certain widgets. Change-Id: Iecca36103f80084cd5fe93fcb6b18b8fbb3a32bb Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -201,7 +201,7 @@ DebuggerMainWindowPrivate::DebuggerMainWindowPrivate(DebuggerMainWindow *parent)
|
||||
closeButton->setToolTip(Tr::tr("Leave Debug Mode"));
|
||||
|
||||
auto toolbar = new Utils::StyledBar;
|
||||
toolbar->setProperty("topBorder", true);
|
||||
toolbar->setProperty(StyleHelper::C_TOP_BORDER, true);
|
||||
|
||||
// "Engine switcher" style comboboxes
|
||||
auto subPerspectiveSwitcher = new QWidget;
|
||||
|
||||
Reference in New Issue
Block a user