From 2e74d0a19579c8f5dee38c5b8a7660549746146b Mon Sep 17 00:00:00 2001 From: kat Date: Sun, 23 Oct 2022 05:27:30 -0400 Subject: Several documentation improvements and fixes - Reduce file count, add minifier script - Group UI and group Core C - Add more items to groups - Add Tranform docs --- ui/commandpalette.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'ui/commandpalette.h') diff --git a/ui/commandpalette.h b/ui/commandpalette.h index af773ba9..d697f608 100644 --- a/ui/commandpalette.h +++ b/ui/commandpalette.h @@ -9,6 +9,16 @@ #include #include "action.h" +/*! + + \defgroup commandpalette CommandPalette + \ingroup uiapi +*/ + +/*! + + \ingroup commandpalette +*/ struct BINARYNINJAUIAPI CommandListItem { QString name; @@ -20,6 +30,10 @@ class CommandPalette; class CommandListFilter; +/*! + + \ingroup commandpalette +*/ class BINARYNINJAUIAPI CommandListDelegate : public QStyledItemDelegate { Q_OBJECT @@ -32,6 +46,10 @@ class BINARYNINJAUIAPI CommandListDelegate : public QStyledItemDelegate virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; }; +/*! + + \ingroup commandpalette +*/ class BINARYNINJAUIAPI CommandListModel : public QAbstractItemModel { Q_OBJECT @@ -61,6 +79,10 @@ class BINARYNINJAUIAPI CommandListModel : public QAbstractItemModel void addRecentItem(const QString& name); }; +/*! + + \ingroup commandpalette +*/ class BINARYNINJAUIAPI CommandList : public QListView { Q_OBJECT @@ -84,6 +106,10 @@ class BINARYNINJAUIAPI CommandList : public QListView virtual void focusOutEvent(QFocusEvent* event) override; }; +/*! + + \ingroup commandpalette +*/ class BINARYNINJAUIAPI CommandListFilter : public QLineEdit { Q_OBJECT @@ -103,6 +129,10 @@ class BINARYNINJAUIAPI CommandListFilter : public QLineEdit virtual void focusOutEvent(QFocusEvent* event) override; }; +/*! + + \ingroup commandpalette +*/ class BINARYNINJAUIAPI CommandPalette : public QFrame { Q_OBJECT -- cgit v1.3.1