Qt-interest Archive, May 2007
DockWidget without a title bar ...
Message 1 in thread
Hi all,
I would like to create a dock widget in the top area of my application,
containing a QTabWidget.
This dock widget would be fixed (NoDockWidgetFeatures) and I need to remove
the area reserved to the title and the area reserved to the implicitly
created splitter.
I tried various window flags, but none of them gives me the expected result.
The goal is to design a MSOffice-2007-like interface as presented in:
http://blogs.msdn.com/photos/jensenh/images/547387/original.aspx
This menu/tool must be a dock widget in order to not get surrounded by
another dock widgets.
How can I acquire this feature ?
Thanks in advance,
Sandro
Message 2 in thread
i am using Qt::CustomizeWindowHint|Qt::FramelessWindowHint|Qt::Window to
create a window without border and title.
Cheers,
Peter
> -----Original Message-----
> From: Sandro Andrade [mailto:sandro.andrade@xxxxxxxxx]
> Sent: Friday, May 18, 2007 1:18 AM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: DockWidget without a title bar ...
>
> Hi all,
>
> I would like to create a dock widget in the top area of my
application,
> containing a QTabWidget.
> This dock widget would be fixed (NoDockWidgetFeatures) and I need to
> remove the area reserved to the title and the area reserved to the
> implicitly created splitter.
> I tried various window flags, but none of them gives me the expected
> result.
>
> The goal is to design a MSOffice-2007-like interface as presented in:
> http://blogs.msdn.com/photos/jensenh/images/547387/original.aspx
> <http://blogs.msdn.com/photos/jensenh/images/547387/original.aspx>
>
> This menu/tool must be a dock widget in order to not get surrounded by
> another dock widgets.
> How can I acquire this feature ?
>
> Thanks in advance,
> Sandro
--
[ signature omitted ]
Message 3 in thread
Hi Peter, thanks for reply.
The flags you suggested work fine in MainWindows but, when used in
QDockWidgets, they dissapear completely.
Any other hint ?
Thanks,
Sandro
On 5/18/07, Peter Prade <prade@xxxxxxxxxxx> wrote:
>
> i am using Qt::CustomizeWindowHint|Qt::FramelessWindowHint|Qt::Window to
> create a window without border and title.
>
> Cheers,
> Peter
>
> > -----Original Message-----
> > From: Sandro Andrade [mailto:sandro.andrade@xxxxxxxxx]
> > Sent: Friday, May 18, 2007 1:18 AM
> > To: qt-interest@xxxxxxxxxxxxx
> > Subject: DockWidget without a title bar ...
> >
> > Hi all,
> >
> > I would like to create a dock widget in the top area of my
> application,
> > containing a QTabWidget.
> > This dock widget would be fixed (NoDockWidgetFeatures) and I need to
> > remove the area reserved to the title and the area reserved to the
> > implicitly created splitter.
> > I tried various window flags, but none of them gives me the expected
> > result.
> >
> > The goal is to design a MSOffice-2007-like interface as presented in:
> > http://blogs.msdn.com/photos/jensenh/images/547387/original.aspx
> > <http://blogs.msdn.com/photos/jensenh/images/547387/original.aspx>
> >
> > This menu/tool must be a dock widget in order to not get surrounded by
> > another dock widgets.
> > How can I acquire this feature ?
> >
> > Thanks in advance,
> > Sandro
>
> --
> 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/
>
>