Download - Qt con estilo
![Page 2: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/2.jpg)
Hojas de estilo Qt ¿Qué hacen?
![Page 3: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/3.jpg)
![Page 4: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/4.jpg)
![Page 5: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/5.jpg)
¿Cómo?
![Page 6: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/6.jpg)
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);
}
![Page 7: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/7.jpg)
![Page 8: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/8.jpg)
¿Cómo?
![Page 9: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/9.jpg)
![Page 10: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/10.jpg)
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);
}
![Page 11: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/11.jpg)
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
![Page 12: Qt con estilo](https://reader035.vdocumento.com/reader035/viewer/2022073101/5587968bd8b42ae3408b45bf/html5/thumbnails/12.jpg)
¿Preguntas?