[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: (NULL Parent) Re: Re: WStyle_Customize | WStyle_NoBorderEx but doesn't
From: 杨晓峰 <stlxv () 126 ! com>
Date: 2007-04-29 8:42:01
Message-ID: 46345A59.9060808 () 126 ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I don't understand what did you mean. I know, the parent of the QWidget
is NULL, and the code below shows that the parent is NULL.
MainForm::MainForm(QWidget *parent, const char *name)
:MainFormBase(parent, name)
{
// clearWFlags(getWFlags()); <-- uncomment this line will get ERRORs
setWFlags( // <-- but it doesn't work at beryl, even in KWin
QWidget::WStyle_NoBorderEx |
QWidget::WStyle_Customize
);
if ( parent==NULL ) cout<<"NULL parent"<<endl;
else cout<<"the parent is not null"<<endl;
}
> *List: kde-devel <http://lists.kde.org/?l=kde-devel&r=1&w=2>
> Subject: Re: WStyle_Customize | WStyle_NoBorderEx but doesn't work \
> <http://lists.kde.org/?t=117773562100004&r=1&w=2>
> From: "John Tapsell" <johnflux () gmail ! com> \
> <http://lists.kde.org/?a=114122141400001&r=1&w=2>
> Date: 2007-04-28 10:11:07 \
> <http://lists.kde.org/?l=kde-devel&r=1&b=200704&w=2>
> Message-ID: 43d8ce650704280311s7c0938f3n22687265e0a6587f () mail ! gmail ! com \
> <http://lists.kde.org/?i=43d8ce650704280311s7c0938f3n22687265e0a6587f%20%28%29%20mail%20%21%20gmail%20%21%20com>
> [Download message RAW \
> <http://lists.kde.org/?l=kde-devel&m=117775511324950&q=raw>]*
> Could you double check that parent is NULL ?
>
> > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I don't understand what did you mean. I know, the parent of the QWidget
is NULL, and the code below shows that the parent is NULL.<br>
<br>
MainForm::MainForm(QWidget *parent, const char *name)<br>
:MainFormBase(parent, name)<br>
{<br>
// clearWFlags(getWFlags()); <-- uncomment this line will get
ERRORs<br>
setWFlags( // <-- but it doesn't work at beryl, even in KWin<br>
QWidget::WStyle_NoBorderEx |<br>
QWidget::WStyle_Customize<br>
);<br>
if ( parent==NULL ) cout<<"NULL parent"<<endl;<br>
else cout<<"the parent is not null"<<endl;<br>
}<br>
<br>
<blockquote type="cite">
<pre><b><font size="+1">List: <a
href="http://lists.kde.org/?l=kde-devel&r=1&w=2">kde-devel</a>
Subject: <a href="http://lists.kde.org/?t=117773562100004&r=1&w=2">Re: \
WStyle_Customize | WStyle_NoBorderEx but doesn't work</a>
From: <a href="http://lists.kde.org/?a=114122141400001&r=1&w=2">"John \
Tapsell" <johnflux () gmail ! com></a>
Date: <a href="http://lists.kde.org/?l=kde-devel&r=1&b=200704&w=2">2007-04-28 \
10:11:07</a>
Message-ID: <a
href="http://lists.kde.org/?i=43d8ce650704280311s7c0938f3n22687265e0a6587f%20%28%29%20mail%20%21%20gmail%20%21%20com">43d8ce650704280311s7c0938f3n22687265e0a6587f \
() mail ! gmail ! com</a></font> [<a \
href="http://lists.kde.org/?l=kde-devel&m=117775511324950&q=raw">Download \
message RAW</a>]</b>
Could you double check that parent is NULL ?
>> Visit <a
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe <<</pre> </blockquote>
</body>
</html>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic