signals-slots
I'm trying to make server/client but I don't know how to connect signals and slots
I\'m trying to make server/client in Qt. TCP Server takes maximum 4 connections from client. To create...[详细]
2023-01-05 10:33 分类:问答Signal - Slot connection inside loop
In my code I am creating new objects of same type inside loop and connecting a signal to object slot. Here is my trial.[详细]
2023-01-04 19:15 分类:问答Multi-dialog program in PyQT will not close (the sequel!)
I have another problem with PyQT, this time I have an example that will be far more useful since it contains part of my code (defanged of course!)I have a hard time figuring out how to close the \'PRO[详细]
2023-01-04 04:32 分类:问答How to tell the mouse button using QApplication::mouseButtons() in a "click" slot?
I have a QMainWindow, and want to handle the \"clicked\" signal from a smaller widget (such as tableview) inside it.[详细]
2023-01-04 02:14 分类:问答waiting for a signal
I am working on an application which uploads the content of the file to server. To upload the file to server I am using ‘QNetworkAccessManager’ class. Since it works as asynchronous way, I changed[详细]
2023-01-03 10:37 分类:问答In c++ is there any Events/delegates/interfaces/notifications! anything?
Say i have these classes ViewA and ViewB In objective C using the delegate pattern I could do @protocol ViewBDelegate{[详细]
2023-01-03 02:23 分类:问答How to process signals in a Qt subclass?
How do I process a signal of in a subclass?Let\'s say my subclass is derived from QTextEdit and is interested in the signal textChanged.It seems silly to connect an object to itself, I should be able[详细]
2023-01-03 00:29 分类:问答undefined reference linker error with signals and slots
Using Qt Creator, I am creating a class with custom slots in Qt: class CustomEdit : public QTextEdit { Q_OBJECT[详细]
2023-01-02 18:28 分类:问答Does Qt support virtual pure slots?
My GUI project in Qt has a lot of \"configuration pages\" classes which all inherit directly from QWidget.[详细]
2023-01-02 12:58 分类:问答What exactly are signals and slots in Qt?
I know how they work conceptually, but how are signals and slots implemented in the Qt framework?Qt Creator treats them as keywords, but are they simply a set of macros, or is a special pre-processor[详细]
2023-01-02 06:16 分类:问答