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);
41 void replayFinished(const QString &output);
42 void replayStateFound(const ApiTraceState &state);
43 void replayError(const QString &msg);
44 void startedLoadingTrace();
45 void finishedLoadingTrace();
48 void openHelp(const QUrl &url);
49 void showSurfacesMenu(const QPoint &pos);
50 void showSelectedSurface();
54 void initConnections();
55 void newTraceFile(const QString &fileName);
56 void replayTrace(bool dumpState);
57 void fillStateForFrame();
61 ShadersSourceWidget *m_sourcesWidget;
64 ApiTraceModel *m_model;
65 ApiTraceFilter *m_proxyModel;
66 QLineEdit *m_filterEdit;
68 QProgressBar *m_progressBar;
70 QString m_traceFileName;
72 ApiTraceEvent *m_selectedEvent;
74 ApiTraceEvent *m_stateEvent;
78 VertexDataInterpreter *m_vdataInterpreter;
80 ImageViewer *m_imageViewer;