Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+52
@@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtWidgets/QTableView>
|
||||
|
||||
|
||||
namespace PlanOverlaysPlugin
|
||||
{
|
||||
class PlanOverlayModel;
|
||||
|
||||
class PlanOverlayView final : public QTableView
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit PlanOverlayView(PlanOverlayModel *model, QWidget *parent = nullptr);
|
||||
~PlanOverlayView();
|
||||
|
||||
signals:
|
||||
|
||||
void requestReloadPlanById(int planId);
|
||||
void requestReloadPlanByName(const QString &planName);
|
||||
void requestUnloadPlan(int planId);
|
||||
|
||||
void requestMinScale(int planId, const QString &planName);
|
||||
void requestMaxScale(int planId, const QString &planName);
|
||||
|
||||
public slots:
|
||||
|
||||
void onSetMinScale();
|
||||
void onSetMaxScale();
|
||||
void onChangeLayerOrderUp();
|
||||
void onChangeLayerOrderDown();
|
||||
void onChangeLayerOpacity(int);
|
||||
|
||||
void onReloadOverlayById();
|
||||
void onReloadOverlayByName();
|
||||
void onUnloadOverlay();
|
||||
|
||||
protected:
|
||||
|
||||
void onLayoutChanged();
|
||||
|
||||
int getPlanKeyIdOfRow(int row) const;
|
||||
QString getPlanNameOfRow(int row) const;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user