view widgets/ItemLayerList.h @ 56:81921835ddf1

first layer list pre-version
author benoitrigolleau
date Wed, 23 May 2007 13:09:19 +0000
parents
children 4f3e6a09239a
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

/*   
	Sound Access
		EASAIER client application.
		Silogic 2007. Benoit Rigolleau.

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License as
	published by the Free Software Foundation; either version 2 of the
	License, or (at your option) any later version.  See the file
	COPYING included with this distribution for more information.
*/

#ifndef _ITEM_LAYER_LIST_H
#define _ITEM_LAYER_LIST_H

#include "GenericItemList.h"
#include "PropertyBox.h"

#include <QHBoxLayout>
#include <QLabel>
#include <QCheckBox>
#include <QWidget>


class ItemLayerList : public GenericItemList{
	Q_OBJECT	

public:
	ItemLayerList(QWidget *parent=0);
	void setIcon(QString &icon);
	void setName(QString &name);
	void setColor(QColor &color);
	void changeCheckBox1State(bool state);
	void changeCheckBox2State(bool state);
	void setPropertyBox(PropertyBox *box);
	virtual void configAction();

private:
	QLabel *labelIcon;
	QLabel *labelName;
	QCheckBox *checkBox1;
	QCheckBox *checkBox2;
	QHBoxLayout *layoutMain;
	PropertyBox *m_propertyBox;

private slots :
	void openPropertyBox();

};

#endif