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

Re: Newbie Questions

Subject: Re: Newbie Questions
From:
Date: Wed, 9 Feb 2005 11:24:54 -0500 EST
Ok, maybe i didn't explain well....or because i am newbie i don't
understand well.
I have and slot in main screen to show the secondary screen:

void mainscreen::showsecundary()
lmbasc02 *screen2 = new lmbasc02(this);
    screen2->show();> sbrentegan@xxxxxxxxxxx wrote:
>
>>Hi all,
>>
>>I am a Qt Newbie. I am looking at QT Designer and i think is a wonderful
>>product.
>>I was searching in the examples and looking into the mailing list
>>questions to find answer to my newbie questions. Unfortunally i didn't
>>find someones.
>>Maybe somebody can help me, here i go....
>>1- I did a main screen and a secondary screen. I am trying to connect a
>>slot in main screen with a signal in the secondary screen, but i cannot
>> do
>>that.
>>
>>
> One way to do that is the following:
>
> create a slot that opens the secondary screen.
> connect in that slot the signal from the secondary to the slot at the
> main one.
>
> void openSecondary()
> {
>     SecondaryScreen * screen = new SecondaryScreen(this);
>     connect( screen, SIGNAL(MySignalAtTheSecondaryScreen), this,
> SLOT(MySlotAtTheMainScreen);
>     screen->show();
> }
>
> do not forget to include the secondaryScreen.h!
>
> jordi
>
>>2- I cannot find how to get the value in a QDatetimeEdit field that i
>> want
>>to pass to a mysql field. (of course a mysql datetime field)
>>
>>Thanks for your help.
>>
>>Sebastian Brentegan
>>
>>--
>>List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
>>
>>
>
> --
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>