13.07.2019, 10:14
Here an additional example of a style file:
Cu Selur
/* Global Window */
QMainWindow
{
background-color: black;
border: 1px solid black;
}
/* DROP DOWN */
QComboBox {
border: 1px solid gray;
}
/* GENERAL WIDGETS */
QWidget
{
color: #99004d;
background-color: black;
}
/* TOOL TIP */
QToolTip
{
border: 1px solid black;
background-color: #ffa02f;
}
/* PUSH BUTTON */
QPushButton
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2198c0, stop: 1 #0d5ca6);
border-style: outset;
padding: 2px;
}
/* MENU BAR */
QMenuBar
{
border: 1px solid black;
background-color: #33334d;
color: green;
}
QMenuBar::item
{
background: transparent;
}
QMenuBar::item:selected
{
background: transparent;
border: 1px solid #ffaa00;
}
/* TAB BAR */
QTabBar
{
background-color: #33334d;
color: green;
padding: 2px;
}
QTabBar::tab
{
background: transparent;
min-width: 8ex;
}
QTabBar::tab:selected {
background: #5c5c8a;
}
/* PROGRESS BAR */
QProgressBar
{
background-color: transparent;
color: gray;
border: 1px solid black;
}
QProgressBar::chunk {
background-color: aqua;
}
/* LINE EDIT */
QLineEdit
{
color: white;
}
QLineEdit[readOnly="true"]
{
color: gray;
}
/* TREE WIDGET */
QTreeView {
color: white;
background-color: gray;
border-color: #9B9B9B;
show-decoration-selected: 1;
}
QTreeWidget QHeaderView::section {
color: yellow;
background-color: blue;
}
QTreeView::item:hover,QTreeView::item:hover:selected:active {
background-color: #999999;
}
QTreeView::item:selected, QTreeView::item:selected:active, QTreeView::item:selected:!active {
background-color: #4d4d4d;
}
/* */
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.