Commit Graph

391 Commits

Author SHA1 Message Date
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
Sebastien Bourdeauducq 55fdfc618b gui/log: fix clearing multi-line messages 2016-05-28 13:48:02 -05:00
Sebastien Bourdeauducq a120a09d79 gui/log: add clear button (#411) 2016-05-28 11:10:32 -05:00
Sebastien Bourdeauducq ab749560c2 dashboard: forward local log messages to docks, replace status bar (#411) 2016-05-28 11:10:25 -05:00
Sebastien Bourdeauducq 10267f39c9 log: use broadcast instead of sync_struct, filter on new messages only (#411) 2016-05-27 23:43:29 -05:00
Robert Jördens f24f7380f5 gui: fix new() being called with arguments by qt (closes #444) 2016-05-25 23:13:00 +02:00
Sebastien Bourdeauducq b3e55b753b environment,dashboard: generalize multiple defaults, fix HDF5 argument load 2016-05-24 08:58:34 -05:00
Sebastien Bourdeauducq 43081b4f64 language,gui: support setting unselected scan default values. Closes #417 2016-05-23 15:03:05 -07:00
Robert Jördens af317f9b64 gui.models: clean up LocalModelManager a bit 2016-05-20 16:12:11 +02:00
Robert Jördens e5a75ea0f4 gui.log: export LogDock 2016-05-20 16:12:11 +02:00
Robert Jördens 7a71939201 dashboard.log -> gui.log 2016-05-20 16:12:11 +02:00
Robert Jördens 5b5c9b2bb7 browser: pass mods to applets (closes #434) 2016-05-13 15:27:23 +02:00
Robert Jördens c5fcb6b8d5 dashboard: use get_open_file_name 2016-05-08 18:14:01 +02:00
Robert Jördens 5332c198c2 gui/tools: add getOpenFileName 2016-05-07 19:01:14 +02:00
Sebastien Bourdeauducq dec323b097 gui/applets: catch duplicate applet UIDs (#430) 2016-05-07 11:47:17 +08:00
Sebastien Bourdeauducq fc4effb91d update logo 2016-04-30 00:30:24 +08:00
Sebastien Bourdeauducq 063639662e applets: also accept '/' as dataset path separator for completion 2016-04-25 00:04:40 +08:00
Sebastien Bourdeauducq e91961fbae applets: dataset name completion 2016-04-24 23:51:55 +08:00
Robert Jördens 7be3ffe79f scanwidget: spelling 2016-04-20 16:29:39 +02:00
Sebastien Bourdeauducq 3134106a11 gui/models: handle Qt calling DictSyncTreeSepModel.index with garbage inputs. Closes #388 2016-04-11 20:11:22 +08:00
Robert Jördens d6beec1a55 dashboard: allow more than 99 scan points 2016-04-08 10:21:49 +08:00
Sebastien Bourdeauducq f530815305 gui/applets: use templates instead of formats 2016-04-06 17:02:26 +08:00
Sebastien Bourdeauducq 7e2e182315 put dashboard-specific files in separate directory 2016-04-06 15:45:02 +08:00
Sebastien Bourdeauducq 1d94cfd8ed gui: save/restore geometry of applets when they are disabled/enabled. Closes #375 2016-04-06 15:18:21 +08:00
Sebastien Bourdeauducq 04d4067e7f gui/state: add debug logging 2016-04-06 15:14:33 +08:00
Robert Jördens 1f152bceb2 browser: own package, own datasets dock 2016-04-05 18:50:29 +08:00
Robert Jördens 1814f12152 gui/datasets: rm unused imports/style 2016-04-05 18:50:29 +08:00
Sebastien Bourdeauducq fc524961b2 dashboard/moninj: fancy level setting and layout improvements. Closes #163 2016-04-05 18:38:05 +08:00
Robert Jördens aaa81a63d1 browser: use LocalModelManager, make the 'explorer' the central widget 2016-04-05 17:22:16 +08:00
Robert Jördens 4edfd6caa4 qui/models: add LocalModelManager 2016-04-05 17:22:16 +08:00
Robert Jördens 826d529756 gui/results: add QListView 2016-04-05 17:22:16 +08:00
Robert Jördens 670e8907a5 artiq_browser: load from hdf5 2016-04-05 17:22:16 +08:00
Robert Jördens 91a362c898 add artiq_browser 2016-04-05 17:22:16 +08:00
Sebastien Bourdeauducq 2dfc1a8d17 gui/explorer: display filenames and classes in tooltips. Closes #371 2016-04-05 13:26:00 +08:00
Sebastien Bourdeauducq d9b2968426 gui/models/DictSyncTreeSepModel: support tooltips 2016-04-05 13:25:14 +08:00
Robert Jördens d095d481ff gui.models: style 2016-04-04 23:38:56 +08:00
Sebastien Bourdeauducq 667aca8a1c gui/experiment: fix recompute argument error handling 2016-04-02 23:03:06 +08:00
Sebastien Bourdeauducq deb9a60ca3 gui: setParent(None) before deleteLater() to remove dock appears unnecessary and causes memory corruption on Windows. Closes #362 2016-03-30 11:40:00 +08:00
Sebastien Bourdeauducq 059aa2f83e gui: do 60114447 properly 2016-03-30 01:47:50 +08:00
Sebastien Bourdeauducq 6011444789 gui: log error and bail out on artiq_gui.pyon write failure (#360) 2016-03-30 01:45:00 +08:00
Sebastien Bourdeauducq dc2c19f08f gui/schedule: support terminating all experiments in a pipeline. Closes #262 2016-03-29 17:34:38 +08:00
Sebastien Bourdeauducq b59283f85e gui/applets: use a better default size, make minimum size proportional to font 2016-03-29 17:10:37 +08:00
Robert Jördens 049bd11bd6 scanwidget: handle min, max, suffix (closes #352) 2016-03-28 16:59:49 +02:00
Sebastien Bourdeauducq 3f333a58af gui/log: split lines correctly 2016-03-25 20:01:02 +08:00
Sebastien Bourdeauducq 5c6e2d7a3a gui/log: send Qt model notifications correctly 2016-03-25 20:00:52 +08:00
Sebastien Bourdeauducq bebd89c959 gui: redesign table/trees to avoid slow and buggy qt/pyqt autosize. Closes #182. Closes #187. 2016-03-25 18:33:22 +08:00
Sebastien Bourdeauducq befbab5571 gui: add image applet 2016-03-23 17:04:22 +08:00
Robert Jördens 80b13b1263 scanwidget: cleanup interactive behavior (48a0208) 2016-03-18 21:53:06 +01:00
Robert Jördens d60eaa7b44 scanwidget: fix div by zero rubberband width (closes #335) (4b8fe1e) 2016-03-18 09:04:35 +01:00
Sebastien Bourdeauducq 223657fa63 gui/experiments: improve resilience to broken/outdated artiq_gui.pyon 2016-03-18 13:04:51 +08:00
Robert Jördens f816c7d8d8 scanwidget: add shift-lmb and ctrl-lmb drag modes (1d78c78) 2016-03-18 00:07:28 +01:00
Robert Jördens 33da27a749 experiment/gui: support reverse scan (closes #246) 2016-03-17 22:37:17 +01:00
Sebastien Bourdeauducq 2859382e11 gui: display repository scanning status and revision. Closes #274 2016-03-18 00:40:54 +08:00
Sebastien Bourdeauducq fb8a5486e3 gui/moninj: compute size of widgets based on font sizes 2016-03-17 18:38:27 +08:00
Sebastien Bourdeauducq f73934112b gui/moninj: flow layout 2016-03-17 18:18:31 +08:00
Sebastien Bourdeauducq 633bbc457d gui/schedule: work around Qt bug when first row is inserted with due date. Closes #329 2016-03-17 13:20:29 +08:00
Robert Jördens 61223fb053 scanwidget: min 3 ticks (f3b4cb2) 2016-03-17 00:30:13 +01:00
Robert Jördens a4e916de73 scanwidget: scroll and code simplification (0cca4a3) 2016-03-16 23:47:28 +01:00
Robert Jördens ec5c2b6699 scanwidget: shortcuts (4a21946) 2016-03-16 23:30:50 +01:00
Robert Jördens fb31782b6f scanwidget: drag modes (9a7fcd4) 2016-03-16 23:05:23 +01:00
Robert Jördens 5d5ef356f4 scanwidget: just do QWidget (337af80) 2016-03-16 22:08:32 +01:00
Robert Jördens a75ee76463 scanwidget: more adaptable sizing (8bc0c10) 2016-03-16 21:25:45 +01:00
Robert Jördens 11bfe33dd4 scanwidget: painting (3237d2b) 2016-03-16 21:13:14 +01:00
Robert Jördens 67db5f77cd scanwidget: lmb axis drag (9e6203c) 2016-03-16 21:11:40 +01:00
Robert Jördens d858ad4180 scanwidget: rewrite, pending drawing area (3de1505) 2016-03-16 21:11:40 +01:00
Sebastien Bourdeauducq a142d403ea gui: handle better changing MDI area background colors 2016-03-15 18:36:34 +08:00
Sebastien Bourdeauducq a172d8b837 logo: use Unix EOLs 2016-03-15 18:35:30 +08:00
Robert Jördens fc60f3504c scanwidget: wheel event handling cleanup (380634e) 2016-03-14 18:06:18 +01:00
Robert Jördens 2e73d6c89c scanwidget: changes as of 1f9ab9b (resize) 2016-03-14 16:53:06 +01:00
Robert Jördens 1dc72635a0 scanwidget: changes as of 19a1d40 (closes #330) 2016-03-14 16:50:58 +01:00
Robert Jördens 5714ffe758 scanwidget: draw based on font metrics (closes #328) 2016-03-12 13:09:31 +01:00
Robert Jördens 5e7eff6c4d scanwidget: changes as of edaba53 2016-03-12 12:42:33 +01:00
Robert Jördens 78f2706aa8 scanwidget: apply changes as of 579bf5e 2016-03-11 21:37:55 +01:00
Robert Jördens d34d83f35c Merge branch 'scanwidget' (closes #128)
* scanwidget:
  gui: fix scanwidget usage
  scanwidget: apply changes as of 10439cb
  scanwidget: apply changes as of 98f0a56
  missing parts of 59ac567
  scanwidget: disable unmodified wheel on axis and slider
  scanwidget: wire up signals better, set values late, take scanwidget from 7aa6397
  gui: use scanwidget
  scanwidget: add from current git
2016-03-11 18:31:25 +01:00
Robert Jördens 22b072699f gui: fix scanwidget usage 2016-03-11 18:30:27 +01:00
Robert Jördens 7f3e1c989d scanwidget: apply changes as of 10439cb 2016-03-11 18:29:21 +01:00
Robert Jördens e4b854b8bf scanwidget: apply changes as of 98f0a56 2016-03-11 15:38:22 +01:00
Sebastien Bourdeauducq 065cbfbb8a gui/moninj: fix datagram offset computation (#325) 2016-03-10 22:34:22 +08:00
Robert Jördens bc9203457e Merge branch 'master' into scanwidget
* master: (38 commits)
  hardware_testbench: better message when skipping
  test_spi: drain errors and be more strict on where we expect errors
  monkey-patch asyncio.proactor_events to handle ConnectionAbortedError on Windows. Closes #247
  test/rtio/Loopback: ensure loop_out is low before starting test
  test/rtio: raise exception when pulse is not received
  rtio: fix different address collision detection
  frontend/coreanalyzer: do not attempt to print obsolete decoded_dump attribute. Closes #324
  coredevice: put cache into separate file/device
  gui: delete log/applet docks instead of hiding them
  gui/moninj: make DDS widgets look less like buttons
  rtio: remove NOP suppression capability
  rtio/wishbone: make replace configurable
  exceptions: clarify RTIOBusy
  gateware/rtio: factor _BlindTransfer
  test_spi: break_realtime
  test_spi: simplify test, add collision vs busy test
  hardware_testbench: clean up artiq_core_exeption printing
  coredevice: fix _DDSGeneric __init__ args
  hardware_testbench: also print artiq_core_exeption
  rtio/core: fix syntax
  ...
2016-03-10 12:46:07 +01:00
Sebastien Bourdeauducq 7f501820de gui: delete log/applet docks instead of hiding them 2016-03-10 10:35:44 +08:00
Sebastien Bourdeauducq c5552f9009 gui/moninj: make DDS widgets look less like buttons 2016-03-10 10:20:26 +08:00
Sebastien Bourdeauducq f0b0b1bac7 support for multiple DDS buses (untested) 2016-03-09 17:12:50 +08:00
Robert Jördens 81bc99905c missing parts of 59ac567 2016-03-08 16:49:23 +01:00
Robert Jördens 59ac567048 scanwidget: disable unmodified wheel on axis and slider 2016-03-08 16:43:04 +01:00
Robert Jördens 285979cab6 Merge branch 'master' into scanwidget
* master:
  pipistrello: grow fifos a bit (may make ise happier)
  gui: don't scroll experiment editor on modified wheel (closes #303)
  gui: ignore only unmodified wheelevents
  pipistrello: shrink fifos a bit (may make ise happier)
  pipistrello: use ttl_simple for pmod[4:8]
  pipistrello: move the spi channel like kc705
  doc: kc705.clock: add spi bus mappings (closes #321)
  doc: add pipistrello spi bus
  doc: add pipistrello pmod ttl channels
  pipistrello: make pmod[4:8] available as ttls
  pipistrello: adhere to pmod interface type 2 layout
2016-03-08 16:18:50 +01:00
Robert Jördens c08881de5d gui: don't scroll experiment editor on modified wheel (closes #303)
If you try to target e.g. spinbox with a ctrl- or shift-wheel to change the value
and you don't aim well, the tree widget will scroll. We already have tree
scroll on unmodified wheel. Let's have the modified wheel events exclusively
target the smaller widgets.
2016-03-08 16:12:38 +01:00
Robert Jördens 41ca223c45 gui: ignore only unmodified wheelevents 2016-03-08 15:53:27 +01:00
Robert Jördens 7e99780891 scanwidget: wire up signals better, set values late, take scanwidget from 7aa6397 2016-03-08 12:35:13 +01:00
Robert Jördens ef217f7fe2 Merge branch 'master' into scanwidget
* master: (125 commits)
  rtio: when rtlink addresses are different, issue collision not replace (fixes #320)
  rtio: collision_error -> collision
  test/coredevice/time_keeps_running: start new session to prevent now_mu save/restore
  runtime: fix sloppy memory management in cache_put.
  test_loopback: bump RTT limit to 60ns.
  soc: use add_extra_software_packages, factor builder code
  doc/PCA9548: clarify channel selection
  doc: I2C/QC2
  test: I2C/PCA9548 unittest
  examples/device_db: add PCA9548
  runtime/i2c_read: fix MSB
  ad5360: add documentation and an example
  ad5360: t16 is a max
  ad5360: un-factor write_channels
  ad5360: add busy and update timings
  ad5360: style
  ad5360: add batched zero-length multi-channel set()
  spi/ad5360: refactor, small fixes
  coredevice/i2c: fix exception message
  coredevice/PCA9548: fix I2C address
  ...
2016-03-08 11:14:57 +01:00
Sebastien Bourdeauducq b83b113f3c gui/moninj: make widgets look less like buttons 2016-03-03 10:48:17 +08:00
Robert Jördens 485fc3bd27 gui: use scanwidget 2016-02-25 20:34:18 +01:00
Robert Jördens 3ed8288601 scanwidget: add from current git 2016-02-25 20:34:04 +01:00
Sebastien Bourdeauducq 95dbafd662 gui: add logo to MDI area 2016-02-21 08:06:52 +08:00
Sebastien Bourdeauducq 804592a3f7 gui/log: fix dock close tracking 2016-02-21 05:33:24 +08:00
Robert Jördens fef72506e4 ctlmgr/gui/master: start subprocesses in new pgroup
This only makes a difference on POSIX. It prevents subprocesses
from receiving the signals that the parent receives. For ctlmgr
and master is cuts down on spam on the console (KeyboardInterrupt
tracebacks from all controllers) and enforces that proper
termination is followed.

This does not help if the parent gets SIGKILL (subprocesses
may linger).
2016-02-18 23:51:12 +01:00
Sebastien Bourdeauducq 6973a9471b gui/explorer: fix 'parent folder' on Windows 2016-02-18 13:47:03 +01:00