Qt - slopjong/w GitHub Wiki
Wikipedia says
Qt is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) and also used for developing non-GUI programs such as command-line tools and consoles for servers.
A Qt application can be called with the style argument to use a certain theme. ./myapp -style oxygen
. With the qtconfig
tool one can choose how Qt should behave and what default theme is used. Atlernatively one can set the style programmatically with QApplication::setStyle("Cleanlooks");
or with QApplication::setStyle(QStyleFactory::create("Cleanlooks"));
.
How the stylesheet of objects can be adapted is shown by the following example:
QSplitter *splitter = new QSplitter(Qt::Vertical); splitter->setStyleSheet("QSplitter::handle { background-color: #eeeeee; }");
Here the drag grip is restyled.