mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 08:34:38 +03:00
Fix typo. s/brin/bring.
This commit is contained in:
parent
1b228a80df
commit
0d1db25d89
@ -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);
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -555,7 +555,7 @@ void ReportDesignWidget::cut()
|
||||
activePage()->cut();
|
||||
}
|
||||
|
||||
void ReportDesignWidget::brinToFront()
|
||||
void ReportDesignWidget::bringToFront()
|
||||
{
|
||||
if (activePage())
|
||||
activePage()->bringToFront();
|
||||
|
@ -138,7 +138,7 @@ public slots:
|
||||
void copy();
|
||||
void paste();
|
||||
void cut();
|
||||
void brinToFront();
|
||||
void bringToFront();
|
||||
void sendToBack();
|
||||
void alignToLeft();
|
||||
void alignToRight();
|
||||
|
Loading…
Reference in New Issue
Block a user