November 16, 2011

tutun tutun
Lab Rat
1 posts

[Moved] How to fill color in a circle

 

I am new to Qt and C++, I want to know how to fill color inside a circle?

[EDIT: changed the topic from “please answer urgently…” to something reasonable, Volker]

[EDIT 2: moved to the General forum as it doesn’t seem to be specific to India, Volker]

3 replies

November 16, 2011

BilbonSacquet BilbonSacquet
Lab Rat
75 posts

use painter.setBrush(Qt::red); just before.

November 16, 2011

Lukas Geyer Lukas Geyer
Lab Rat
2074 posts

Welcome to the QtDN. I have another good read [catb.org] for you.

November 16, 2011

Andre Andre
Robot Herder
6417 posts

Lukas Geyer wrote:
Welcome to the QtDN. I have another good read [catb.org] for you.

Indeed. Take special note of this [catb.org] part.

 
  ‹‹ Receive POST request      Browser Plugin with Live555 ››

You must log in to post a reply. Not a member yet? Register here!