COPASI API
4.16.103
|
#include <CWindowInterface.h>
Public Member Functions | |
void | addToMainWindow (CopasiUI3Window *window=NULL) |
CWindowInterface (QWidget *parent=NULL, Qt::WindowFlags flags=NULL) | |
virtual QMenu * | getWindowMenu () const =0 |
void | removeFromMainWindow (CopasiUI3Window *window=NULL) |
virtual void | saveToFile (const QString &fileName) const |
virtual | ~CWindowInterface () |
Definition at line 16 of file CWindowInterface.h.
CWindowInterface::CWindowInterface | ( | QWidget * | parent = NULL , |
Qt::WindowFlags | flags = NULL |
||
) |
Definition at line 9 of file CWindowInterface.cpp.
|
virtual |
Definition at line 14 of file CWindowInterface.cpp.
void CWindowInterface::addToMainWindow | ( | CopasiUI3Window * | window = NULL | ) |
Definition at line 18 of file CWindowInterface.cpp.
References CopasiUI3Window::addWindow(), and CopasiUI3Window::getMainWindow().
Referenced by CQCheckModelWindow::CQCheckModelWindow(), CQLayoutsWidget::createLayoutWindow(), PlotWindow::PlotWindow(), and SliderDialog::SliderDialog().
|
pure virtual |
Implemented in SliderDialog, CQNewMainWindow, PlotWindow, CQAnimationWindow, and CQCheckModelWindow.
Referenced by CopasiUI3Window::refreshWindowsMenu().
void CWindowInterface::removeFromMainWindow | ( | CopasiUI3Window * | window = NULL | ) |
Definition at line 32 of file CWindowInterface.cpp.
References CopasiUI3Window::getMainWindow(), and CopasiUI3Window::removeWindow().
Referenced by CQNewMainWindow::closeEvent(), CQAnimationWindow::~CQAnimationWindow(), CQCheckModelWindow::~CQCheckModelWindow(), CQNewMainWindow::~CQNewMainWindow(), PlotWindow::~PlotWindow(), and SliderDialog::~SliderDialog().
|
virtual |
Saves the current window to the given filename.
This default implementation does nothing
Reimplemented in PlotWindow.
Definition at line 27 of file CWindowInterface.cpp.
Referenced by Worker::slotNotify().