4 #include "ui_mainwindow.h"
21 class ShadersSourceWidget;
22 class VertexDataInterpreter;
24 class MainWindow : public QMainWindow
32 void loadTrace(const QString &fileName);
35 void callItemSelected(const QModelIndex &index);
40 void replayFinished(const QString &output);
41 void replayStateFound(const ApiTraceState &state);
42 void replayError(const QString &msg);
43 void startedLoadingTrace();
44 void finishedLoadingTrace();
47 void openHelp(const QUrl &url);
48 void showSurfacesMenu(const QPoint &pos);
49 void showSelectedSurface();
53 void initConnections();
54 void newTraceFile(const QString &fileName);
55 void replayTrace(bool dumpState);
56 void fillStateForFrame();
60 ShadersSourceWidget *m_sourcesWidget;
63 ApiTraceModel *m_model;
64 ApiTraceFilter *m_proxyModel;
65 QLineEdit *m_filterEdit;
67 QProgressBar *m_progressBar;
69 QString m_traceFileName;
71 ApiTraceEvent *m_selectedEvent;
73 ApiTraceEvent *m_stateEvent;
77 VertexDataInterpreter *m_vdataInterpreter;
79 ImageViewer *m_imageViewer;