Skip to content

Commit

Permalink
Expose MdiSubWindow hide() & show() to python. Re #4282.
Browse files Browse the repository at this point in the history
This makes calling show & hide work from python instead of leaving the
'wrapper' window there.
HOWEVER, I'm not sure we should be overriding these methods - they are not
virtual methods (neither is close()). setVisible() - which these two call
- IS virtual, but when I tried to implement that instead it completely
messed up the appearance of the instrument window and the custom interfaces
for some reason.
  • Loading branch information
RussellTaylor committed Jan 13, 2012
1 parent ea34dae commit 331f51e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/MantidPlot/src/qti.sip
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public:
Folder* folder();

void askOnCloseEvent(bool)/PyName=confirmClose/;
void show();
void hide();
bool close();

private:
Expand Down

0 comments on commit 331f51e

Please sign in to comment.