added support for meta-data editing improved element selection changed zooming fixed some issues with layer events fixed issue with 3D outline fixed loading issue for old maps some interface changes
36 lines
536 B
C++
36 lines
536 B
C++
#ifndef METAEDITWIDGET_H
|
|
#define METAEDITWIDGET_H
|
|
|
|
#include <QWidget>
|
|
#include <Indoor/floorplan/v2/Floorplan.h>
|
|
|
|
class MetaEditModel;
|
|
class QTableView;
|
|
|
|
/**
|
|
* helper class to edit the Floorplan::Meta
|
|
* key value attribute
|
|
*/
|
|
class MetaEditWidget : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
private:
|
|
|
|
Floorplan::Meta* metaOrig;
|
|
Floorplan::Meta metaCopy; // used for the abort button
|
|
|
|
MetaEditModel* model;
|
|
|
|
QTableView* tbl;
|
|
|
|
public:
|
|
|
|
MetaEditWidget(Floorplan::Meta* meta);
|
|
|
|
void keyPressEvent(QKeyEvent* e);
|
|
|
|
};
|
|
|
|
#endif // METAEDITWIDGET_H
|