Source: mainwindow.h


Annotated List
Files
Globals
Hierarchy
Index
// -*- c++ -*-

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include 

class QHBox;
class QSplitter;
class QVBox;

class ChannelEditor;
class QtVision;
class V4LDev;

class LCDNumberAction;
class FullScreenAction;
class SliderAction;
class ToggleAllBarsAction;

/**
 * MainWindow shell for QtVision.
 *
 * @version $Id: mainwindow.h,v 1.3 2002/03/18 20:45:33 rich Exp $
 */
class MainWindow : public KMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget* parent = 0, const char* name = 0, WFlags f = 0);
    ~MainWindow();

public slots:
    void deviceChanged( V4LDev *dev );

    void toggleStatus();
    void toggleMenubar();
    void toggleToolbar();
    void toggleSidebar();

protected:
    void createActions();
    void createSidebar();

protected slots:
    void start();

private:
    QtVision *qtv;
    QHBox *view;
//    QSplitter *view;
    QVBox *side;
    QWidget *screen;
    ChannelEditor *sidebar;

    KAction *actChannelDown;
    KAction *actChannelUp;
    KAction *actSnapshot;
    KAction *actChangeSrc;
    KAction *actSettings;
    LCDNumberAction *actChannel;
    FullScreenAction *actFullScreen;
    ToggleAllBarsAction *actToggleAllBars;
    SliderAction *actVolSlider;
    KAction *actShowSidebar;
    KAction *actVolMute;
    KAction *actVolUp;
    KAction *actVolDown;
};

#endif // MAINWINDOW_H


Generated by: rich on pegasus on Wed Mar 20 03:16:53 2002, using kdoc 2.0a53.