Commit 5787dc81 authored by payno's avatar payno

[doc] rename several doc extension to *.rst to use the qt_snapshot sphinx directive

parent 79db161d
Mapping
=======
![image](icons/mywidget.png)
.. snapshotqt:: orangecontrib/id06workflow/widgets/screenshots/mapping.py
Signals
......
Shift Correction
================
![image](icons/mywidget.png)
.. snapshotqt:: orangecontrib/id06workflow/widgets/screenshots/shift.py
Signals
......
from silx.gui import qt
from orangecontrib.id06workflow.widgets.com import ComOW
from id06workflow.test import utils
app = qt.QApplication([])
widget = ComOW()
# TODO: create a more realsitic dataset or store one on edna-site
_map = utils.createRandomMap((200, 200))
widget._process(_map)
widget.show()
app.exec_()
def screenshot():
from orangecontrib.id06workflow.widgets.com import ComOW
from id06workflow.test import utils
app = qt.QApplication.instance() or qt.QApplication([])
widget = ComOW()
# TODO: create a more realsitic dataset or store one on edna-site
_map = utils.createRandomMap((200, 200))
widget._process(_map)
widget.show()
app.exec_()
if __name__ == '__main__':
screenshot()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment