-
QT5.2 adds custom EXIF information to the JPEG file
I am using QT5.2+MSVC2010,. Now there is a need for me to add some custom EXIF information to a JPEG file, such as "name ", "gender ", "age " and so on. Is there a corresponding API or third-party library in QT that can meet my need? Thank you ...
-
PyQt5 uses QThread to separate UI and logic, and as a result, UI still gets stuck.
class Ux(QMainWindow, window.Ui_MainWindow):
@pyqtSlot()
def do_stop_search(self):
pass
@pyqtSlot(dict)
def do_append_result(self, item):
pass
def on_btn_search_clicked(self):
self.search = SearchThread(s...
-
How to package QT to get Android APK
when I was packing, I configured a lot of things. prompt android-8.1.0 invalid; but I am too low with other versions ...
-
How to make the tree control of Qt display faster?
my project needs to display a large amount of data on the qt tree control, a total of four columns, the first column is the button and text, the second column is text, the third column is combobox, and the fourth column is icon. If all inserted, it will...
-
What the hell is the web browser encapsulated in QT? why do I write a lot of CSS attributes that are not supported?
as a pc client, the QT5, client comes with a web browser and asks them that it comes with QT, but when I do front-end development on this browser, some of the CSS attributes are incompatible, such as this: cursor: pointer;, it seems to be unknown, and ho...
-
Novice about PyQt environment?
which of the following two lines of commands are installed? Do you need to install both of these in the Qt environment, or just one of them? Qt novice, recently watching the installation of the Qt environment, a little confused:
pip3 install PyQt5
...
-
How to use QDomDocument to change the svg attribute?
There is a little svg file named t.svg below:
-sharpifndef SVG_WIDGET_H
-sharpdefine SVG_WIDGET_H
-sharpinclude <QWidget>
-sharpinclude <QtSvg>
-sharpinclude <QVBoxLayout>
-sharpinclude <QPushButton>
-sharpinclude <QDomDocum...
-
Does PyQt5 already have its own QT library?
after I install PyQt5, I can directly call Qt s control to write GUI. I just want to make sure. ...
-
The mouse positions of QGraphicsScene getting mousePressEvent events in PyQt5 are all 0.0.
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...
-
About the question that the QT program calls the Dll generated by Fortran, ask for the answer!
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 ...
-
QT QWidget how to achieve border shadow, using many methods are not good, the background is always black
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...
-
How to call the dll, generated by Fortran in QT and display the progress of calculation in real time?
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...
-
On the realization of automatic Operation by Pyqt5
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...
-
How to draw the graph in the center of the window and scale it reasonably by Qt5
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...
-
QML dotted line drawing
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
...
-
Referencing the cuda_runtime.h file, referenced in the cpp source file, can be compiled and run, but cannot be referenced in the h header file?
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...
-
How does QT traverse all the controls on UI in its own class?
void PLC::SearchControl()
{
QObjectList list =children() ;
qDebug() << list.length() << endl;
QPushButton *b;
foreach (QObject *obj, list)
{
b = qobject_cast<QPushButton*>(obj);
if(b)
{
...
-
The problem of how to dynamically refresh checkbox in pyqt5 Development
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)...
-
Can Qt write Linux services?
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 ...
-
How to use QXmppRegisterIq for user Registration in QXmpp
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 ...