0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Vertical Layout has been added

This commit is contained in:
Arin Alexander
2018-06-21 14:29:00 +03:00
parent 1a189054f7
commit 5b818a4a15
22 changed files with 1029 additions and 467 deletions

View File

@@ -221,6 +221,10 @@ void ReportDesignWindow::createActions()
m_addHLayout->setIcon(QIcon(":/report/images/hlayout"));
connect(m_addHLayout,SIGNAL(triggered()),this,SLOT(slotHLayout()));
m_addVLayout = new QAction(tr("Vertical layout"),this);
m_addVLayout->setIcon(QIcon(":/report/images/vlayout"));
connect(m_addVLayout,SIGNAL(triggered()),this,SLOT(slotVLayout()));
m_aboutAction = new QAction(tr("About"),this);
m_aboutAction->setIcon(QIcon(":/report/images/copyright"));
connect(m_aboutAction,SIGNAL(triggered()),this,SLOT(slotShowAbout()));
@@ -258,6 +262,7 @@ void ReportDesignWindow::createReportToolBar()
createItemsActions();
m_reportToolBar->addSeparator();
m_reportToolBar->addAction(m_addHLayout);
m_reportToolBar->addAction(m_addVLayout);
m_reportToolBar->addSeparator();
m_reportToolBar->addAction(m_deleteItemAction);
@@ -1171,6 +1176,11 @@ void ReportDesignWindow::slotHLayout()
m_reportDesignWidget->addHLayout();
}
void ReportDesignWindow::slotVLayout()
{
m_reportDesignWidget->addVLayout();
}
void ReportDesignWindow::slotTest()
{
}