some cosmetics changes

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent e21c3d4a99
commit cae2caecac
  1. 2
      Sankore_3.1.pro
  2. 20
      resources/etc/Uniboard.css
  3. 9
      resources/style.qss
  4. 8
      src/web/browser/WBUrlLineEdit.cpp

@ -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();
}

Loading…
Cancel
Save