Commit f4e80c37 authored by Frédéric Larue's avatar Frédéric Larue
Browse files

Style of progress bar improved.

parent 31208aa9
......@@ -12,10 +12,11 @@
#include "GUI_mainDefs.h"
#include <QtWidgets>
class UIMultiProgressDialog : public QDialog
class GUIMAIN_API UIMultiProgressDialog : public QDialog
{
Q_OBJECT
......
......@@ -6,7 +6,7 @@ QPushButton[flat="false"], QScrollBar::handle, QToolTip, QHeaderView::section
border-left : 1px solid palette(light);
border-radius: 3px;
}
QPushButton[flat="false"]:pressed, QPushButton[flat="true"]:pressed, QPushButton[flat="true"]:checked, QComboBox, QLineEdit, QSpinBox, QDoubleSpinBox, QCheckBox::indicator, QRadioButton::indicator, QSlider::groove:horizontal, QHeaderView::section:pressed, QTreeView, QTreeView::indicator, QTableView, QTableView::indicator, QListView, QListView::indicator
QPushButton[flat="false"]:pressed, QPushButton[flat="true"]:pressed, QPushButton[flat="true"]:checked, QComboBox, QLineEdit, QSpinBox, QDoubleSpinBox, QCheckBox::indicator, QRadioButton::indicator, QSlider::groove:horizontal, QHeaderView::section:pressed, QTreeView, QTreeView::indicator, QTableView, QTableView::indicator, QListView, QListView::indicator, QProgressBar
{
border-top : 1px solid palette(shadow);
border-right : 1px solid palette(light);
......@@ -27,6 +27,22 @@ QPushButton[flat="false"]:hover
}
QProgressBar
{
height: 1.15em;
text-align: center;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(dark), stop: 0.3 palette(base), stop: 1 palette(mid));
color: palette(bright-text);
}
QProgressBar::chunk
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 palette(window), stop: 0.35 palette(light), stop: 0.75 palette(base));
margin: 1px;
/*width: 10px;*/
border-radius: 1px;
}
QGroupBox
{
color: palette(bright-text);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment