| Subject: | frameless mdi child in workspace ? |
|---|---|
| From: | "Honglin Ye" |
| Date: | Sun, 12 Nov 2006 11:27:49 -0700 MST |
Hi, All,
I would like to make children in a workspace frameless.
This should be possible. However, the following makes all
children disapear instead. How to?
Thanks.
------------
foreach (QWidget *window, workspace->windowList()) {
MdiChild *mdiChild = qobject_cast<MdiChild *>(window);
mdiChild->setWindowFlags(Qt::Sheet | Qt::FramelessWindowHint);
mdiChild->raise();
}
------------
--
Honglin Ye
--
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/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Does QApplication give special recognition to its first window?, Andreas Pakulat |
|---|---|
| Next by Date: | [QT4.2.0]How to add more than 2 pages into the QStackedWidget using QTDesigner?, zhu jiang |
| Previous by Thread: | Does QApplication give special recognition to its first window?, Steven T. Hatton |
| Next by Thread: | [QT4.2.0]How to add more than 2 pages into the QStackedWidget using QTDesigner?, zhu jiang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |