Fix typo. s/brin/bring.

This commit is contained in:
Mateusz Skowroński 2018-12-23 09:41:24 +01:00
parent 1b228a80df
commit 0d1db25d89
5 changed files with 8 additions and 8 deletions

View File

@ -55,9 +55,9 @@ ItemsAlignmentEditorWidget::ItemsAlignmentEditorWidget(PageDesignIntf* page, QWi
initEditor();
}
void ItemsAlignmentEditorWidget::slotBrinToFront()
void ItemsAlignmentEditorWidget::slotBringToFront()
{
if (m_reportEditor) m_reportEditor->brinToFront();
if (m_reportEditor) m_reportEditor->bringToFront();
if (m_page) m_page->bringToFront();
}
@ -119,7 +119,7 @@ void ItemsAlignmentEditorWidget::initEditor()
{
m_bringToFront = new QAction(tr("Bring to top"),this);
m_bringToFront->setIcon(QIcon(":/report/images/bringToTop"));
connect(m_bringToFront,SIGNAL(triggered()),this,SLOT(slotBrinToFront()));
connect(m_bringToFront,SIGNAL(triggered()),this,SLOT(slotBringToFront()));
addAction(m_bringToFront);
m_sendToBack = new QAction(tr("Send to back"),this);

View File

@ -45,7 +45,7 @@ public:
explicit ItemsAlignmentEditorWidget(PageDesignIntf* page, const QString &title, QWidget *parent = 0);
explicit ItemsAlignmentEditorWidget(PageDesignIntf* page, QWidget *parent = 0);
private slots:
void slotBrinToFront();
void slotBringToFront();
void slotSendToBack();
void slotAlignToLeft();
void slotAlignToRight();

View File

@ -1238,7 +1238,7 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
pasteAction->setEnabled(true);
}
menu.addSeparator();
QAction* brinToTopAction = menu.addAction(QIcon(":/report/images/bringToTop"), tr("Bring to top"));
QAction* bringToTopAction = menu.addAction(QIcon(":/report/images/bringToTop"), tr("Bring to top"));
QAction* sendToBackAction = menu.addAction(QIcon(":/report/images/sendToBack"), tr("Send to back"));
QAction* createHLayout = 0;
if( page->selectedItems().count()>1){
@ -1263,7 +1263,7 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
page->copy();
if (a == pasteAction)
page->paste();
if (a == brinToTopAction)
if (a == bringToTopAction)
page->bringToFront();
if (a == sendToBackAction)
page->sendToBack();

View File

@ -555,7 +555,7 @@ void ReportDesignWidget::cut()
activePage()->cut();
}
void ReportDesignWidget::brinToFront()
void ReportDesignWidget::bringToFront()
{
if (activePage())
activePage()->bringToFront();

View File

@ -138,7 +138,7 @@ public slots:
void copy();
void paste();
void cut();
void brinToFront();
void bringToFront();
void sendToBack();
void alignToLeft();
void alignToRight();