Download - Qt con estilo
Qt con estilo
Eduardo Robles [email protected]
Hojas de estilo Qt ¿Qué hacen?
¿Cómo?
Qt Style sheets *[class="line"] {
background-color: red;} QPushButton:hover:!pressed {
font-size: 14px;} #acceptButton, #thumbButton {
margin-right: -12px;width: 74px;
} KFoo--CheckDelegate {
border-image: url(:/images/button.png) 17 17 17 17 repeat repeat;qproperty-tableLinesColor: black;qproperty-gridLinesSize: 0.1;qproperty-selectedBackgroundColor: rgb(120,130,140);
}
¿Cómo?
Muy potentes
*[class="line"] {background-color: red;
} QComboBox::drop-down:hover:!pressed {
image: url(dropdown.png);subcontrol-origin: margin;
} #acceptButton, #thumbButton {
margin-right: -12px;width: 74px;
} KFoo--CheckDelegate {
border-image: url(:/images/button.png) 17 17 17 17 repeat repeat;qproperty-tableLinesColor: black;qproperty-gridLinesSize: 0.1;qproperty-selectedBackgroundColor: rgb(120,130,140);
}
Documentación http://qt-project.org/doc/qt-4.8/stylesheet-syntax.html http://qt-project.org/doc/qt-4.8/stylesheet-reference.html http://qt-project.org/doc/qt-4.8/stylesheet-examples.html
¿Preguntas?