Thank you for your reply.
I do not see this property in the QT Creator Property table. Can it be set from QT Creator. As I mentioned, I am new to C++ and QT, so QT Creator is the simplest and fastest solution for me.
Thank you for your reply.
I do not see this property in the QT Creator Property table. Can it be set from QT Creator. As I mentioned, I am new to C++ and QT, so QT Creator is the simplest and fastest solution for me.
Don't expect to find any simple property in Qt Creator for this. Ginsengelf suggested that you subclass QSpinBox and reimplement textFromValue() and valueFromText() to show hexadecimal values. I pointed out that such class already exists in Qxt - an extension library for Qt (it is not part of Qt, but a separate community driven amateur project to provide most often requested features that are missing from Qt).
J-P Nurmi
There is an example of a Hex Spinbox in the C++ GUI Programming with Qt 4 book. Google has these pages here.
fnmblot
--------------------------------------
Gee Ricky, I'm sorry your mom blew up.
Thanks for the information. I am new to C++ and OOP programming in general, so I am somewhat reliant on Qt Creator.
Is there a way to "promote" a spinbox on the toolbar in Qt Creator or to add a new hex spinbox widget to the toolbar in Qt Creator?
Bookmarks