Nico Tonnhofer
08b95047df
configtool: add homing to GUI
2019-04-18 09:28:06 +02:00
Nico Tonnhofer
6089d24bd1
configtool: revert homing order
...
currently this part is buggy and need some rework.
Looks like it is more simple to write it new instead of find the bugs
2019-04-18 09:28:06 +02:00
Nico Tonnhofer
bf72cb7f10
python3: pep8 all files.
...
e.g. 4 spaces for identation
using black for this:
https://github.com/ambv/black
2019-04-18 09:10:37 +02:00
Nico Tonnhofer
727d5dee66
configtool: use new wxPython 4
...
Installation/Update:
- Windows/macOS
pip install -U wxPython
- Linux
pip install -U wxPython
- if it fails to install wxPython >= 4 go ahead, else you're done.
Check https://extras.wxpython.org/wxPython4/extras/linux/gtk3/
for e.g. Ubuntu 18.04:
pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/ \
wxPython
check also https://wxpython.org/pages/downloads/ for further details.
2018-12-30 22:12:36 +01:00
Matt Gilbert
732bd470cf
Homing order in configtool.
...
Adjustments by Traumflug:
- Rebased to current 'experimental'.
- Some whitespace adjustments.
- Renamed labelWidth_homing to labelWidthHoming.
- Fixed an issue in printer.py which would write only the first
character of an option ('x' instead of 'x_positive', 'n'
instead of 'none', etc.)
Thank you very much for the code, Matt!
2017-12-31 17:22:51 +01:00
Markus Hitter
4645715f18
Configtool: make KINEMATICS a set of booleans, too.
...
Reasons:
- Less code, easier handling.
- An entire case of configuration handling could be removed.
- Better class-like encapsulation.
2016-04-20 22:02:07 +02:00
Markus Hitter
6b5156d459
Configtool: take advantage of the now recognized values.
...
This is for now to restore disabled values as well, not only
active ones. More uses are thinkable.
2015-07-17 13:38:15 +02:00
Markus Hitter
27cf051f03
Configtool: de-duplicate insertValues().
...
No change in behaviour intended.
2015-07-17 13:38:02 +02:00
Markus Hitter
6f7a4122a0
Configtool: allow travel limits to be floats.
...
This is work related to issue #157 .
2015-06-06 20:08:54 +02:00
Markus Hitter
b3bc26c6f4
Configtool: adjust background color of controls, too.
...
That is, buttons and choices. Coices apparently don't work. Tried
a bit on the table heaters of the sensor and heater lists, but
found nothing which would result in an effect. This control is
not exactly well documented.
2015-05-30 21:21:00 +02:00
jbernardis
e5e8983427
Configtool: make tooltips for radio buttons work on Linux.
...
The problem was, applying tooltips to the radio buttons directly
showed no effect on Linux. While this is likely a bug in wxPython,
we can't change this behaviour.
The solution is to also apply these help texts to the surrounding
StaticBox. This works, even for the radio buttons.
This solves issue #149 .
2015-05-26 13:49:31 +02:00
jbernardis
9985c3936d
Configtool: many changes.
...
1) If variables are missing from .h files, they are added.
2) Settings file now modifiable from within the program.
3) A few cosmetic fixes.
2015-04-21 02:11:01 +02:00
jbernardis
d6b2a2293e
Configtool: incorporate most of previous comments.
...
See discussion to Issue #111 on Github.
2015-04-21 02:10:58 +02:00
jbernardis
d7789ee217
Configtool: major restructuring.
...
We distinguish between printers and boards now. Most of the
code was split into one file per tab/window and moved into
configtool/.
2015-04-21 02:07:12 +02:00