Main Page   Class Hierarchy   Compound List   File List   Compound Members  

pluginwidgetimpl.h

00001 /***************************************************************************
00002                           pluginwidgetimpl.h  -  description
00003                              -------------------
00004     begin                : Sat Jun 8 2002
00005     copyright            : (C) 2002 by Kevin Hessels
00006     email                : khessels@shaw.ca
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef PLUGINWIDGETIMPL_H
00019 #define PLUGINWIDGETIMPL_H
00020 
00021 #include <qtabwidget.h>
00022 #include "qtvision.h"
00023 
00024 #include "pluginfactory.h"
00025 #include "pluginwidget.h"
00026 
00027 
00028 class KConfig;
00029 
00034 class PluginWidgetImpl : public PluginWidget
00035 {
00036 
00037 Q_OBJECT
00038 
00039 public: 
00040         PluginWidgetImpl(QWidget *, QtVision *);
00041         ~PluginWidgetImpl();
00042 
00043     void applyPlugins(KConfig *);
00044 
00045     enum PluginPage
00046     {
00047         page_video = 0,
00048         page_mixer = 1,
00049         page_channelfmt = 2,
00050         page_misc = 3
00051     };
00052 
00053 private:
00054     void setupVideoTab();
00055     void setupMixerTab();
00056     void setupChannelFmtTab();
00057     void setupMiscTab();
00058 
00059     void applyPlugins(KListView *, KConfig *);
00060 
00061 private slots:
00062     void slotConfigurePlugin();
00063     void slotPageChanged(QWidget *);
00064     void slotListItemClicked(QListViewItem *);
00065 
00066 private:
00067     QtVision *_qtv;
00068 };
00069 
00070 #endif

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001