Results 1 to 4 of 4

Thread: Circular list widget

  1. #1
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Circular list widget

    Hello!

    This is my first contribution to OS community.
    I've created a widget that has a list of items (QLabel) and its point is to scroll items like they are on a cylinder.

    It is in ver 0.1.0. Here is the link.

    I would love to improve my skills in writing project (code, documentation, unit tests) so... I would like to hear your opinion.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Circular list widget

    it would be good if you posted a screenshot or youtube video of your widget.

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Circular list widget

    Just while a brief look I came across
    Qt Code:
    1. #ifdef DEBUG
    2. qDebug() <<"item h: " << item->height() << " w: " << item->width();
    3. #endif
    To copy to clipboard, switch view to plain text mode 
    If you build in release mode qDebug() will print nothing, so you don't have to write each time #ifdef...

  4. #4
    Join Date
    Apr 2007
    Posts
    76
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Circular list widget

    I haven't done anything (yet) about graphics. And I supposed the demo is good enough. I'll work on youtube video that's a good idea. Haven't done it yet

    I didn't know that, thanx


    Added after 8 minutes:


    sorry, something went wrong while I was posting...

    @MrDeath
    I haven't done anything (yet) about graphics. And I supposed the demo is good enough. I'll work on youtube video that's a good idea. Haven't done it yet

    @Lykurg
    I didn't know that, thanx.
    I test it as you said. With the rules I have in CMakeLists.txt it didn't work?!?! Am I missing something.

    I haven't done anything (yet) about graphics. And I supposed the demo is good enough. I'll work on youtube video that's a good idea. Haven't done it yet
    Last edited by codebehind; 25th January 2011 at 23:10.

Similar Threads

  1. Help me on creating a List Widget...
    By Bong.Da.City in forum Newbie
    Replies: 50
    Last Post: 11th September 2010, 14:51
  2. How can I create a widget list as Qt Designer?
    By ricardo in forum Qt Programming
    Replies: 5
    Last Post: 3rd May 2009, 12:54
  3. List Widget need help!
    By patrick772goh in forum Newbie
    Replies: 1
    Last Post: 15th August 2007, 10:25
  4. Stupid list widget won't clear
    By scwizard in forum Qt Programming
    Replies: 14
    Last Post: 5th July 2007, 16:03
  5. Custom widget in list view
    By fusoin23 in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2006, 14:09

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.