Results 1 to 2 of 2

Thread: centering the windowTitle of QWidget (or QWidget derived object)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Florida
    Posts
    24
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb centering the windowTitle of QWidget (or QWidget derived object)

    anyone know how to center the title text of a QWidget or QWidget derived class like QDialog. Right now, the title only appears on the left side, I wanted to make it centered.

    I'm using QT 4 on a redHat Linux 8

  2. #2
    Join Date
    Jan 2006
    Location
    Cambridge, MA
    Posts
    32
    Thanked 7 Times in 6 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: centering the windowTitle of QWidget (or QWidget derived object)

    This feature is going to be very specific to your Window Manager. Qt tries to avoid mucking around in such platform specific areas. I think you might be out of luck with reagards to an easy Qt solution to this problem.

    --Justin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.