Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, November 2007
creating custom widget and add to toolbox


Message 1 in thread

Hi all,
I want to custom login widget and add this component to qt tool box. I know 
how to create new custom widget but I don't know how to add to qt toolbox. 
How can i do this ? Is there any example about this ?
Thanks in advance,
Ramazan 


--
 [ signature omitted ] 

Message 2 in thread

If you are using Qt4 try QToolBar::addWidget method


On Nov 29, 2007, at 10:55 AM, Ramazan wrote:

> Hi all,
> I want to custom login widget and add this component to qt tool  
> box. I know
> how to create new custom widget but I don't know how to add to qt  
> toolbox.
> How can i do this ? Is there any example about this ?
> Thanks in advance,
> Ramazan
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx  
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>

--
 [ signature omitted ] 

Message 3 in thread

and... for qtoolBOX
additem or insertitem may be what you want.... and what is described in 
qtoolbox doc....
but maybe you want to add this custom widget in qtoolbox  using qtdesigner.
so it can be using promoted widgets feature of the tool or createing a 
plugin for this custom widget in qtdesigner?....

Kamil Klimek a écrit :

> If you are using Qt4 try QToolBar::addWidget method
>
>
> On Nov 29, 2007, at 10:55 AM, Ramazan wrote:
>
>> Hi all,
>> I want to custom login widget and add this component to qt tool  box. 
>> I know
>> how to create new custom widget but I don't know how to add to qt  
>> toolbox.
>> How can i do this ? Is there any example about this ?
>> Thanks in advance,
>> Ramazan
>>
>>
>> -- 
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx  
>> with "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ] 

Message 4 in thread

On 29.11.07 11:55:18, Ramazan wrote:
> Hi all,
> I want to custom login widget and add this component to qt tool box. I know 
> how to create new custom widget but I don't know how to add to qt toolbox. 
> How can i do this ? Is there any example about this ?

Are you talking about the widget toolview in designer? If so read the
custom widgets section in the designer manual:
http://doc.trolltech.com/4.3/designer-creating-custom-widgets.html

If you already know that, you need to elaborate a bit about what exact
problems you have.

Andreas

-- 
 [ signature omitted ] 

Message 5 in thread

Hi Ramazan, 

You need to read in Qt assistent about creating a Plugin for Designer. 

The example is World Time Clock Plugin. Just copy worldtimeclickplugin.* and
modify the values to suit your widget. 

The tricky parts (on Windows) are setting up the .pro for the DLL and
copying it to the correct location. 

Hope that helps, 

Tony Rietwyk

> -----Original Message-----
> From: Ramazan [mailto:ramazangirgin@xxxxxxxxx] 
> Sent: Thursday, 29 November 2007 20:55
> To: qt-interest@xxxxxxxxxxxxx
> Subject: creating custom widget and add to toolbox
> 
> 
> Hi all,
> I want to custom login widget and add this component to qt 
> tool box. I know 
> how to create new custom widget but I don't know how to add 
> to qt toolbox. 
> How can i do this ? Is there any example about this ?
> Thanks in advance,
> Ramazan 

--
 [ signature omitted ]