Kstars
unitspinboxwidget.cpp
9UnitSpinBoxWidget::UnitSpinBoxWidget(QWidget *parent) : QWidget(parent), ui(new Ui::UnitSpinBoxWidget)
The UnitSpinBoxWidget class It is a widget that provides a DoubleSpinBox and a ComboBox for conversio...
Definition unitspinboxwidget.h:20
void addUnit(const QString &unitName, double conversionFactor)
addUnit Adds a item to the combo box
Definition unitspinboxwidget.cpp:23
void addItem(const QIcon &icon, const QString &text, const QVariant &userData)
count
currentIndex
QVariant itemData(int index, int role) const const
void setValue(QVariant &&value)
T value() const const
void setupUi(QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.