Mercurial > hg > easaier-soundaccess
diff widgets/ItemAudioFilterList.h @ 73:a5d941805d45
widgets for the audio filter list
author | benoitrigolleau |
---|---|
date | Wed, 13 Jun 2007 14:07:29 +0000 |
parents | |
children | afcf540ae3a2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/widgets/ItemAudioFilterList.h Wed Jun 13 14:07:29 2007 +0000 @@ -0,0 +1,52 @@ +/* -*- 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_AUDIO_FILTER_LIST_H +#define _ITEM_AUDIO_FILTER_LIST_H + +#include "GenericItemList.h" +#include "PropertyBox.h" + +#include <QHBoxLayout> +#include <QLabel> +#include <QCheckBox> +#include <QWidget> + + +class ItemAudioFilterList : public GenericItemList{ + Q_OBJECT + +public: + ItemAudioFilterList(QWidget *parent=0); + void setIcon(QString &icon); + void setName(QString &name); + void changeCheckBoxPlayState(bool state); + void setPropertyBox(PropertyBox *box); + virtual void configAction(); + +private: + QLabel *m_labelIcon; + QLabel *m_labelName; + QCheckBox *m_checkBoxPlay; + QHBoxLayout *m_layoutMain; + PropertyBox *m_propertyBox; + PropertyContainer *m_container; + +private slots : + void openPropertyBox(); + void updateCheckboxs(); + +}; + +#endif