QtCreatorStyling: Difference between revisions
AutoSpider (talk | contribs) (Add "cleanup" tag) |
AutoSpider (talk | contribs) (Convert ExpressionEngine links) |
||
Line 10: | Line 10: | ||
= Qt Creator styling = | = Qt Creator styling = | ||
Just like other Qt applications, Qt Creator | Just like other Qt applications, Qt Creator [http://doc.qt.io/qt-5.0/qtwidgets/qapplication.html#QApplication accepts custom styles and stylesheets]. The styling will only be applied as long as you pass the arguments; it will not persist across sessions or be carried over to new versions of Creator. | ||
Exercise caution when applying styles, as overriding the existing styling may make some items difficult to see. Also be aware of the Text Editor's color scheme (Tools > Options > Text Editor > Fonts & Colors > Color Scheme) - setting a stylesheet may affect this. Designer may also be affected by stylesheets. | Exercise caution when applying styles, as overriding the existing styling may make some items difficult to see. Also be aware of the Text Editor's color scheme (Tools > Options > Text Editor > Fonts & Colors > Color Scheme) - setting a stylesheet may affect this. Designer may also be affected by stylesheets. | ||
Line 18: | Line 18: | ||
== Styling Creator with stylesheets == | == Styling Creator with stylesheets == | ||
For help with stylesheets, visit the | For help with stylesheets, visit the [http://doc.qt.io/qt-5.0/qtwidgets/stylesheet.html stylesheet documentation]. | ||
If you need to get more specific (e.g. | If you need to get more specific (e.g. [http://doc.qt.io/qt-5.0/qtwidgets/stylesheet-syntax.html#selector-types specifying object names through ID selectors] to style specific widgets), you may need to search through the various .ui files and source code [http://qt.gitorious.org/qt-creator/qt-creator/trees/master/src/plugins here]. Alternatively, you can clone the Qt Creator Git repository with: | ||
</code>git clone git://gitorious.org/qt-creator/qt-creator.git qt-creator</code> | </code>git clone git://gitorious.org/qt-creator/qt-creator.git qt-creator</code> | ||
Revision as of 15:25, 4 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
[toc align_right="yes" depth="3"]
THE INFORMATION BELOW IS NOT UP TO DATE
Since version 3.3, Qt Creator supports custom styles without the need to go through the hassle of stylesheets.
Qt Creator styling
Just like other Qt applications, Qt Creator accepts custom styles and stylesheets. The styling will only be applied as long as you pass the arguments; it will not persist across sessions or be carried over to new versions of Creator.
Exercise caution when applying styles, as overriding the existing styling may make some items difficult to see. Also be aware of the Text Editor's color scheme (Tools > Options > Text Editor > Fonts & Colors > Color Scheme) - setting a stylesheet may affect this. Designer may also be affected by stylesheets.
This page aims to collect custom styles and stylesheets that can be applied to Qt Creator via the
-style<code> and <code>-stylesheet<code> parameters. Feel free to add links to your own!
== Styling Creator with stylesheets ==
For help with stylesheets, visit the [http://doc.qt.io/qt-5.0/qtwidgets/stylesheet.html stylesheet documentation].
If you need to get more specific (e.g. [http://doc.qt.io/qt-5.0/qtwidgets/stylesheet-syntax.html#selector-types specifying object names through ID selectors] to style specific widgets), you may need to search through the various .ui files and source code [http://qt.gitorious.org/qt-creator/qt-creator/trees/master/src/plugins here]. Alternatively, you can clone the Qt Creator Git repository with:
git clone git://gitorious.org/qt-creator/qt-creator.git qt-creator
Custom stylesheets
https://github.com/victorhaggqvist/qtcreator-style/raw/master/Screenshot_63.png