Thursday, August 28th 2008, 5:07pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, November 14th 2007, 9:13pm

wiring up widget signals to my code

I am coming from a Microsoft Widows MFC and .Net development world and am trying to figure how how to wire up the signals with custom slots in a dialog.

In the world from which I have come, I would simply find the "event" (signal) in the docked window and double click it to get VS2005 to create the handler (slot) for the event (signal).

With the VS2005 integration, do I have to do this by hand or is there a completely different approach to doing this type of thing?

Let me give you two examples of what I am trying to do:

1: When a combo box widget has its selection changed, other widgets need to change state.

2: This is a dialog that asks for some files, so it has a text edit widget and a push button widget associated with it called Browse. When the browse push button widget is pressed, the file selection dialog needs to be called and if that was accepted, then the file path needs to be placed in the text edit widget.

Carleton
  • Go to the top of the page

Rate this thread