Sunday, July 6th 2008, 1:44am 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.

Cubex

Beginner

1

Monday, April 7th 2008, 5:58am

Calling new instance of form through qtdesigner 3/4x?

EDIT: SOME HELP

Ubuntu Post with some help
At least thing got some answer, by finding this thread that someone posted to.
----------------------------------------------------------------------------------------------



Hello,

I have few problems -- I am going to repost from my ubuntu thread here.

Hello,


Well it has been few weeks, I have been playing with qt3 designer whenever get to. I have been slowly learning the "GUI Designer," not very much but still. I actually was able to make the contents on the form stick correctly. Using someones helpful tips on spacers and other. Was able to manipulate simple objects things through slots and properties.

* One thing though: "Slots and Connections" misses events for form2.


I already got a small grasp on functions. Something tells me something needs to be done for functions.


For example (basic style language) On say the button click, activate events
one places:


* form2.show.

* Or Dim I as new form2 I.show something like that.

(What about C++ type language)? Lets take this slowly! What would i place under the click , activate event. I tried to guess, well "experiment" thing is not sure how to tell the designer correctly to tell qt, that will tell the C language that I want a new form to open.


I did try:

{

form2.show();
form2.show()
form2.exec();
form2.exec()

}

When I preview the form nothing happens, i'm not sure what to do. I did try to look for help on google for this referenced the qtassistent. Did Search in it turned up nothing. At least I was not able to find it.

Another thing: In Basic style language: One could say :

* textgo.text="Ok or whatever" on the buttons click properties. What here?

Or:

* label1.text="good feature" , Or, Or......

* How does one save settings? ( No, INI or Registry VB now in 2007.net has .xml type of thing to save it to).

This post has been edited 2 times, last edit by "Cubex" (Apr 9th 2008, 2:36am)

  • Go to the top of the page

Rate this thread