]> Shamusworld >> Repos - architektonas/blobdiff - src/layerwidget.h
Fixes for the Layer widget.
[architektonas] / src / layerwidget.h
index 33000ea12a8594046fc5bd22dddc5f35ff2e7186..e515dcfd4a724f318f9cc326114f2f558324828e 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __LAYERWIDGET_H__
 #define __LAYERWIDGET_H__
 
-#include <QtGui>
+#include <QtWidgets>
 
 class LayerWidget: public QWidget
 {
@@ -11,6 +11,30 @@ class LayerWidget: public QWidget
                LayerWidget(void);
                ~LayerWidget();
 
+       private slots:
+               void HandleLayerSelected(int);
+               void AddLayer(void);
+               void DeleteLayer(void);
+               void EditLayer(void);
+               void MoveLayerUp(void);
+               void MoveLayerDown(void);
+
+       private:
+               void SetButtonStates(void);
+
+       signals:
+               void LayerSelected(int);
+
+       public:
+               QToolButton * addLayer;
+               QToolButton * removeLayer;
+               QToolButton * editLayer;
+               QToolButton * layerUp;
+               QToolButton * layerDown;
+
+       private:
+               QListWidget * list;
 };
 
 #endif // __LAYERWIDGET_H__
+