floateditor¶
- class camelot.view.controls.editors.floateditor.CustomDoubleSpinBox(option=None, parent=None)[source]¶
Spinbox that doesn’t accept mouse scrolling as input
- stepBy(steps)[source]¶
Overwritten from QtGui.QAbstractSpinBox to set the value of the spinbox to 0 if the value was `None
- class camelot.view.controls.editors.floateditor.FloatEditor(parent, minimum=-999999999999999.0, maximum=1000000000000000.0, calculator=True, decimal=False, option=None, field_name='float', **kwargs)[source]¶
Widget for editing a float field, with a calculator button. The calculator button can be turned of with the calculator field attribute.
- camelot.view.controls.editors.floateditor.q_string_endswith()¶
QString.endsWith(QString, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool QString.endsWith(QStringRef, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool QString.endsWith(QLatin1String, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool
- camelot.view.controls.editors.floateditor.q_string_size()¶
QString.size() -> int
- camelot.view.controls.editors.floateditor.q_string_startswith()¶
QString.startsWith(QString, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool QString.startsWith(QStringRef, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool QString.startsWith(QLatin1String, Qt.CaseSensitivity cs=Qt.CaseSensitive) -> bool