QtCanpool 3.3.0
载入中...
搜索中...
未找到
QxDock::DockFocusController类 参考

Manages focus styling of dock widgets and handling of focus changes 更多...

#include <qxdock/dockfocuscontroller.h>

类 QxDock::DockFocusController 继承关系图:

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 行定义.

构造及析构函数说明

◆ DockFocusController()

QxDock::DockFocusController::DockFocusController ( DockWindow *  window)
explicit

在文件 dockfocuscontroller.cpp 第 160 行定义.

◆ ~DockFocusController()

QxDock::DockFocusController::~DockFocusController ( )
virtual

在文件 dockfocuscontroller.cpp 第 174 行定义.

成员函数说明

◆ clearDockWidgetFocus()

void QxDock::DockFocusController::clearDockWidgetFocus ( DockWidget *  w)

在文件 dockfocuscontroller.cpp 第 254 行定义.

◆ focusedDockWidget()

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 行定义.

◆ notifyDockAreaRelocation()

void QxDock::DockFocusController::notifyDockAreaRelocation ( QWidget *  droppedWidget)

A container needs to call this function if a widget has been dropped into it

在文件 dockfocuscontroller.cpp 第 183 行定义.

◆ notifyFloatingWidgetDrop()

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 行定义.

◆ onApplicationFocusChanged()

void QxDock::DockFocusController::onApplicationFocusChanged ( QWidget *  focusedOld,
QWidget *  focusedNow 
)

在文件 dockfocuscontroller.cpp 第 279 行定义.

◆ onDockWidgetVisibilityChanged()

void QxDock::DockFocusController::onDockWidgetVisibilityChanged ( bool  visible)

在文件 dockfocuscontroller.cpp 第 350 行定义.

◆ onFocusedDockAreaViewToggled()

void QxDock::DockFocusController::onFocusedDockAreaViewToggled ( bool  open)

在文件 dockfocuscontroller.cpp 第 329 行定义.

◆ onFocusWindowChanged()

void QxDock::DockFocusController::onFocusWindowChanged ( QWindow *  focusWindow)

在文件 dockfocuscontroller.cpp 第 309 行定义.

◆ onStateRestored()

void QxDock::DockFocusController::onStateRestored ( )

在文件 dockfocuscontroller.cpp 第 361 行定义.

◆ setDockWidgetFocused()

void QxDock::DockFocusController::setDockWidgetFocused ( DockWidget *  focusedNow)

Request a focus change to the given dock widget

在文件 dockfocuscontroller.cpp 第 273 行定义.

◆ setDockWidgetTabFocused()

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 行定义.

◆ setDockWidgetTabPressed()

void QxDock::DockFocusController::setDockWidgetTabPressed ( bool  Value)

Notifies the dock focus controller, that a the mouse is pressed or released

在文件 dockfocuscontroller.cpp 第 248 行定义.


该类的文档由以下文件生成: