beremiz
Clone
Summary
Browse
Changes
Graph
Add SpinButtons for integer and floating point variables in ForceVariableDialog
2019-02-21, Andrey Skvortsov
1ee326651a74
Add SpinButtons for integer and floating point variables in ForceVariableDialog
it allows to change variable value using only mouse.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]