Results 1 to 17 of 17

Thread: Marquee QLabel

  1. #1
    Join Date
    Aug 2009
    Posts
    5
    Thanks
    4
    Thanked 9 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Marquee QLabel

    Hello Qt Devs !
    I created one more use ful qt widget i.e. a Label with marquee functionality.
    Download it and use it in your project.

    Download Link 1.
    Download Link 2.

    -Thanking you.
    Last edited by embitel; 13th October 2009 at 14:23.

  2. The following 3 users say thank you to embitel for this useful post:

    malmen.m (14th October 2009), nish (14th October 2009), prophet0 (14th March 2012)

  3. #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: Marquee QLabel

    The "link one" location is updated. now it will not nag you to register.
    good work embitel. when you plan to upload the source?

  4. The following user says thank you to nish for this useful post:

    embitel (14th October 2009)

  5. #3
    Join Date
    Aug 2009
    Posts
    5
    Thanks
    4
    Thanked 9 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Marquee QLabel

    Quote Originally Posted by MrDeath View Post
    The "link one" location is updated. now it will not nag you to register.
    Ohh man, thanks a stack. I was really concern about that. And you done it, I am so greateful to you
    Quote Originally Posted by MrDeath View Post
    good work embitel. when you plan to upload the source?
    This is freeware so I need to ask that is it possible for me. I just wanna know, that is it working fine on linux ?
    Because I compiled and tested on only one flavor i.e. suse.
    Last edited by embitel; 14th October 2009 at 05:56.

  6. #4
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    1

    Default Re: Marquee QLabel

    Good one.
    Can we have source for this ?

  7. #5
    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: Marquee QLabel

    i was not able to get it work on fedora 8.

  8. #6
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Default Re: Marquee QLabel

    Closed source

  9. #7
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    287
    Thanks
    23
    Thanked 31 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Marquee QLabel

    Quote Originally Posted by wirasto View Post
    Closed source
    Dont know if this will help you but here it goes

    http://www.truquesedicas.com/tutoria.../ac/00013a.php

    This is a tutorial with a marque in DHTML. Since lots of text in Qt are formated with html you can try using this code, dont know if it will work, but you can try to do your own moving text.

  10. #8
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Marquee QLabel

    The embitel-version looks a bit useless as it is now.
    Text should scroll from right to left; not from left to right. But maybe there is a property scrollDirection?

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

    Default Re: Marquee QLabel

    is there any chance to have an 64bit version of the library?

  12. #10
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Marquee QLabel

    Doesn't the library come in source code format?

  13. #11
    Join Date
    Dec 2007
    Posts
    627
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Marquee QLabel

    Hi Folks !!

    Please find the attached source code.
    Attached Files Attached Files
    Last edited by yogeshgokul; 3rd January 2011 at 13:33.

  14. #12
    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: Marquee QLabel

    Quote Originally Posted by yogeshgokul View Post
    Hi Folks !!

    Please find the attached source code.
    why not put it in a zip

  15. #13
    Join Date
    Dec 2007
    Posts
    627
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Marquee QLabel

    I knew it that, you will not waste any chance to bejjatizing me. But its good, because now we have the source of impressive example too. I am sure, you doesnt have it.
    ENJOY !

    I am planning to implement captcha functionality next. Its good to be back on qtcentre after long pause.
    Attached Files Attached Files
    Last edited by yogeshgokul; 4th January 2011 at 09:05. Reason: Attachment

  16. The following user says thank you to yogeshgokul for this useful post:

    OpticalIllusion (13th May 2013)

  17. #14
    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: Marquee QLabel

    Quote Originally Posted by yogeshgokul View Post
    I knew it that, you will not waste any chance to bejjatizing me. But its good, because now we have the source of impressive example too. I am sure, you doesnt have it.
    ENJOY !

    I am planning to implement captcha functionality next. Its good to be back on qtcentre after long pause.
    what about improving this to support both side scrolling?

  18. #15
    Join Date
    Dec 2007
    Posts
    627
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Marquee QLabel

    Quote Originally Posted by MrDeath View Post
    what about improving this to support both side scrolling?
    Yes its incorporated. Just check that out.
    Users can also download this source from Qt-apps.org. The link is beneath.
    http://qt-apps.org/content/show.php/...content=113690

  19. The following user says thank you to yogeshgokul for this useful post:


  20. #16
    Join Date
    Mar 2011
    Posts
    18
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Marquee QLabel

    yes just a simple text as exemple " this is a test" move from from left to right just it can you five me the code ?

  21. #17
    Join Date
    Jun 2014
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Marquee QLabel

    This MarqueeLabel shows the movement of the text from the left to the right.
    Is it possible to choose the movement from the right to the left? And why can I select this? Because by default the speed is 1, but if you change this value to a negative the text goes from rigth to the left, but when it arrives to the end, it disappears.

    With this method I find the solution of my problems of the length for my Qt application

    In the same way, is it possible to set for the vertical position, selecting the height and weight of the QLabel?
    Last edited by gerteksa; 4th June 2014 at 08:58.

Similar Threads

  1. Replies: 6
    Last Post: 21st September 2009, 10:55
  2. Trouble with QLabel
    By dany_MB in forum Newbie
    Replies: 3
    Last Post: 14th August 2009, 08:21
  3. Replies: 3
    Last Post: 17th July 2008, 07:43
  4. QLabel ScaledContents ignored by style sheet?
    By WinchellChung in forum Newbie
    Replies: 3
    Last Post: 27th February 2008, 14:50
  5. QLabel size policy
    By Caius Aérobus in forum Qt Programming
    Replies: 3
    Last Post: 7th December 2007, 17:57

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.