source: src/UIElements/Views/Qt4/QtGeometryList.hpp@ 0014a4

ForceAnnealing_goodresults ForceAnnealing_tocheck
Last change on this file since 0014a4 was 0014a4, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Added QtGeometryList to QtMainWindow.

  • this list shows the name and vectors of all GeometryObjects in the Registry.
  • Property mode set to 100644
File size: 901 bytes
Line 
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
20class GeometryObject;
21
22class QtGeometryList: public QTreeWidget, public Observer
23{
24 Q_OBJECT
25
26public:
27 QtGeometryList(QWidget * _parent=0);
28 virtual ~QtGeometryList();
29
30protected:
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.