Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120655525
mainwindow.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 6, 00:59
Size
631 B
Mime Type
text/x-c++
Expires
Tue, Jul 8, 00:59 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27203615
Attached To
R2671 HHRI-software
mainwindow.h
View Options
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTimer>
#include "hriboard.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void onVarsListReceived(QList<const SyncVar*> syncVars);
void onVarsUpdated();
void updateDisplay();
private:
Ui::MainWindow *ui;
QTimer updateTimer;
HriBoard hriBoard;
QList<const SyncVar*> syncVars;
SyncVar const* voltage1SyncVar;
SyncVar const* voltage2SyncVar;
double voltage1, voltage2;
};
#endif
Event Timeline
Log In to Comment