Results 1 to 2 of 2

Thread: labelAlignment and QPlastiqueStyle

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default labelAlignment and QPlastiqueStyle

    Hi!

    I'm using QPlastiqueStyle in my application,
    so default labelAlignment is Qt::AlignLeft.

    If I want to use the QPrintPreviewDialog I have the problem that the label next to the pageedit is left of the edit field page so my page index looks like "/2 1" instead of "1/2".
    Is there any posibility of setting the labelAlignment in the dialog?

    Thanks in advance,
    aLiEnHeAd

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: labelAlignment and QPlastiqueStyle

    I don't think this has to do with alignment, but with left to right/right to left text encoding.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. QPlastiqueStyle and QTreeView Scrollbar
    By yazwas in forum Qt Programming
    Replies: 0
    Last Post: 13th November 2009, 23:03
  2. Replies: 5
    Last Post: 1st April 2009, 12:16

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
  •  
Qt is a trademark of The Qt Company.