Qt-interest Archive, January 2007
QWizard layout question
Message 1 in thread
I just have what is hopefully an easy question.
Is there anyway possible to change the default layout when
using the QWizard class, to remove the horizontal bar at the top,
along with hide the title?
If so, can the spacing also be adjusted, so that there is no space around
the edges of the widget?
Using QT 3.3.6
Kris Moore
pcbsd.org
--
[ signature omitted ]
Message 2 in thread
Hello Kris,
You can reimplement layOutTitleRow ( QHBoxLayout * layout, const QString &
title ) and
hide the child object (QLabel*)child("title label", "QLabel") to hide the
title.
You can also play around with the margin layout to have the spacing you
want.
After you reimplement, don't forget to call QWizard::layOutButtonRow (
QHBoxLayout * layout )
Christopher
>From: "Kris Moore" <kris@xxxxxxxxx>
>To: qt-interest@xxxxxxxxxxxxx
>Subject: QWizard layout question
>Date: Fri, 12 Jan 2007 14:21:05 -0800
>
>I just have what is hopefully an easy question.
>
>Is there anyway possible to change the default layout when
>using the QWizard class, to remove the horizontal bar at the top,
>along with hide the title?
>
>If so, can the spacing also be adjusted, so that there is no space around
>the edges of the widget?
>
>Using QT 3.3.6
>
>Kris Moore
>pcbsd.org
>
>
>
>--
>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/
>
_________________________________________________________________
http://www.initiesyouthography.com/R.aspx?a=117
--
[ signature omitted ]
Message 3 in thread
Hey Kris,
You may want to add this untested code
void PBI::layOutTitleRow( QHBoxLayout * layout, const QString &
title )
{
QLabel* aLabel= (QLabel*)child("title label", "QLabel");
aLabel->hide(); //you may want to check this pointer before doing this
layout->setMargin(0); //you may also want to check this pointer befored
doing this
QWizard::layOutTitleRow( layout, title );
}
Let me know how this goes.
>From: Kris Moore - PC-BSD Software <kris@xxxxxxxxx>
>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>
>CC: qt-interest@xxxxxxxxxxxxx
>Subject: Re: QWizard layout question
>Date: Fri, 12 Jan 2007 15:24:40 -0800
>
>
>Christopher,
>
>Thanks for the tips! Here's what I got so far:
>
>
>void PBI::layOutTitleRow( QHBoxLayout * layout, const QString & title )
>{
> (QLabel*)child("title label", "QLabel");
>
>}
>
>This does "hide" the title, but I have a pixmap graphic directly underneath
>where the horizontal bar is, and now there is a "blank" spot in the graphic
>where the title is hidden. Also, do you know if the horizontal bar can be
>hidden also?
>
>--
>
>Kris Moore
>PC-BSD Software
>http://www.pcbsd.com
>
>
>Christopher Probst wrote:
>>Hello Kris,
>>
>>You can reimplement layOutTitleRow ( QHBoxLayout * layout, const QString &
>>title ) and
>>hide the child object (QLabel*)child("title label", "QLabel") to hide the
>>title.
>>
>>You can also play around with the margin layout to have the spacing you
>>want.
>>After you reimplement, don't forget to call QWizard::layOutButtonRow (
>>QHBoxLayout * layout )
>>
>>Christopher
>>
>>
>>
>>
>>
>>>From: "Kris Moore" <kris@xxxxxxxxx>
>>>To: qt-interest@xxxxxxxxxxxxx
>>>Subject: QWizard layout question
>>>Date: Fri, 12 Jan 2007 14:21:05 -0800
>>>
>>>I just have what is hopefully an easy question.
>>>
>>>Is there anyway possible to change the default layout when
>>>using the QWizard class, to remove the horizontal bar at the top,
>>>along with hide the title?
>>>
>>>If so, can the spacing also be adjusted, so that there is no space around
>>>the edges of the widget?
>>>
>>>Using QT 3.3.6
>>>
>>>Kris Moore
>>>pcbsd.org
>>>
>>>
>>>
>>>--
>>>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/
>>>
>>
>>_________________________________________________________________
>>http://www.initiesyouthography.com/R.aspx?a=117
>>
>>
_________________________________________________________________
http://www.initiesyouthography.com/R.aspx?a=117
--
[ signature omitted ]
Message 4 in thread
Were getting warmer! This hides the title text perfectly, the <hr> is
still present though. The margin doesn't appear to be working though,
because the left image still doesn't align to the left properly :(
Maybe this will help. I'm attaching a mockup of what were trying to do
here so you can see exactly where I'm going with this :)
Kris
Christopher Probst wrote:
> Hey Kris,
>
> You may want to add this untested code
>
> void PBI::layOutTitleRow( QHBoxLayout * layout, const QString &
> title )
> {
> QLabel* aLabel= (QLabel*)child("title label", "QLabel");
> aLabel->hide(); //you may want to check this pointer before doing this
> layout->setMargin(0); //you may also want to check this pointer
> befored doing this
>
> QWizard::layOutTitleRow( layout, title );
> }
>
> Let me know how this goes.
>
>
>> From: Kris Moore - PC-BSD Software <kris@xxxxxxxxx>
>> To: Christopher Probst <probst_christopher@xxxxxxxxxxx>
>> CC: qt-interest@xxxxxxxxxxxxx
>> Subject: Re: QWizard layout question
>> Date: Fri, 12 Jan 2007 15:24:40 -0800
>>
>>
>> Christopher,
>>
>> Thanks for the tips! Here's what I got so far:
>>
>>
>> void PBI::layOutTitleRow( QHBoxLayout * layout, const QString & title )
>> {
>> (QLabel*)child("title label", "QLabel");
>>
>> }
>>
>> This does "hide" the title, but I have a pixmap graphic directly
>> underneath where the horizontal bar is, and now there is a "blank"
>> spot in the graphic where the title is hidden. Also, do you know if
>> the horizontal bar can be hidden also?
>>
>> --
>>
>> Kris Moore
>> PC-BSD Software
>> http://www.pcbsd.com
>>
>>
>> Christopher Probst wrote:
>>> Hello Kris,
>>>
>>> You can reimplement layOutTitleRow ( QHBoxLayout * layout, const
>>> QString & title ) and
>>> hide the child object (QLabel*)child("title label", "QLabel") to hide
>>> the title.
>>>
>>> You can also play around with the margin layout to have the spacing
>>> you want.
>>> After you reimplement, don't forget to call QWizard::layOutButtonRow
>>> ( QHBoxLayout * layout )
>>>
>>> Christopher
>>>
>>>
>>>
>>>
>>>
>>>> From: "Kris Moore" <kris@xxxxxxxxx>
>>>> To: qt-interest@xxxxxxxxxxxxx
>>>> Subject: QWizard layout question
>>>> Date: Fri, 12 Jan 2007 14:21:05 -0800
>>>>
>>>> I just have what is hopefully an easy question.
>>>>
>>>> Is there anyway possible to change the default layout when
>>>> using the QWizard class, to remove the horizontal bar at the top,
>>>> along with hide the title?
>>>>
>>>> If so, can the spacing also be adjusted, so that there is no space
>>>> around
>>>> the edges of the widget?
>>>>
>>>> Using QT 3.3.6
>>>>
>>>> Kris Moore
>>>> pcbsd.org
>>>>
>>>>
>>>>
>>>> --
>>>> 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/
>>>>
>>>
>>> _________________________________________________________________
>>> http://www.initiesyouthography.com/R.aspx?a=117
>>>
>>>
>
> _________________________________________________________________
> http://www.initiesyouthography.com/R.aspx?a=117
>
> --
> 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/


Message 5 in thread
Hey Kris,
Yes we are getting warmer, now this should take care of the <hr>.
Reimpliment this
void PBI::layOutButtonRow(QHBoxLayout *layout)
{
QWizard::layOutButtonRow(layout);
QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
aHBar ->setFrameStyle(QFrame::NoFrame);
}
For the layout around the edges, let me see what I can do...
Christopher
_________________________________________________________________
http://www.initiesyouthography.com/R.aspx?a=117
--
[ signature omitted ]
Message 6 in thread
Genius! That gets rid of the top bar as well. I'm looking at the
QGridLayout right now to see about the side margins and stuff. There
still is that small space all around the widget which makes the graphic
look funny.
Christopher Probst wrote:
> Hey Kris,
>
> Yes we are getting warmer, now this should take care of the <hr>.
> Reimpliment this
>
> void PBI::layOutButtonRow(QHBoxLayout *layout)
> {
>
> QWizard::layOutButtonRow(layout);
>
> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
> aHBar ->setFrameStyle(QFrame::NoFrame);
>
> }
>
>
> For the layout around the edges, let me see what I can do...
>
> Christopher
>
> _________________________________________________________________
> http://www.initiesyouthography.com/R.aspx?a=117
>
> --
> 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 7 in thread
Hey Kris,
I never thought that I would end up doing this on a Friday night
can you add this to your code
void Wizard::layOutTitleRow( QHBoxLayout* layout, const QString &title )
{
QLabel *aTitle = (QLabel*)child("title label", "QLabel");
QVBoxLayout *aLayout = (QVBoxLayout*)child("top-level layout",
"QVBoxLayout");
aLayout->setMargin( 0 );
aLayout->setSpacing( 0 );
aTitle->hide();
QWizard::layOutTitleRow(layout, title);
}
>From: Kris Moore <kris@xxxxxxxxx>
>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>qt-interest@xxxxxxxxxxxxx
>Subject: Re: QWizard layout question
>Date: Fri, 12 Jan 2007 16:22:34 -0800
>
>
>Genius! That gets rid of the top bar as well. I'm looking at the
>QGridLayout right now to see about the side margins and stuff. There still
>is that small space all around the widget which makes the graphic look
>funny.
>
>
>
>Christopher Probst wrote:
>>Hey Kris,
>>
>>Yes we are getting warmer, now this should take care of the <hr>.
>>Reimpliment this
>>
>>void PBI::layOutButtonRow(QHBoxLayout *layout)
>>{
>>
>> QWizard::layOutButtonRow(layout);
>>
>> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
>> aHBar ->setFrameStyle(QFrame::NoFrame);
>>
>>}
>>
>>
>>For the layout around the edges, let me see what I can do...
>>
>>Christopher
>>
>>_________________________________________________________________
>>http://www.initiesyouthography.com/R.aspx?a=117
>>
>>--
>>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/
>
_________________________________________________________________
http://www.initiesyouthography.com/R.aspx?a=117
--
[ signature omitted ]
Message 8 in thread
LOL, sorry to keep you up :) I think we got it now! I just changed the
layOutButtonRow() to include this:
aHBar->hide();
And now the graphic is lined up properly, in the top left corner. I
think I can mangle the rest from here, go enjoy your Friday night, I'll
let you know later if I run into more trouble.
Thanks a million!
Christopher Probst wrote:
> Hey Kris,
>
> I never thought that I would end up doing this on a Friday night
>
> can you add this to your code
>
> void Wizard::layOutTitleRow( QHBoxLayout* layout, const QString &title )
> {
> QLabel *aTitle = (QLabel*)child("title label", "QLabel");
> QVBoxLayout *aLayout = (QVBoxLayout*)child("top-level layout",
> "QVBoxLayout");
>
> aLayout->setMargin( 0 );
> aLayout->setSpacing( 0 );
>
>
> aTitle->hide();
>
> QWizard::layOutTitleRow(layout, title);
> }
>
>
>> From: Kris Moore <kris@xxxxxxxxx>
>> To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>> qt-interest@xxxxxxxxxxxxx
>> Subject: Re: QWizard layout question
>> Date: Fri, 12 Jan 2007 16:22:34 -0800
>>
>>
>> Genius! That gets rid of the top bar as well. I'm looking at the
>> QGridLayout right now to see about the side margins and stuff. There
>> still is that small space all around the widget which makes the
>> graphic look funny.
>>
>>
>>
>> Christopher Probst wrote:
>>> Hey Kris,
>>>
>>> Yes we are getting warmer, now this should take care of the <hr>.
>>> Reimpliment this
>>>
>>> void PBI::layOutButtonRow(QHBoxLayout *layout)
>>> {
>>>
>>> QWizard::layOutButtonRow(layout);
>>>
>>> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
>>> aHBar ->setFrameStyle(QFrame::NoFrame);
>>>
>>> }
>>>
>>>
>>> For the layout around the edges, let me see what I can do...
>>>
>>> Christopher
>>>
>>> _________________________________________________________________
>>> http://www.initiesyouthography.com/R.aspx?a=117
>>>
>>> --
>>> 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/
>>
>
> _________________________________________________________________
> http://www.initiesyouthography.com/R.aspx?a=117
>
> --
> 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 9 in thread
Hey Kris,
Well no problem, it was my pleasure to help. I was thinking and perhaps
tinkering away with these child objects, by looking at the Qt source code is
maybe not the best possible solution. I mean by doing this, you may run into
problems if you want to reuse your wizard for other things.
If you get fed up, you may want to do your own Wizard class. I mean it's
just a WidgetStack and a few buttons ;) and a layout you really control.
Christopher
>From: Kris Moore <kris@xxxxxxxxx>
>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>qt-interest@xxxxxxxxxxxxx
>Subject: Re: QWizard layout question
>Date: Fri, 12 Jan 2007 16:45:19 -0800
>
>
>LOL, sorry to keep you up :) I think we got it now! I just changed the
>layOutButtonRow() to include this:
>
>aHBar->hide();
>
>And now the graphic is lined up properly, in the top left corner. I think I
>can mangle the rest from here, go enjoy your Friday night, I'll let you
>know later if I run into more trouble.
>
>Thanks a million!
>
>Christopher Probst wrote:
>
>>Hey Kris,
>>
>>I never thought that I would end up doing this on a Friday night
>>
>>can you add this to your code
>>
>>void Wizard::layOutTitleRow( QHBoxLayout* layout, const QString &title )
>>{
>> QLabel *aTitle = (QLabel*)child("title label", "QLabel");
>> QVBoxLayout *aLayout = (QVBoxLayout*)child("top-level layout",
>>"QVBoxLayout");
>>
>> aLayout->setMargin( 0 );
>> aLayout->setSpacing( 0 );
>>
>>
>> aTitle->hide();
>>
>> QWizard::layOutTitleRow(layout, title);
>>}
>>
>>
>>>From: Kris Moore <kris@xxxxxxxxx>
>>>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>>>qt-interest@xxxxxxxxxxxxx
>>>Subject: Re: QWizard layout question
>>>Date: Fri, 12 Jan 2007 16:22:34 -0800
>>>
>>>
>>>Genius! That gets rid of the top bar as well. I'm looking at the
>>>QGridLayout right now to see about the side margins and stuff. There
>>>still is that small space all around the widget which makes the graphic
>>>look funny.
>>>
>>>
>>>
>>>Christopher Probst wrote:
>>>>Hey Kris,
>>>>
>>>>Yes we are getting warmer, now this should take care of the <hr>.
>>>>Reimpliment this
>>>>
>>>>void PBI::layOutButtonRow(QHBoxLayout *layout)
>>>>{
>>>>
>>>> QWizard::layOutButtonRow(layout);
>>>>
>>>> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
>>>> aHBar ->setFrameStyle(QFrame::NoFrame);
>>>>
>>>>}
>>>>
>>>>
>>>>For the layout around the edges, let me see what I can do...
>>>>
>>>>Christopher
>>>>
>>>>_________________________________________________________________
>>>>http://www.initiesyouthography.com/R.aspx?a=117
>>>>
>>>>--
>>>>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/
>>>
>>
>>_________________________________________________________________
>>http://www.initiesyouthography.com/R.aspx?a=117
>>
>>--
>>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/
>
_________________________________________________________________
http://www.initiesyouthography.com/R.aspx?a=117
--
[ signature omitted ]
Message 10 in thread
Hey Chris, one last question if I may. I saw how with this code, you
were able to get a pointer to the first <hr> in QWizard.
QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
aHBar ->setFrameStyle(QFrame::NoFrame);
aHBar->hide();
How would I go about getting a pointer to the 2nd <hr> near the bottom
of the QWizard? I want to be able to change the style of the <hr> line,
to get rid of the border / spacing around it, but so far I can't find a
way to access it in my code :(
Thanks a bunch in advance!
Kris Moore
Christopher Probst wrote:
> Hey Kris,
>
> I never thought that I would end up doing this on a Friday night
>
> can you add this to your code
>
> void Wizard::layOutTitleRow( QHBoxLayout* layout, const QString &title )
> {
> QLabel *aTitle = (QLabel*)child("title label", "QLabel");
> QVBoxLayout *aLayout = (QVBoxLayout*)child("top-level layout",
> "QVBoxLayout");
>
> aLayout->setMargin( 0 );
> aLayout->setSpacing( 0 );
>
>
> aTitle->hide();
>
> QWizard::layOutTitleRow(layout, title);
> }
>
>
>> From: Kris Moore <kris@xxxxxxxxx>
>> To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>> qt-interest@xxxxxxxxxxxxx
>> Subject: Re: QWizard layout question
>> Date: Fri, 12 Jan 2007 16:22:34 -0800
>>
>>
>> Genius! That gets rid of the top bar as well. I'm looking at the
>> QGridLayout right now to see about the side margins and stuff. There
>> still is that small space all around the widget which makes the
>> graphic look funny.
>>
>>
>>
>> Christopher Probst wrote:
>>> Hey Kris,
>>>
>>> Yes we are getting warmer, now this should take care of the <hr>.
>>> Reimpliment this
>>>
>>> void PBI::layOutButtonRow(QHBoxLayout *layout)
>>> {
>>>
>>> QWizard::layOutButtonRow(layout);
>>>
>>> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
>>> aHBar ->setFrameStyle(QFrame::NoFrame);
>>>
>>> }
>>>
>>>
>>> For the layout around the edges, let me see what I can do...
>>>
>>> Christopher
>>>
>>> _________________________________________________________________
>>> http://www.initiesyouthography.com/R.aspx?a=117
>>>
>>> --
>>> 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/
>>
>
> _________________________________________________________________
> http://www.initiesyouthography.com/R.aspx?a=117
>
> --
> 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 11 in thread
Hello Kris,
I see the problem and as I look at the file wizard.cpp (which is suprisingly
easy to read), I see that they gave the same name property to two separate
objects of the same class.
So, I would suggest (on the top of my head), to use the functions
QObject::children() or QObject::queryList()
(http://doc.trolltech.com/3.3/qobject.html#queryList) to fetch that object.
I hope this helps, and that perhaps more knowledgeable people can
contribute.
A few extra points I wanted to make:
-I think your project pcbsd is cool;
-Should using that kind of C-Style cast be avoided?
-How easy is it getting that Layout to conform to your needs, would it not
be easier to do your own Wizard class with a StackWidget and buttons?
-You may need to reuse these special extras to the QWizard, how are you
going to reuse this with Qt Designer for another Wizard in your project?
Christopher
>From: Kris Moore <kris@xxxxxxxxx>
>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>qt-interest@xxxxxxxxxxxxx
>Subject: Re: QWizard layout question
>Date: Thu, 18 Jan 2007 08:54:10 -0800
>
>
>Hey Chris, one last question if I may. I saw how with this code, you were
>able to get a pointer to the first <hr> in QWizard.
>
> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
> aHBar ->setFrameStyle(QFrame::NoFrame);
> aHBar->hide();
>
>How would I go about getting a pointer to the 2nd <hr> near the bottom of
>the QWizard? I want to be able to change the style of the <hr> line, to get
>rid of the border / spacing around it, but so far I can't find a way to
>access it in my code :(
>
>Thanks a bunch in advance!
>
>Kris Moore
>
>
>Christopher Probst wrote:
>>Hey Kris,
>>
>>I never thought that I would end up doing this on a Friday night
>>
>>can you add this to your code
>>
>>void Wizard::layOutTitleRow( QHBoxLayout* layout, const QString &title )
>>{
>> QLabel *aTitle = (QLabel*)child("title label", "QLabel");
>> QVBoxLayout *aLayout = (QVBoxLayout*)child("top-level layout",
>>"QVBoxLayout");
>>
>> aLayout->setMargin( 0 );
>> aLayout->setSpacing( 0 );
>>
>>
>> aTitle->hide();
>>
>> QWizard::layOutTitleRow(layout, title);
>>}
>>
>>
>>>From: Kris Moore <kris@xxxxxxxxx>
>>>To: Christopher Probst <probst_christopher@xxxxxxxxxxx>,
>>>qt-interest@xxxxxxxxxxxxx
>>>Subject: Re: QWizard layout question
>>>Date: Fri, 12 Jan 2007 16:22:34 -0800
>>>
>>>
>>>Genius! That gets rid of the top bar as well. I'm looking at the
>>>QGridLayout right now to see about the side margins and stuff. There
>>>still is that small space all around the widget which makes the graphic
>>>look funny.
>>>
>>>
>>>
>>>Christopher Probst wrote:
>>>>Hey Kris,
>>>>
>>>>Yes we are getting warmer, now this should take care of the <hr>.
>>>>Reimpliment this
>>>>
>>>>void PBI::layOutButtonRow(QHBoxLayout *layout)
>>>>{
>>>>
>>>> QWizard::layOutButtonRow(layout);
>>>>
>>>> QFrame *aHBar = (QFrame*)child("<hr>", "QFrame");
>>>> aHBar ->setFrameStyle(QFrame::NoFrame);
>>>>
>>>>}
>>>>
>>>>
>>>>For the layout around the edges, let me see what I can do...
>>>>
>>>>Christopher
>>>>
>>>>_________________________________________________________________
>>>>http://www.initiesyouthography.com/R.aspx?a=117
>>>>
>>>>--
>>>>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/
>>>
>>
>>_________________________________________________________________
>>http://www.initiesyouthography.com/R.aspx?a=117
>>
>>--
>>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/
>
_________________________________________________________________
http://magasiner.sympatico.msn.ca/content/shp/?ctId=101,ptnrid=176,ptnrdata=081805
--
[ signature omitted ]