|
QtCanpool 3.3.0
|
Manages focus styling of dock widgets and handling of focus changes 更多...
#include <qxdock/dockfocuscontroller.h>

Public 成员函数 | |
| DockFocusController (DockWindow *window) | |
| virtual | ~DockFocusController () |
| void | notifyDockAreaRelocation (QWidget *droppedWidget) |
| A container needs to call this function if a widget has been dropped into it | |
| void | notifyFloatingWidgetDrop (DockFloatingContainer *floatingWidget) |
| This function is called, if a floating widget has been dropped into an new position. | |
| void | setDockWidgetTabFocused (DockTab *tab) |
| Request focus highlighting for the given dock widget assigned to the tab given in tab parameter | |
| void | setDockWidgetTabPressed (bool Value) |
| Notifies the dock focus controller, that a the mouse is pressed or released | |
| void | clearDockWidgetFocus (DockWidget *w) |
| DockWidget * | focusedDockWidget () const |
| Returns the dock widget that has focus style in the ui or a nullptr if not dock widget is painted focused. | |
| void | setDockWidgetFocused (DockWidget *focusedNow) |
| Request a focus change to the given dock widget | |
| void | onApplicationFocusChanged (QWidget *focusedOld, QWidget *focusedNow) |
| void | onFocusWindowChanged (QWindow *focusWindow) |
| void | onFocusedDockAreaViewToggled (bool open) |
| void | onDockWidgetVisibilityChanged (bool visible) |
| void | onStateRestored () |
Manages focus styling of dock widgets and handling of focus changes
在文件 dockfocuscontroller.h 第 22 行定义.
|
explicit |
在文件 dockfocuscontroller.cpp 第 160 行定义.
|
virtual |
在文件 dockfocuscontroller.cpp 第 174 行定义.
| void QxDock::DockFocusController::clearDockWidgetFocus | ( | DockWidget * | w | ) |
在文件 dockfocuscontroller.cpp 第 254 行定义.
| DockWidget * QxDock::DockFocusController::focusedDockWidget | ( | ) | const |
Returns the dock widget that has focus style in the ui or a nullptr if not dock widget is painted focused.
在文件 dockfocuscontroller.cpp 第 264 行定义.
| void QxDock::DockFocusController::notifyDockAreaRelocation | ( | QWidget * | droppedWidget | ) |
A container needs to call this function if a widget has been dropped into it
在文件 dockfocuscontroller.cpp 第 183 行定义.
| void QxDock::DockFocusController::notifyFloatingWidgetDrop | ( | DockFloatingContainer * | floatingWidget | ) |
This function is called, if a floating widget has been dropped into an new position.
When this function is called, all dock widgets of the FloatingWidget are already inserted into its new position
在文件 dockfocuscontroller.cpp 第 213 行定义.
| void QxDock::DockFocusController::onApplicationFocusChanged | ( | QWidget * | focusedOld, |
| QWidget * | focusedNow | ||
| ) |
在文件 dockfocuscontroller.cpp 第 279 行定义.
| void QxDock::DockFocusController::onDockWidgetVisibilityChanged | ( | bool | visible | ) |
在文件 dockfocuscontroller.cpp 第 350 行定义.
| void QxDock::DockFocusController::onFocusedDockAreaViewToggled | ( | bool | open | ) |
在文件 dockfocuscontroller.cpp 第 329 行定义.
| void QxDock::DockFocusController::onFocusWindowChanged | ( | QWindow * | focusWindow | ) |
在文件 dockfocuscontroller.cpp 第 309 行定义.
| void QxDock::DockFocusController::onStateRestored | ( | ) |
在文件 dockfocuscontroller.cpp 第 361 行定义.
| void QxDock::DockFocusController::setDockWidgetFocused | ( | DockWidget * | focusedNow | ) |
Request a focus change to the given dock widget
在文件 dockfocuscontroller.cpp 第 273 行定义.
| void QxDock::DockFocusController::setDockWidgetTabFocused | ( | DockTab * | tab | ) |
Request focus highlighting for the given dock widget assigned to the tab given in tab parameter
在文件 dockfocuscontroller.cpp 第 236 行定义.
| void QxDock::DockFocusController::setDockWidgetTabPressed | ( | bool | Value | ) |
Notifies the dock focus controller, that a the mouse is pressed or released
在文件 dockfocuscontroller.cpp 第 248 行定义.