The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Funky Graphics with QtRuby

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Caleb Tennis

Posts: 48
Nickname: ctennis
Registered: Sep, 2005

Caleb Tennis is a software developer for a small research and development company.
Funky Graphics with QtRuby Posted: Nov 10, 2005 4:25 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Caleb Tennis.
Original Post: Funky Graphics with QtRuby
Feed Title: Tarkblog
Feed URL: http://www.aei-tech.com
Feed Description: Caleb's Ruby thoughts
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Caleb Tennis
Latest Posts From Tarkblog

Advertisement
As seen in the previous entry, you can override the paintEvent method for a custom widget if you want to control the drawing yourself. By request, here are a few more examples of things you can accomplish when doing those custom drawings: require 'Qt' class FunkyWidget < Qt::Widget   def paintEvent(e)     p = Qt::Painter.new(self)     # Vertical blue line     p.setPen( Qt::Pen.new(Qt::blue, 4) [...]

Read: Funky Graphics with QtRuby

Topic: Enter the Bumblelog Previous Topic   Next Topic Topic: Not Nearly as Nerdy as Andy

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use