[Qt-interest] [QtS60-feedback] UI development

Ramesh ramesh.bs at robosoftin.com
Thu Feb 25 11:17:59 CET 2010


Hi Andres,

 

I tried, but its not so good like the UI mentioned in link.

 

here  entire layout is not getting selected like mentioned in UI.

 

Do you think we need to customize the listview itself.. if so then its very
hectic..

 

I am new to QT, pls helpe me if u can give some idea..

 

Thanks 

 

 

 

From: Anders Tidbeck [mailto:anders.tidbeck at sintech.se] 
Sent: Thursday, February 25, 2010 3:25 PM
To: Ramesh
Cc: qt-interest at trolltech.com; qts60-feedback at trolltech.com
Subject: Re: [QtS60-feedback] UI development

 

Hi,

Don't know if this is the best way but you could do something like this:

QGroupBox* setting1Box = new QGroupBox("Setting 1");
QGroupBox* setting2Box = new QGroupBox("Setting 2");
QGroupBox* setting3Box = new QGroupBox("Setting 3");

QLineEdit* setting1 = new QLineEdit("default value");
QLineEdit* setting2 = new QLineEdit("default value");
QLineEdit* setting3 = new QLineEdit("default value");

QVBoxLayout* layout1 = new QVBoxLayout(setting1Box);
QVBoxLayout* layout1 = new QVBoxLayout(setting1Box);
QVBoxLayout* layout1 = new QVBoxLayout(setting1Box);

layout1->addWidget(setting1);
layout2->addWidget(setting2);
layout3->addWidget(setting3);

QWidget* group = new QWidget();
QVBoxLayout* layout = new QVBoxLayout(group);
layout->addWidget(setting1Box);
layout->addWidget(setting2Box);
layout->addWidget(setting3Box);

BR Anders

On 25 February 2010 10:45, Ramesh <ramesh.bs at robosoftin.com> wrote:

Hi all..


Could you please give me rough idea about how to implement UI mentioned in
link below

http://wiki.forum.nokia.com/index.php/QtDynamicSettingList

Thanks


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies. Emails
to and from our network may be logged and monitored. This email and its
attachments are scanned for virus by our scanners and are believed to be
safe. However, no warranty is given that this email is free of malicious
content or virus.
--
List archive and information: http://trolltech.com/%(listname)s/
<http://trolltech.com/%25%28listname%29s/> 




-- 
Anders Tidbeck
Phone: +46706027467
E-mail: anders.tidbeck at sintech.se
Web: www.sintech.se

Software Architect
Sindarin Technologies AB


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100225/c92cd925/attachment.html 


More information about the Qt-interest-old mailing list