[Qt-interest] HOw to change the look of the form dynamically

Smita_Srivastava Smita_Srivastava at Satyam.com
Mon Dec 1 04:22:22 CET 2008


Hi
This file is complete. Its running in my system with QT designer.

Smita

-----Original Message-----
From: Alessandro Portale [mailto:alessandro.portale at trolltech.com]
Sent: Friday, November 28, 2008 7:12 PM
To: Smita_Srivastava
Subject: Re: HOw to change the look of the form dynamically

Hi,

you sent the file to me personally. Could you send it to the list?
Also, it helps if it is complete and compilable, so people can test it.

Alessandro

Smita_Srivastava wrote:
> I am attaching the file...Here in Function display_pic() I want those
> many Qlabels should get created as many photos are there in that directory...
>
> Name of files in the directory are there in
>
>        QStringList name_of_files_in_dir;
>
> you can get the count also.. so as per the count I want the QLabels to
> be created
>
>
>
>
>
> Thanks in advance
>
> Smita
>
>
>
> -----Original Message-----
> From: Alessandro Portale [mailto:alessandro.portale at trolltech.com]
> Sent: Friday, November 28, 2008 6:08 PM
> To: Smita_Srivastava
> Cc: qt-interest at trolltech.com
> Subject: Re: HOw to change the look of the form dynamically
>
>
>
> Can You post a complete, compilable example?
>
>
>
> Smita_Srivastava wrote:
>
>>  But I tried doing this however the widgets are not getting created..
>
>>
>
>>  Like suppose I want to create one Label in a function so I am giving
>
>>
>
>>  Void Form::display()
>
>>  {
>
>>  QLabel *Label = new QLabel(tr("Name:"));
>
>>  /.
>
>>  .
>
>>  .
>
>>  ./
>
>>  }
>
>>
>
>>  Its not getting created when I run the application.
>
>
>
>
> ------------------------------------------------------------------------
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of
> the intended recipient/s and may contain material that is CONFIDENTIAL
> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying or distribution or forwarding of any or all of the contents in
> this message is STRICTLY PROHIBITED. If you are not the intended
> recipient, please contact the sender by email and delete all copies;
> your cooperation in this regard is appreciated.
>



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.




More information about the Qt-interest-old mailing list