Re: [Qt-creator] Problems with Dockwidgets

2010-01-22 Thread Eike Ziller
On Jan 22, 2010, at 12:31 AM, ext Ken Ray wrote:

 Looks like my message didn't make it.  
 
 I found the solution and it definitely related to Creator and to user lack of 
 knowledge of Creator. I'm a bit surprised that I was sent on a wild goose 
 chase to resolve this.
 
 The answer was surprisingly simple.  All I had to do was modify the 
 minimumSize.Width property to the size that I wanted and the geometry.Width 
 picked it up.  It seems kinda silly to have several different areas to set 
 the width of the widget i'm playing with, Min size, Max size make sense. But 
 adding a geometry completely messed me up here. Can anyone explain what the 
 rational is here .

The relationships in Qt between geometry, size hint, size policy, minimum and 
maximum size are sometimes not obvious.
Trying to wrap it up a little bit, but be sure that what I say isn't the whole 
story:
* You have to distinguish between a widget that is added to a layout or not 
(dockwidgets are in a layout).
* No layout: geometry defines the size of the widget, constrained by minimum 
and maximum size.
* In a layout: the layout takes the size hint from the widget (a size 
calculated by the widget itself, in case of a dockwidget that depends on the 
layouts and widgets inside the dockwidget), and depending on the size policy 
(http://doc.qt.nokia.com/4.6/qsizepolicy.html#Policy-enum), and depending on 
all the size hints and policies of other widgets in the layout, calculates the 
actual size of the widget, which is again constrained by minimum and maximum 
size. After that the geometry property reflects the size of the widget.

So, the moment a widget is contained in a layout, its geometry is actually a 
read-only property.

Designer actually sets the geometry property to read-only if you add a widget 
to a layout. Seems that you hit a bug that Designer doesn't do that when you 
add a dockwidget to a QMainWindow.

You can find a bit more detail (also mentioning stretch factors) e.g. here 
http://doc.qt.nokia.com/4.6/layout.html

 Also, when I set the minimum width I got a vertical line on the right side of 
 the dockWidget... something I've been trying to figure out how the sample did 
 it, but with no luck. 
 
 So I'm currently back playing with Creator and QT.  Are there be any relevant 
 books or tutorials dealing with this ?
 
 Ken
 
 
 On Jan 21, 2010, at 2:46 PM, Danny Price wrote:
 
 We'll still be here when you come back :)
 
 On 21 Jan 2010, at 22:09, Coda Highland wrote:
 
 On Thu, Jan 21, 2010 at 3:11 PM, Ken Ray k...@ishere.com wrote:
 I tried qt-interest and not much of a response. Note that this test app 
 I'm trying to build is just like the fontsampler demo that comes with 
 creator/QT.  I'm trying to duplicate the dockwidget on the left. How did 
 fontsampler get around this problem ?   It seems to me that if Creator 
 can't hold a layout for more than a few clicks there is a serious flaw. It 
 makes working with all the contents related to that dockwidget a pain in 
 the ass.
 
 I'm going to go play with Mono now to see how there stuff is .
 
 I want some cross platform development that is stable. but if none is 
 stable , then I guess it's back to VS .net ..
 
 Mono is pretty gimped, sadly. Most of the good .NET stuff is
 Microsoft-only junk that's only available on Windows. Even Java would
 be preferable to .NET if you want cross-platform compatibility.
 
 You happened to hit on the one thing I don't like about Qt: dock
 widgets. I've never had a lot of luck with them, and when I do use
 them I develop with code, not Designer. There's several things that
 they don't do quite right. But don't let that one widget turn you off
 to the toolkit as a whole. Qt's very stable and very robust, and it's
 the best toolkit available for writing apps that look native on all
 supported platforms.
 
 Consider possibly using some other solution if dock widgets in
 Designer aren't working for you. Maybe construct the dock widgets in
 code, or maybe use some non-docking solution.
 
 /s/ Adam
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Ken Ray
I tried qt-interest and not much of a response. Note that this test app I'm 
trying to build is just like the fontsampler demo that comes with creator/QT.  
I'm trying to duplicate the dockwidget on the left. How did fontsampler get 
around this problem ?   It seems to me that if Creator can't hold a layout for 
more than a few clicks there is a serious flaw. It makes working with all the 
contents related to that dockwidget a pain in the ass.  

I'm going to go play with Mono now to see how there stuff is . 

I want some cross platform development that is stable. but if none is stable , 
then I guess it's back to VS .net .. 


On Jan 20, 2010, at 2:44 PM, Thomas Dähling wrote:

 Hi Ken,
 
 so if this also happens in the external designer, then you might want
 to switch this discussion over to qt-interest if you consider this to
 be a Qt defect :-)
 
 /Thomas
 
 2010/1/20 Ken Ray k...@ishere.com:
 Not true. I just tried it in the external Designer. I changed the size of 
 the dockWidget to 250. Then simply clicked on another widget.. a textEdit. 
 The dockWidget immediately resized itself automatically.
 
 On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:
 
 That's Designer, which happens to be embedded in Creator. The only way
 this is directly Creator-related is if it doesn't happen when using
 the external Designer.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray k...@ishere.com wrote:
 This is directly related to Creator. I'm building the layout of the form 
 using Creator, and Creator is not saving my changes.
 On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:
 
 This question should be directed toward the qt-interest mailing list.
 The qt-creator ML is specifically for discussion about the Qt Creator
 IDE, not for programs you're writing using it.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 2:58 PM, Ken Ray k...@ishere.com wrote:
 
 Hey, I'm getting started with QT, so bear with me. I've been trying to 
 work with a Dockwidget that has a treewidget inside of it.
 
 1) I did a layout vertical layout on the dockWidgetContents and it 
 caused the contained treeview to shrink in size (large borders), is 
 there a way to avoid that behavior ?
 
 2) I changed the size of the dockWidget to a certain width, with policy 
 being preferred, preferred.  This is all done in Creator 1.3.1 .  I then 
 opened a source file and then went bak to the ui view. The dockWidget 
 had reset it's size back to it's original size. There doesn't seem to be 
 anything I can do to keep it from auto resizing itself. Is this a bug ?  
 Is there a way to fix this problem ?
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread John Vilburn
If you want a fixed size widget, set the size policy for that widget to fixed.

On Jan 21, 2010, at 11:11 AM, Ken Ray wrote:

 I tried qt-interest and not much of a response. Note that this test app I'm 
 trying to build is just like the fontsampler demo that comes with creator/QT. 
  I'm trying to duplicate the dockwidget on the left. How did fontsampler get 
 around this problem ?   It seems to me that if Creator can't hold a layout 
 for more than a few clicks there is a serious flaw. It makes working with all 
 the contents related to that dockwidget a pain in the ass.  
 
 I'm going to go play with Mono now to see how there stuff is . 
 
 I want some cross platform development that is stable. but if none is stable 
 , then I guess it's back to VS .net .. 
 
 
 On Jan 20, 2010, at 2:44 PM, Thomas Dähling wrote:
 
 Hi Ken,
 
 so if this also happens in the external designer, then you might want
 to switch this discussion over to qt-interest if you consider this to
 be a Qt defect :-)
 
 /Thomas
 
 2010/1/20 Ken Ray k...@ishere.com:
 Not true. I just tried it in the external Designer. I changed the size of 
 the dockWidget to 250. Then simply clicked on another widget.. a textEdit. 
 The dockWidget immediately resized itself automatically.
 
 On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:
 
 That's Designer, which happens to be embedded in Creator. The only way
 this is directly Creator-related is if it doesn't happen when using
 the external Designer.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray k...@ishere.com wrote:
 This is directly related to Creator. I'm building the layout of the form 
 using Creator, and Creator is not saving my changes.
 On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:
 
 This question should be directed toward the qt-interest mailing list.
 The qt-creator ML is specifically for discussion about the Qt Creator
 IDE, not for programs you're writing using it.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 2:58 PM, Ken Ray k...@ishere.com wrote:
 
 Hey, I'm getting started with QT, so bear with me. I've been trying to 
 work with a Dockwidget that has a treewidget inside of it.
 
 1) I did a layout vertical layout on the dockWidgetContents and it 
 caused the contained treeview to shrink in size (large borders), is 
 there a way to avoid that behavior ?
 
 2) I changed the size of the dockWidget to a certain width, with policy 
 being preferred, preferred.  This is all done in Creator 1.3.1 .  I 
 then opened a source file and then went bak to the ui view. The 
 dockWidget had reset it's size back to it's original size. There 
 doesn't seem to be anything I can do to keep it from auto resizing 
 itself. Is this a bug ?  Is there a way to fix this problem ?
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Ken Ray
The demo is not fixed. If you look at it running it is completely sizable ... 
which is what I want .

On Jan 21, 2010, at 1:15 PM, John Vilburn wrote:

 If you want a fixed size widget, set the size policy for that widget to fixed.
 
 On Jan 21, 2010, at 11:11 AM, Ken Ray wrote:
 
 I tried qt-interest and not much of a response. Note that this test app I'm 
 trying to build is just like the fontsampler demo that comes with 
 creator/QT.  I'm trying to duplicate the dockwidget on the left. How did 
 fontsampler get around this problem ?   It seems to me that if Creator can't 
 hold a layout for more than a few clicks there is a serious flaw. It makes 
 working with all the contents related to that dockwidget a pain in the ass.  
 
 I'm going to go play with Mono now to see how there stuff is . 
 
 I want some cross platform development that is stable. but if none is stable 
 , then I guess it's back to VS .net .. 
 
 
 On Jan 20, 2010, at 2:44 PM, Thomas Dähling wrote:
 
 Hi Ken,
 
 so if this also happens in the external designer, then you might want
 to switch this discussion over to qt-interest if you consider this to
 be a Qt defect :-)
 
 /Thomas
 
 2010/1/20 Ken Ray k...@ishere.com:
 Not true. I just tried it in the external Designer. I changed the size of 
 the dockWidget to 250. Then simply clicked on another widget.. a textEdit. 
 The dockWidget immediately resized itself automatically.
 
 On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:
 
 That's Designer, which happens to be embedded in Creator. The only way
 this is directly Creator-related is if it doesn't happen when using
 the external Designer.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray k...@ishere.com wrote:
 This is directly related to Creator. I'm building the layout of the form 
 using Creator, and Creator is not saving my changes.
 On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:
 
 This question should be directed toward the qt-interest mailing list.
 The qt-creator ML is specifically for discussion about the Qt Creator
 IDE, not for programs you're writing using it.
 
 /s/ Adam
 
 On Wed, Jan 20, 2010 at 2:58 PM, Ken Ray k...@ishere.com wrote:
 
 Hey, I'm getting started with QT, so bear with me. I've been trying to 
 work with a Dockwidget that has a treewidget inside of it.
 
 1) I did a layout vertical layout on the dockWidgetContents and it 
 caused the contained treeview to shrink in size (large borders), is 
 there a way to avoid that behavior ?
 
 2) I changed the size of the dockWidget to a certain width, with 
 policy being preferred, preferred.  This is all done in Creator 1.3.1 
 .  I then opened a source file and then went bak to the ui view. The 
 dockWidget had reset it's size back to it's original size. There 
 doesn't seem to be anything I can do to keep it from auto resizing 
 itself. Is this a bug ?  Is there a way to fix this problem ?
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Coda Highland
On Thu, Jan 21, 2010 at 3:11 PM, Ken Ray k...@ishere.com wrote:
 I tried qt-interest and not much of a response. Note that this test app I'm 
 trying to build is just like the fontsampler demo that comes with creator/QT. 
  I'm trying to duplicate the dockwidget on the left. How did fontsampler get 
 around this problem ?   It seems to me that if Creator can't hold a layout 
 for more than a few clicks there is a serious flaw. It makes working with all 
 the contents related to that dockwidget a pain in the ass.

 I'm going to go play with Mono now to see how there stuff is .

 I want some cross platform development that is stable. but if none is stable 
 , then I guess it's back to VS .net ..

Mono is pretty gimped, sadly. Most of the good .NET stuff is
Microsoft-only junk that's only available on Windows. Even Java would
be preferable to .NET if you want cross-platform compatibility.

You happened to hit on the one thing I don't like about Qt: dock
widgets. I've never had a lot of luck with them, and when I do use
them I develop with code, not Designer. There's several things that
they don't do quite right. But don't let that one widget turn you off
to the toolkit as a whole. Qt's very stable and very robust, and it's
the best toolkit available for writing apps that look native on all
supported platforms.

Consider possibly using some other solution if dock widgets in
Designer aren't working for you. Maybe construct the dock widgets in
code, or maybe use some non-docking solution.

/s/ Adam

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Danny Price
We'll still be here when you come back :)

On 21 Jan 2010, at 22:09, Coda Highland wrote:

 On Thu, Jan 21, 2010 at 3:11 PM, Ken Ray k...@ishere.com wrote:
 I tried qt-interest and not much of a response. Note that this test app I'm 
 trying to build is just like the fontsampler demo that comes with 
 creator/QT.  I'm trying to duplicate the dockwidget on the left. How did 
 fontsampler get around this problem ?   It seems to me that if Creator can't 
 hold a layout for more than a few clicks there is a serious flaw. It makes 
 working with all the contents related to that dockwidget a pain in the ass.
 
 I'm going to go play with Mono now to see how there stuff is .
 
 I want some cross platform development that is stable. but if none is stable 
 , then I guess it's back to VS .net ..
 
 Mono is pretty gimped, sadly. Most of the good .NET stuff is
 Microsoft-only junk that's only available on Windows. Even Java would
 be preferable to .NET if you want cross-platform compatibility.
 
 You happened to hit on the one thing I don't like about Qt: dock
 widgets. I've never had a lot of luck with them, and when I do use
 them I develop with code, not Designer. There's several things that
 they don't do quite right. But don't let that one widget turn you off
 to the toolkit as a whole. Qt's very stable and very robust, and it's
 the best toolkit available for writing apps that look native on all
 supported platforms.
 
 Consider possibly using some other solution if dock widgets in
 Designer aren't working for you. Maybe construct the dock widgets in
 code, or maybe use some non-docking solution.
 
 /s/ Adam
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Ken Ray
Looks like my message didn't make it.  

I found the solution and it definitely related to Creator and to user lack of 
knowledge of Creator. I'm a bit surprised that I was sent on a wild goose chase 
to resolve this.

The answer was surprisingly simple.  All I had to do was modify the 
minimumSize.Width property to the size that I wanted and the geometry.Width 
picked it up.  It seems kinda silly to have several different areas to set the 
width of the widget i'm playing with, Min size, Max size make sense. But adding 
a geometry completely messed me up here. Can anyone explain what the rational 
is here .

Also, when I set the minimum width I got a vertical line on the right side of 
the dockWidget... something I've been trying to figure out how the sample did 
it, but with no luck. 

So I'm currently back playing with Creator and QT.  Are there be any relevant 
books or tutorials dealing with this ?

Ken


On Jan 21, 2010, at 2:46 PM, Danny Price wrote:

 We'll still be here when you come back :)
 
 On 21 Jan 2010, at 22:09, Coda Highland wrote:
 
 On Thu, Jan 21, 2010 at 3:11 PM, Ken Ray k...@ishere.com wrote:
 I tried qt-interest and not much of a response. Note that this test app I'm 
 trying to build is just like the fontsampler demo that comes with 
 creator/QT.  I'm trying to duplicate the dockwidget on the left. How did 
 fontsampler get around this problem ?   It seems to me that if Creator 
 can't hold a layout for more than a few clicks there is a serious flaw. It 
 makes working with all the contents related to that dockwidget a pain in 
 the ass.
 
 I'm going to go play with Mono now to see how there stuff is .
 
 I want some cross platform development that is stable. but if none is 
 stable , then I guess it's back to VS .net ..
 
 Mono is pretty gimped, sadly. Most of the good .NET stuff is
 Microsoft-only junk that's only available on Windows. Even Java would
 be preferable to .NET if you want cross-platform compatibility.
 
 You happened to hit on the one thing I don't like about Qt: dock
 widgets. I've never had a lot of luck with them, and when I do use
 them I develop with code, not Designer. There's several things that
 they don't do quite right. But don't let that one widget turn you off
 to the toolkit as a whole. Qt's very stable and very robust, and it's
 the best toolkit available for writing apps that look native on all
 supported platforms.
 
 Consider possibly using some other solution if dock widgets in
 Designer aren't working for you. Maybe construct the dock widgets in
 code, or maybe use some non-docking solution.
 
 /s/ Adam
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator
 
 
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-21 Thread Thomas Dähling
2010/1/21 Ken Ray k...@ishere.com:
 Looks like my message didn't make it.

Oh it did make it previously. :-)

 ...

 Also, when I set the minimum width I got a vertical line on the right side of 
 the dockWidget... something I've been trying to figure out how the sample did 
 it, but with no luck.

 So I'm currently back playing with Creator and QT.  Are there be any relevant 
 books or tutorials dealing with this ?


I have to admit that your first post regarding this made me look
through the Qt documentation and I could not find anything obvious
about this (am I just not seeing the forest for the trees?). The major
issue, I guess, is that it's not necessarily obvious what you have to
specify how unless you actually start looking up the documentation for
these specific attributes. Maybe it is worthwhile to have a simple
tutorial for creating forms - I know that it is actually quite simple
to grasp and incredibly easy to use once you grasped it, but it took
me a few moments to find these things out myself.

This documentation discussion is now going slightly off-topic, though
and is probably more suited for qt-interest. We might want to start a
new thread regarding this there :-)

/Thomas

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Problems with Dockwidgets

2010-01-20 Thread Ken Ray

Hey, I'm getting started with QT, so bear with me. I've been trying to work 
with a Dockwidget that has a treewidget inside of it. 

1) I did a layout vertical layout on the dockWidgetContents and it caused the 
contained treeview to shrink in size (large borders), is there a way to avoid 
that behavior ?

2) I changed the size of the dockWidget to a certain width, with policy being 
preferred, preferred.  This is all done in Creator 1.3.1 .  I then opened a 
source file and then went bak to the ui view. The dockWidget had reset it's 
size back to it's original size. There doesn't seem to be anything I can do to 
keep it from auto resizing itself. Is this a bug ?  Is there a way to fix this 
problem ?

 
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Problems with Dockwidgets

2010-01-20 Thread Thomas Dähling
Hi Ken,

so if this also happens in the external designer, then you might want
to switch this discussion over to qt-interest if you consider this to
be a Qt defect :-)

/Thomas

2010/1/20 Ken Ray k...@ishere.com:
 Not true. I just tried it in the external Designer. I changed the size of the 
 dockWidget to 250. Then simply clicked on another widget.. a textEdit. The 
 dockWidget immediately resized itself automatically.

 On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:

 That's Designer, which happens to be embedded in Creator. The only way
 this is directly Creator-related is if it doesn't happen when using
 the external Designer.

 /s/ Adam

 On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray k...@ishere.com wrote:
 This is directly related to Creator. I'm building the layout of the form 
 using Creator, and Creator is not saving my changes.
 On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:

 This question should be directed toward the qt-interest mailing list.
 The qt-creator ML is specifically for discussion about the Qt Creator
 IDE, not for programs you're writing using it.

 /s/ Adam

 On Wed, Jan 20, 2010 at 2:58 PM, Ken Ray k...@ishere.com wrote:

 Hey, I'm getting started with QT, so bear with me. I've been trying to 
 work with a Dockwidget that has a treewidget inside of it.

 1) I did a layout vertical layout on the dockWidgetContents and it caused 
 the contained treeview to shrink in size (large borders), is there a way 
 to avoid that behavior ?

 2) I changed the size of the dockWidget to a certain width, with policy 
 being preferred, preferred.  This is all done in Creator 1.3.1 .  I then 
 opened a source file and then went bak to the ui view. The dockWidget had 
 reset it's size back to it's original size. There doesn't seem to be 
 anything I can do to keep it from auto resizing itself. Is this a bug ?  
 Is there a way to fix this problem ?


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator