Commit cae2caec authored by Claudio Valerio's avatar Claudio Valerio

some cosmetics changes

parent e21c3d4a
......@@ -11,7 +11,7 @@ CONFIG += debug_and_release \
VERSION_MAJ = 2
VERSION_MIN = 00
VERSION_TYPE = b # a = alpha, b = beta, r = release, other => error
VERSION_PATCH = 03
VERSION_PATCH = 04
VERSION = "$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION = $$replace(VERSION, "\\.r", "")
......
......@@ -2,8 +2,26 @@
{
color: #3F3F3F;
}
QMainWindow
QTextEdit,
QLineEdit,
QComboBox#DockPaletteWidgetComboBox QAbstractItemView
{
selection-background-color: lightgreen;
selection-color: black;
}
QProgressBar:horizontal {
border: 1px solid gray;
border-radius: 3px;
background: white;
padding: 1px;
}
QProgressBar::chunk:horizontal {
/*background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 green, stop: 1 lightgreen);*/
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
}
QMainWindow
{
background-color: #F1F1F1;
}
......
......@@ -70,15 +70,6 @@ QLabel#UBTGMediaDropMeLabel
padding: 2px;
}
QTextEdit,
QLineEdit,
QComboBox#DockPaletteWidgetComboBox QAbstractItemView
{
selection-background-color: lightgreen;
selection-color: black;
}
QComboBox#DockPaletteWidgetComboBox
{
background: white;
......
......@@ -70,7 +70,6 @@ WBExLineEdit::WBExLineEdit(QWidget *parent)
, mLineEdit(new QLineEdit(this))
, mClearButton(0)
{
SET_STYLE_SHEET();
setFocusPolicy(mLineEdit->focusPolicy());
setAttribute(Qt::WA_InputMethodEnabled);
setSizePolicy(mLineEdit->sizePolicy());
......@@ -92,10 +91,8 @@ WBExLineEdit::WBExLineEdit(QWidget *parent)
// clearButton
mClearButton = new WBClearButton(this);
connect(mClearButton, SIGNAL(clicked()),
mLineEdit, SLOT(clear()));
connect(mLineEdit, SIGNAL(textChanged(const QString&)),
mClearButton, SLOT(textChanged(const QString&)));
connect(mClearButton, SIGNAL(clicked()), mLineEdit, SLOT(clear()));
connect(mLineEdit, SIGNAL(textChanged(const QString&)), mClearButton, SLOT(textChanged(const QString&)));
mClearButton->hide();
}
......@@ -104,7 +101,6 @@ void WBExLineEdit::setLeftWidget(QWidget *widget)
{
delete mLeftWidget;
mLeftWidget = widget;
//m_leftWidget->show();
updateGeometries();
}
......
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