Results 1 to 2 of 2

Thread: List widget with dynamic up and down arrow buttons

  1. #1
    Join Date
    Nov 2008
    Posts
    178
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default List widget with dynamic up and down arrow buttons

    Are there any examples of a list widget which has dynamic up and down arrow buttons instead of scroll bar? What I mean by dynamic up and down arrows is an arrow appears at the bottom of the list when there are more items below and goes away when no more remain. Same for the top.

    Thanks,
    Roland

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: List widget with dynamic up and down arrow buttons

    It should be quite easy to implement it. Create two arrow widgets as children of the view, position them in the view's resizeEvent and make them appear/disappear based on the scrollbar value. And of course hide the scrollbar itself if you don't want it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. arrow buttons
    By madhukumar in forum Qt Programming
    Replies: 1
    Last Post: 28th January 2014, 18:13
  2. Replies: 0
    Last Post: 17th July 2011, 13:58
  3. Help with a dynamic list of pictures/text
    By Dreamerzz in forum Qt Programming
    Replies: 1
    Last Post: 22nd June 2011, 00:01
  4. Dynamic List Box
    By somnathbanik in forum Newbie
    Replies: 2
    Last Post: 4th April 2011, 13:17
  5. Designer plugin & dynamic value list for text input
    By janus in forum Qt Programming
    Replies: 0
    Last Post: 4th April 2009, 12:41

Tags for this Thread

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.