[Qt] QApplicationH and QApplication_setStyleSheet

Marcin Dębicki alterfenix at gmail.com
Fri Nov 6 20:07:17 CET 2009

Probably stupid questions but I can't really find an answer.

1. How can I retrieve handle for my application so I can use
QApplication_setStyleSheet? Application is created visually with Lazarus.
2. Second parameter for QApplication_setStyleSheet is stylesheet code,
right? For example:

 QMainWindow::separator {
     background: yellow;
     width: 10px; /* when vertical */
     height: 10px; /* when horizontal */

 QMainWindow::separator:hover {
     background: red;

Best regards,
Marcin Dębicki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20091106/63bcd802/attachment-0002.html>

More information about the Qt mailing list