Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 334 → Rev 335

/Classwork/ECE5505 - Test and Verification/Final Project/MainWindow.h
0,0 → 1,45
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
 
#include "GlobalDefines.h"
#include "Canvas.h"
#include "Circuit.h"
 
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
 
signals:
void zoomCanvas(int);
 
private slots:
void updateZoomValue(int);
void updateStatus(QString status);
void loadCircuit(void);
void showHelp(void);
 
private:
void createActions(void);
void createMenus(void);
 
Canvas *canvas;
QSlider *zoomSlider;
QLabel *zoomValue;
 
Circuit *circuit;
 
QMenu *fileMenu;
QMenu *helpMenu;
QMenu *circuitMenu;
QAction *loadCircuitFileAction;
QAction *showHelpAction;
QAction *resetCircuitAction;
QAction *showSimControllerAction;
QAction *toggleWireValuesAction;
 
};
 
#endif // MAINWINDOW_H