fix typos
This commit is contained in:
parent
101d280f6a
commit
72ab17fb48
|
@ -121,7 +121,7 @@ bool SMESHDS_SubMesh::RemoveElement(const SMDS_MeshElement * ME, bool isElemDele
|
|||
}
|
||||
if (!IsComplexSubmesh())
|
||||
{
|
||||
if ( ME->getshapeId() != myIndex ) // elem not in a pool can loose it's data already
|
||||
if ( ME->getshapeId() != myIndex ) // elem not in a pool can lose its data already
|
||||
{
|
||||
if ( isElemDeleted )
|
||||
for ( size_t i = 0; i < myElements.size(); ++i )
|
||||
|
|
|
@ -182,7 +182,7 @@ void PropertyFileIncluded::setValue(const char* sFile, const char* sName)
|
|||
// directory:
|
||||
// When a file is read-only it is supposed to be assigned to a
|
||||
// PropertyFileIncluded instance. In this case we must copy the
|
||||
// file because otherwise the above instance looses its data.
|
||||
// file because otherwise the above instance loses its data.
|
||||
// If the file is writable it is supposed to be of free use and
|
||||
// it can be simply renamed.
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ void MDIView::closeEvent(QCloseEvent *e)
|
|||
}
|
||||
|
||||
// Note: When using QMdiArea we must not use removeWindow()
|
||||
// because otherwise the QMdiSubWindow will loose its parent
|
||||
// because otherwise the QMdiSubWindow will lose its parent
|
||||
// and thus the notification in QMdiSubWindow::closeEvent of
|
||||
// other mdi windows to get maximized if this window
|
||||
// is maximized will fail.
|
||||
|
|
|
@ -783,7 +783,7 @@ void MainWindow::removeWindow(Gui::MDIView* view)
|
|||
|
||||
QWidget* parent = view->parentWidget();
|
||||
// The call of 'd->mdiArea->removeSubWindow(parent)' causes the QMdiSubWindow
|
||||
// to loose its parent and thus the notification in QMdiSubWindow::closeEvent
|
||||
// to lose its parent and thus the notification in QMdiSubWindow::closeEvent
|
||||
// of other mdi windows to get maximized if this window is maximized will fail.
|
||||
// However, we must let it here otherwise deleting MDI child views directly can
|
||||
// cause other problems.
|
||||
|
|
|
@ -175,7 +175,7 @@ private:
|
|||
void resetObserveEventFilter();
|
||||
/** Gets the events under control */
|
||||
void enterControlEvents();
|
||||
/** Looses the control over incoming events*/
|
||||
/** Loses the control over incoming events*/
|
||||
void leaveControlEvents();
|
||||
//@}
|
||||
ProgressBarPrivate* d;
|
||||
|
|
|
@ -382,7 +382,7 @@ std::vector<SelectionObject> SelectionSingleton::getSelectionEx(const char* pDoc
|
|||
}
|
||||
}
|
||||
|
||||
// The map looses the order thus we have to go again through the list and pick up the SelectionObject from the map
|
||||
// The map loses the order thus we have to go again through the list and pick up the SelectionObject from the map
|
||||
for (std::list<_SelObj>::const_iterator It = _SelList.begin();It != _SelList.end();++It) {
|
||||
std::map<App::DocumentObject*,SelectionObject>::iterator Jt = SortMap.find(It->pObject);
|
||||
if (Jt != SortMap.end()) {
|
||||
|
|
|
@ -156,7 +156,7 @@ void TextEdit::complete()
|
|||
|
||||
/**
|
||||
* Creates the listbox containing all possibilities for the completion.
|
||||
* The listbox is closed when ESC is pressed, the text edit field looses focus or a
|
||||
* The listbox is closed when ESC is pressed, the text edit field loses focus or a
|
||||
* mouse button was pressed.
|
||||
*/
|
||||
void TextEdit::createListBox()
|
||||
|
|
|
@ -974,7 +974,7 @@ void View3DInventor::setCurrentViewMode(ViewMode newmode)
|
|||
// be avoided because when two or more windows are either in 'TopLevel' or 'Fullscreen'
|
||||
// mode only the last window gets all key event even if it is not the active one.
|
||||
//
|
||||
// It is important to set the focus proxy to get all key events otherwise we would loose
|
||||
// It is important to set the focus proxy to get all key events otherwise we would lose
|
||||
// control after redirecting the first key event to the GL widget.
|
||||
if (oldmode == Child) {
|
||||
// To make a global shortcut working from this window we need to add
|
||||
|
|
|
@ -255,7 +255,7 @@ public:
|
|||
protected:
|
||||
/// is called by the document when the provider goes in edit mode
|
||||
virtual bool setEdit(int ModNum);
|
||||
/// is called when you loose the edit mode
|
||||
/// is called when you lose the edit mode
|
||||
virtual void unsetEdit(int ModNum);
|
||||
/// return the edit mode or -1 if nothing is being edited
|
||||
int getEditingMode() const;
|
||||
|
|
|
@ -387,7 +387,7 @@ protected:
|
|||
if (!ok) ok = ViewProviderT::setEdit(ModNum);
|
||||
return ok;
|
||||
}
|
||||
/// is called when you loose the edit mode
|
||||
/// is called when you lose the edit mode
|
||||
virtual void unsetEdit(int ModNum)
|
||||
{
|
||||
bool ok = imp->unsetEdit(ModNum);
|
||||
|
|
|
@ -1898,7 +1898,7 @@ void PropertyPlacementItem::setValue(const QVariant& value)
|
|||
if (!value.canConvert<Base::Placement>())
|
||||
return;
|
||||
// Accept this only if the user changed the axis, angle or position but
|
||||
// not if >this< item looses focus
|
||||
// not if >this< item loses focus
|
||||
if (!changed_value)
|
||||
return;
|
||||
changed_value = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user