4 #include "ui_mainwindow.h"
22 class ShadersSourceWidget;
23 class VertexDataInterpreter;
25 class MainWindow : public QMainWindow
33 void loadTrace(const QString &fileName);
36 void callItemSelected(const QModelIndex &index);
42 void replayFinished(const QString &output);
43 void replayStateFound(const ApiTraceState &state);
44 void replayError(const QString &msg);
45 void startedLoadingTrace();
46 void finishedLoadingTrace();
49 void openHelp(const QUrl &url);
50 void showSurfacesMenu(const QPoint &pos);
51 void showSelectedSurface();
53 void slotJumpTo(int callNum);
57 void initConnections();
58 void newTraceFile(const QString &fileName);
59 void replayTrace(bool dumpState);
60 void fillStateForFrame();
64 ShadersSourceWidget *m_sourcesWidget;
67 ApiTraceModel *m_model;
68 ApiTraceFilter *m_proxyModel;
69 QLineEdit *m_filterEdit;
71 QProgressBar *m_progressBar;
73 QString m_traceFileName;
75 ApiTraceEvent *m_selectedEvent;
77 ApiTraceEvent *m_stateEvent;
81 VertexDataInterpreter *m_vdataInterpreter;
83 ImageViewer *m_imageViewer;
85 JumpWidget *m_jumpWidget;