arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TFWidget.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     6-20-03
00005 //                   ________    ____   ___ 
00006 //                  |        \  /    | /  /
00007 //                  +---+     \/     |/  /
00008 //                  +--+|  |\    /|     < 
00009 //                  |  ||  | \  / |  |\  \ 
00010 //                  |      |  \/  |  | \  \ 
00011 //                   \_____|      |__|  \__\
00012 //                       Copyright  2003 
00013 //                      Joe Michael Kniss
00014 //                   <<< jmk@cs.utah.edu >>>
00015 //               "All Your Base are Belong to Us"
00016 //-------------------------------------------------------------------------
00017 
00018 /// TFWidget.h
00019 ///  simianUI
00020 
00021 #ifndef __SIMIAN_UI_TF_WIDGET_DOT_H
00022 #define __SIMIAN_UI_TF_WIDGET_DOT_H
00023 
00024 #include <qwidget.h>
00025 #include <qcanvas.h>
00026 #include "TFView.h"
00027 #include "TFGL.h"
00028 
00029 class TFWidget : public QWidget {
00030    Q_OBJECT
00031 public:
00032    TFWidget(QWidget *parent=0, char *name=0, WFlags f=0);
00033    virtual ~TFWidget();
00034 
00035 public slots:
00036    virtual void setVolume(VolumeSP vol);
00037    void setTF();
00038 
00039 signals:
00040    /// for internal use only!!!
00041    void iVolumeChanged(VolumeSP vol);
00042 
00043 protected:
00044    virtual void resizeEvent(QResizeEvent *re);
00045    void conf();
00046 
00047    QCanvas         *_tfCanvas;
00048    TFView          *_tfView;
00049    TFGL            *_tfRender;
00050 };
00051 
00052 
00053 #endif
00054 

Send questions, comments, and bug reports to:
jmk