- tms-old
- tms
- tmsSigGen
- Gui.h
This file ( 1kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*******************************************************************************
* Gui.h TapeSigGen Gui
* T.Barnaby, BEAM Ltd, 2006-11-30
*******************************************************************************
*/
#ifndef GUI_H
#define GUI_H 1
#include <stdint.h>
#include <BError.h>
#include <AppGui.h>
#include <qapplication.h>
#include <qlabel.h>
#include <qcombobox.h>
#include <qlineedit.h>
#include <qtextedit.h>
#include <SigGen.h>
#include <Tests.h>
#include <BThread.h>
class Gui;
class Gui: public AppGui, public BThread {
Q_OBJECT
public:
Gui();
~Gui();
void initMain();
void initMenubar();
void initToolbar();
public slots:
void manual();
void about();
void update();
void startTest();
void stopTest();
private:
void* function();
QComboBox* owtype;
QLineEdit* owsampleFreq;
QLineEdit* owsignalAmplitude;
QTextEdit* owinfo;
QPushButton* owstartButton;
QPushButton* owstopButton;
// Signal Generator objects
BList<Test*>& otests;
Test* otest;
};
#endif