-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathSimWindow.h
More file actions
33 lines (28 loc) · 876 Bytes
/
Copy pathSimWindow.h
File metadata and controls
33 lines (28 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_simwindow.h"
class SimWindow : public QMainWindow
{
Q_OBJECT
public:
SimWindow(QWidget *parent = 0);
~SimWindow();
SimViewer* getViewer();
const SimViewer* getViewer()const;
void updateParamUI();
public slots:
void on_actionSave_triggered();
void leftDocButtonsClicked(int i);
protected:
void dragEnterEvent(QDragEnterEvent* ev);
void dropEvent(QDropEvent* ev);
virtual void timerEvent(QTimerEvent* ev);
private:
Ui_SimWindow ui;
//////////////////////////////////////////////////////////////////////////
protected:
QMap<AbstractSimEventHandle::ProcessorType, QSharedPointer<QPushButton>> m_leftDockButtons;
QSharedPointer<QSignalMapper> m_ldbSignalMapper;
void initLeftDockActions();
void addLeftDockWidgetButton(AbstractSimEventHandle::ProcessorType type);
};