Questions tagged [qt]
Qt is a cross-platform application and UI framework for developers using C++ or QML, a CSS & JavaScript like-language. (Also use the [c++] tag for C++ code.)
128
questions
2
votes
0
answers
38
views
Barebones Qt/QML app that generates a list of dishes and then a shopping list with ingredients
I have written a simple app that generates a menu in the form of a list of recipes.
It furthermore generates a shopping list, given a menu, consisting of the (unique) ingredients in the recipes that ...
0
votes
1
answer
73
views
Python GUI Based IP location digger
Greetings.
I'm a newbie python developer who just started using PyQt5 as his major GUI development tool.
Because of this, I have started a side project known as NyvoAI, just for gaining more knowledge ...
2
votes
1
answer
65
views
Do a thing with a derived string for a number of strings
I feel this should be possible more concisely, less code repetition, with a loop and a two-dimensional array or something. But not sure how exactly. Any best practice for review?
...
2
votes
3
answers
167
views
How to efficiently build an object from list or array of strings
I am working with an API that delivers some data in a QStringList or basically a list of strings. The data contains keys and values but it is not a ...
5
votes
0
answers
2k
views
Qt - Creating a dark overlay to apply on top of other widgets with animation
I want to be able to create a dark overlay on top of other widgets that can be turned on or off with animation. I managed to get this to work.
But I think I'm doing it in a wrong and inefficient way; ...
3
votes
1
answer
906
views
Real time histogram using multithreading (Qt + Qwt)
I'm writing a GUI for different VME modules (electronics). There are several of them which are used for the data acquisition. For example, an ADC produces the digitized maximum voltage on its input. ...
1
vote
1
answer
350
views
Handle C++ templates in Qt5
Searching for a solution to my problem I've read many posts regarding templates in Qt (including those on SE) and didn't find a complete solution (or I should say a complete example of a solution) so ...
1
vote
1
answer
115
views
Blocking until one or multiple signals is emitted
I've written this little helper function, that will block the current thread until any of a given list of signals is emitted by an object or until an optional timeout is reached.
It can be used to ...
8
votes
0
answers
1k
views
A simple Qt + MQTT doorbell application
So I built a house recently and didn't want to rely on "privacy-questionnable" systems like Google Home or Amazon whatever so I decided to build a doorbell system myself.
Hardware
I use a ...
2
votes
0
answers
319
views
Use OpenSSL and Qt to build the correct X509 certificate chain based on a pool and a leaf
This is my solution to a question I asked on stackoverflow.
The scenario is as follows: I got my X509 certificate and a pool of other X509 certificates. Now I want to calculate the chain of trust, ...
1
vote
0
answers
498
views
Indicating a lost signal when streaming live video with GStreamer and Qt
The goal of the code is to display a live camera feed sent by GStreamer over UDP, and to give an indication of when the signal is lost by displaying a static blue screen instead of the last frozen ...
1
vote
1
answer
123
views
Concurrent dependant routines in a gui application [closed]
The idea is that, in my application I have 5 routines named long_process_1, long_process_2, ...
2
votes
1
answer
2k
views
Implementing toggle button using Qt
I have below code for implement toggle button.
After including below code, processing power consumed over 90% in my embedded application.
Is there any way to reduce this processing power.
...
3
votes
1
answer
480
views
QTableView implementation
I've put together my first table using Qt's QTableView and a custom data model. Currently, some data is populated on initialisation, and the user has the option of adding and deleting entries.
...
0
votes
1
answer
133
views
QCombobox Case selection - Pyside2 Index via Sqlite
I have a very simple file where I have a Qcombobox Filter. When you select the filter, I run through a case on the index and output results.
So, on selection I trigger:
...