Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. label
    Log in to post

    • UNSOLVED QML - letters randomly disappear when resizing label
      General and Desktop • qml bug text rendering label • • pohlondrej.1  

      3
      0
      Votes
      3
      Posts
      128
      Views

      I found out that I can reproduce this behavior by setting QT_DISTANCEFIELD_DEFAULT_BASEFONTSIZE, QT_DISTANCEFIELD_DEFAULT_SCALE and QT_DISTANCEFIELD_DEFAULT_RADIUS variables. With these, the problem occurs even on Windows. Not sure whether it's the same problem or not, but if QT_DISTANCEFIELD_DEFAULT_RADIUS is NOT DIVISIBLE by QT_DISTANCEFIELD_DEFAULT_SCALE, the problem occurs 100% of time (some letters will disappear). Example: export QT_DISTANCEFIELD_DEFAULT_BASEFONTSIZE=128 export QT_DISTANCEFIELD_DEFAULT_SCALE=12 export QT_DISTANCEFIELD_DEFAULT_RADIUS=96 // If I set this to 95 or 97 or anything not divisible by 12, it will break. Can someone explain me what these distancefield environment variables do and whether this is an intended behavior?
    • UNSOLVED Qt C++ How can I show a users basic informations in a new window after login?
      General and Desktop • qlabel login label profile qt5 c++11 • • moslehuddin  

      2
      0
      Votes
      2
      Posts
      44
      Views

      The question is very general. So what exactly is the problem you cannot solve, and what have you coded so far?
    • UNSOLVED Change values on Qt according to a serial port string
      QML and Qt Quick • serial port label circulargauge read serial bluetooth rfcom • • maxime.armand  

      4
      0
      Votes
      4
      Posts
      1539
      Views

      @maxime.armand Have you actually tried it? It does exactly what you demand in step 1. And if you look in http://doc.qt.io/qt-5/qtserialport-creaderasync-main-cpp.html you will see that the serial port and the baud rate are given as command line parameters. Just (cross-)compile the program for the Raspberry, and run it. It should work like your HypterTerminal test.
    • UNSOLVED Sending QString value from one form class to another
      General and Desktop • string label send form • • Kasun  

      9
      0
      Votes
      9
      Posts
      2202
      Views

      you can send the string to other class by simply placing it in the Signal, and catch the signal at the other class.
    • SOLVED Delete message after x seconds
      General and Desktop • qtimer label remove text • • QT-static-prgm  

      25
      0
      Votes
      25
      Posts
      6388
      Views

      @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
    • UNSOLVED EnterEvents not sent to QLabel, why?
      General and Desktop • game event handling label • • HangMan  

      3
      0
      Votes
      3
      Posts
      996
      Views

      @SGaist I edited, thanks
    • UNSOLVED How to emit signal when the label text change?
      General and Desktop • label ontextchange • • MhM93  

      6
      0
      Votes
      6
      Posts
      6069
      Views

      I solved my problem by using this line: if(tmp=="PassDialog") { //QLabel* lbl = f->findChild<QLabel*>("lblRFID"); MyDialog *tempDialog = qobject_cast<MyDialog*>(f); tempDialog->AcceptCard(output); // emit recRFID(output); return; } and clean that connection and comment the emit code. now its worked. But I don't know why that code has error.
    • SOLVED Labele i program nieoczekiwanie przerwał pracę.
      Polish • error segmentation label fault • • Komin  

      3
      0
      Votes
      3
      Posts
      1478
      Views

      @tomasz3dk Wielkie dzięki, pomogło :)