mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-20 06:30:03 +03:00
Items context menu has been added
Fields drag & drop init band datasource if it empty
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <QGraphicsScene>
|
||||
#include <QPrinter>
|
||||
#include <QMenu>
|
||||
|
||||
namespace LimeReport {
|
||||
|
||||
@@ -519,6 +520,14 @@ void PageItemDesignIntf::initPageSize(const QSizeF& size)
|
||||
setHeight(size.height());
|
||||
m_sizeChainging=false;
|
||||
}
|
||||
|
||||
void PageItemDesignIntf::preparePopUpMenu(QMenu &menu)
|
||||
{
|
||||
foreach (QAction* action, menu.actions()) {
|
||||
if (action->text().compare(tr("Paste")) != 0)
|
||||
action->setVisible(false);
|
||||
}
|
||||
}
|
||||
void PageItemDesignIntf::initPageSize(const PageItemDesignIntf::PageSize &size)
|
||||
{
|
||||
m_sizeChainging = true;
|
||||
|
||||
Reference in New Issue
Block a user