qt-interest@trolltech.com
[Top] [All Lists]

[Qt-interest] How can I add a Widget to the QTooBar using Designer form

Subject: [Qt-interest] How can I add a Widget to the QTooBar using Designer form
From: Santhosh Y
Date: Mon, 14 Jun 2010 15:05:27 +0530
Hi,

How can I add a QWidget to QToolBar of QMainWindow using Designer form.

I can add QActions using actioneditor option available in Designer.
But I can't see any equivalent option for the following

QToolBar* toolBar;
toolBar->addAction(new QAction(.....)); // I can add using designer
toolBar->addSeparator(); // I can add using designer
toolBar->addWidget(new QLabel (this));   // Please tell me the equivalent for this; Or  A way of doing this through designer ???

-- 
----------------------------------------------------
Y Santhosh Kumar - 
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------

Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest
<Prev in Thread] Current Thread [Next in Thread>
  • [Qt-interest] How can I add a Widget to the QTooBar using Designer form, Santhosh Y <=