Add support for multiple modulations and locations per signal.

Also remove numbers from theme folders and order the themes
appearence in action menu
This commit is contained in:
alessandro90
2019-05-18 21:37:57 +02:00
parent f87df03147
commit ddce1519a4
44 changed files with 71 additions and 65 deletions

View File

@@ -0,0 +1,482 @@
/* Palette
Background: #F5F5F5
Sec. Menu bkg: #DCDCDC
Label: #29353B
Label Selected/hover: #000000
Label Pressed: #000000
Selection: #6ECE12
ScrollBars: #DCDCDC
Labels: #29353B
Dialogs: #29353B
Disabled: #b3b3cc
/*************************************
Main Window and Splitters
**************************************/
QWidget:window {
background-color: #F5F5F5;
}
QSplitter::handle {
background-color: transparent;
}
/*************************************
Main menu (Bar)
**************************************/
QMenuBar {
background-color: transparent;
color: #29353B;
}
QMenuBar::item {
background-color: transparent;
}
QMenuBar::item:disabled {
color: gray;
}
QMenuBar::item:selected {
color: #000000;
border-bottom: 2px solid #6ECE12;
}
QMenuBar::item:pressed {
color: #000000;
border-bottom: 2px solid #6ECE12;
}
QToolBar {
background-color: transparent;
border: 1px solid transparent;
}
QToolBar:handle {
background-color: transparent;
border-left: 2px dotted #80CBC4;
color: transparent;
}
QToolBar::separator {
border: 0;
}
QMenu {
background-color: #DCDCDC;
color: #29353B;
}
QMenu::item:selected {
color: #000000;
}
QMenu::item:pressed {
color: #000000;
}
QMenu::separator {
background-color: transparent;
height: 1px;
margin-left: 10px;
margin-right: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
/*************************************
TabBar
**************************************/
QTabBar {
background: transparent;
}
QTabWidget::pane {
background: transparent;
}
QTabBar::tab {
background: transparent;
border: 0px solid transparent;
border-bottom: 2px solid transparent;
color: #29353B;
padding-left: 10px;
padding-right: 10px;
padding-top: 3px;
padding-bottom: 3px;
}
QTabBar::tab:hover {
background-color: transparent;
border: 0px solid transparent;
border-bottom: 2px solid #6ECE12;
color: #000000;
}
QTabBar::tab:selected {
background-color: transparent;
border: 0px solid transparent;
border-top: none;
border-bottom: 2px solid #6ECE12;
color: #000000;
}
QStackedWidget {
background: #F5F5F5;
}
/*************************************
Progressbar
**************************************/
QProgressBar
{
border: 2px solid grey;
border-radius: 5px;
text-align: center;
}
QProgressBar::chunk
{
background-color: #6ECE12;
width: 2.15px;
margin: 0.5px;
}
/*************************************
Labels and Rich Text boxes
**************************************/
QLabel {
background-color: transparent;
color: #29353B;
}
QDialog {
background-color: transparent;
color: #29353B;
}
QTextBrowser {
background-color: transparent;
color: #29353B;
}
/*************************************
Search Bar
**************************************/
QLineEdit {
background-color: transparent;
selection-background-color: #669900;
color: #669900;
border-width: 1px;
border-style: solid;
border-color: transparent transparent #669900 transparent;
}
QLineEdit:hover {
border-width: 2px;
border-color: transparent transparent #6ECE12 transparent;
}
QLineEdit:focus {
border-width: 2px;
border-color: transparent transparent #6ECE12 transparent;
}
/*************************************
Scroll bars
**************************************/
QScrollBar:horizontal {
background: transparent;
height: 10px;
margin: 0;
}
QScrollBar:vertical {
background: transparent;
width: 10px;
margin: 0;
}
QScrollBar::handle:horizontal {
background: #DCDCDC;
min-width: 16px;
border-radius: 5px;
}
QScrollBar::handle:vertical {
background: #DCDCDC;
min-height: 16px;
border-radius: 5px;
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal,
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: none;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
border: none;
background: none;
}
/*************************************
List
**************************************/
QListWidget {
background-color: transparent;
border: 0px solid transparent;
border-bottom: 2px solid #80CBC4;
color: #29353B;
}
QListView {
background-color: transparent;
color: #29353B;
outline: 0;
border: 0px solid transparent;
}
QListView::item:hover {
color: #000000;
background: transparent;
}
QListView::item:selected {
color: #6ECE12;
background: transparent;
}
QListView::item:disabled {
color: #b3b3cc;
background: transparent;
}
QListView::item:disabled:selected {
color: #6ECE12;
background: transparent;
}
/*************************************
Buttons
**************************************/
QPushButton {
background-color: transparent;
color: #29353B;
border: 1px solid transparent;
padding: 4px 22px;
}
QPushButton:hover {
border-left: 2px solid #6ECE12;
border-right: 2px solid #6ECE12;
color: #000000;
}
QPushButton:pressed {
color: #000000;
}
QPushButton:disabled {
color:#b3b3cc;
}
QPushButton:checked {
color: #6ECE12;
}
/*************************************
ComboBox
**************************************/
QComboBox {
border: 0px solid transparent;
border-radius: 2px;
padding: 1px 6px 1px 6px;
min-width: 2em;
}
QComboBox:!editable {
selection-background-color: transparent;
color: #29353B;
selection-color: #000000;
background-color: transparent;
}
QComboBox:disabled {
color: #b3b3cc;
}
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
color: #29353B;
background-color: transparent;
selection-background-color: transparent;
}
QComboBox:on {
padding-top: 3px;
padding-left: 4px;
}
QComboBox::drop-down {
background-color: transparent;
subcontrol-origin: padding;
subcontrol-position: top right;
width: 20px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
QComboBox::down-arrow:enabled {
image: url("./themes/material_design_light/icons/down-arrow.png");
}
QComboBox::down-arrow:disabled {
image: url("./themes/material_design_light/icons/down-arrow_off.png");
}
QComboBox::down-arrow:hover {
image: url("./themes/material_design_light/icons/down-arrow_hover.png");
}
QComboBox::down-arrow:on {
top: 1px;
left: 1px;
}
QComboBox QAbstractItemView {
background-color: #F5F5F5;
}
/*************************************
RadioButton
**************************************/
QRadioButton{
color: #29353B;
}
QRadioButton:disabled{
color: #b3b3cc;
}
QRadioButton::indicator{
width: 50px;
height: 50px;
}
QRadioButton::indicator::unchecked {
image: url("./themes/material_design_light/icons/off.png");
}
QRadioButton::indicator:unchecked:hover {
image: url("./themes/material_design_light/icons/off_press.png");
}
QRadioButton::indicator:unchecked:pressed {
image: url("./themes/material_design_light/icons/off_press.png");
}
QRadioButton::indicator::checked {
image: url("./themes/material_design_light/icons/on.png");
}
QRadioButton::indicator:checked:hover {
image: url("./themes/material_design_light/icons/on_press.png");
}
QRadioButton::indicator:checked:pressed {
image: url("./themes/material_design_light/icons/on_press.png");
}
/*************************************
SpinBox
**************************************/
QSpinBox {
background-color: transparent;
color: #29353B;
border-width: 0px;
}
QSpinBox:disabled {
color: #b3b3cc;
border-width: 0px;
}
QSpinBox::up-button {
subcontrol-origin: border;
subcontrol-position: top right;
width: 16px;
image: url("./themes/material_design_light/icons/up-arrow.png");
border-width: 0px;
}
QSpinBox::up-button:hover {
image: url("./themes/material_design_light/icons/up-arrow_hover.png");
}
QSpinBox::up-button:pressed {
image: url("./themes/material_design_light/icons/up-arrow.png");
}
QSpinBox::up-button:disabled {
image: url("./themes/material_design_light/icons/up-arrow_off.png");
}
QSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;
width: 16px;
image: url("./themes/material_design_light/icons/down-arrow.png");
border-width: 0px;
border-top-width: 0;
}
QSpinBox::down-button:hover {
image: url("./themes/material_design_light/icons/down-arrow_hover.png");
}
QSpinBox::down-button:pressed {
image: url("./themes/material_design_light/icons/down-arrow.png");
}
QSpinBox::down-button:disabled {
image: url("./themes/material_design_light/icons/down-arrow_off.png");
}
/*************************************
TreeViewMenu (Mode)
**************************************/
QTreeView {
background-color: transparent;
selection-background-color: transparent;
border: 0px;
}
QTreeView::item {
background-color: transparent;
color: #29353B;
}
QTreeView::item:hover {
border-right: 2px solid #6ECE12;
color: #000000;
}
QTreeView::item:selected {
color: #6ECE12;
}
QTreeView::item:active{
background: transparent;
}
QTreeView::item:disabled{
color: #b3b3cc;
}
QTreeView::item:selected:disabled{
color: #6ECE12;
}