Commit Graph

386 Commits

Author SHA1 Message Date
Steve Fan 234a82aaa9
dashboard: prioritize min as part of default value resolution (#1839) 2022-01-27 17:45:09 +08:00
David Nadlinger b7f3eaebf9 gui: Fix occasional wrong fuzzy select menu position on KDE/Linux 2021-04-04 00:04:11 +01:00
Sebastien Bourdeauducq 8deb269b9a update major version 2021-02-17 16:18:05 +08:00
David Nadlinger f11aef74b4 gui: Add context menu entry to close all applets
This is occasionally very useful if a large number of
applets were left open (e.g. spawned via CCB).
2021-01-17 11:56:03 +01:00
Leon Riesebos d8a5a8f568 fixed value scaling issue for the center scan gui widget
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
2020-11-10 18:42:18 +01:00
Sebastien Bourdeauducq 5f6aa02b61 gui: unbreak background 2020-08-14 13:14:45 +08:00
David Nadlinger 69718fca90 gui: Improve fuzzy-select heuristics
Even though the code already used non-greedy wildcards before,
it would not find the shortest match, as earlier match starts
would still take precedence.

This could possibly be sped up a bit in CPython by doing
everything inside re using lookahead-assertion trickery, but the
current code is already imperceptibly fast for hundreds of
choices.
2020-08-14 02:13:45 +01:00
David Nadlinger f36692638c dashboard: Add "Quick Open" dialog for experiments on global shortcut
This is similar to functionality in Sublime Text, VS Code, etc.
2020-06-26 10:11:33 +08:00
Sebastien Bourdeauducq 3adc799785 update GUI background 2019-11-15 13:49:09 +08:00
Sebastien Bourdeauducq 3fd6962bd2 use sipyco (#585) 2019-11-10 15:55:17 +08:00
David Nadlinger 5fd92a6175 gui: Fix crash when quickly opening/closing applets
Quickly closing/reopening applets (e.g. quickly clicking the checkbox
on an entire folder of applets) would previously lead to an occasional
KeyError on the self.dock_to_item access in on_dock_closed, as close()
would be invoked more than once.

The geometry/checked state handling can potentially be cleaned up
further, but at least this avoid the crash.
2019-03-10 20:57:10 +00:00
Sebastien Bourdeauducq af9ea1f324 gui: update background 2018-11-26 01:01:36 +08:00
Robert Jördens 494ffca4d3 gui,scan: add CenterScan Scannable variant
* parametrized by center/span/step instead of
  start/stop/npoints which is more convenient in some applications
* no scan widget support so far

Signed-off-by: Robert Jördens <rj@quartiq.de>
2018-11-15 13:30:43 +08:00
Sebastien Bourdeauducq 1ba12e1cdb gui/log: print messages in tooltips
This helps reading long messages in small log windows.
2018-08-17 13:21:38 +08:00
Robert Jördens 95b3ddbaf0 scanwidget: protect against resize from zero
fix #839
2017-10-11 22:26:18 +02:00
Sebastien Bourdeauducq cda9719f4b gui: update version number in background 2017-10-02 12:43:49 +08:00
Chris Ballance 58da76a169 gui: remove unnecessary state test 2017-03-31 16:48:39 +08:00
Chris Ballance bdf1ca25c6 scannable: fix RangeScan randomize seeding 2017-03-31 16:48:39 +08:00
Chris Ballance 07c71bf020 language,gui: combine LinearScan and RandomScan into RangeScan. Closes #679 2017-03-31 16:48:39 +08:00
Sebastien Bourdeauducq 3aced46b19 dashboard: report lost connection with master. Closes #602 2017-01-30 10:48:27 +08:00
Sebastien Bourdeauducq c5b55c1dfe applets: compatibility with older Qt. Closes #629 2016-11-29 10:45:07 +08:00
Sebastien Bourdeauducq 89417a47b2 gui: use bare QSpinBox for integer NumberEntries. Closes #558 2016-09-14 10:53:24 +08:00
Sebastien Bourdeauducq 4bdbc5b259 applets: use a different workaround to disable editing
True to itself, Qt did not miss the opportunity to trash widgets inside
QTreeWidgetItems when they are moved by drag-and-drop. Problem known for
more than 6 years and still not fixed as of Qt 5.7.
2016-09-09 12:55:01 +08:00
Sebastien Bourdeauducq 6144839beb applets: support group-level CCB policies 2016-09-09 11:38:55 +08:00
Sebastien Bourdeauducq ff20ed2710 applets: two column table, remove spurious Qt text editors 2016-09-09 09:07:31 +08:00
raghu 9b937e08f4 added repetitions for no scan, repetitions set to one when disable other scans selected. Closes #532 2016-09-08 11:03:00 +08:00
Sebastien Bourdeauducq b982832ddc gui/applets: support passing command line arguments to code applets 2016-09-07 00:56:39 +08:00
Sebastien Bourdeauducq 5d293d14c6 gui/applets: fix teardown of half-initialized applets 2016-09-06 23:06:31 +08:00
Sebastien Bourdeauducq f6b5d6d20f gui/applets: fix handling of process creation failure 2016-09-06 23:01:04 +08:00
Sebastien Bourdeauducq 56e3c80623 dashboard: support for code applets 2016-09-06 22:38:34 +08:00
Sebastien Bourdeauducq deb51eaaa1 gui: update version number in logo 2016-09-05 23:04:44 +08:00
Sebastien Bourdeauducq 549e09e06b applets: simplify command lines 2016-09-04 23:32:09 +08:00
Sebastien Bourdeauducq 8f6c4451ac gui/applets: support groups, creating and deleting applet groups, renaming groups, moving applets from one group to another and reordering applets and groups via drag-and-drop 2016-09-04 23:09:26 +08:00
Sebastien Bourdeauducq 4e3bb01e7e gui/log: support copying entries to clipboard. Closes #280 2016-08-15 20:19:25 +08:00
Sebastien Bourdeauducq b7151a253f gui: improve search of hierarchical datasets. Closes #258 2016-08-14 18:33:24 +08:00
Robert Jördens 17582047cb ScientificSpinBox: fix suffix/prefix 2016-08-14 11:28:30 +02:00
Robert Jördens 9775faa322 gui: use ScientificSpinBox for NoScan and NumberValue (#460) 2016-08-11 17:02:21 +02:00
Robert Jördens 941f6fc859 gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget 2016-08-11 17:01:38 +02:00
Robert Jördens 6fe23b8899 gui: new ScientificSpinBox (from 09f9293) closes #460 2016-08-11 16:51:56 +02:00
Robert Jördens 1c8202e207 gui: cleanup compact_exponential, 15 digits 2016-08-11 14:18:27 +02:00
Sebastien Bourdeauducq 8a243d322f gui/applets: hack completer model to block noxious dataChanged signal. Closes #464 2016-08-07 18:57:08 +08:00
Sebastien Bourdeauducq 591e44b227 gui/applets: capture applet stdout/stderr and redirect to log. Closes #472 2016-08-04 17:53:42 +08:00
Robert Jördens f183f87840 gui.entries: avoid intermediate value feedback, closes #533 2016-08-04 11:36:19 +02:00
Sebastien Bourdeauducq 60657c30b0 dashboard: add button to disable other scans 2016-06-15 19:06:04 +08:00
Sebastien Bourdeauducq 3b63c39d2f gui/scanwidget: use -inf/inf to represent absence of boundaries (consistently with QDoubleSpinbox) 2016-06-11 17:25:46 -06:00
Sebastien Bourdeauducq 765e3f0b5d gui/entries/_RangeScan: set range before setting value. Fixes clamping to 99.99 2016-06-11 17:25:46 -06:00
Sebastien Bourdeauducq 60d8e30ecd scanwidget: value may be None 2016-06-11 17:25:46 -06:00
Sebastien Bourdeauducq e9a8c4b540 gui/entries: remove unneeded parent 2016-06-03 22:56:45 -04:00
Sebastien Bourdeauducq e6a351c5ea gui: fix explicit scan input validation 2016-05-30 15:45:28 -05:00
Sebastien Bourdeauducq 03eeec55b2 gui: better log levels 2016-05-30 15:04:49 -05:00