ForceAnnealing_goodresults
ForceAnnealing_tocheck
Rev | Line | |
---|
[0014a4] | 1 | /*
|
---|
| 2 | * QtGeometryList.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Mar 25, 2017
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef QTGEOMETRYLIST_H_
|
---|
| 9 | #define QTGEOMETRYLIST_H_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | #include <QtGui/QTreeWidget>
|
---|
| 18 | #include "CodePatterns/Observer/Observer.hpp"
|
---|
| 19 |
|
---|
| 20 | class GeometryObject;
|
---|
| 21 |
|
---|
| 22 | class QtGeometryList: public QTreeWidget, public Observer
|
---|
| 23 | {
|
---|
| 24 | Q_OBJECT
|
---|
| 25 |
|
---|
| 26 | public:
|
---|
| 27 | QtGeometryList(QWidget * _parent=0);
|
---|
| 28 | virtual ~QtGeometryList();
|
---|
| 29 |
|
---|
| 30 | protected:
|
---|
| 31 | virtual void update(Observable *publisher);
|
---|
| 32 | virtual void subjectKilled(Observable *publisher);
|
---|
| 33 | virtual void recieveNotification(Observable *publisher, Notification_ptr notification);
|
---|
| 34 | //virtual void paintEvent(QPaintEvent * event);
|
---|
| 35 | void refill(::GeometryObject *ignore);
|
---|
| 36 |
|
---|
| 37 | static const int COLUMNCOUNT;
|
---|
| 38 | enum {NAME,VECTOR,COLUMNTYPES_MAX} COLUMNTYPES;
|
---|
| 39 | static const char *COLUMNNAMES[];
|
---|
| 40 |
|
---|
| 41 | };
|
---|
| 42 |
|
---|
| 43 | #endif /* QTGEOMETRYLIST_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.