Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, February 2007
Setting window flags


Message 1 in thread

Hi All,
I am trying to set windo flags as "WStyle_NoBorderEx".
for that I created a protected member in my Implimentation class as

protected:
	void setWFlags( WFlags f );

And the method as

void PatientInfoFormImpl::setWFlags( WFlags fl )
{
	??
	
}


The Reason is I want to create a border less window.

So How can i proceed?

Thanks in advance.

Regards,
Harsha

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 2 in thread

Hi Harsha,

did you give showFullScreen() a try?

Best regards,
Paul

-----Ursprüngliche Nachricht-----
Von: harshavardhanreddy mandeepala [mailto:hvreddy1110@xxxxxxxxx] 
Gesendet: Donnerstag, 15. Februar 2007 15:02
An: qt-embedded-interest@xxxxxxxxxxxxx
Cc: qtopia-interest
Betreff: Setting window flags


Hi All,
I am trying to set windo flags as "WStyle_NoBorderEx".
for that I created a protected member in my Implimentation class as

protected:
	void setWFlags( WFlags f );

And the method as

void PatientInfoFormImpl::setWFlags( WFlags fl )
{
	??
	
}


The Reason is I want to create a border less window.

So How can i proceed?

Thanks in advance.

Regards,
Harsha

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 3 in thread

harshavardhanreddy mandeepala wrote:
> Hi All,
hi,
>
> The Reason is I want to create a border less window.
>
> So How can i proceed?
Dont know which version of Qt you are using, but on Qt-embedded 3.3 the 
following flags will create a borderless frame:

Qt::WStyle_Customize | Qt::WStyle_NoBorder

Hope that helps,

Andre

PS: please do not cross post between various lists.

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 4 in thread

Daer Andre,
Thanks for your suggestion.
In my Implementation class (Derived from ui.h class) i used the
following way.but no improvement.


class PatientInfoFormImpl: public PatientInfoForm
{

Q_OBJECT

public:

PatientInfoFormImpl( QWidget* parent = 0, const char* name = 0, WFlags
fl=(Qt::WStyle_Customize | Qt::WStyle_NoBorder
) );


}

PatientInfoFormImpl is the constructor.

I am useing qtopia-2.1.1 there these flags are also there.
Programm compiled and executed success fully but the border was there on window.

Am i doing any thing wrong?

Thanks,

Regards,
Harsha





On 2/15/07, Andre Haupt <haupt.andre@xxxxxx> wrote:
> harshavardhanreddy mandeepala wrote:
> > Hi All,
> hi,
> >
> > The Reason is I want to create a border less window.
> >
> > So How can i proceed?
> Dont know which version of Qt you are using, but on Qt-embedded 3.3 the
> following flags will create a borderless frame:
>
> Qt::WStyle_Customize | Qt::WStyle_NoBorder
>
> Hope that helps,
>
> Andre
>
> PS: please do not cross post between various lists.
>

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx