mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 14:01:06 +00:00
Refactor qrenderdoc to provide stable, clean and deliberate API
* Note, this API is still in-flux and beta, so there may still be some more changes before it's 'stable', and even then it will still be subject to some amount of change. * This API is then exposed to python via SWIG bindings and hides internals that don't need to be visible, and means the actual API is easier to work with. * We also use this API to reduce inter-dependencies between different windows that need to interact with each other at a high level. * The naming is python/standard RenderDoc TitleCase method names, not Qt style camelCase methods. # Conflicts: # qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp # qrenderdoc/Windows/TextureViewer.cpp
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
FileNameRole,
|
||||
};
|
||||
|
||||
RemoteFileModel(RenderManager &r, QObject *parent = NULL)
|
||||
RemoteFileModel(IRenderManager &r, QObject *parent = NULL)
|
||||
: Renderer(r), QAbstractItemModel(parent)
|
||||
{
|
||||
makeIconStates(fileIcon, Pixmaps::page_white_database());
|
||||
@@ -361,7 +361,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
RenderManager &Renderer;
|
||||
IRenderManager &Renderer;
|
||||
|
||||
QIcon dirIcon[2];
|
||||
QIcon exeIcon[2];
|
||||
@@ -549,7 +549,7 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
VirtualFileDialog::VirtualFileDialog(CaptureContext &ctx, QWidget *parent)
|
||||
VirtualFileDialog::VirtualFileDialog(ICaptureContext &ctx, QWidget *parent)
|
||||
: QDialog(parent), ui(new Ui::VirtualFileDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
Reference in New Issue
Block a user