[Qt-interest] Buttons and Windows

"Alexander Carôt" alexander_carot at gmx.net
Wed Sep 23 09:33:13 CEST 2009


Hi all,

I just started a new GUI project, which requires a different approach than I previously worked with:

a) Buttons may only appear as the Label a graphic designer has created. How can I solved this ? Right now I am using a normal QPushButton and add an Icon:

myButton->setIcon(QIcon("button.png"));

This results in the grey button with the icon inside. How can I just display the icon but keeping the pushbutton functionality ?

b) The application will contain several subforms of their own functionality. So far I realized them as separate windows to which I added a respective label. Here - the same things as with the buttons - I only want to have the label displayed (and the elements I put on top of that label) but not the window frame and window buttons (resized, delete).

Can anyone give me a hint how to solve a) and b) as effectively and quickly as possible ?

Thanks in advance

-- A l e x
  
-- 
Dr.-Ing. Alexander Carôt
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797



GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Qt-interest-old mailing list