signals-slots
Qt: How to get the response from a GET?
I\'m having trouble collecting the response from a web request i do. (Because i\'m new to Qt). Why do i have trouble?[详细]
2023-02-15 02:32 分类:问答QWidget signal sent when menu action selected - how do I prevent this?
In more than one of my Qt applications I\'ve noticed that, whenever the menu bar is clicked, the last signal to have been sent from a widget within the GUI is re-sent before the menu action is invoked[详细]
2023-02-14 13:34 分类:问答Emit signals or post events from QRunnable
Is emitting signals inside QRunnable::run() a right thing to do? I need to inform my GUI thread that image processed by QRunnable is done. I am using QThreadPool/QRunnable because I need to be able to[详细]
2023-02-12 00:28 分类:问答How to pass variables to slot methods in QT?
I\'m making a little chat messenger program, which needs a list of chat channels the user has joined. To represent this list graphically, I have made a list of QPushButtons, which all represent a diff[详细]
2023-02-08 22:47 分类:问答How to use a reference to an abstract class in a Qt signal?
Suppose I have an abstract base class Foo, and I want to use a reference to that in a signal: void FooUpdated(Foo &);[详细]
2023-02-07 12:21 分类:问答Simple Qt App refuses to compile once a signal/slot is added
So basically, I am making a very simple Qt app to help me along as I learn OpenGL. The idea is that I have two windows, one is a GL context (GLWidget, derived from QGLWidget) and the other is a simple[详细]
2023-02-07 06:56 分类:问答Qt: how to make it so that only one of QCompleter::activated() or QLineEdit::returnPressed() gets emitted?
I have a QLineEdit with a QCompleter. I want a slot myslot() ca开发者_如何学Golled when either of the signals QCompleter::activated(const QString) or QLineEdit::returnPressed() get emitted.[详细]
2023-02-01 08:47 分类:问答can't connect QT signal
i am new to QT and was trying to create a custom signal that would tell me a removable disk has been inserted.[详细]
2023-01-31 03:49 分类:问答Qt Signals/Slots and Threads
I\'m new to GUI programming and multithreading. I am in the process of creating a real-time app that receives information from my car and renders it in some meaningful 开发者_如何转开发way. My app is[详细]
2023-01-30 13:25 分类:问答Checking all Qt signal/slot connection
we done a lot of namespace refactoring. One big problems for us is now, that we only can check at runtime,if we have wrong signal/slot connections.[详细]
2023-01-29 20:32 分类:问答