qeventloop Questions
2
Solved
In his Qt event loop, networking and I/O API talk, Thiago Macieira mentions that nesting of QEventLoop's should be avoided:
QEventLoop is for nesting event Loops... Avoid it if you can because i...
Mailbag asked 22/2, 2016 at 18:33
2
I have doubts how should I use QEventLoop. I have 2 pieces of code, both of them work for me (get web resource downloaded).
First one:
QNetworkAccessManager *manager = new QNetworkAccessManager(...
Phenyl asked 4/4, 2015 at 17:47
5
Solved
// Example class
class A : public QObject
{
Q_OBJECT
void fun() {
Timer::SingleShot(10, timerSlot); //rough code
}
public slot:
void timerSlot();
}
auto a = SharedPointer<A>(new A);
a-...
Womanly asked 17/6, 2016 at 1:29
1
Solved
My Qt application's main window is a normal QMainWindow subclass. In that window I have a few buttons; each has its clicked signal connected its own slot, and each slot creates a different QDialog ...
Allieallied asked 9/11, 2015 at 8:37
1
Solved
I'd like to create a library built on top of QTcpServer and QTcpSocket for use in programs that don't have event loops in their main functions (because the Qt event loop is blocking and doesn't pro...
Ritualism asked 6/1, 2015 at 15:15
1
Solved
My goal is to create a library using the Qt's DBus bindings.
I tried to create a Qt application without launching the QEventLoop (provided by the QCoreApplication class) in the main thread.
Here ...
Flam asked 5/6, 2014 at 11:3
2
Solved
I decided to add a GUI to one of my scripts. The script is a simple web scraper. I decided to use a worker thread as downloading and parsing the data can take a while. I decided to use PySide, but ...
Mandamandaean asked 15/3, 2012 at 0:39
1
© 2022 - 2024 — McMap. All rights reserved.