mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
a405ee13ca
* GUIInvoke helper changed to use QMetaObject::invokeMethod which works on threads better. * LambdaThread helper class now has a thread member, it doesn't derive from thread (this seems to be recommended practice).
32 lines
506 B
C++
32 lines
506 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <stdint.h>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class Core;
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(Core *core, QString paramFilename, QString remoteHost, uint32_t remoteIdent, bool temp);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void on_action_Exit_triggered();
|
|
|
|
void on_action_Open_Log_triggered();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
Core *m_Core;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|