| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Two __init__.py files were found missing in test dirs, making them
not importable. Add them
|
|
|
|
|
|
| |
The QtTestCase assumes QIcon has fromTheme, which is not
compatible with PyQt4.4. Fix by using taurus.resource.getThemeIcon
instead.
|
|\
| |
| |
| |
| | |
Conflicts:
doc/source/conf.py
|
| |
| |
| |
| |
| | |
The current implementation of ModuleExplorer.getAll only allows keys
referring to list values. Implement support for non-lists as well.
|
| |
| |
| |
| |
| |
| | |
Update the project urls contained in the release modules of taurus and
sardana (from packages.python.org to the corresponding sardana and
taurus domains)
|
| |
| |
| |
| |
| | |
Latest change in Tango web page broke the project URL in the licence
notices. Update it to http://taurus-scada.org
|
| | |
|
| |
| |
| |
| | |
Add Bug339_TestCase to test_ui
|
| |
| |
| |
| |
| |
| |
| | |
BaseWidgetTestCase derived classes are skipped if they do not define the
_klass member. This artificially limits the usability of this base
class. Relax this restriction (just skip the instantiation of the
widget if _klass is not given).
|
| |
| |
| |
| | |
Add documentation for argument with_ui, which was missing.
|
| |
| |
| |
| |
| | |
TangoAttribute does not encode properly the DataType.DevEncoded.
Add a switch/case option to handle these parameter type.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add a boolean attribute, "busy" to the Worker class.
If the thread is working, busy will be True,
otherwise, it will be False.
- Add to Worker class a getter method "isBusy()ยท to read this flag.
- Add to ThreadPool class a method "getNumOfBusyWorkers()".
This method returns the current number of busy worker threads.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There's a regression in Taurus 3.4 regarding removing attributes
from polling. Calling "removeListener" on an Attribute does not
mean that the attribute is removed from polling, although it
does mean the listener is no longer invoked.
Also, there's another related bug that has been around longer,
which means that a device that no longer has any polled
attributes is still polled for an empty list of attributes,
which does not seem to make any sense. Fix both issues.
Both the bug report and the solution were kindly provided by
Johan Forsberg
|
| |
| |
| |
| |
| | |
Update the project urls contained in the release modules of taurus and
sardana (from packages.python.org to the corresponding sardana and
taurus domains)
|
|/
|
|
| |
Latest change in Tango web page broke the project URL in the licence
notices. Update it to http://taurus-scada.org
|
|
|
|
| |
importing taurus.external.pint.pint fails. Fix it by changing some
internal absolute imports to relative
|
|
|
|
|
|
|
|
|
| |
"ui" dirs are treated by setup.py as packages (submodules) and
installed as such. This forces the ui dir to have a __ini__.py file.
This was necessary when ui dirs also contained compiled ui_*.py files,
but since SEP11 it is no longer the case. Therefore, remove all
__init__.py files from ui dirs and install the ui dirs as package_data
instead of packages. Also force the ui files to be added explicitly.
|
| |
|
|
|
|
| |
Make Taurus testsuite --skip-gui-test feature work
|
|
|
|
| |
Make a local copy of the given alignment in QPixmapWidget.setAlignment
|
|
|
|
| |
Pass the parent in the constructor of the assistant to prevent a
segfault on exit when using PyQt4.4
|
|
|
|
|
|
|
|
|
|
| |
Changes include:
- change new style signals to old style
- avoid QIcon.fromtheme calls
- Use QVariant for the return of QTextBrowser.loadResource()
- Avoid using "super" outside __init__
- pass parent into constructor of QHelpEngine (avoids segfaults on exit)
Also a few docstring and other minor changes
|
|
|
|
|
|
|
|
|
| |
- Add taurus.external.qt.QtHelp
- Add widget taurus.qt.qtgui.help.AboutDialog
- Add widget taurus.qt.qtgui.help.HelpBrowser
- Add function taurus.qt.qtgui.help.Assistant
Widgets are visible in taurusdesigner.
|
|
|
|
| |
Add a unit test for checking the accuracy of the Timer class.
|
|
|
|
| |
Protect some calls in TangoDevice related to asynchronous polling.
|
|
|
|
|
| |
Add strict_timing mode to the taurus Timer class (and make it the
default mode) to compensate for the time used by the function call.
|
|
|
|
|
|
|
|
|
|
| |
The poll method has new keyword arguments to support
asynch/reply calls.
The TangoDevice.poll has been changed to implement the new
algorithm.
The drift drift problem is not solved yet.
|
|
|
|
|
|
| |
When using a TaurusArrayEditor in taurusdesigner,
the TaurusArrayEditor "header" property in the ui file is set to
taurus.qt.qtgui.container. Change it to taurus.qt.qtgui.plot.
|
|
|
|
|
| |
When an attribute is being removed from the polling list, the
function is not protected against inexisting attribute. Protect it.
|
|
|
|
| |
Fix copy-paste error that linked the show min trigger with show max.
|
|
|
|
|
| |
Util used to find the path of a given executable (similar to the
which command in a Unix system)
|
|
|
|
|
|
|
|
| |
Add RepeatedEventFilter class filter to taurus.core.util.eventfilters.
Its instances keep track of the last event for each source and type and blocks
any periodic or change events whose evt_value.value is identical to the
previous one. If evt_value.value is not available, the whole evt_value is used
for comparison and as a future reference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement feature 307: add filtering capabilities at taurus core
level. Add the taurus.core.util.eventfilters.filterEvent method use it on
TaurusBaseComponent to insert an extra step of filtering before passing
the event to the main Qt thread. Filters at this stage are managed just
like the Qt thread ones via {set,insert,get}EventFilters methods by
using the preqt=True keyword argument
- Implement feature 309: add fireEventBufferPeriod property to
TaurusBaseComponent to enable event buffering (events are
temporarilly held and released only with a given periodicity). If more
than one event arrives from the same source and with the same type, only
the most recent one is released and the previous are discarded.
|
|
|
|
|
| |
SingletonWorker.size returns None instead of a value
(which is a bug). Make it return the size.
|
|
|
|
|
|
| |
create_integer_panel method does not work because the limit range
is out of the valid limits. Use numpy instead of sys to set
a valid range for integer_panel and float_panel.
|
|
|
|
|
|
|
|
|
|
| |
In some cases, when one creates a TaurusValueCombobox and sets the
model after having called addValueNames, the widget is left in an
inconsistent "pending operations" state (the write value shown is
the same as the one applied, but the widget reports having pending
operations -i.e. it is "blue").
Fix it by calling emitValueChanged() at the end of the setModel
method.
|
|
|
|
|
|
|
| |
Fix problems with old Qt versions(<4.6).
Use Qt.Qt.AlignmentFlag(0) instead Qt.Qt.Alignment(0) to set the
widget alignment mode.
Remove to use of kwargs in the calls of the addWidget method.
|
|
|
|
|
| |
- calculate class name statically from original class if filename is
not given
|
|
|
|
|
| |
Add missing '@skipUnlessGui' decorator to GenericWidgetTestCase
Class.
|
|
|
|
|
|
| |
In the addNewDevice add verification if the device is already configured
in the DB. Skip the creation in case it is already existing.
This way the cleanDb does not erase configuration that was already existing.
|
|
|
|
|
|
|
| |
* TaurusValues with large subwidgets show unaligned widgets.
* Allow subwidgets to define their alighment within a form.
Subwidgets of PoolMotorTV now make use of this.
* DefaultUnitsWidgets align to left.
|
|
|
|
|
| |
This getter could be used for substituting the default switcher class
(TaurusReadWriteSwitcher) in the TaurusValue subclasses.
|
|
|
|
|
|
|
| |
TaurusValue.{read,write}Widget() are accessors to TaurusValue's read and
write widgets. But when using compact mode, sometimes we want to access
the switcher's read and write widgets instead of the TaurusValue's ones.
Add a keyword to control this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a TaurusValue updates its ReadWidget and write Widgets, it inserts
a weak ref to itself (called taurusValueBuddy) into the new ReadWidget
and writeWidget. When it goes into compact mode, the ReadWidget becomes
a Switcher that contains both a a read and write subwidget (and the
WriteWidget is removed). These subwidgets of the switcher may also
require a reference to the "taurusValueBuddy" (for example in the
case of complex TaurusValue-based widgets such as the PoolMotorTV).
Insert the weakref also into these subwidgets of the Switcher.
a Switcher. a switcher is used for
its ReadWidget.
|
|
|
|
|
|
|
| |
Currently, getQtDesignerPluginInfo must return a dict with an (optional)
icon key. If this key is given, its value must be a string.
Implement support for either a string or a QIcon object as value
for the icon key.
|
|
|
|
|
|
| |
Before creating a widget object examine its constructor to calculate
the list of arguments to pass. This allows widgets that don't have
designMode argument to appear in taurusdesigner
|
|
|
|
|
| |
Force IPython to use the same QT_API as taurus without forcing
the user to set the QT_API environment variable manually.
|
|
|
|
|
|
|
|
|
| |
- VideoImageCodec key (VIDEO_IMAGE) may cause problems with codec
pipelining due to the "_". Deprecate it in favour of 'videoimage'
- Make VideoImageCodec.decode return the remaining pipelined codec
names instead of the Image Mode as the first element of its
return value.
|
| |
|
|
|
|
|
| |
Fix a missing import and an undefined variable error in BSONCodec.decode
Also clean unused imports
|