Ticket #4341 (closed: fixed)
Remove scripting environment aspects from Note class
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #2654 | Tester: | Nick Draper |
Description
QtiPlot uses the Note class for running scripts, but we don't. Disentangle this class from the scripting classes and turn it into a QTextEdit, as they could still be useful for, well, notes. It's also where QtiPlot puts stem plots.
Change History
comment:2 Changed 9 years ago by Russell Taylor
Indentation fixes only. Re #4341.
Changeset: e61d892eb807af39b1cd9dc54129e91cf44a82c1
comment:3 Changed 9 years ago by Russell Taylor
Disentangle the QtiPlot Note from the scripting environment. Re #4341.
It's now just a plain QTextEdit. QtiPlot scripts run in these objects, but ours don't.
Changeset: 8b806a63bff3a5e719a3551a3536d4e24d43fac3
comment:4 Changed 9 years ago by Russell Taylor
Revert "Remove python access to QtiPlot's 'Note'. Re #4335."
I've updated Note to be simpler and need it to complete the port of stem plots. Re #4341 & #2654.
This reverts commit f4819ef2cca70b7905c5d1a4ce69158ee8d81842.
Changeset: 49aacc4d97898585b255c1edb50580f06542792a
comment:5 Changed 9 years ago by Russell Taylor
Notes are a lot simpler now. Re #4341.
Changeset: ad85df3777842653d9196d089a966f2caa261069
comment:6 Changed 9 years ago by Russell Taylor
Complete backport of stem plots from today's QtiPlot. Re #2654.
They can now be created from tables via the gui as well. Also added back the MdiSubWindow::print() method to Note. Re #4341.
Changeset: b2a1d269c09ef2f4e542d11de3bf009e3e3506ae
comment:7 Changed 9 years ago by Russell Taylor
Add back ability to create a Note from python. Re #4341.
Changeset: 30d27e64a0d79853308db810cea7ea7091bb43c4
comment:8 Changed 9 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
comment:9 Changed 9 years ago by Russell Taylor
N.B. Documentation is at http://www.mantidproject.org/MantidPlot:_Working_with_Notes
comment:10 Changed 9 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper
comment:11 Changed 9 years ago by Nick Draper
- Status changed from verifying to closed
tested all of the python options and hide() show()
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5188