#ifndef DECODER_CONFIG_H #define DECODER_CONFIG_H #include #include #include class QSlider; class QConfDialog: public QDialog { Q_OBJECT; public: QConfDialog(const avm::vector&); public slots: virtual void reset(); virtual void reject(); virtual void valueChanged(int) = 0; protected: const avm::vector& attrs; avm::vector sliders; avm::vector original; }; class QCodecConf: public QConfDialog { Q_OBJECT; public: QCodecConf(const avm::CodecInfo&, avm::IRtConfig* _rt=0); public slots: virtual void valueChanged(int); protected: const avm::CodecInfo& info; avm::IRtConfig* rt; }; class QRendererConf: public QConfDialog { Q_OBJECT; public: QRendererConf(const avm::vector&, avm::IRtConfig* _rt=0); public slots: virtual void valueChanged(int); protected: avm::IRtConfig* rt; }; #endif //DECODER_CONFIG_H