added a ruler for measuring
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
This commit is contained in:
35
params/MetaEditWidget.h
Normal file
35
params/MetaEditWidget.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user