* Default Constructor. You must call init manually before using
* this class.
*/
-QG_LayerBox::QG_LayerBox(QWidget * parent, const char */*name*/): QComboBox(parent)
+LayerBox::LayerBox(QWidget * parent, const char */*name*/): QComboBox(parent)
{
showByBlock = false;
showUnchanged = false;
/**
* Destructor
*/
-QG_LayerBox::~QG_LayerBox()
+LayerBox::~LayerBox()
{
}
-RS_Layer * QG_LayerBox::getLayer()
+RS_Layer * LayerBox::getLayer()
{
return currentLayer;
}
* available.
* @param showByBlock true: Show attribute ByBlock.
*/
-void QG_LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchanged)
+void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchanged)
{
this->showByBlock = showByBlock;
this->showUnchanged = showUnchanged;
/**
* Sets the layer shown in the combobox to the given layer.
*/
-void QG_LayerBox::setLayer(RS_Layer & layer)
+void LayerBox::setLayer(RS_Layer & layer)
{
currentLayer = &layer;
/**
* Sets the layer shown in the combobox to the given layer.
*/
-void QG_LayerBox::setLayer(QString & layer)
+void LayerBox::setLayer(QString & layer)
{
//if (layer.getName()=="ByBlock" && showByBlock) {
// setCurrentItem(0);
//}
}
-bool QG_LayerBox::isUnchanged()
+bool LayerBox::isUnchanged()
{
return unchanged;
}
* offers a dialog to the user that allows him/ her to
* choose an individual color.
*/
-void QG_LayerBox::slotLayerChanged(int index)
+void LayerBox::slotLayerChanged(int index)
{
//currentLayer.resetFlags();