Added ghost image for gate placement

This commit is contained in:
Robert 2020-12-01 16:11:45 +01:00
parent e81622f8f3
commit edf6a0ad2b
11 changed files with 198 additions and 28 deletions
include

View file

@ -7,6 +7,8 @@ namespace Ui {
}
class Component;
class QActionGroup;
class GhostLabel;
class Window : public QMainWindow
{
@ -21,6 +23,8 @@ protected:
private:
void ToggleSimulation();
void ToggleComponentPlacer();
void LoadGhostLabel(const QString& resource);
Ui::Window* ui;
bool simulating;
@ -29,4 +33,8 @@ private:
Component* component;
QPoint relativePos;
} dragInfo;
GhostLabel* ghostImage;
QString resourcePath;
QActionGroup* componentGroup;
};