figure one by one becomes figure 2. I have been looking for it for a long time. In addition to using pictures, do you have any direct controls? ...
now there is a requirement for the project to transform a QT console program into a daemon, stay in the background for a long time, and be able to start the program on boot ...
multiple checkbox have been added to one gridlayout. how to traverse all box under layout and modify state? there is no response using the following methods QLayout *layout = ui->gridLayout->layout(); foreach(QObject *obj, layout->childr...
when Qt5 combobox adds item, the list appears to be added twice void MainWindow::initSerialPort() { foreach(const QSerialPortInfo &info, QSerialPortInfo::availablePorts()) { qDebug()<<"Name"<<info.portName(); qDebu...
Under Ubuntu, use showFullScreen () full screen, then pop up the dialog box Qdialog or the status bar at the top of QMessageBox, will be redisplayed. Is there any way to keep the status bar hidden in the pop-up dialog box or QMessageBox ?...
the following program running environment QT MinGW 5.3.0 32 bit Code one: QString s="2.08"; float b=s.toFloat(); qDebug()<<b; 2.08 float c=0.01; float val=b c; int value=(int)val; qDebug()<<value; 207...
as the title, in making a player, I want to bind different functions to two click events for my button, such as: the right button is the next song, and the left click is fast forward. ...
now there is a requirement to write XMPP communication programs on Ubuntu using QT, using QXmpp as the library. Now I need to register my new user on the server, and then log in with the registered user. I know I use QXmppRegisterIq, to register, but I ...
now there is a need to write a service under the Linux (Ubuntu) environment and do Linux development for the first time. I hope the bosses in the circle can give me some advice ...
bulk added checkbox to gridlayout, and how to remove these checkbox when refreshing the page. attach code def __init__(): self.model_gridlayout = QtWidgets.QGridLayout(self.gridLayoutWidget) self.model_gridlayout.setContentsMargins(0, 0, 0, 0)...
void PLC::SearchControl() { QObjectList list =children() ; qDebug() << list.length() << endl; QPushButton *b; foreach (QObject *obj, list) { b = qobject_cast<QPushButton*>(obj); if(b) { ...
problem description < H2 > break it up ~ it would be nice to delete all the previous compilation results and recompile them. < H2 > Environment: qtcreator project references the cuda_runtime.h file, which is referenced in the cpp source file, and c...
problem description how to draw the dotted line Circle of QML Canvas The setLineDash method does not exist, so how do you draw it? will it take up too much to rotate if you use arc? effect is the broken circle ...
I now have some coordinate pairs of broken lines, which need to be drawn with Qt, that is, to connect these coordinate points with line segments. Now that I can draw the broken line correctly, I try to move the graph to the center of the window with the...
with the help of Li Yi s PyQt5 embedded browser injecting Javascript scripts to automate operations , I have now completed the automation of low-cost airlines, but now I have encountered several problems: after I complete the order, such as entering...
for example, there is now a task to call the dll, generated by fortran. Due to the long calculation process, in order not to give the user the illusion that the program is dead, it is necessary to give the user real-time feedback on the progress of the c...
I now have a parent window that is QWidget, with a lot of QLabel controls in it. I want to achieve the edge shadow of QWidget. looks for various methods such as paintEventgraphics, etc., either have no effect, or the entire parent window QWidget become...
topic description QT+VS2017 cannot call DLL generated by Fortran sources of topics and their own ideas the problem I encountered in my study was thought to be a path problem, but I couldn t use an absolute path, and I couldn t copy the dll file ...
problem description In PyQt5, if you want to get the mouse position in the mousePressEvent of QGraphicsScene, no matter where you click, the display is [0. 010. 0] . the environmental background of the problems and what methods you have tried No si...
after I install PyQt5, I can directly call Qt s control to write GUI. I just want to make sure. ...