Results 1 to 2 of 2

Thread: QCalendar's navigationBar size

  1. #1
    Join Date
    Mar 2011
    Posts
    82
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QCalendar's navigationBar size

    Is there a way to change the navigationBar's size? Particularly, its height.

    My idea is that to the standard QCalendar (with its navigationBar enabled, of course), add a "close" button to the navigation bar and also make it bigger in height. I can't seem to find the place in the code where this is done, as to edit it somehow.

    Can anyone provide some help with that?

  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: QCalendar's navigationBar size

    I think you will have to subclass.
    ==========================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. Qcalendar widget for mobile
    By ranjit.kadam in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 7th April 2011, 13:01
  2. QCalendar Widget styling
    By succorguy in forum Qt Programming
    Replies: 5
    Last Post: 7th December 2010, 21:49
  3. Replies: 0
    Last Post: 26th October 2010, 17:59
  4. Customize QCalendar Widget
    By NoRulez in forum Qt Programming
    Replies: 2
    Last Post: 17th August 2010, 21:27
  5. Replies: 2
    Last Post: 23rd March 2009, 17:26

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.