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:
@@ -72,7 +72,7 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
||||
m_filterButton->setIcon(Utils::Icons::FILTER.icon());
|
||||
m_filterButton->setToolTip(Tr::tr("Filter tree"));
|
||||
m_filterButton->setPopupMode(QToolButton::InstantPopup);
|
||||
m_filterButton->setProperty("noArrow", true);
|
||||
m_filterButton->setProperty(Utils::StyleHelper::C_NO_ARROW, true);
|
||||
m_filterMenu = new QMenu(m_filterButton);
|
||||
m_filterButton->setMenu(m_filterMenu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user