diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2021-11-18 13:52:25 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2022-01-10 15:25:18 -0700 |
| commit | 7f6e54fdc8ff4a06fdcd3c510a37add337f04bac (patch) | |
| tree | 60cce5955fcc05fc84f35f9662d49c7e0790dde1 /ui/reflectionview.h | |
| parent | d9661f34eec6855d495a10eaafc2a8e2679756a7 (diff) | |
Refactor main area to use pane system
Diffstat (limited to 'ui/reflectionview.h')
| -rw-r--r-- | ui/reflectionview.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ui/reflectionview.h b/ui/reflectionview.h deleted file mode 100644 index 1be8cc50..00000000 --- a/ui/reflectionview.h +++ /dev/null @@ -1,49 +0,0 @@ -#pragma once - -#include <QtGui/QMouseEvent> -#include <QtGui/QPaintEvent> -#include <QtWidgets/QWidget> - -#include "binaryninjaapi.h" -#include "dockhandler.h" -#include "uitypes.h" - -class ContextMenuManager; -class DisassemblyContainer; -class FlowGraphWidget; -class Menu; -class ViewFrame; - -class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler -{ - Q_OBJECT - Q_INTERFACES(DockContextHandler) - - ViewFrame* m_frame; - BinaryViewRef m_data; - DisassemblyContainer* m_disassemblyContainer; - std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; - bool m_ilSync; - bool m_locationSync; - - BNFunctionGraphType m_lastSrcILViewType = NormalFunctionGraph; - BNFunctionGraphType m_lastTgtILViewType = NormalFunctionGraph; - bool m_ilSyncOverride = false; - -public: - ReflectionView(ViewFrame* frame, BinaryViewRef data); - ~ReflectionView(); - - FlowGraphWidget* getFlowGraphWidget(); - - void toggleILSync(); - void toggleLocationSync(); - - virtual void notifyFontChanged() override; - virtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override; - virtual void notifyVisibilityChanged(bool visible) override; - virtual bool shouldBeVisible(ViewFrame* frame) override; - -protected: - virtual void contextMenuEvent(QContextMenuEvent* event) override; -}; |
