Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

Python 3.11, PyQT6 GUI app, testing on Windows 10. I have a QThread doing some background work, and I'm trying to report progress back via a custom signal: class TheWindow(QMainWindow): #... ...
Seva Alekseyev's user avatar
1 vote
1 answer
332 views

The Qt documentation gives the following example for connecting a signal to a slot: QObject::connect(lineEdit, &QLineEdit::textChanged, label, &QLabel::setText); However, the syntax is ...
emkey08's user avatar
  • 6,471
0 votes
1 answer
164 views

I am using the webclient and webserver from the Qt examples echoclient.cpp - https://pastebin.com/z8bgfQzE client main.cpp - https://pastebin.com/g1DtjjYa echoserver.cpp - https://pastebin.com/...
Merab's user avatar
  • 11
1 vote
0 answers
92 views

Qt version: 5.6. connect(ui.m_projectList, SIGNAL(currentlndexChanged(const QString&)), this, SLOT(OnProjectListChange(const QString&))); void RunTestUI::OnProjectListChange(const QString&...
Alvin Lee's user avatar
-2 votes
2 answers
130 views

I have a horizontal slider, and I want a line edit updated when the slider value is changed. I wrote this, but nothing happens: connect(ui->horizontalSlider1, SIGNAL(&QSlider::valueChanged), ui-...
quantum231's user avatar
  • 2,613
-1 votes
1 answer
69 views

When calling QObject::connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type = Qt::AutoConnection), I get the error "cannot call a ...
Juan Antonio Miralles's user avatar
0 votes
1 answer
60 views

I read some topics, and now I know I have to use Signals and Slots, but I'm having some trouble doing it. At my user interface I have a Q List Widget and I need to add items to it from another thread; ...
user avatar
1 vote
1 answer
117 views

I am working on a small widget. It has a dial and a slider and both modify the same number, although I want the slider to have a higher changing rate than the dial. Think of it as the dial being the ...
bajotupie's user avatar
  • 185
0 votes
0 answers
92 views

Based on the official example given in Qt, I try to catch keys inputs using Qt3DInput::QKeyboardHandler. So after the following piece of code: Qt3DCore::QTransform *sphereTransform = new Qt3DCore::...
bitmap kid's user avatar
0 votes
1 answer
85 views

I've attached a code snippet to a C++ program I am working on Qt Creator. The goal of this snippet is to provide the user with a means to enter a custom temperature value and then save this value. //...
Adam Gong's user avatar
-1 votes
1 answer
34 views

I have two threads, a main thread and a sub-thread, and a signal in the main thread that's connected to the slot method in the main thread and the sub-thread respectively. I emit this signal in the ...
happy Mr mighty's user avatar
1 vote
0 answers
46 views

I am currently working on a Project in which I have to process data from measurements. This data will be stored in a list, that I emit as a Signal using pyqtSignal. This List is emited constantly in a ...
Frederic Noß's user avatar
0 votes
3 answers
602 views

I have added a set of pushbuttons inside a QScrollarea dynamically , but I want to get the text of that particular button either by click or touch. button = new QPushButton("someText"); ...
Neocoder_1's user avatar
1 vote
0 answers
28 views

I want to show my table which is in mainWindow to other window. I stuct there. Please give me a proper solution in python. I am doing this in QT Creator. I have tried slots and signals but can't do ...
Umer Malik's user avatar
0 votes
0 answers
61 views

the following example has a working connection (i.e., it returns true), but the slot itself just isn't getting called/executed. I don't understand why this is the case: // main.cpp #include <...
Proxy's user avatar
  • 21
0 votes
1 answer
77 views

Im trying to create an tic tac toe game, where buttons are used for the positions of where the knaughts and crosses are to be used. When I move the buttons into their respective places, the slot is ...
MathStudentEUW's user avatar
0 votes
2 answers
472 views

So I am programming a Poker game im C++ and first it was done with terminal only where I would get the input from cin (check or fold or ...) and program reacts based on the input in a while(true) loop....
Ali's user avatar
  • 55
1 vote
1 answer
492 views

I am developing a multithreaded ROS application involving Qt::QThread-inherited objects producing signals triggering ROS publishers in the ROS node activated in the main() function. Qt signals and the ...
Andrei Vukolov's user avatar
1 vote
2 answers
779 views

I'm new to any form of programming but have to do a project with Qt for my "programming for engineers" course where we simultaneously learn the basics of c++. I have to display a text from ...
Alexander M.'s user avatar
0 votes
1 answer
999 views

I just converted my .ui file into the py file and tried to link a QPushButton to a QStackedWidget using the signals and slots system. This is what I attempted to do: self.createButton.clicked.connect(...
ChronoVortex's user avatar
0 votes
0 answers
243 views

as the title says, I have a Core singleton that inherits from QObject that is constructed on the main thread. I also Have a QTcpServer that is creating a new QThread for each new connection, that is ...
sadeq's user avatar
  • 21
0 votes
2 answers
626 views

I have such problem. In my threaded application I need to disconnect slot and reconnect signal to another slot. Unfortunately if new signals send before disconnecting it will be handled in the old ...
Ivan Romanov's user avatar
  • 1,228
0 votes
0 answers
104 views

I am trying to write a code related to a QComboBox widget. The ComboBox class is a nested/inner class inside the MyTreeAutoDisplay class (for this particular case, the TreeAutoWidget would be out init ...
pep248's user avatar
  • 21
0 votes
1 answer
277 views

I'm working on a class derived from QObject, I'm compiling for android and using android qt6.2.2 Clang arm64_v8a kit. To the default QQuickApp in qt creator I just added the following header file ...
rain 183's user avatar
1 vote
0 answers
73 views

I have an application with a QMdiArea. There's some incoming and outgoing signals connected to the widget in the currently active subwindow. Whenever the active subwindow changes I want to disconnect ...
Unimportant's user avatar
  • 2,096

1
2 3 4 5
11