the rest of the code
void ModifCons::saveCons()
{
qDebug() << "saveCons";
m_valid1 ->show();
m_valid2 ->hide();
does not work
I want to change the color of:
select ->setItemText(1,"Consigne Canicule :");
Every time you call adjustCons() you are creating a new spin box and a new push button, and you are overwriting the pointers of any existing member variables named m_selCons and m_valid2. The old...
d_stranz Yesterday, 16:21You can try this:
select->setItemData( index, color, Qt::ForegroundRole );
Hi everyone, I can't read a negative number in DoubleSpinBox.
I have a minimum of -1 and a maximum of -5.
line : 197/198
What should I do? Regards.
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at The Qt Company.
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.
Troubleshooting USB Communication with Qt and libusb for Embedded Device Recognition
17th March 2025 15:16 by Andrew23