From 35f2b645e23bb67e7eef117b59d0251a379ddef8 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 3 Sep 2007 01:09:22 +0000 Subject: [PATCH] some other gui fixes for qt-4.3.1 --- src/gui/qt/mainwindow.ui | 134 ++++++++++++++++++++++- src/gui/qt/mainwindow/mainwindowimpl.cpp | 4 +- 2 files changed, 134 insertions(+), 4 deletions(-) diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index ebcfb5f3..0b405564 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -975,6 +975,43 @@ + + + + + + + 30 + 80 + 0 + + + + + + + + + 30 + 80 + 0 + + + + + + + + + 30 + 80 + 0 + + + + + + Qt::NoFocus @@ -1160,15 +1197,106 @@ 0 + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + + Qt::NoFocus + 1 11 - - 5 - Qt::Horizontal diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index cf8b779f..223b3ce6 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -477,7 +477,9 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) pushButton_break->setStyleSheet("QPushButton { background-color: #145300; color: white;}"); - horizontalSlider_speed->setStyleSheet("QSlider::groove:horizontal { border: 1px solid #286400; height: 3px; background: #689700; } QSlider::handle:horizontal { background: #689700; border: 1px solid #286400; width: 10px; border-radius: 3px; }"); +// horizontalSlider_speed->setStyleSheet("QSlider::groove:horizontal { border: 1px solid #286400; height: 3px; background: #689700; } QSlider::handle:horizontal { background: #689700; border: 1px solid #286400; width: 10px; margin: -8px 0; border-radius: 3px; }"); + + statusbar->setStyleSheet(" QStatusBar { "+ font1String +" font-size: 12px; color: white; }"); //Groupbox Background for (i=1; i