Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • High CPU usage

    Unsolved
    27
    0 Votes
    27 Posts
    6k Views
    JKSHJ
    (Side discussion forked to https://forum.qt.io/topic/119207/relationships-between-qmake-make-nmake-jom-and-the-compiler )
  • append text two different interpretations

    Unsolved
    5
    0 Votes
    5 Posts
    433 Views
    Pl45m4P
    Probably QText means QTextEdit... and it has an append(QString)-function as well :)
  • Force window widget in focus until event occurs

    Solved
    3
    0 Votes
    3 Posts
    554 Views
    johnratiusJ
    @SGaist ah ok. Can I modify my current widget to turn that into a modal dialog, or do i have to re-create my widget to a modal dialog? Edit: Set it up as a QDialog and then after making sure Qt Designer recognized the widget as a QDialog, I checked "modal" in the QDialog settings in Qt Designer and it works great.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • I have trouble plotting multiple datapoints using QCPCurve

    Unsolved
    3
    0 Votes
    3 Posts
    538 Views
    M
    Thank you for the information. I posted a thread there too now. If its ok I would leave this thread in case anyone can help..
  • Write rich text into .odt file

    Solved
    16
    0 Votes
    16 Posts
    2k Views
    T
    Fine, I'll give it a read then. Thank you both @artwaw and @SGaist! :)
  • What is grabKeyboard, grabMouse,... ?

    6
    0 Votes
    6 Posts
    10k Views
    SGaistS
    Hi and welcome to devnet, Did you try to implement a test application to check what happens ?
  • QPushButton in a QFrame does not receive clicked signle.

    Unsolved
    10
    0 Votes
    10 Posts
    943 Views
    MarKSM
    @Ketan__Patel__0011 OP states btn_close does not emit the clicked signal at all.
  • How to drag and drop OS Files with Icons and textes?

    Unsolved
    3
    0 Votes
    3 Posts
    437 Views
    SGaistS
    @JonB QPushButton does allow both. @TomNow99 you can reimplement the handling of dropped data to fill the model with want you want.
  • Display stream from Gstreamer to a widget

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, The final sink must be named: "name=qtvideosink". See the setMedia example.
  • Connecting Firebird with Qt-5

    Unsolved
    4
    0 Votes
    4 Posts
    514 Views
    SGaistS
    Hi, Yes you have to, it's explained here.
  • Copy and paste form does not maintain layout

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    A
    One more "gotcha" Dragging widget to scratchpad DELETES it from the form !
  • QFormLayout

    Unsolved
    5
    0 Votes
    5 Posts
    384 Views
    A
    Could "edit buddies" in QtDesigner help with "matching " the widgets format ??
  • QStandardItemModel not inserting children

    Solved qstandarditemmo qmodelindex
    8
    0 Votes
    8 Posts
    4k Views
    TrilecT
    Thanks SGaist, will tag as solved.
  • Cannot find .pro file

    Unsolved sql database pro file
    2
    0 Votes
    2 Posts
    5k Views
    JohanSoloJ
    If you chose a CMake project, a CMakeLists.txt file will be used. You have to choose qmake as build system to get a .pro file.
  • Anyone tested their Qt app on macOS 10.16 yet?

    Unsolved
    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • QObjectPicker with overlapping objects

    Unsolved
    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • QWebSockets problems!

    Unsolved
    9
    0 Votes
    9 Posts
    440 Views
    K
    @Pablo-J-Rogina i changed the class name aswell to match :) Socket class socket object
  • QSortFilterProxyModel is not filtering

    Solved
    4
    0 Votes
    4 Posts
    880 Views
    T
    @JonB I have also tried with setFilterFixedString and the proxymodel still doesn't filter. I don't need to set filterRole as it is display role be default. As I understand the docs, I shouldn't need to subclass the proxymodel for such a simple use case. It should be working out of the box. You are right I misspelled. It should be fifth column but the code is correct. Let me share a screen shot of the table I'm trying to filter.! [image: d56681df-7ee5-4aa8-ae7c-1040851de04c.png]
  • QSerialPort readAll() does not work with 5.14.0 anymore

    Solved
    33
    0 Votes
    33 Posts
    6k Views
    R
    @kuzulis said in QSerialPort readAll() does not work with 5.14.0 anymore PS: And yes, you don't need in QThread::msleep(3), because it has not sense (because the sleeping already does by waitForXXX() methods). Ah, ok. I guess bool com::waitForReady(int timeout) { waitForReadyRead(1); QElapsedTimer elapsed; elapsed.start(); while (bytesAvailable() == 0 && elapsed.elapsed() < timeout) { waitForReadyRead(1); } if (elapsed.elapsed() < timeout) { return true; } return false; } is the "correct" solution then. Update: Just for the sake of completeness, here is the patch for my program: https://github.com/BrillouinMicroscopy/BrillouinAcquisition/pull/135