This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Make a push button launch a widget

Tags: None
(comma "," separated)
sandy8925
Registered Member
Posts
3
Karma
0
OS

Make a push button launch a widget

Tue Jan 25, 2011 10:09 pm
Hi, I need to know how to do the following:

I have a dialog with a push button in it. When the button is pressed, I need it to open another dialog. Any idea how to do this? I've created the .ui file for the 2nd dialog.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
I assume you mean in Qt and C++?

http://doc.qt.nokia.com/latest/qdialog. ... e-examples (see the sections before regarding modal vs modeless dialogs).


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
sandy8925
Registered Member
Posts
3
Karma
0
OS
Yes, in Qt and C++. Actually in KDE, but it's the same right?
sandy8925
Registered Member
Posts
3
Karma
0
OS
And thanks by the way!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
KDE is built upon Qt, so yes they are the same


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft