|
Last change
on this file since 88bb6b was 35302b, checked in by Frederik Heber <heber@…>, 13 years ago |
|
Added many files from project Seismolo.
|
-
Property mode
set to
100644
|
|
File size:
929 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * QSeisPlotPage.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Jan 30, 2011
|
|---|
| 5 | * Author: landvogt
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef QSEISPLOTPAGE_HPP
|
|---|
| 9 | #define QSEISPLOTPAGE_HPP
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | #include <QtGui/QWidget>
|
|---|
| 17 |
|
|---|
| 18 | class QSeisPlot;
|
|---|
| 19 | class QListWidgetItem;
|
|---|
| 20 | class QListWidget;
|
|---|
| 21 |
|
|---|
| 22 | /**
|
|---|
| 23 | * \class QSeisPlotPage
|
|---|
| 24 | *
|
|---|
| 25 | * This class is derived from QWidget and provides
|
|---|
| 26 | * the GUI elements for a single plot tab.
|
|---|
| 27 | **/
|
|---|
| 28 | class QSeisPlotPage : public QWidget
|
|---|
| 29 | {
|
|---|
| 30 | Q_OBJECT
|
|---|
| 31 | public:
|
|---|
| 32 | explicit QSeisPlotPage(QString type, QWidget *parent = 0);
|
|---|
| 33 | ~QSeisPlotPage();
|
|---|
| 34 | QString plotType;
|
|---|
| 35 | QListWidget *curveList;
|
|---|
| 36 | QSeisPlot *plot;
|
|---|
| 37 | std::string getName();
|
|---|
| 38 | void resetPlot();
|
|---|
| 39 |
|
|---|
| 40 | private slots:
|
|---|
| 41 | void listItemChanged(QListWidgetItem *item);
|
|---|
| 42 |
|
|---|
| 43 | signals:
|
|---|
| 44 |
|
|---|
| 45 | public slots:
|
|---|
| 46 | void addCurve(std::string name);
|
|---|
| 47 | void removeCurve(std::string name);
|
|---|
| 48 | void updateCurve(std::string name);
|
|---|
| 49 |
|
|---|
| 50 | };
|
|---|
| 51 |
|
|---|
| 52 | #endif // QSEISPLOTPAGE_HPP
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.