Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Moving message board
Forum Updated to NodeBB v4.3 + New Features

Moving message board

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 774 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    ShinSat
    wrote on last edited by
    #1

    Hi,
    Does anybody know a lightweight way to create message board where single line of message dynamically moves from left to right(like animation).
    The message can be a real-time news or stock information. This is something like an electric board that we can see at bank or securities company.

    I guess there’s no built-in function in qt, so I have to subclass QLabel, QTextEdit or something.
    But one thing I’m not sure is how to achieve that.
    Do I repeat clearing the message string in the class and re-assign at the next position, and then, do the same?
    Is this the only way?

    I’m using pyqt5.9.1 on Win7.

    Thanks,
    Sat

    joeQJ 1 Reply Last reply
    0
    • S ShinSat

      Hi,
      Does anybody know a lightweight way to create message board where single line of message dynamically moves from left to right(like animation).
      The message can be a real-time news or stock information. This is something like an electric board that we can see at bank or securities company.

      I guess there’s no built-in function in qt, so I have to subclass QLabel, QTextEdit or something.
      But one thing I’m not sure is how to achieve that.
      Do I repeat clearing the message string in the class and re-assign at the next position, and then, do the same?
      Is this the only way?

      I’m using pyqt5.9.1 on Win7.

      Thanks,
      Sat

      joeQJ Offline
      joeQJ Offline
      joeQ
      wrote on last edited by joeQ
      #2

      @ShinSat Hi, friend. Welcome.

      In the Qt help manual. You search Wiggly Example keywords. This is one QWidget example shows how to animate of Hello world in math sine curve sin. Wiggly Example

      If you familiar with QML. It's easy. just Add Animation in item. Like the NumberAnimation. There are examples in Qt Help manual. Just search keyword is Ok.

      Just do it!

      S 1 Reply Last reply
      3
      • joeQJ joeQ

        @ShinSat Hi, friend. Welcome.

        In the Qt help manual. You search Wiggly Example keywords. This is one QWidget example shows how to animate of Hello world in math sine curve sin. Wiggly Example

        If you familiar with QML. It's easy. just Add Animation in item. Like the NumberAnimation. There are examples in Qt Help manual. Just search keyword is Ok.

        S Offline
        S Offline
        ShinSat
        wrote on last edited by
        #3

        @joeQ Thank you very much for your help! I'll try and get back to you!!

        Thanks,
        Sat

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved