#include <mainWindow.h>

Public Member Functions | |
| QwtPlot * | addPlot (const QString &) |
| Add a plot to the main window. | |
| QWidget * | addTab (const QString &name="New", QWidget *widget=0) |
| Add a tab to the main window. | |
| MainWindow (QWidget *parent=0) | |
| Custom constructor. | |
Friends | |
| class | PreferencesObserver |
Classes | |
| class | PreferencesObserver |
| Implementation of the an observer. | |
This class implements the main window using the ui_form generated by QtDesigner.
| MainWindow::MainWindow | ( | QWidget * | parent = 0 |
) |
Custom constructor.
The parent of the main window is usually null.
| parent | pointer to the parent of the main window widget. |
| QwtPlot * MainWindow::addPlot | ( | const QString & | name | ) |
Add a plot to the main window.
This method creates a new plot using the addPlot2DTab(const QString&) method. It also returns a pointer to the newly created plot widget.
| name | of the new plot tab |
| QWidget * MainWindow::addTab | ( | const QString & | name = "New", |
|
| QWidget * | widget = 0 | |||
| ) |
Add a tab to the main window.
This method will add a new tab to the main window
| name | of the new tab | |
| widget | child widget |
1.5.5