This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

UI Colour Themes
#3
Here an additional example of a style file:
/* 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.
Reply


Messages In This Thread
UI Colour Themes - by Execrated - 13.07.2019, 00:50
RE: UI Colour Themes - by Selur - 13.07.2019, 07:00
RE: UI Colour Themes - by Execrated - 13.07.2019, 18:10
RE: UI Colour Themes - by Selur - 13.07.2019, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)