qt tag

39 questions


1 answers
134 views
0
Compilation error in qt

Attempted to 'Hello World' with Qt for Beginners-Qt Wiki using c++ in vscode on docker.The main.cpp is as follows:#include<QApplication># include <QPushButton>int main (int argv, char**arg...

2 years ago

1 answers
86 views
0
I want to prohibit the focus from switching when I press Tab.

Recently, I've been developing the text editor, but when the view is focused, pressing Tab moves the focus to another widget and I can't insert Tab characters.There must have been a setting that prohi...

2 years ago

1 answers
115 views
0
Why does the cannot initialize object parameter for "some widgets" with an expression type 'MainWindow' occur?

We launched the mainwindow project in QtCreator 4.7Qt5.11.The pro file, the h file, and the cpp file are automatically created, but there is an error that does not make sense.mainwindow.cpp#include ma...


1 answers
124 views
0
Creating a Model in Qt Creator

I'm developing using Qt creator. If you create a non-Qt c++ application, you'll get a model of the program that says Hello world.Is it possible to change this initial state arbitrarily?Specifically, I...

2 years ago

1 answers
120 views
0
How do I change int to QString?

Is there a function that takes int as a factor and returns QString?I'm looking for a function like intToQSTring() in the code below!int i = 42;QString s = intToQSTring(i)

2 years ago

1 answers
94 views
0
I would like to ask you a question about the PyQt command in Python.

pyuic5-o example2.ui example.pyI ran it in the form, but the error follows: The part that I can't get a sense of is clearly 'ls -l', and when I look up, the file exists, but when I actually execute th...

2 years ago

1 answers
125 views
0
I have a question for PyQT.

# button self.Login_Button = QtWidgets.QPushButton(LoginFrom) self.Login_Button.setGeometry(QtCore.QRect(230, 220, 111, 41)) self.Login_Button.setObjectName(Login_Button) self.Login_Button.clicked.con...

2 years ago

1 answers
131 views
0
After creating UI with QT Designer, I would like to ask you a question about pyuic.

Previously, I used Python IDLE when I used Python for a while. I think I will mainly use Python this time, so I deleted the editor and used the Anaconda + PyCharm environment.Create a UI with QT Desig...

2 years ago

2 answers
107 views
0
How do I program the GUI in C++?

Recently, I learned C++, and I realized that I had to do GUI programming to make something that actually looked like a program.I looked into the data, and there were a lot of themI'm learning somethin...

2 years ago

1 answers
134 views
0
After printing the data on PYTHON QTableWidget, I want to copy and paste the multi-item elsewhere using the ctrl+c function.

A lot of things were reflected in the title The query results were output to QTableWidget. Drag a certain part of the result with your mouse, select Ctrl+C, and If you ctrl +v on the notebook pad or e...

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.