mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +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).
37 lines
619 B
C++
37 lines
619 B
C++
#ifndef EVENTBROWSER_H
|
|
#define EVENTBROWSER_H
|
|
|
|
#include <QFrame>
|
|
|
|
#include "Code/Core.h"
|
|
|
|
namespace Ui {
|
|
class EventBrowser;
|
|
}
|
|
|
|
class EventBrowser : public QFrame, public ILogViewerForm
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit EventBrowser(Core *core, QWidget *parent = 0);
|
|
~EventBrowser();
|
|
|
|
void OnLogfileLoaded();
|
|
void OnLogfileClosed();
|
|
void OnEventSelected(uint32_t frameID, uint32_t eventID);
|
|
|
|
private slots:
|
|
void on_find_clicked();
|
|
|
|
void on_gotoEID_clicked();
|
|
|
|
void on_events_itemSelectionChanged();
|
|
|
|
private:
|
|
Ui::EventBrowser *ui;
|
|
Core *m_Core;
|
|
};
|
|
|
|
#endif // EVENTBROWSER_H
|