Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, May 2007
qt 4.2.3 css bug


Message 1 in thread

Hello all,

I am using Qt 4.2.3 for a project. This project have three docks. When I
enable the styleSheet
"QMainWindow {background-color: rgb(110, 160, 225);} \
    QDialog {background-color: rgb(110, 160, 225)} \
    QTabWidget {background-color: rgb(136, 176, 227)} \
    QGroupBox {background-color: rgb(130, 170, 221); border-width: 1px;
border-style: outset; border-color: white;     border-radius: 6px; font:
bold 12px} \
    QGroupBox::title {subcontrol-position: top; padding: 2px; color: rgb(99,
111, 81);} \
    QLabel {background-color: rgb(181, 208, 237); color: rgb(99, 111, 81);
font: bold 12px} \
    QPushButton {background-color: rgb(181, 208, 237); border-width: 1px;
border-style: outset; border-color: white; border-radius: 4px; padding: 4px;
font: 11px; color: rgb(99, 111, 81)} \
    QPushButton:hover {background-color: rgb(161, 195, 232)} \
    QPushButton:pressed {background-color: rgb(125, 164, 206); border-width:
1px; border-style: outset} \
    QPushButton:checked {background-color: rgb(217, 233, 249); border-width:
1px; border-style: inset; border-radius: 4px; border-color: white} \
    QCheckBox {font: 11px; color: rgb(99, 111, 81)}\
    QCheckBox:hover {background-color: rgb(140, 180, 236)}\
    QDockWidget {font: bold; color: rgb(99, 111, 81); background: rgb(136,
176, 227)}"

The dock's splitters aren't shown. I compiled the project with qt4.3 beta
and the bug is fixed.
WebSVN: http://lablux.svn.sf.net
If you need any other information, please ask

brÃulio