Classes | |
struct | SidebarMetrics |
class | Sidebar |
class | FloatingSidebarStackedWidget |
struct | SidebarStackedWidget |
struct | SidebarFloatingWidgetState |
class | SidebarWidgetContainer |
struct | SidebarIconInfo |
class | SidebarIconDragIndicator |
class | SidebarIconsWidget |
struct | SidebarIcon |
class | SidebarWidget |
class | SidebarWidgetAndHeader |
class | SidebarHeaderTitle |
class | SidebarHeader |
class | SidebarInvalidContextWidget |
class | SidebarWidgetType |
Enumerations | |
enum | SidebarContainerLocation { LeftSideContainer , LeftBottomContainer , RightSideContainer , RightBottomContainer } |
enum | SidebarLocation { LeftSide , RightSide } |
enum | SidebarWidgetLocation { LeftContent , LeftReference , LeftBottom , RightContent , RightReference , RightBottom } |
enum | SidebarContextSensitivity { GlobalSidebarContext , SelfManagedSidebarContext , PerTabSidebarContext , PerViewTypeSidebarContext , PerPaneSidebarContext } |
struct SidebarMetrics |
class Sidebar |
Public Member Functions | |
Sidebar (QWidget *parent) | |
virtual | ~Sidebar () |
SidebarIconsWidget * | left () const |
SidebarIconsWidget * | right () const |
SidebarWidgetContainer * | containerForLocation (SidebarWidgetLocation location) const |
void | forAllContainers (const std::function< void(SidebarWidgetContainer *)> &func) const |
void | setSplitters (Splitter *sideSplitter, Splitter *extendedSideSplitter, Splitter *bottomSplitter, Splitter *bottomSeparatorSplitter) |
void | setActiveContext (SplitPaneWidget *panes, ViewFrame *frame, const QString &dataType, BinaryViewRef data) |
void | destroyContext (ViewFrame *frame) |
void | destroyContext (SplitPaneWidget *panes) |
void | destroyViewsForContext (SplitPaneWidget *panes) |
void | moveContextToContainer (SplitPaneWidget *panes, Sidebar *target) |
SplitPaneWidget * | currentPanes (SidebarWidgetType *type=nullptr) const |
ViewFrame * | currentFrame (SidebarWidgetType *type=nullptr) const |
const QString & | currentDataType (SidebarWidgetType *type=nullptr) const |
BinaryViewRef | currentData (SidebarWidgetType *type=nullptr) const |
std::optional< std::pair< View *, ViewLocation > > | currentViewLocation () const |
SidebarWidget * | widget (SidebarWidgetType *type) |
SidebarWidget * | widget (const QString &name) |
SidebarWidgetAndHeader * | widgetAndHeader (SidebarWidgetType *type) |
SidebarWidgetAndHeader * | widgetAndHeader (const QString &name) |
void | addWidget (SidebarWidgetType *type, SidebarWidget *widget, bool canClose=false) |
void | addWidget (const QString &name, SidebarWidget *widget, bool canClose=false) |
void | removeWidget (SidebarWidgetType *type, SidebarWidget *widget) |
void | removeWidget (const QString &typeName, SidebarWidget *widget) |
SidebarWidget * | widgetWithTitle (SidebarWidgetType *type, const QString &title) const |
SidebarWidget * | widgetWithTitle (const QString &typeName, const QString &title) const |
bool | hasWidgetWithTitle (SidebarWidgetType *type, const QString &title) const |
bool | hasWidgetWithTitle (const QString &typeName, const QString &title) const |
void | focusWidgetWithTitle (SidebarWidgetType *type, const QString &title) |
void | focusWidgetWithTitle (const QString &typeName, const QString &title) |
void | activate (SidebarWidgetType *type, bool alwaysAllowMultipleOpen=true) |
void | activate (const QString &name, bool alwaysAllowMultipleOpen=true) |
void | activateDefaultTypes () |
void | deactivate (SidebarWidgetType *type) |
void | deactivate (const QString &name) |
void | focus (SidebarWidgetType *type) |
void | focus (const QString &name) |
void | toggle (SidebarWidgetType *type) |
void | toggle (const QString &name) |
bool | isActive (SidebarWidgetType *type) const |
bool | isActive (const QString &name) const |
bool | isContentActive () const |
bool | isSideContentActive () const |
bool | isBottomContentActive () const |
void | updateTheme () |
void | updateFonts () |
void | updateVisibility () |
void | toggleSidebar () |
void | updateViewLocation (View *view, const ViewLocation &viewLocation) |
void | viewChanged () |
void | saveState (QSettings &settings, const QString &windowStateName, bool globalStateOnly=false) |
QVariant | saveActiveState () |
void | restoreState (const QSettings &settings, const QString &windowStateName, bool globalStateOnly=false) |
bool | restoreActiveState (const QVariant &state) |
Static Public Member Functions | |
static SidebarWidgetLocation | locationForType (SidebarWidgetType *type) |
static SidebarLocation | sideForLocation (SidebarWidgetLocation location) |
static SidebarContainerLocation | containerLocationForWidgetLocation (SidebarWidgetLocation location) |
static Qt::Orientation | primaryOrientationForLocation (SidebarWidgetLocation location) |
static void | addSidebarWidgetType (SidebarWidgetType *type) |
static void | moveSidebarWidgetType (SidebarWidgetType *type, SidebarWidgetLocation newLocation, size_t newIndex) |
static SidebarWidgetType * | typeFromName (const QString &name) |
static bool | isTypeRegistered (const QString &name) |
static std::vector< SidebarWidgetType * > | types () |
static const std::vector< SidebarWidgetType * > & | typesForLocation (SidebarWidgetLocation location) |
static std::vector< SidebarWidgetType * > | typesForContainerLocation (SidebarContainerLocation location) |
static void | initSavedTypeOrdering () |
static void | saveTypeOrdering () |
static SidebarMetrics | metrics () |
static void | refreshMetrics () |
static std::set< SidebarWidgetType * > | defaultTypes () |
static void | setDefaultTypes (const std::set< SidebarWidgetType * > &types) |
static Sidebar * | current () |
template<class T > | |
static T * | widget (SidebarWidgetType *type) |
template<class T > | |
static T * | widget (const QString &name) |
template<class T > | |
static T * | activateWidget (SidebarWidgetType *type) |
template<class T > | |
static T * | activateWidget (const QString &name) |
template<class T > | |
static UIAction | globalSidebarAction (const QString &name, const std::function< void(T *obj)> &activate) |
template<class T > | |
static UIAction | globalSidebarAction (const QString &name, const std::function< void(T *obj, const UIActionContext &ctxt)> &activate) |
template<class T > | |
static UIAction | globalSidebarAction (const QString &name, const std::function< void(T *obj)> &activate, const std::function< bool(T *obj)> &isValid) |
template<class T > | |
static UIAction | globalSidebarAction (const QString &name, const std::function< void(T *obj, const UIActionContext &ctxt)> &activate, const std::function< bool(T *obj, const UIActionContext &ctxt)> &isValid) |
template<class T > | |
static UIAction | globalSidebarAction (SidebarWidgetType *type, const std::function< void(T *obj)> &activate) |
template<class T > | |
static UIAction | globalSidebarAction (SidebarWidgetType *type, const std::function< void(T *obj, const UIActionContext &ctxt)> &activate) |
template<class T > | |
static UIAction | globalSidebarAction (SidebarWidgetType *type, const std::function< void(T *obj)> &activate, const std::function< bool(T *obj)> &isValid) |
template<class T > | |
static UIAction | globalSidebarAction (SidebarWidgetType *type, const std::function< void(T *obj, const UIActionContext &ctxt)> &activate, const std::function< bool(T *obj, const UIActionContext &ctxt)> &isValid) |
template<class T > | |
static std::function< bool(const UIActionContext &)> | globalSidebarActionChecked (const QString &name, const std::function< bool(T *obj)> &isChecked) |
template<class T > | |
static std::function< bool(const UIActionContext &)> | globalSidebarActionChecked (const QString &name, const std::function< bool(T *obj, const UIActionContext &ctxt)> &isChecked) |
template<class T > | |
static std::function< bool(const UIActionContext &)> | globalSidebarActionChecked (SidebarWidgetType *type, const std::function< bool(T *obj)> &isChecked) |
template<class T > | |
static std::function< bool(const UIActionContext &)> | globalSidebarActionChecked (SidebarWidgetType *type, const std::function< bool(T *obj, const UIActionContext &ctxt)> &isChecked) |
Sidebar::Sidebar | ( | QWidget * | parent | ) |
|
virtual |
|
inline |
|
inline |
|
static |
|
static |
|
static |
SidebarWidgetContainer * Sidebar::containerForLocation | ( | SidebarWidgetLocation | location | ) | const |
|
static |
void Sidebar::forAllContainers | ( | const std::function< void(SidebarWidgetContainer *)> & | func | ) | const |
void Sidebar::setSplitters | ( | Splitter * | sideSplitter, |
Splitter * | extendedSideSplitter, | ||
Splitter * | bottomSplitter, | ||
Splitter * | bottomSeparatorSplitter | ||
) |
void Sidebar::setActiveContext | ( | SplitPaneWidget * | panes, |
ViewFrame * | frame, | ||
const QString & | dataType, | ||
BinaryViewRef | data | ||
) |
void Sidebar::destroyContext | ( | ViewFrame * | frame | ) |
void Sidebar::destroyContext | ( | SplitPaneWidget * | panes | ) |
void Sidebar::destroyViewsForContext | ( | SplitPaneWidget * | panes | ) |
void Sidebar::moveContextToContainer | ( | SplitPaneWidget * | panes, |
Sidebar * | target | ||
) |
SplitPaneWidget * Sidebar::currentPanes | ( | SidebarWidgetType * | type = nullptr | ) | const |
ViewFrame * Sidebar::currentFrame | ( | SidebarWidgetType * | type = nullptr | ) | const |
const QString & Sidebar::currentDataType | ( | SidebarWidgetType * | type = nullptr | ) | const |
BinaryViewRef Sidebar::currentData | ( | SidebarWidgetType * | type = nullptr | ) | const |
std::optional< std::pair< View *, ViewLocation > > Sidebar::currentViewLocation | ( | ) | const |
SidebarWidget * Sidebar::widget | ( | SidebarWidgetType * | type | ) |
SidebarWidget * Sidebar::widget | ( | const QString & | name | ) |
SidebarWidgetAndHeader * Sidebar::widgetAndHeader | ( | SidebarWidgetType * | type | ) |
SidebarWidgetAndHeader * Sidebar::widgetAndHeader | ( | const QString & | name | ) |
void Sidebar::addWidget | ( | SidebarWidgetType * | type, |
SidebarWidget * | widget, | ||
bool | canClose = false |
||
) |
void Sidebar::addWidget | ( | const QString & | name, |
SidebarWidget * | widget, | ||
bool | canClose = false |
||
) |
void Sidebar::removeWidget | ( | SidebarWidgetType * | type, |
SidebarWidget * | widget | ||
) |
void Sidebar::removeWidget | ( | const QString & | typeName, |
SidebarWidget * | widget | ||
) |
SidebarWidget * Sidebar::widgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) | const |
SidebarWidget * Sidebar::widgetWithTitle | ( | const QString & | typeName, |
const QString & | title | ||
) | const |
bool Sidebar::hasWidgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) | const |
bool Sidebar::hasWidgetWithTitle | ( | const QString & | typeName, |
const QString & | title | ||
) | const |
void Sidebar::focusWidgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) |
void Sidebar::focusWidgetWithTitle | ( | const QString & | typeName, |
const QString & | title | ||
) |
void Sidebar::activate | ( | SidebarWidgetType * | type, |
bool | alwaysAllowMultipleOpen = true |
||
) |
void Sidebar::activate | ( | const QString & | name, |
bool | alwaysAllowMultipleOpen = true |
||
) |
void Sidebar::activateDefaultTypes | ( | ) |
void Sidebar::deactivate | ( | SidebarWidgetType * | type | ) |
void Sidebar::deactivate | ( | const QString & | name | ) |
void Sidebar::focus | ( | SidebarWidgetType * | type | ) |
void Sidebar::focus | ( | const QString & | name | ) |
void Sidebar::toggle | ( | SidebarWidgetType * | type | ) |
void Sidebar::toggle | ( | const QString & | name | ) |
bool Sidebar::isActive | ( | SidebarWidgetType * | type | ) | const |
bool Sidebar::isActive | ( | const QString & | name | ) | const |
bool Sidebar::isContentActive | ( | ) | const |
bool Sidebar::isSideContentActive | ( | ) | const |
bool Sidebar::isBottomContentActive | ( | ) | const |
void Sidebar::updateTheme | ( | ) |
void Sidebar::updateFonts | ( | ) |
void Sidebar::updateVisibility | ( | ) |
void Sidebar::toggleSidebar | ( | ) |
void Sidebar::updateViewLocation | ( | View * | view, |
const ViewLocation & | viewLocation | ||
) |
void Sidebar::viewChanged | ( | ) |
void Sidebar::saveState | ( | QSettings & | settings, |
const QString & | windowStateName, | ||
bool | globalStateOnly = false |
||
) |
QVariant Sidebar::saveActiveState | ( | ) |
void Sidebar::restoreState | ( | const QSettings & | settings, |
const QString & | windowStateName, | ||
bool | globalStateOnly = false |
||
) |
bool Sidebar::restoreActiveState | ( | const QVariant & | state | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
class FloatingSidebarStackedWidget |
Signals | |
void | floatingWidgetClosed (SidebarWidgetType *type) |
Public Member Functions | |
FloatingSidebarStackedWidget (SidebarWidgetType *type, QStackedWidget *stackedWidget, const QString &title, bool windowed) | |
bool | isWindowed () const |
void | setWindowed (bool windowed) |
void | setVisible (bool visible) override |
QRect | savedGeometry () const |
void | setSavedGeometry (const QRect &rect) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) override |
FloatingSidebarStackedWidget::FloatingSidebarStackedWidget | ( | SidebarWidgetType * | type, |
QStackedWidget * | stackedWidget, | ||
const QString & | title, | ||
bool | windowed | ||
) |
bool FloatingSidebarStackedWidget::isWindowed | ( | ) | const |
void FloatingSidebarStackedWidget::setWindowed | ( | bool | windowed | ) |
|
override |
QRect FloatingSidebarStackedWidget::savedGeometry | ( | ) | const |
void FloatingSidebarStackedWidget::setSavedGeometry | ( | const QRect & | rect | ) |
|
overrideprotected |
|
signal |
struct SidebarStackedWidget |
Class Members | ||
---|---|---|
bool | floating | |
QStackedWidget * | stackedWidget | |
FloatingSidebarStackedWidget * | floatingWidget |
class SidebarWidgetContainer |
SidebarWidgetContainer::SidebarWidgetContainer | ( | Sidebar * | sidebar, |
SidebarContainerLocation | location | ||
) |
|
virtual |
|
inline |
|
inline |
|
inline |
void SidebarWidgetContainer::savePriorContext | ( | ) |
void SidebarWidgetContainer::setActiveContext | ( | SplitPaneWidget * | panes, |
const QString & | dataType | ||
) |
void SidebarWidgetContainer::destroyContext | ( | ViewFrame * | frame | ) |
void SidebarWidgetContainer::destroyContext | ( | SplitPaneWidget * | panes | ) |
void SidebarWidgetContainer::destroyViewsForContext | ( | SplitPaneWidget * | panes | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void SidebarWidgetContainer::activate | ( | SidebarWidgetType * | type | ) |
void SidebarWidgetContainer::deactivate | ( | SidebarWidgetType * | type | ) |
void SidebarWidgetContainer::moveSidebarWidgetType | ( | SidebarWidgetType * | type | ) |
void SidebarWidgetContainer::transferSidebarWidgetType | ( | SidebarWidgetType * | type, |
SidebarWidgetContainer * | target | ||
) |
SidebarWidget * SidebarWidgetContainer::widget | ( | SidebarWidgetType * | type | ) | const |
SidebarWidget * SidebarWidgetContainer::widget | ( | const QString & | name | ) | const |
SidebarWidgetAndHeader * SidebarWidgetContainer::widgetAndHeader | ( | SidebarWidgetType * | type | ) | const |
void SidebarWidgetContainer::addWidget | ( | SidebarWidgetType * | type, |
SidebarWidget * | widget, | ||
bool | canClose = false |
||
) |
void SidebarWidgetContainer::removeWidget | ( | SidebarWidgetType * | type, |
SidebarWidget * | widget | ||
) |
SidebarWidget * SidebarWidgetContainer::widgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) | const |
bool SidebarWidgetContainer::hasWidgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) | const |
bool SidebarWidgetContainer::activateWidgetWithTitle | ( | SidebarWidgetType * | type, |
const QString & | title | ||
) | const |
bool SidebarWidgetContainer::hasContent | ( | SidebarWidgetType * | type | ) | const |
bool SidebarWidgetContainer::shouldHide | ( | SidebarWidgetType * | type | ) | const |
|
overridevirtual |
void SidebarWidgetContainer::updateTheme | ( | ) |
void SidebarWidgetContainer::updateFonts | ( | ) |
void SidebarWidgetContainer::saveSizes | ( | QSettings & | settings, |
const QString & | windowStateName | ||
) |
void SidebarWidgetContainer::restoreSizes | ( | const QSettings & | settings, |
const QString & | windowStateName | ||
) |
std::optional< SidebarFloatingWidgetState > SidebarWidgetContainer::floatingWidgetState | ( | SidebarWidgetType * | type | ) | const |
void SidebarWidgetContainer::restoreFloatingWidgetState | ( | SidebarWidgetType * | type, |
const SidebarFloatingWidgetState & | state | ||
) |
void SidebarWidgetContainer::updateViewLocation | ( | View * | view, |
const ViewLocation & | viewLocation | ||
) |
void SidebarWidgetContainer::viewChanged | ( | ) |
void SidebarWidgetContainer::moveContextToContainer | ( | SplitPaneWidget * | panes, |
SidebarWidgetContainer * | target | ||
) |
void SidebarWidgetContainer::dockWidget | ( | SidebarWidgetType * | type | ) |
void SidebarWidgetContainer::floatWidget | ( | SidebarWidgetType * | type | ) |
void SidebarWidgetContainer::windowedWidget | ( | SidebarWidgetType * | type | ) |
bool SidebarWidgetContainer::isDocked | ( | SidebarWidgetType * | type | ) |
bool SidebarWidgetContainer::isFloating | ( | SidebarWidgetType * | type | ) |
bool SidebarWidgetContainer::isWindowed | ( | SidebarWidgetType * | type | ) |
|
signal |
|
signal |
struct SidebarIconInfo |
Class Members | ||
---|---|---|
SidebarWidgetType * | type | |
SidebarWidgetLocation | location | |
size_t | index | |
QRect | rect |
class SidebarIconDragIndicator |
Public Member Functions | |
SidebarIconDragIndicator (QImage image, QSize size, QPoint pt, QPoint offset) | |
void | moveToMouse (QPoint pt) |
QSize | size () const |
QPoint | offset () const |
Protected Member Functions | |
virtual QSize | sizeHint () const override |
virtual QSize | minimumSizeHint () const override |
virtual void | paintEvent (QPaintEvent *event) override |
SidebarIconDragIndicator::SidebarIconDragIndicator | ( | QImage | image, |
QSize | size, | ||
QPoint | pt, | ||
QPoint | offset | ||
) |
void SidebarIconDragIndicator::moveToMouse | ( | QPoint | pt | ) |
|
inline |
|
inline |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
class SidebarIconsWidget |
Signals | |
void | containerVisibilityChanged () |
Public Member Functions | |
SidebarIconsWidget (Sidebar *sidebar, SidebarLocation location) | |
SidebarWidgetContainer * | sideContainer () const |
SidebarWidgetContainer * | bottomContainer () const |
SidebarWidgetContainer * | containerForLocation (SidebarWidgetLocation location) const |
SidebarIconsWidget * | other () const |
void | setContainers (SidebarWidgetContainer *sideContainer, SidebarWidgetContainer *bottomContainer) |
void | updateTheme () |
void | updateVisibility () |
void | refreshMetrics () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
virtual void | leaveEvent (QEvent *event) override |
SidebarIconsWidget::SidebarIconsWidget | ( | Sidebar * | sidebar, |
SidebarLocation | location | ||
) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
inline |
|
inline |
SidebarWidgetContainer * SidebarIconsWidget::containerForLocation | ( | SidebarWidgetLocation | location | ) | const |
SidebarIconsWidget * SidebarIconsWidget::other | ( | ) | const |
void SidebarIconsWidget::setContainers | ( | SidebarWidgetContainer * | sideContainer, |
SidebarWidgetContainer * | bottomContainer | ||
) |
void SidebarIconsWidget::updateTheme | ( | ) |
void SidebarIconsWidget::updateVisibility | ( | ) |
void SidebarIconsWidget::refreshMetrics | ( | ) |
|
signal |
struct SidebarIcon |
Static Public Member Functions | |
static SidebarIcon | generate (const QImage &src) |
Public Attributes | |
QImage | original |
QImage | active |
QImage | inactive |
|
static |
QImage SidebarIcon::original |
QImage SidebarIcon::active |
QImage SidebarIcon::inactive |
class SidebarWidget |
Public Member Functions | |
SidebarWidget (const QString &title) | |
~SidebarWidget () | |
const QString & | title () const |
void | enableRefreshTimer (int interval) |
void | setRefreshQuiesce (bool enable) |
bool | isQuiesced () const |
virtual void | notifyRefresh () |
virtual void | notifyQuiesce (bool) |
virtual void | notifyFontChanged () |
virtual void | notifyOffsetChanged (uint64_t) |
virtual void | notifyThemeChanged () |
virtual void | notifyViewChanged (ViewFrame *) |
virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
virtual void | focus () |
virtual void | closing () |
virtual void | setPrimaryOrientation (Qt::Orientation) |
virtual QWidget * | headerWidget () |
Protected Attributes | |
QString | m_title |
UIActionHandler | m_actionHandler |
ContextMenuManager * | m_contextMenuManager = nullptr |
Menu * | m_menu = nullptr |
bool | m_quiesceState = true |
QTimer * | m_updateTimer = nullptr |
SidebarWidget::SidebarWidget | ( | const QString & | title | ) |
|
inline |
|
inline |
void SidebarWidget::enableRefreshTimer | ( | int | interval | ) |
void SidebarWidget::setRefreshQuiesce | ( | bool | enable | ) |
|
inline |
|
inlinevirtual |
Reimplemented in TypeBrowserSidebarWidget.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in HistorySidebarWidget, LogView, ScriptingConsole, SearchResultWidget, StackViewSidebarWidget, SymbolsView, TagListWidget, and CrossReferenceWidget.
|
inlinevirtual |
|
virtual |
Reimplemented in LogView.
|
inlinevirtual |
Reimplemented in LogView, MiniGraph, and ScriptingConsole.
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
Reimplemented in ScriptingConsole.
|
inlinevirtual |
Reimplemented in TypeBrowserSidebarWidget, and CrossReferenceWidget.
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
class SidebarWidgetAndHeader |
Public Member Functions | |
SidebarWidgetAndHeader (SidebarWidgetType *type, SplitPaneWidget *panes, ViewFrame *frame, BinaryViewRef data) | |
~SidebarWidgetAndHeader () override | |
SidebarWidget * | widget () const |
QWidget * | header () const |
void | addWidget (SidebarWidget *widget, bool canClose=false) |
void | removeWidget (SidebarWidget *widget) |
SidebarWidget * | widgetWithTitle (const QString &title) const |
bool | hasWidgetWithTitle (const QString &title) const |
bool | activateWidgetWithTitle (const QString &title) |
bool | hasContent () const |
void | updateTheme () |
void | updateFonts () |
void | closing () |
void | notifyViewChanged (ViewFrame *frame) |
void | notifyViewLocationChanged (View *view, const ViewLocation &viewLocation) |
void | notifyOffsetChanged (uint64_t offset) |
void | forAllWidgets (const std::function< void(SidebarWidget *)> &func) const |
SidebarWidgetAndHeader::SidebarWidgetAndHeader | ( | SidebarWidgetType * | type, |
SplitPaneWidget * | panes, | ||
ViewFrame * | frame, | ||
BinaryViewRef | data | ||
) |
|
override |
|
inline |
QWidget * SidebarWidgetAndHeader::header | ( | ) | const |
void SidebarWidgetAndHeader::addWidget | ( | SidebarWidget * | widget, |
bool | canClose = false |
||
) |
void SidebarWidgetAndHeader::removeWidget | ( | SidebarWidget * | widget | ) |
SidebarWidget * SidebarWidgetAndHeader::widgetWithTitle | ( | const QString & | title | ) | const |
bool SidebarWidgetAndHeader::hasWidgetWithTitle | ( | const QString & | title | ) | const |
bool SidebarWidgetAndHeader::activateWidgetWithTitle | ( | const QString & | title | ) |
bool SidebarWidgetAndHeader::hasContent | ( | ) | const |
void SidebarWidgetAndHeader::updateTheme | ( | ) |
void SidebarWidgetAndHeader::updateFonts | ( | ) |
void SidebarWidgetAndHeader::closing | ( | ) |
void SidebarWidgetAndHeader::notifyViewChanged | ( | ViewFrame * | frame | ) |
void SidebarWidgetAndHeader::notifyViewLocationChanged | ( | View * | view, |
const ViewLocation & | viewLocation | ||
) |
void SidebarWidgetAndHeader::notifyOffsetChanged | ( | uint64_t | offset | ) |
void SidebarWidgetAndHeader::forAllWidgets | ( | const std::function< void(SidebarWidget *)> & | func | ) | const |
class SidebarHeaderTitle |
Public Member Functions | |
SidebarHeaderTitle (const QString &name) | |
SidebarHeaderTitle::SidebarHeaderTitle | ( | const QString & | name | ) |
class SidebarHeader |
Public Member Functions | |
SidebarHeader (const QString &name, QWidget *rightSide=nullptr) | |
bool | hasRightSide () const |
SidebarHeader::SidebarHeader | ( | const QString & | name, |
QWidget * | rightSide = nullptr |
||
) |
|
inline |
class SidebarInvalidContextWidget |
Public Member Functions | |
SidebarInvalidContextWidget (const QString &title) | |
Public Member Functions inherited from SidebarWidget | |
SidebarWidget (const QString &title) | |
~SidebarWidget () | |
const QString & | title () const |
void | enableRefreshTimer (int interval) |
void | setRefreshQuiesce (bool enable) |
bool | isQuiesced () const |
virtual void | notifyRefresh () |
virtual void | notifyQuiesce (bool) |
virtual void | notifyFontChanged () |
virtual void | notifyOffsetChanged (uint64_t) |
virtual void | notifyThemeChanged () |
virtual void | notifyViewChanged (ViewFrame *) |
virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
virtual void | focus () |
virtual void | closing () |
virtual void | setPrimaryOrientation (Qt::Orientation) |
virtual QWidget * | headerWidget () |
Additional Inherited Members | |
Protected Attributes inherited from SidebarWidget | |
QString | m_title |
UIActionHandler | m_actionHandler |
ContextMenuManager * | m_contextMenuManager = nullptr |
Menu * | m_menu = nullptr |
bool | m_quiesceState = true |
QTimer * | m_updateTimer = nullptr |
SidebarInvalidContextWidget::SidebarInvalidContextWidget | ( | const QString & | title | ) |
class SidebarWidgetType |
Public Member Functions | |
SidebarWidgetType (const QImage &icon, const QString &name) | |
virtual | ~SidebarWidgetType () |
const SidebarIcon & | icon () const |
const QString & | name () const |
virtual bool | isInReferenceArea () const |
virtual bool | viewSensitive () const |
virtual SidebarWidgetLocation | defaultLocation () const |
virtual SidebarContextSensitivity | contextSensitivity () const |
virtual bool | alwaysShowTabs () const |
virtual bool | hideIfNoContent () const |
virtual SidebarWidget * | createWidget (ViewFrame *, BinaryViewRef) |
virtual SidebarWidget * | createInvalidContextWidget () |
virtual QWidget * | headerWidget (SplitPaneWidget *, ViewFrame *, BinaryViewRef) |
virtual bool | focusHeaderWidget () const |
virtual QString | noWidgetMessage () const |
virtual DockableTabStyle * | tabStyle () const |
virtual bool | canUseAsPane (SplitPaneWidget *, BinaryViewRef) const |
virtual Pane * | createPane (SplitPaneWidget *, BinaryViewRef) |
void | updateTheme () |
SidebarWidgetType::SidebarWidgetType | ( | const QImage & | icon, |
const QString & | name | ||
) |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in CrossReferenceSidebarWidgetType.
|
inlinevirtual |
|
virtual |
Reimplemented in GlobalAreaCompatibilitySidebarWidgetType, HistorySidebarWidgetType, LogViewSidebarWidgetType, MemoryMapSidebarWidgetType, MiniGraphSidebarWidgetType, ScriptingConsoleSidebarWidgetType, SearchResultSidebarWidgetType, StackViewSidebarWidgetType, StringsViewSidebarWidgetType, TagListSidebarWidgetType, TypeBrowserSidebarWidgetType, TypeViewSidebarWidgetType, and VariableListSidebarWidgetType.
|
virtual |
|
inlinevirtual |
Reimplemented in GlobalAreaCompatibilitySidebarWidgetType, ScriptingConsoleSidebarWidgetType, and SearchResultSidebarWidgetType.
|
inlinevirtual |
Reimplemented in GlobalAreaCompatibilitySidebarWidgetType.
|
inlinevirtual |
Reimplemented in HistorySidebarWidgetType, MemoryMapSidebarWidgetType, MiniGraphSidebarWidgetType, StackViewSidebarWidgetType, StringsViewSidebarWidgetType, SymbolsViewSidebarWidgetType, TagListSidebarWidgetType, TypeBrowserSidebarWidgetType, TypeViewSidebarWidgetType, VariableListSidebarWidgetType, and CrossReferenceSidebarWidgetType.
|
virtual |
|
inlinevirtual |
Reimplemented in SearchResultSidebarWidgetType.
|
inlinevirtual |
Reimplemented in SearchResultSidebarWidgetType.
|
inlinevirtual |
Reimplemented in SearchResultSidebarWidgetType.
|
virtual |
Reimplemented in SearchResultSidebarWidgetType.
|
inlinevirtual |
|
inlinevirtual |
void SidebarWidgetType::updateTheme | ( | ) |
enum SidebarLocation |