You keep referring to QSlider, but your code indicates a horizontal scrollbar. Which is it?
d_stranz Today, 16:21Hi, just a guess: maybe your original file is compressed (jpg or something like that), while QImage stores a raw representation of the pixels? What size does your image have (width x height)?
...
For every zoom, xAxisChanged slot is triggered. So I set new range and values to increase the precision of QSlider, but it didn't work. When range size of QCustomPlot is smaller than one iteration...
cranberriess89 Today, 13:21Hi,
I'm just wondering why QImage are consuming that much memory.
I'm loading an image that is 1.2 Mb (I checked that using QFileInfo) and when querying the size using sizeInBytes on the QImage...
Is there any way to write the date to the widget without double clicking on it? I tried to clear the widget when clicked, but QDateEdit has no such slot.
Thanks in advance for your attention
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
(PyQt5) QDateEdit write date from the keyboard
Today 11:48 by Odium