All flexible vector GUI's are constructed using a number vector elements. Each Vector element contains a label and a double spin box which show the label and the value respectively.
More...
#include <VectorInput.h>
Inherits QWidget.
|
enum class | Coordinate { X
, Y
, Z
, W
} |
|
|
void | onValueChanged (double newValue) |
|
|
void | valueChanged (double) |
|
void | editingFinished () |
|
|
| VectorElement (QWidget *parent=nullptr) |
|
void | SetLabel (const char *label) |
|
void | setLabel (const QString &label) |
|
const QString & | label () const |
|
QLabel * | GetLabel () const |
|
QLabel * | getLabelWidget () const |
|
void | SetValue (double newValue) |
|
void | setValue (double newValue) |
|
double | GetValue () const |
|
double | getValue () const |
|
void | setCoordinate (Coordinate coord) |
|
AzQtComponents::DoubleSpinBox * | GetSpinBox () const |
|
AzQtComponents::DoubleSpinBox * | getSpinBox () const |
|
bool | WasValueEditedByUser () const |
|
bool | wasValueEditedByUser () const |
|
QSize | sizeHint () const override |
|
|
void | resizeLabel () |
|
void | onSpinBoxEditingFinished () |
|
|
static void | layout (QWidget *element, QAbstractSpinBox *spinBox, QLabel *label, bool ui20) |
|
static QRect | editFieldRect (const QProxyStyle *style, const QStyleOptionComplex *option, const QWidget *widget, const SpinBox::Config &config) |
|
static bool | polish (QProxyStyle *style, QWidget *widget, const SpinBox::Config &config) |
|
static bool | unpolish (QProxyStyle *style, QWidget *widget, const SpinBox::Config &config) |
|
static void | initStaticVars (int labelSize) |
|
All flexible vector GUI's are constructed using a number vector elements. Each Vector element contains a label and a double spin box which show the label and the value respectively.
◆ SetLabel()
void AzQtComponents::VectorElement::SetLabel |
( |
const char * |
label | ) |
|
Sets the label for this vector element
- Parameters
-
◆ SetValue()
void AzQtComponents::VectorElement::SetValue |
( |
double |
newValue | ) |
|
|
inline |
Sets the value for the spinbox in this vector element
- Parameters
-
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/VectorInput.h