The default branch for this project has been changed. Please update your bookmarks.
-
Carlos Pascual authored
Split the pyqtgraph-support code initially developed as part of the main taurus project to create the taurus_pyqtgraph independent module (hosted in its own repo) that can be loaded as a plugin by taurus. This repo starts off from the code as it was in commit 50456cc in the taurus repo and extracts the pyqtgraph-related code and adapts the setup.py and metadata files. The history up to 50456cc can still be checked from the taurus repo, but we squashed it into this initial commit to make the taurus_pyqtgraph repo lighter. Bellow is a log dumped from the taurus repo listing only the commits related to pyqtgraph using the following commands on a taurus repo: ``` git checkout 50456cc git log -- lib/taurus/qt/qtgui/extra_pyqtgraph lib/taurus/qt/qtgui/tpg ``` commit 9a72b8504a0763f11f7a972188650cfb0483434c Author: cpascual <cpascual@cells.es> Date: Mon Dec 11 16:10:31 2017 +0100 Fix Y2 setting by CurvesAppearanceChooser The implementation of assigning the Y axis to each curve is buggy. It does not handle the case in which the corresponding property is in conflict. Fix it by allowing the "assign to Y* axis" buttons to be unchecked. Also simplify the logic in the setting of the axis. commit 2d9b248187fe9db83274400b10c337b30edeabd3 Author: cpascual <cpascual@cells.es> Date: Mon Dec 11 09:44:36 2017 +0100 Optimize the setting of Y axis when no axis is passed CurvesAppearanceChooser.setCurveYAxis can be skipped if no axis is given. Also, improve its docstring. commit 1d6000d19de83ef8790aaff5f8cb8ae3aa4142fb Author: cpascual <cpascual@cells.es> Date: Tue Dec 5 11:27:36 2017 +0100 Refactor Y2ViewBox and document its public API commit 739a8c7e2e8b755fcf461cf9e422f6ee3204fa88 Author: cpascual <cpascual@cells.es> Date: Tue Dec 5 11:26:11 2017 +0100 PEP8 commit 77cadbea8478a3404dc47430f9e298fe8c09253b Author: cpascual <cpascual@cells.es> Date: Tue Dec 5 10:44:20 2017 +0100 First version of the pyqtgraph-based TaurusTrend First version. It already provides: - Model chooser tool - Force read tool - Save/retrieve config tool - Plot config tool - Y2 Axis tool - Time X axis - Legend tool commit d68c605972105982ee6d81f13d8a7ea5bdd1e2f7 Author: cpascual <cpascual@cells.es> Date: Tue Dec 5 10:36:56 2017 +0100 Handle adding/removing trendset curves to legend Handle adding and removing legend items for each of the curve items dynamically managed by a TaurusTrendSet. Also, force a read when setting model in order to ensure that the curves are created from the beginning. commit 48adeceda2b7214e0a171198e105cce5d7d6d6c1 Author: cpascual <cpascual@cells.es> Date: Tue Dec 5 10:22:12 2017 +0100 Remove unclear instructions Comment out 3 lines whose purpose is not clear (and marking them with TODOs). Also, document the updateModels method commit 9e02e77c2366c39961b80c5ca28d0fb9f525d816 Author: cpascual <cpascual@cells.es> Date: Mon Dec 4 16:06:56 2017 +0100 (minor )Improve the main function for testing commit 5176c91e13863ca1ee08cb851df7bd03e993a4dc Author: cpascual <cpascual@cells.es> Date: Fri Dec 1 04:14:07 2017 +0100 Add model to TaurusTrendSet config properties commit 8b8fb7eaea8d403499b4a1a3b7b851e4a05c0b70 Author: cpascual <cpascual@cells.es> Date: Fri Dec 1 03:00:22 2017 +0100 Add TaurusModelChooserTool.updateModels method commit c14d476d45b7cb30b0aa6fe8da7452d517718e3a Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 18:05:27 2017 +0100 Register curves opts as a config property of TaurusTrendSet commit 5809563c4faaecc860b8431fd5846245a52857db Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 14:09:24 2017 +0100 rename Y2ViewBox.clearCurves --> clearItems commit 348d20dd3faba4f7c7a9483f3dd95988611f7e48 Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 13:54:46 2017 +0100 Implement serialize_opts and deserialize_opts taursplotdataitem implements private funtions to (de)serialize curve opts dicts. Make them public as tpg.{de,}serialize_opts commit 4990bd79702b27b0085a01e8569f2b029d36166f Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 13:48:40 2017 +0100 Add TODO commit 38a8e754d1165f4d8cdf435dc65b53c495a533bf Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 13:05:29 2017 +0100 Do relative import Avoid circular import issue by using a relative import commit 30c81cbb2954c732980c7e6d1c305f2d757f5bc4 Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 12:21:41 2017 +0100 Protect against exception in TaurusItemConfDlg TaurusItemConfDlg raises an exception and is not shown if the default tango host cannot be dicovered. Protect and mark the code as Tango-centric. commit da65090782caa0378b3684465dadb0ce80774ef6 Author: cpascual <cpascual@cells.es> Date: Thu Nov 30 00:34:15 2017 +0100 PEP8 commit 4f2b07ebf9b1dd742eb0bee3cacf2e396ce29c50 Author: cpascual <cpascual@cells.es> Date: Wed Nov 29 11:04:44 2017 +0100 Refactor ForcedReadTool and TaurusTrendSet - Move timer from ForcedReadTool to each TaurusTrendSet, and task ForcedReadTool just with the setting of the period - Implement autoconnection beetween ForcedReadTool and TaurusTrendSet - Register period and autoconnect as config properties of the tool commit 6360d064e64eec276681d520997662cd4576e036 Author: cpascual <cpascual@cells.es> Date: Mon Nov 27 09:06:51 2017 +0100 Refactor container special methods tpg.TaurusTrendSet implements special methods to behave as a container. Fix a bug in the __len__ method and refactor __getitem__ and __contains__ commit 6b270171eed7bb40e93bae220ec16b107ff1b70a Author: cpascual <cpascual@cells.es> Date: Mon Nov 27 08:57:17 2017 +0100 Fix typo commit 7f373bb151aee8a3ad525e39e331c6a1f2882e8d Author: cpascual <cpascual@cells.es> Date: Fri Nov 24 16:11:23 2017 +0100 PEP8 commit 53ad77d52a65305d2a695a0b8f2330c3151d6784 Author: cpascual <cpascual@cells.es> Date: Sun Nov 26 21:53:40 2017 +0100 Add period config property to ForcedReadTool commit fb14df202415caeac531d624916ad12b81d15a00 Author: cpascual <cpascual@cells.es> Date: Sat Nov 25 00:59:58 2017 +0100 Add ForcedReadTool (first version) First version of ForcedReadTool. Still more work needed: - handle connection to existing trendsets (on attach to plot) - handle autoconnection of trensets when they are attached to a Plot with this tool attached - register config props commit 7ca5b23bad46ed832e65ada38955afa0d592c129 Author: cpascual <cpascual@cells.es> Date: Wed Oct 25 10:45:04 2017 +0200 Tidy-up tpg code - Refactor taurusplotdataitem code to tidy it up - Refactor and document taurustrendset - Refactor some main section's demo code commit 8b80280efaa70b461f21707c1809d260af14e597 Author: cpascual <cpascual@cells.es> Date: Wed Oct 25 10:18:15 2017 +0200 Tidy-up curves model code Refactor and document some code of the curves model and the model chooser tool to tidy it up. commit 4b955610d2195068288634866eedb790bba69f11 Author: cpascual <cpascual@cells.es> Date: Tue Oct 24 15:00:29 2017 +0200 Remove "use indices" display The QModel for the curves uses "(use indices)" as a display value when the model is not set, but this is only valid for the X column. Replace by empty string. commit 5fcaf6f3e0ba0f6200856ae03c0112284dfd09f0 Author: cpascual <cpascual@cells.es> Date: Tue Oct 24 08:28:52 2017 +0200 Change order of imports Swap order of pyqtgreaph and taurus imports to avoid incompatible API error commit 6f85592e236672165a525194162b1afa168547ff Author: cpascual <cpascual@cells.es> Date: Mon Oct 23 16:07:35 2017 +0200 Fix bug when applying merged properties When applyng merged properties, if the lWidth and sSize properties are in conflict they get wrongly set to -1 (instead of not being set at all as it would be expected). This is a bug in getShownProperties. Fix it commit 605715abb4ff48a738f769141c3867c3f1f2dd36 Author: cpascual <cpascual@cells.es> Date: Mon Oct 23 15:05:55 2017 +0200 Pass parent to tools in constructor Tools that are implemented as QActions need to have their parent set to the plotwidget in order for the menu entries to be visible. Pass the parent in the constructor commit a692f0c2b40de39acc9d963ac0a7b159634926b3 Author: cpascual <cpascual@cells.es> Date: Mon Oct 23 09:43:52 2017 +0200 Make local imports to avoid cyclic import errors Avoid top-level absolute imports of tpg modules to avoid cyclic import errors commit 34863e9fbd75058d396618c0df3b974eaa5c1367 Author: cpascual <cpascual@cells.es> Date: Mon Oct 23 09:42:03 2017 +0200 Refactor model chooser tools - Join all 3 model chooser tools (original image and XY) into one file - Document and refactor some tools to tidy up the code - Add WIP warnings commit 75ddb0c9c8671e2b6a441e5cfc5e43ad206ab49f Author: cpascual <cpascual@cells.es> Date: Fri Oct 20 15:38:09 2017 +0200 (minor) PEP8 commit a7ee07f9b915605ad62bf391136f1e31085968da Author: cpascual <cpascual@cells.es> Date: Fri Oct 20 15:14:50 2017 +0200 Tidy-up and improve tools - Refactor and document the code of various tools to tidy it up. - Make curves proerties tool use semitransparent line color for the curve fill - simplify signature of various "attachToPlotItem" methods commit 94ef090ef1d8ad1e1281cb0a2f22c34938743487 Author: cpascual <cpascual@cells.es> Date: Fri Oct 20 14:56:21 2017 +0200 (minor) PEP8 commit cb7102fc5622c0d7cb26504951e4b49c3b9b9aa8 Author: cpascual <cpascual@cells.es> Date: Fri Oct 20 09:49:24 2017 +0200 Tidy-up legendtool.py code Refactor and document the code to tidy it up commit 9d1da4da4b1d880b950a50cfd3f343fccf446ed0 Author: cpascual <cpascual@cells.es> Date: Thu Oct 19 16:06:14 2017 +0200 Add TaurusPlotMain and tidy-up plot.py code Add a main function to be used by launcher and document the code to tidy it up commit 381fc6ab5fb1017a4c59fff3182fdfd33872292f Author: cpascual <cpascual@cells.es> Date: Thu Oct 19 15:46:31 2017 +0200 Tidy-up dateaxisitem.py code Refactor and document the code to tidy it up commit 38383eb881941c688654c0af8dfc029559a236a0 Author: cpascual <cpascual@cells.es> Date: Thu Oct 19 11:46:42 2017 +0200 Tidy-up taurustrendset code Refactor and document the code to tidy it up commit 0cc845d8d6ec480c0cfed428a5194a03ff45e5ae Author: cpascual <cpascual@cells.es> Date: Thu Oct 19 09:53:46 2017 +0200 Rename XAutoPanAction -> XAutoPanTool and tidy-up it Rename, document and refactor to tidy-up the code a bit commit a0f734e7cfc2f431b3b8084c8ae29020e1f4efdc Author: cpascual <cpascual@cells.es> Date: Wed Oct 18 19:05:12 2017 +0200 Rename tpg submodules Use shorter and all-lowercase names for the submodules of tpg commit 5b8f5b3b87d2c07f54935605f7472baa5749d07e Author: cpascual <cpascual@cells.es> Date: Wed Oct 18 18:49:47 2017 +0200 Improve examples improve docs and code of the examples commit edc76c55f407ee4efcd3552962c637d1065cd13e Author: oscarPrades <oprades@axt.email> Date: Thu Aug 10 12:04:59 2017 +0200 Comment commit e66b71942afe1b838f155b51f4fd98cff303cf6a Author: oscarPrades <oprades@axt.email> Date: Thu Aug 10 11:58:50 2017 +0200 Comment added commit b3593da5e070eb40a28ed0fb707e6ec0be3bffef Author: oscarPrades <oprades@axt.email> Date: Thu Aug 10 11:43:18 2017 +0200 Rename package commit f5380ac01e3670ae2edfbb4353e9fcac7a331abd Author: oscarPrades <oprades@axt.email> Date: Thu Aug 10 11:38:51 2017 +0200 General changes -Added __all__ in submodules. -Import public API members in __init__.py -Rename package extra_pyqtgraph to ptg commit da5ed5c8b4a573b5a0bbcbf88fa3f84fa2d3a4a2 Author: oscarPrades <oprades@axt.email> Date: Wed Aug 9 12:45:40 2017 +0200 PEP8 commit f71bfb79347c267384e9766ab78836642151f390 Author: oscarPrades <oprades@axt.email> Date: Wed Aug 9 12:45:09 2017 +0200 Added Plot configuration title to dialog commit 5a98c7ec7cc509c0d9176426dfacbdf277b1258f Author: oscarPrades <oprades@axt.email> Date: Wed Aug 9 12:44:17 2017 +0200 Method _initActions moved to class __init__ commit e80483e18778ab22f694b0a27afdafed1eb8383a Author: oscarPrades <oprades@axt.email> Date: Wed Aug 9 12:43:15 2017 +0200 Renamed class in oscmodetool.py commit 1d295067e1de7541d6477ab6ea132969ac41e25d Author: oscarPrades <oprades@axt.email> Date: Wed Aug 9 12:01:52 2017 +0200 Bug fixed in TaurusPlotDataItem When we save the configuration from a curve (TaurusPlotDataItem) the curve backs to original state in some properties, for example width and style. Added a call to copy.copy() function for avoid this bug. Also PEP 8 checked. commit 4f7e249008828f289aa197f920c728ee9299d015 Author: oscarPrades <oprades@axt.email> Date: Mon Aug 7 12:00:33 2017 +0200 PEP8 commit 1542793397e82401656060947ed35445cdc46a72 Author: oscarPrades <oprades@axt.email> Date: Mon Aug 7 11:39:50 2017 +0200 Added config property in PlotLegendTool. Now, the plotLegendTool class is also a BaseConfigurableClass. Save if the legend is active or not. In TaurusPlot: - Added the configDelegate for PlotLegendTool. - Now, we remove all the curves from widget and from legend when the configuration is restored, before adding the retrieve curves. This prevents a bug with autoResize from the legend. commit 2ccf390f7adc2ad98e3c2155b427431c45c67d80 Author: oscarPrades <oprades@axt.email> Date: Mon Aug 7 11:38:31 2017 +0200 Added documentation commit 4a2432f13102aff8c9cb592e58c1f06dc72159fe Author: oscarPrades <oprades@axt.email> Date: Mon Aug 7 10:43:11 2017 +0200 Add coments, some bug fixed. Link X axis to Y2 axis correctly. Added fucntion to remove curves in Y2 axis before adding the curves restored from configuration file (avoid dups) commit 70222befe688496acb4526ba23759a8b79f40e1e Author: oscarPrades <oprades@axt.email> Date: Fri Aug 4 12:22:22 2017 +0200 Remove TODO commit 911152e4a3e46b0dd7542d583924ea1a383b17e2 Author: oscarPrades <oprades@axt.email> Date: Fri Aug 4 12:16:43 2017 +0200 Added config property, viewBox state. Now the Y2ViewBox object save his state (bounds, view range, autorange, autopan,....). This way, when we restore the properties of widget, all the curves will be displayed in the correct prevoius state, indepently which be the Axis. commit 0fc099648f00c3e53383e909336aaad824ec0ca3 Author: oscarPrades <oprades@axt.email> Date: Fri Aug 4 12:05:44 2017 +0200 Code refactor. commit a9b974b4059e08b294fd76e0fdc20aa24b2a65c6 Author: oscarPrades <oprades@axt.email> Date: Fri Aug 4 11:59:40 2017 +0200 Add config property in Y2ViewBox class Add config property in Y2ViewBox class and delegate in TaurusPlot. Now, the Y2ViewBox can remember the curves associated to him self and the widget(TaurusPlot) can ask him for add each curve in the correct ViewBox (Axis in this case). Y2ViewBox has the property for save their curves, but is the widget, which has to decide how add this curves, having the info about the Y2 axis curves. commit f43b79c1517d74a38888ae8ad021d4ccae603395 Author: oscarPrades <oprades@axt.email> Date: Wed Aug 2 11:09:48 2017 +0200 Behaviour of Y2ViewBox class in CurveProperties. The TaurusPlot (widget) is the manager to create a Y2ViewBox and specify to a CurvePropertiesTool that can be used in the CurveAppearanceChooserDialog for swapping curves between main and Y2 axis. The TaurusPlot widget now is a bridge between the Y2ViewBox and the dialog. If the dialog doesn't recive any Y2ViewBox object, the groupBox that manages the Y1 and Y2 axis, will be disabled. commit fcda28a55689670ea4609453d177b08480cc5c86 Author: oscarPrades <oprades@axt.email> Date: Wed Aug 2 11:08:35 2017 +0200 Code refactor, documentation added. commit 5ea46fee34b677df1f72ea3091adafcbcc5f3978 Author: oscarPrades <oprades@axt.email> Date: Tue Aug 1 11:57:07 2017 +0200 Some changes - Change buttons Y1, Y2 to RadioButtons(UI) - Now, the changes in Y axis, will be applied when the user press button Apply. - Document classes and methods commit d7182dfc282f9e1f7ac2067c6d16895ef55c09c5 Author: oscarPrades <oprades@axt.email> Date: Tue Aug 1 11:56:17 2017 +0200 Code refactor commit 3f308b57f888c2df7196d1b5136c48d6829bb61f Author: oscarPrades <oprades@axt.email> Date: Thu Jul 27 11:12:26 2017 +0200 PEP 8 commit ee211852b895cadd62ad71410d9a03c0555b28f5 Author: oscarPrades <oprades@axt.email> Date: Thu Jul 27 10:41:16 2017 +0200 Fix bug with XYmodelChooser and axisYtool. In usage of both tools, modelchooser and axisY2, the curves dont be inserted correctly. Fix it: -Override method ViewBox.addItem in Y2ViewBox class. -In XYmodelchooser, delegates remove and add item to parent viewBox of each curve. commit 70b3a74e29e81ced8de2d21adb6f624fda9239b5 Author: oscarPrades <oprades@axt.email> Date: Thu Jul 27 09:56:34 2017 +0200 Checkable option for activate a legend Now the option for show and hide a legend within a plotwidget is checkable. commit 4a712e5dd5e2a13ad7cc065ce2f705d45ad545b5 Author: oscarPrades <oprades@axt.email> Date: Wed Jul 26 12:56:47 2017 +0200 Avoid insert duplicate curves when loading config Also implements TaurusPlotDataItem.getFullModelNames as a identifier of a curve in this form: (XfullmodelName, Yfullmodelname) commit cb80ccee47f1921a236c0f1ca36dcf1855e45d41 Author: oscarPrades <oprades@axt.email> Date: Wed Jul 26 11:59:10 2017 +0200 Add state config property (Re)store PlotWidget state (ranges, panning state, ...) via the ConfigProperty mechanism commit bb087ead7e4be61f15f0ba7b2cebc8e5a3142a43 Author: oscarPrades <oprades@axt.email> Date: Wed Jul 26 11:54:05 2017 +0200 PEP8 commit 06ac14eae6c748afbef30798a1d389b137082aef Author: oscarPrades <oprades@axt.email> Date: Tue Jul 25 11:59:32 2017 +0200 Reimplement TaurusPlot.{create,apply}Config to handle TaurusPlotDataItems. An special reimplementation is needed to guarantee that the curve configs are (re)stored. commit 57de3e31c2461b0fa3ffd11434245c059e1a673d Author: oscarPrades <oprades@axt.email> Date: Mon Jul 24 11:49:05 2017 +0200 Generalize taurusXY model chooser. First step. The taurus XY model chooser is implemented with curves in mind, but can be generalized as a substitute of taurus model chooser. Do first steps towards generalization by removing references to curves. commit 163817be765ac2a5fd417a1f4049bbe0c2b59470 Author: oscarPrades <oprades@axt.email> Date: Mon Jul 24 09:54:34 2017 +0200 Add tool to show and hide legend from a plot commit f005c5d189e266a10f3ac5c62a3cc99275bbf98a Author: oscarPrades <oprades@axt.email> Date: Mon Jul 24 09:54:06 2017 +0200 Code refactor commit 312318cd62d93c0527ef185d009b5400a9a0e0eb Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 11:57:46 2017 +0200 Removed all Qt.QVariant from the code commit 49861e7f5c2bc0070b062921457c5cd2505cc6a8 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 11:05:59 2017 +0200 Tool for taurus modelXY chooser. This tool allows attach the model chooser dialog to PlotWidget and manage the operations for add, remove or modify the models within a taurus curve. commit c8f0697503c3df45e96f6bd4cd2caa4ebb29373f Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 11:03:19 2017 +0200 Implement a dialog for choose a Taurus model. This dialog give the chance for choose a model in X axis and Y axis, both associated with a curve (TaurusPlotDataItem). commit 7174d594f6f567109c4397a86acbe8c139d68ad4 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 10:59:43 2017 +0200 Added legend option and ModelChooser Added option to widget menu for show and hide the legend from the plot widget. This legend will be updated automatically with the curves added or removed from the widget. Also added to widget menu the calling for a modelChooserTool that allows choose a model for X and Y axis. commit 034ed6cfa15897b59374794333bcaac8e1a6fc12 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 10:58:15 2017 +0200 Code refactor commit dd9e299e4e0251029813ab939cc97b34fde873ab Author: oscarPrades <oprades@axt.email> Date: Fri Jul 21 10:35:34 2017 +0200 Example of use legend Item. This is an example of how to use a pyqtgraph.LegendItem in a pop up window outside for the main widget plot. commit 4761089177d501e764b98130384593879f22d685 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 14 12:43:57 2017 +0200 Add save and restore properties options. Implements 2 QAction in widget's menu for save and/or retrieve properties from each TaurusPlotDataItem(curve) from the widget. commit 2081665b0419127684a62312fec1809e33aa1c26 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 14 11:29:14 2017 +0200 PEP 8 commit 909e6aa94b2b14f0b7d8e11cd2f937b03275eb70 Author: oscarPrades <oprades@axt.email> Date: Fri Jul 14 11:19:52 2017 +0200 Code refactor Now, curve items (taurus models) are adding or removing from their respective parents (usually from a pyqtgraph.ViewBox object) commit 65dcc9f8a9ac5cfe16b01002fc5faef69fc8909e Author: oscarPrades <oprades@axt.email> Date: Fri Jul 14 11:18:44 2017 +0200 Code refactor commit 61e7bff03c175cc6b4f649db1bdb6c21690710bf Author: oscarPrades <oprades@axt.email> Date: Wed Jul 12 12:51:22 2017 +0200 Plot widget involving pyqtgraph First approach to Plot widget based in a pyqtgraph implementation commit 5e711502239b603a70f811883e8dde0f53fe3ae9 Author: oscarPrades <oprades@axt.email> Date: Wed Jul 12 12:50:06 2017 +0200 Code refactor commit 135a787fcba9314b3221470bf092eff4d7b3b694 Author: oscarPrades <oprades@axt.email> Date: Wed Jul 12 12:14:24 2017 +0200 Code refactor Refactor some code and add 2 more properties to curve commit a003e024310ef07323c84dd46025421a08192392 Author: oscarPrades <oprades@axt.email> Date: Tue Jul 11 11:24:42 2017 +0200 Add save and restore options in TaurusPlotDataItem Save and restore curve properties and models contained in TaurusPlotDataItem. commit f5d7b7496796c1173f2308f476d1d677f4b990f1 Author: oscarPrades <oprades@axt.email> Date: Tue Jul 4 11:38:42 2017 +0200 Implement setXmodel Allows to user build a TaurusPlotDataItem setting a model for absissas values (X axis) commit 2203180fd1ee49f79cd0e80a5fcfcf3eda1acf3a Author: oscarPrades <oprades@axt.email> Date: Mon Jul 3 12:43:23 2017 +0200 PEP8 commit 328afccc9b80107514cae1fcc4aeed45a0ed294a Merge: df9511f2 f1cce853 Author: oscarPrades <oprades@axt.email> Date: Mon Jul 3 12:34:09 2017 +0200 Merge remote-tracking branch 'cpascual/tep17' into tep17 Solved conflicts in: lib/taurus/qt/qtgui/extra_pyqtgraph/curvesAppearanceChooserDlg.py commit df9511f23eeef4f69bd9f8a1275d41f4e0e0fdfb Author: oscarPrades <oprades@axt.email> Date: Mon Jul 3 12:07:53 2017 +0200 Example, how to set label names to an AxisItem. Please enter the commit message for your changes. Lines starting commit 64d5ab5b47eeb0366d84cf12c0171ff3ebdba60e Author: oscarPrades <oprades@axt.email> Date: Fri Jun 30 11:57:41 2017 +0200 Add tool testing in the main() function Integrate fixed-range scale tool within TaurusTrendSet. commit 2b02aadab8678bc034dfa61a1756be29db344f0d Author: oscarPrades <oprades@axt.email> Date: Fri Jun 30 11:55:19 2017 +0200 Add UI to switch view modes Add fixed-range scale to ViewBox default menu for for switch between this mode and ViewBox default modes commit c07ba010c972ec1d74b0819f344548dcb202fe4c Author: oscarPrades <oprades@axt.email> Date: Thu Jun 29 13:09:02 2017 +0200 Implement X fixed ranged tool Tool for fix the range of X axis (osciloscope mode). Works within attachToPlotItem behaviour. commit 4eababed3275e3418e68e901aa2ecf597b56b612 Author: oscarPrades <oprades@axt.email> Date: Wed Jun 21 09:52:20 2017 +0200 Fix bug with hideAxis from Y2ViewBox commit 88129a57ff09762e8d832d7f1a5a42614813ca2e Author: oscarPrades <oprades@axt.email> Date: Wed Jun 21 09:14:37 2017 +0200 Approach of taurusTrendSet Solution for handle a set of curves from taurusTrend commit 0e97bb54e1e149b6087ddf0710e37bf6f9202839 Author: oscarPrades <oprades@axt.email> Date: Wed Jun 21 09:10:20 2017 +0200 Add compatibility with TaurusTrendSet Define _UImodifiable that allows to dialog display and/or change the properties of any curve that doesn't contain this attribute _UImodifiable commit 6300e06266f9441718b30e49d33a1177bc2ce788 Author: oscarPrades <oprades@axt.email> Date: Wed Jun 21 09:06:36 2017 +0200 Refactor Fix bug with autoResize viewBox and add changes to GUI commit fd908f21dd1d0c6a1678a6d7bc71a84b03d65228 Author: oscarPrades <oprades@axt.email> Date: Thu Jun 1 11:49:00 2017 +0200 Define name for each curve in TrendSet. Automatically defines a name for each curve created in TrendSet. This allows show the name curve when properties dialog is used. commit ac9ecf53c7451c4539d940e68962af0d515be293 Author: oscarPrades <oprades@axt.email> Date: Thu Jun 1 11:45:22 2017 +0200 Add autorange functionality. Calls PlotItem.autoRange when sets a model for update the view. commit 298ad774146907c01fc5690750d0d8ef05c45ccf Merge: becb068c e4da3330 Author: cpascual <cpascual@cells.es> Date: Mon May 29 14:50:22 2017 +0200 Merge branch 'tep17' of https://github.com/oscarPrades/taurus into tep17 commit e4da3330d9bc4bd3261d2349ab647750c56506f9 Author: oscarPrades <oprades@axt.email> Date: Mon May 29 13:56:09 2017 +0200 Fix exception on yBuffer resize Use pure nunmpy buffer for y values instead of Quantities commit 8978816b38ad2b1d95ba4731858fec7f2540a649 Author: oscarPrades <oprades@axt.email> Date: Mon May 29 13:07:07 2017 +0200 Add first implementation of Trends with pyqtggrah Provide the extra_pyqtgraph.TaurusTrendSet class. IMPORTANT: this is an still buggy proof of concept. See TODOs in the code commit 4950773f3ee1c357ddbecd9d04c12877574de456 Author: oscarPrades <oprades@axt.email> Date: Mon May 29 12:59:25 2017 +0200 Generalize Model Chooser Tool to support TrendSets TamurusÇModelChooserTool assumes that TaurusPlotDataItems are used. Make it more general by allowing the caller to specify the class. commit af6f9e343c4a8ced233521eba67653480f186dd1 Author: oscarPrades <oprades@axt.email> Date: Mon May 29 12:58:38 2017 +0200 (m) Remove debug print commit 6b6e51aa7409d7b80257ebd6c025614174788842 Author: oscarPrades <oprades@axt.email> Date: Mon May 29 12:57:12 2017 +0200 Support curves without name Avoid exception if name is not passed in the initialization kwargs commit becb068c94c087457036e78023f2aecdf34e1024 Author: cpascual <cpascual@cells.es> Date: Thu May 18 14:53:42 2017 +0200 Correct PEP8 issues commit e545dd2fd9745c220c226384500eb4bf245e9673 Author: oscarPrades <oprades@axt.email> Date: Thu May 18 11:34:17 2017 +0200 Implement first version of DateAxisItem DateAxisItem provides date-time support on pyqtgraph-based plots. commit 4951bbf6e7d582f5f7f33bbf2302e9772390dce9 Author: oscarPrades <oprades@axt.email> Date: Thu May 18 11:31:08 2017 +0200 Add TODO on TaurusPlotDataItem.setXModel TaurusPlotDataItem does not yet support X model. Leave a TODO commit 234ac88dcc21ab9b5a0b37d5156b210472bc7ed8 Author: oscarPrades <oprades@axt.email> Date: Thu May 18 11:30:18 2017 +0200 Add license header commit 6ac185c84f7dc636640bfdd331a69714a798c3bd Author: oscarPrades <oprades@axt.email> Date: Fri May 5 12:35:16 2017 +0200 Implements Curve properties dialog. Implements a dialog that allows to change properties from curves. This dialog can be attached to plotItem or plotWidget via curvesPropertiesTool (Adds a new action in the menu called Plot configurations). Also implements another tool called axisYtool for move curves to left or right in the axis of a plotItem. axisYtool is used by properties dialog but can be used too without dialog. In curves properties dialog file, there is a wrapper (adapter controller), for map all pyqtgraph properties to curve generic properties and manage all pyqtgraph objects from properties dialog. commit 2de08f1d091885c8b1987875137cb57de6f398e6 Author: oscarPrades <oprades@axt.email> Date: Wed Apr 5 12:49:24 2017 +0200 Refactor TaurusModelChooser tool for image Make TaurusModelChooserToolImage attachable to a plot item. Delay ImageItem access till trigger Support auto creation of TaurusImageItem if none previously existing commit 8e078cade76c09046079b0fb7e2766a0839c7a2f Author: oscarPrades <oprades@axt.email> Date: Mon Apr 3 12:35:10 2017 +0200 Implements model chooser for a TaurusImageItem Implements taurusmodelchooserToolImage that allows add a tool to TaurusImageItem for choose the model that will be displayed. Also changes the way to call a TaurusImageItem object. commit 50fd84bf014b93f8261a095ded776e130c1b791e Author: oscarPrades <oprades@axt.email> Date: Fri Mar 31 09:10:43 2017 +0200 Fix bug in legend from plotItem commit ece9a97e3b4d5efe58318727b1acd310ca7956d6 Author: oscarPrades <oprades@axt.email> Date: Thu Mar 30 09:35:13 2017 +0200 Implements legend to TaurusModelChooserTool Add legend to plot item and changes automatically with the selection of models from ModelChooserTool commit b01a4d2fe2621609635be24270c5f7f26167f2c8 Author: oscarPrades <oprades@axt.email> Date: Wed Mar 29 10:20:19 2017 +0200 Implements taurus model chooser tool Add menu to pyqtgraph plots for display the TaurusModelChooser widget. Implements option to add and remove data from models of the Tango server. commit 8dec4e3bd18b0b5f7d85d76d24a4588e56df1786 Author: oscarPrades <oprades@axt.email> Date: Fri Mar 24 10:25:01 2017 +0100 Implements data and image plot with pyqtgraph. PyQwt5 is deprecated. Add a first proof of concept for a 'Taurus-ified' extension based in pyqtgraph. Add plotting for data and 2D and 3D image data.
c846fa61
This project is licensed under the Creative Commons Attribution 3.0 Unported.
Learn more