I didn't said request of example Lack of polite... read better ;)<br>Besides this is most matter of css, not code. So, i will not agree with you.<br>And not, i am not to lazy of nothing... i always posted indeed the final solution after (and even if nobody answer my post) so people could have it as an example (like the Simple Chat example Translated and improved into PyQt)...
<br>So.. what are you talking about? Follow my posts next time.<br><br>Now, returning into the main Thread, this is the stylesheet code example for a fully styled scrollbar:<br><br><div style="margin-left: 40px;">self.setStyleSheet
("QScrollBar:vertical { \<br> border-image: url(:/Styles/styles/scrollbar_bg.png) 5 0 5 0; \<br> width: 15px; \<br> margin: 15px 0 15px 0;\<br> padding-top:-5px; \
<br> padding-bottom:-5px; \<br> border-top: 5px; \<br> border-bottom: 5px;} \<br> QScrollBar::handle:vertical { \<br> border-image: url(:/Styles/styles/scrollbar_body.png) 5 0 5 0 repeat; \
<br> min-height: 10px; \<br> border-top: 5px; \<br> border-bottom: 5px;} \<br> QScrollBar::handle:vertical:hover { \<br> border-image: url(:/Styles/styles/scrollbar_body_hover.png) 5 0 5 0 repeat; \
<br> border-top: 5px; \<br> border-bottom: 5px;} \<br> QScrollBar::handle:vertical:pressed { \<br> border-image: url(:/Styles/styles/scrollbar_body_pressed.png) 5 0 5 0 repeat; \
<br> border-top: 5px; \<br> border-bottom: 5px;} \<br> QScrollBar::sub-line:vertical { \<br> border: 0px; \<br> background-image: url(); \
<br> height: 15px; \<br> subcontrol-position: top; \<br> subcontrol-origin: margin;} \<br> QScrollBar::add-line:vertical { \<br> border: 0px; \
<br> background-image: url(); \<br> height: 15px; \<br> subcontrol-position: bottom; \<br> subcontrol-origin: margin;} \<br> QScrollBar::up-arrow:vertical { \
<br> background-image: url(:/Styles/styles/scrollbar_upArrow.png); \<br> background-repeat: no repeat; \<br> width: 15px; \<br> height: 15px;} \<br> QScrollBar::up-arrow:vertical:hover { \
<br> background-image: url(:/Styles/styles/scrollbar_upArrow_hover.png); \<br> background-repeat: no repeat; \<br> width: 15px; \<br> height: 15px;} \<br> QScrollBar::up-arrow:vertical:pressed { \
<br> background-image: url(:/Styles/styles/scrollbar_upArrow_pressed.png); \<br> background-repeat: no repeat; \<br> width: 15px; \<br> height: 15px;} \<br>
QScrollBar::down-arrow:vertical { \<br> background-image: url(:/Styles/styles/scrollbar_downArrow.png); \<br> background-repeat: no repeat; \<br> width: 15px; \
<br> height: 15px;} \<br> QScrollBar::down-arrow:vertical:hover { \<br> background-image: url(:/Styles/styles/scrollbar_downArrow_hover.png); \<br> background-repeat: no repeat; \
<br> width: 15px; \<br> height: 15px;} \<br> QScrollBar::down-arrow:vertical:pressed { \<br> background-image: url(:/Styles/styles/scrollbar_downArrow_pressed.png); \
<br> background-repeat: no repeat; \<br> width: 15px; \<br> height: 15px;} \<br> QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { \<br> background: none;}")
<br></div><br>And you have as result: <a href="http://opencoffee.lnxteam.org/downloads/pub/pics/draft/OpenCoffee_scrollbar_v2.png">http://opencoffee.lnxteam.org/downloads/pub/pics/draft/OpenCoffee_scrollbar_v2.png</a><br>
<br>Cheers.<br><br><div><span class="gmail_quote">2007/12/4, Doug Bell <<a href="mailto:dougb@bellz.org">dougb@bellz.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Gustavo A. D?az wrote:<br>> I will say for a last time... for a stylesheet is not needed... one could<br>> create a simple widget to test the stylesheet<br><br>Yes, "one" could create a simple widget to test the stylesheet. Are you
<br>too lazy to do it yourself and post it? But you expect busy people who<br>might be able to help you to do it???<br><br>> I was rude cause the lack of being polite.<br><br>But the original request from Pete for a full example wasn't rude.
<br><br>Good job, though - you've managed to alienate one of the most helpful<br>people on the PyQt mailing list. Good luck next time you need help...<br><br>Doug.<br></blockquote></div><br><br clear="all"><br>-- <br>
Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>