[Qt-interest] How to build my Window Title?

Neville Dastur qt at dastur.me.uk
Wed Oct 20 10:37:52 CEST 2010



On 20/10/10 07:30, 于晓阳 wrote:
>
> Hi all:
>
> I want to build my Window Title for these reasons:
>
> 1)Display some images,texts on my title;
>
> 2)Fix the window’s size and position,but I want a window with
> title,not a frameless one.
>
> 3)In some X11 circumstance,like Linux,it’s difficult to hide MAXIMIZED
> or MINIMIZED button.
>
Why not use a frameless window and paint your own title etc
>
> My codes is already done,and my toplevel widget is a QMainWindow.
>
> How to embed my QMainWindow into a QFrame?
>
> Maybe by this way, I can simulate a Window title.
>
>
> ------------------------------------------------------------------------
> 本电子邮件及附件都属机密文件,并且仅供标明地址的个人或团体使用。
> 如果本电子邮件与您无关,请删除全部原始信息(包括任何原始信息的备份),
> 并通知发件人。
> This email and its attachments may be confidential and are intended
> solely for the use of the individual to whom it is addressed.
> If you are not the intended recipient of this email and its
> attachments, you must take no action based upon them, nor must you
> copy or show them to anyone. Please contact the sender if you believe
> you have received this email in error.
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101020/7709cc66/attachment.html 


More information about the Qt-interest-old mailing list