SpinBox with QStrings in values.Is it possible?
-
Hello!
Can i create a SpinBox with QStrings in values?
Or if not- have Qt another component to do that?Thanks!
-
Hi,
Something like "this":http://libqxt.bitbucket.org/doc/0.6/qxtstringspinbox.html ?
-
you can also easily subclass the widget and reimplement "QSpinBox::textFromValue()":http://qt-project.org/doc/qt-4.8/qspinbox.html#textFromValue
-
Another option is "QwwTextSpinBox":http://www.wysota.eu.org/wwwidgets/doc/html/qwwtextspinbox.html from the wwWidgets widget set by Witold Wysota.
-
[quote author="SGaist" date="1366034843"]Hi,
Something like "this":http://libqxt.bitbucket.org/doc/0.6/qxtstringspinbox.html ?[/quote]
Yes,somthing like this.And as i see it is foreign component?
Is it not included as standard? -
Yes, it's from libqxt (really easy to build and use)
No, it's not