#include <QtGui>
class ActionHandler;
-class RS_Layer;
-class RS_LayerList;
+class Layer;
+class LayerList;
/**
* This is the Qt implementation of a widget which can view a
const char * name = 0, Qt::WindowFlags f = 0);
~LayerWidget();
- void setLayerList(RS_LayerList *, bool showByBlock);
+ void setLayerList(LayerList *, bool showByBlock);
void update();
- void highlightLayer(RS_Layer *);
+ void highlightLayer(Layer *);
void highlightLayer(const QString &);
- virtual void layerActivated(RS_Layer *);
- virtual void layerAdded(RS_Layer *);
- virtual void layerEdited(RS_Layer *);
- virtual void layerRemoved(RS_Layer *);
- virtual void layerToggled(RS_Layer *);
+ void layerActivated(Layer *);
+ void layerAdded(Layer *);
+ void layerEdited(Layer *);
+ void layerRemoved(Layer *);
+ void layerToggled(Layer *);
signals:
void escape();
virtual void keyPressEvent(QKeyEvent *);
private:
- RS_LayerList * layerList;
+ LayerList * layerList;
bool showByBlock;
// Q3ListBox * listBox;
QListWidget * listBox;
- RS_Layer * lastLayer;
+ Layer * lastLayer;
QPixmap pxmLayerStatus00;
QPixmap pxmLayerStatus01;
QPixmap pxmLayerStatus10;