mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-23 13:02:05 +08:00
Fix various typos (#692)
* Fix various typos Found via `codespell -q 3 -L te,ridiculus,varius` * Add another typo fix
This commit is contained in:
parent
faf24cd531
commit
a16d17a8bf
@ -582,7 +582,7 @@ highlights are:
|
||||
- Simple Drag & Drop user interface.
|
||||
- Load data from file.
|
||||
- Connect to live streaming of data.
|
||||
- Save the visualization layout and configurations to re-use them later.
|
||||
- Save the visualization layout and configurations to reuse them later.
|
||||
- Fast OpenGL visualization.
|
||||
- Can handle thousands of timeseries and millions of data points.
|
||||
- Transform your data using a simple editor: derivative, moving average, integral, etc…
|
||||
|
@ -853,7 +853,7 @@ When an entire area is closed, the default behavior is to hide the dock widgets
|
||||
|
||||
It is possible to globally lock features of all dock widgets to "freeze" the
|
||||
current workspace layout. That means, you can now lock your workspace
|
||||
to avoid accidentally dragging a docked view. When locking was't possible,
|
||||
to avoid accidentally dragging a docked view. When locking wasn't possible,
|
||||
users had to manually dock it back to the desired place after each accidental
|
||||
undock.
|
||||
|
||||
|
@ -270,7 +270,7 @@ struct DockAreaWidgetPrivate
|
||||
DockAreaWidgetPrivate(CDockAreaWidget* _public);
|
||||
|
||||
/**
|
||||
* Convencience function to ease components factory access
|
||||
* Convenience function to ease components factory access
|
||||
*/
|
||||
QSharedPointer<ads::CDockComponentsFactory> componentsFactory() const
|
||||
{
|
||||
@ -379,10 +379,10 @@ void DockAreaWidgetPrivate::updateTitleBarButtonStates()
|
||||
|
||||
if (_this->isAutoHide())
|
||||
{
|
||||
if (CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideHasCloseButton))
|
||||
{
|
||||
if (CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideHasCloseButton))
|
||||
{
|
||||
TitleBar->button(TitleBarButtonClose)->setEnabled(
|
||||
_this->features().testFlag(CDockWidget::DockWidgetClosable));
|
||||
_this->features().testFlag(CDockWidget::DockWidgetClosable));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
|
||||
/**
|
||||
* This returns the default dock components factory instance.
|
||||
* If no components factory is assigned to a specifc dock manager, this
|
||||
* If no components factory is assigned to a specific dock manager, this
|
||||
* global factory instance will be used.
|
||||
*/
|
||||
static QSharedPointer<ads::CDockComponentsFactory> factory();
|
||||
|
@ -555,7 +555,7 @@ CDockManager::~CDockManager()
|
||||
{
|
||||
if (!area || area->dockManager() != this) continue;
|
||||
|
||||
// QPointer delete safety - just in case some dock wigdet in destruction
|
||||
// QPointer delete safety - just in case some dock widget in destruction
|
||||
// deletes another related/twin or child dock widget.
|
||||
std::vector<QPointer<QWidget>> deleteWidgets;
|
||||
for ( auto widget : area->dockWidgets() )
|
||||
|
@ -283,7 +283,7 @@ QString detectWindowManagerX11()
|
||||
}
|
||||
if(sup_windows.length() == 0)
|
||||
{
|
||||
ADS_PRINT("Failed to get the supporting window on non EWMH comform WM.");
|
||||
ADS_PRINT("Failed to get the supporting window on non EWMH conform WM.");
|
||||
return "UNKNOWN";
|
||||
}
|
||||
support_win = sup_windows[0];
|
||||
|
@ -236,7 +236,7 @@ SideBarLocation toSideBarLocation(DockWidgetArea Area);
|
||||
|
||||
|
||||
/**
|
||||
* Returns true for the top or bottom side bar ansd false for the
|
||||
* Returns true for the top or bottom side bar and false for the
|
||||
* left and right side bar
|
||||
*/
|
||||
bool isHorizontalSideBarLocation(SideBarLocation Location);
|
||||
|
Loading…
Reference in New Issue
Block a user