signals-slots
Qt: bring base class method into slots in derived class
I have a class which derives from a QWid开发者_JS百科get and a model class. Based on my reading, I can\'t have the model class to derive from QObject.[详细]
2023-04-12 05:19 分类:问答Qt: some slots don't get executed in release mode
I am doing some simple program in Qt (MSVC++2008) with few checkboxes and buttons. In debug mode, everything works fine, but I can\'t distribute such executable, because most people don\'t have Visual[详细]
2023-04-11 05:53 分类:问答QT Ruby bindings signal-slot with hash param
Im using qtbindings for Ruby (https://github.com/ryanmelt/qtbindings) and i would emit a signal with an hash param...[详细]
2023-04-10 21:10 分类:问答How to put wait condition in Signal-Slot?
I am doin开发者_JS百科g one web related project. Recently I hit on this situation. This is just a stub[详细]
2023-04-10 16:49 分类:问答Is this method of inter-thread-communication safe?
I have 3 objects(inherited from QObject) that each contain a separate std::list. Each object gets created in the main gui thread (with no parent) and then is pushed to it\'s own thread (using Qt\'s QO[详细]
2023-04-09 06:36 分类:问答QT Widget Slot Call Not Activated by Separate Thread Signal
I have 5 classes that interact (maintaining professionally, not author).My problem is that the code that is emitting the signal (there is just one, code below) is never activating the slot (MyWidget::[详细]
2023-04-09 04:45 分类:问答Is the "Signals and Slots" concept reactive programming?
As w开发者_Go百科ritten in the title - is \"Signals and Slots\" a simple way of reactive programming?Signals/Slots is an implementation of the Observer Pattern .[详细]
2023-04-08 17:08 分类:问答Updating QGLWidget - event or signal/slot?
I need to flash some images with very precise timing (order of milliseconds) for which I developed a subclass of QGLwidget. The images are loaded as textures at initialization. I am using a QTimer ins[详细]
2023-04-04 04:07 分类:问答Not able to find quit slot, and use Q_OBJECT macro
I am using VS2008 with QT 4.7.1 and add-ins. I am new to this environment. I managed to do necessary setting and run simple \"hello world\". But when I try to use simple[详细]
2023-04-03 09:21 分类:问答Waiting for button press in Qt
I have a custom class inheriting from QDialog. I\'m creating this dialog with function foo, and foo would like to continue doing its thing only when a certain button in the dialog is pressed. I was th[详细]
2023-03-29 07:54 分类:问答