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. Delete message after x seconds
Forum Updated to NodeBB v4.3 + New Features

Delete message after x seconds

Scheduled Pinned Locked Moved Solved General and Desktop
qtimerlabelremove text
25 Posts 5 Posters 11.0k Views 2 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.
  • QT-static-prgmQ Offline
    QT-static-prgmQ Offline
    QT-static-prgm
    wrote on last edited by
    #21

    @mrjj No i write the code in Visual Studio and compile to .dll that comes to the plugin folder from TeamSpeak3 and TS will load it.

    mrjjM 1 Reply Last reply
    0
    • QT-static-prgmQ QT-static-prgm

      @mrjj No i write the code in Visual Studio and compile to .dll that comes to the plugin folder from TeamSpeak3 and TS will load it.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #22

      @QT-static-prgm

      Oh, that way. so the qt code is inside your custom TS plugin.
      "yeah the labels work fine."
      As i understand it, you are already using the Qlabel classes or some other
      part of Qt and only the QTimer gives errors?

      1 Reply Last reply
      0
      • QT-static-prgmQ Offline
        QT-static-prgmQ Offline
        QT-static-prgm
        wrote on last edited by
        #23

        @mrjj yes that's right (did you look in my code??)

        I just finished compiling qt 5.6.1 for x64 VS and now the singleshot works fine. So it need to be a problem of the newer version.

        So now i have multiple ways to implement my chat disable function:

        1. with single shot and lambda to delete every single line after 5 sec
        2. the way it is right now, display the latest 5 lines and just hide them after 5 sec. when something is written again, it's shown again.

        But that's a kind of Luxus problem, now that it is working. Now i have just 2 other big problems (label transparency, and stay always infront does nto work for games in fullscreen). When those are fixed i can start with the cosmetic :D

        First i need to solve the main functionality. Maybe you can help me with the transparency problem, too.

        mrjjM 1 Reply Last reply
        0
        • QT-static-prgmQ QT-static-prgm

          @mrjj yes that's right (did you look in my code??)

          I just finished compiling qt 5.6.1 for x64 VS and now the singleshot works fine. So it need to be a problem of the newer version.

          So now i have multiple ways to implement my chat disable function:

          1. with single shot and lambda to delete every single line after 5 sec
          2. the way it is right now, display the latest 5 lines and just hide them after 5 sec. when something is written again, it's shown again.

          But that's a kind of Luxus problem, now that it is working. Now i have just 2 other big problems (label transparency, and stay always infront does nto work for games in fullscreen). When those are fixed i can start with the cosmetic :D

          First i need to solve the main functionality. Maybe you can help me with the transparency problem, too.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #24

          @QT-static-prgm
          Yes i did read code but didn't see the linker options so was just asking to understand the full extend.
          About the label transparency.
          Could you link an image ( external site) so its perhaps more clear the result you get.
          in
          https://forum.qt.io/topic/76586/semi-transparent-qlabel-background/5

          QT-static-prgmQ 1 Reply Last reply
          0
          • mrjjM mrjj

            @QT-static-prgm
            Yes i did read code but didn't see the linker options so was just asking to understand the full extend.
            About the label transparency.
            Could you link an image ( external site) so its perhaps more clear the result you get.
            in
            https://forum.qt.io/topic/76586/semi-transparent-qlabel-background/5

            QT-static-prgmQ Offline
            QT-static-prgmQ Offline
            QT-static-prgm
            wrote on last edited by
            #25

            @mrjj as i told you in the thread, it looks the same as on your picture. But it should be transparent, so you can see the code lines from the editor below in your case.

            But let's continue that in the other thread

            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