Classes | |
| struct | DockProperties |
| struct | DockSizePrefs |
| class | DockContextHandler |
| class | DockHandler |
| struct DockProperties |
Public Member Functions | |
| DockProperties () | |
| DockProperties (QDockWidget *dw, bool vis, Qt::DockWidgetArea dar, Qt::Orientation dor, bool dvis, bool vs) | |
| DockProperties (const DockProperties &dp) | |
| DockProperties & | operator= (const DockProperties &dp) |
Public Attributes | |
| QDockWidget * | dockWidget |
| bool | visibleState |
| Qt::DockWidgetArea | defaultArea |
| Qt::Orientation | defaultOrientation |
| bool | defaultVisibility |
| bool | viewSensitive |
| bool | neverBeenVisible |
| QSize | sizeStash |
| std::function< void()> | actionOnShow |
|
inline |
|
inline |
|
inline |
|
inline |
| QDockWidget* DockProperties::dockWidget |
| bool DockProperties::visibleState |
| Qt::DockWidgetArea DockProperties::defaultArea |
| Qt::Orientation DockProperties::defaultOrientation |
| bool DockProperties::defaultVisibility |
| bool DockProperties::viewSensitive |
| bool DockProperties::neverBeenVisible |
| QSize DockProperties::sizeStash |
| std::function<void()> DockProperties::actionOnShow |
| struct DockSizePrefs |
Public Member Functions | |
| DockSizePrefs () | |
Public Attributes | |
| QList< QDockWidget * > | docks |
| QList< int > | hDockSizes |
| QList< int > | vDockSizes |
| bool | nonUniformVisibility = false |
|
inline |
| QList<QDockWidget*> DockSizePrefs::docks |
| QList<int> DockSizePrefs::hDockSizes |
| QList<int> DockSizePrefs::vDockSizes |
| bool DockSizePrefs::nonUniformVisibility = false |
| class DockContextHandler |
Public Member Functions | |
| DockContextHandler (QWidget *widget, const QString &name) | |
| virtual | ~DockContextHandler () |
| QString | getName () const |
| QWidget * | getParentWindow () const |
| virtual void | notifyFontChanged () |
| virtual void | notifyOffsetChanged (uint64_t) |
| virtual void | notifyThemeChanged () |
| virtual void | notifyViewChanged (ViewFrame *) |
| virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
| virtual void | notifyVisibilityChanged (bool) |
| virtual bool | shouldBeVisible (ViewFrame *) |
Protected Attributes | |
| QString | m_name |
| UIActionHandler | m_actionHandler |
| ContextMenuManager * | m_contextMenuManager = nullptr |
| Menu * | m_menu = nullptr |
| QWidget * | m_parentWindow |
| DockContextHandler::DockContextHandler | ( | QWidget * | widget, |
| const QString & | name ) |
|
virtual |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| class DockHandler |
Public Slots | |
| void | viewChanged (ViewFrame *frame) |
| void | visibilityChanged (bool visible) |
| void | topLevelChanged (bool topLevel) |
| void | removeWidget (QObject *object) |
Signals | |
| void | notifyVisibilityChanged () |
Public Member Functions | |
| DockHandler (QObject *parent, int windowIndex) | |
| void | close () |
| void | notifyRestoredFromState () |
| void | reset (bool initial=false) |
| void | reset (const QString &name) |
| void | resizeDocksOnShow (bool resizeDocks) |
| bool | addDockWidget (QWidget *widget, Qt::DockWidgetArea area=Qt::BottomDockWidgetArea, Qt::Orientation orientation=Qt::Horizontal, bool defaultVisibility=false) |
| bool | addDockWidget (const QString &name, const std::function< QWidget *(const QString &, ViewFrame *, BinaryViewRef)> &createWidget, Qt::DockWidgetArea area=Qt::BottomDockWidgetArea, Qt::Orientation orientation=Qt::Horizontal, bool defaultVisibility=false) |
| void | createDynamicWidgets (ViewFrame *frame, BinaryViewRef data, std::map< QString, QPointer< QWidget > > &store, std::vector< QString > filter, bool isExcludeFilter=true) |
| QDockWidget * | getDockWidget (const QString &name) |
| ViewFrame * | getViewFrame () |
| bool | isVisible (const QString &name) |
| void | setVisible (const QString &name, bool visible) |
| void | saveState (QSettings &settings, const QString &windowStateName) |
| void | restoreState (QSettings &settings, const QString &windowStateName) |
| void | saveDockSizes (bool nullFrame=false) |
| void | restoreDockSizes () |
| bool | shouldResizeDocks () |
| void | updateFonts () |
| void | clearViewLocation (View *view) |
| void | updateViewLocation (View *view, const ViewLocation &viewLocation) |
| void | updateTheme () |
| void | addActionOnShow (const QString &name, const std::function< void()> &action) |
Static Public Member Functions | |
| static DockHandler * | getActiveDockHandler () |
Friends | |
| class | DockContextHandler |
|
explicit |
| void DockHandler::close | ( | ) |
| void DockHandler::notifyRestoredFromState | ( | ) |
| void DockHandler::reset | ( | bool | initial = false | ) |
| void DockHandler::reset | ( | const QString & | name | ) |
|
inline |
| bool DockHandler::addDockWidget | ( | QWidget * | widget, |
| Qt::DockWidgetArea | area = Qt::BottomDockWidgetArea, | ||
| Qt::Orientation | orientation = Qt::Horizontal, | ||
| bool | defaultVisibility = false ) |
| bool DockHandler::addDockWidget | ( | const QString & | name, |
| const std::function< QWidget *(const QString &, ViewFrame *, BinaryViewRef)> & | createWidget, | ||
| Qt::DockWidgetArea | area = Qt::BottomDockWidgetArea, | ||
| Qt::Orientation | orientation = Qt::Horizontal, | ||
| bool | defaultVisibility = false ) |
| void DockHandler::createDynamicWidgets | ( | ViewFrame * | frame, |
| BinaryViewRef | data, | ||
| std::map< QString, QPointer< QWidget > > & | store, | ||
| std::vector< QString > | filter, | ||
| bool | isExcludeFilter = true ) |
| QDockWidget * DockHandler::getDockWidget | ( | const QString & | name | ) |
|
inline |
| bool DockHandler::isVisible | ( | const QString & | name | ) |
| void DockHandler::setVisible | ( | const QString & | name, |
| bool | visible ) |
| void DockHandler::saveState | ( | QSettings & | settings, |
| const QString & | windowStateName ) |
| void DockHandler::restoreState | ( | QSettings & | settings, |
| const QString & | windowStateName ) |
| void DockHandler::saveDockSizes | ( | bool | nullFrame = false | ) |
| void DockHandler::restoreDockSizes | ( | ) |
| bool DockHandler::shouldResizeDocks | ( | ) |
| void DockHandler::updateFonts | ( | ) |
| void DockHandler::clearViewLocation | ( | View * | view | ) |
| void DockHandler::updateViewLocation | ( | View * | view, |
| const ViewLocation & | viewLocation ) |
| void DockHandler::updateTheme | ( | ) |
| void DockHandler::addActionOnShow | ( | const QString & | name, |
| const std::function< void()> & | action ) |
|
static |
|
signal |
|
slot |
|
slot |
|
slot |
|
slot |
|
friend |