diff options
| -rw-r--r-- | ui/createstructdialog.h | 1 | ||||
| -rw-r--r-- | ui/expandablegroup.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ui/createstructdialog.h b/ui/createstructdialog.h index 8718325f..eecaa914 100644 --- a/ui/createstructdialog.h +++ b/ui/createstructdialog.h @@ -51,7 +51,6 @@ class BINARYNINJAUIAPI BaseStructuresTableWidget : public QTableWidget public: BaseStructuresTableWidget(); - virtual QSize sizeHint() const override; protected: virtual void contextMenuEvent(QContextMenuEvent* event) override; diff --git a/ui/expandablegroup.h b/ui/expandablegroup.h index 974249fa..770e3894 100644 --- a/ui/expandablegroup.h +++ b/ui/expandablegroup.h @@ -4,7 +4,6 @@ #include <QtWidgets/QLabel> #include <QtWidgets/QToolButton> #include <QtCore/QParallelAnimationGroup> -#include <QtWidgets/QScrollArea> #include <QtCore/QPropertyAnimation> /*! @@ -19,7 +18,7 @@ class BINARYNINJAUIAPI ExpandableGroup : public QWidget QToolButton* m_button; QLabel* m_title; QParallelAnimationGroup* m_animation; - QScrollArea* m_content; + QWidget* m_content; int m_duration = 100; bool m_expanded; @@ -35,4 +34,5 @@ class BINARYNINJAUIAPI ExpandableGroup : public QWidget void setTitle(const QString& title) { m_title->setText(title); } void toggle(bool expanded); bool expanded() { return m_expanded; } + void setContentExpandable(bool expandable); }; |
