Camstream: CamStream API documentation

Main Page Class Hierarchy Compound List File List Compound Members File Members

# CodecFrame.h

Go to the documentation of this file.

    00001 #ifndef CODECFRAME_HPP
    00002 #define CODECFRAME_HPP
    00003
    00004 #include <qdict.h>
    00005 #include <qlist.h>
    00006 #include <qpainter.h>
    00007
    00008 #include "PanelSelector.h"
    00009 #include "CamPanel.h"
    00010 #include "CamFrame.h"
    00011
    00012 class CCodecFrame: public CCamFrame
    00013 {
    00014    Q_OBJECT
    00015 private:
    00016    QDict<CCamPanel> PanelIdx;
    00017    QList<CCamPanel> PanelList;
    00018    CPanelSelector *pPanels;
    00019
    00020    void RecalculateSize();
    00021
    00022 private slots:
    00023
    00024 protected:
    00025    void drawContents(QPainter *p);
    00026    void mousePressEvent(QMouseEvent *);
    00027
    00028    void RegisterPanel(CCamPanel *p);
    00029    void UnregisterPanel(CCamPanel *p, bool Delete = FALSE);
    00030 /*   void UnregisterPanel(const char *name); */
    00031    CCamPanel *GetPanel(const char *name) const;
    00032
    00033 protected slots:
    00034    void TogglePanelsDlg(bool);
    00035    void PanelsDlgClosed();
    00036    void UpdatePanelView();
    00037
    00038 public:
    00039    CCodecFrame(QWidget *parent = 0, const char *name = 0);
    00040    virtual ~CCodecFrame();
    00041
    00042 signals:
    00043 };
    00044
    00045 #endif