0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

Borders editor dialog added

This commit is contained in:
yanis60 2022-06-13 19:18:57 +01:00
parent 83da159284
commit 8a2d824c5d
25 changed files with 3036 additions and 78 deletions

View File

@ -0,0 +1,287 @@
#include "borderframeeditor.h"
#include "ui_borderframeeditor.h"
#include <QPainter>
#include <QGraphicsLineItem>
#include <QDebug>
#include <QMouseEvent>
#include "lrbasedesignintf.h"
#include "lrbordereditor.h"
using namespace LimeReport;
BorderFrameEditor::BorderFrameEditor(QWidget *parent)
: QWidget(parent)
, ui(new Ui::BorderFrameEditor)
{
ui->setupUi(this);
scene = new QGraphicsScene(ui->graphicsView);
QRect vRect = rect();
//Draw corder lines
//topLeft
scene->addLine(10,5, 10,10,QPen(Qt::gray));
scene->addLine(5,10, 10,10,QPen(Qt::gray));
//bottomLeft
scene->addLine(10,vRect.bottom() -5, 10,vRect.bottom()-10,QPen(Qt::gray));
scene->addLine(5,vRect.bottom()-10,10,vRect.bottom()-10,QPen(Qt::gray));
//bottomRight
scene->addLine(vRect.right()-10,vRect.bottom() -5,vRect.right()- 10,vRect.bottom()-10,QPen(Qt::gray));
scene->addLine(vRect.right()-5,vRect.bottom()-10,vRect.right()-10,vRect.bottom()-10,QPen(Qt::gray));
//topRight
scene->addLine(vRect.width()-10,5,vRect.width()- 10,10,QPen(Qt::gray));
scene->addLine(vRect.width()-5,10, vRect.width()-10,10,QPen(Qt::gray));
scene->setSceneRect(vRect);
ui->graphicsView->setScene(scene);
QGraphicsSimpleTextItem * io = new QGraphicsSimpleTextItem();
io->setAcceptedMouseButtons(Qt::LeftButton);
io->setPos(scene->sceneRect().center());
io->setText(tr("Text"));
scene->addItem(io);
QRectF bR = io->sceneBoundingRect();
io->setPos( scene->sceneRect().center().x() - bR.width()/2, scene->sceneRect().center().y() - bR.height()/2 );
connect(this,SIGNAL(borderSideClicked(int, bool)),this,SLOT(SlotBorderSideClicked(int,bool)));
}
BorderFrameEditor::~BorderFrameEditor()
{
delete ui;
}
void BorderFrameEditor::setPen(QPen pen)
{
m_pen = pen;
updateBorders();
}
QPen BorderFrameEditor::pen()
{
return m_pen;
}
void BorderFrameEditor::setAllLines()
{
topLine = scene->addLine(QLineF(10,10,rect().width() - 10,10),m_pen);
leftLine = scene->addLine(QLineF(10,10,10,rect().height() - 10),m_pen);
bottomLine = scene->addLine(QLineF(10,rect().bottom() -10,rect().width() - 10
,rect().bottom() - 10),m_pen);
rightLine = scene->addLine(QLineF(rect().width() - 10,10
,rect().width() - 10,rect().height() - 10),m_pen);
}
void BorderFrameEditor::unSetAllLines()
{
if(topLine)
{
scene->removeItem(topLine);
}
if(leftLine)
{
scene->removeItem(leftLine);
}
if(bottomLine)
{
scene->removeItem(bottomLine);
}
if(rightLine)
{
scene->removeItem(rightLine);
}
}
void BorderFrameEditor::mousePressEvent(QMouseEvent *event)
{
if(event->x() >= 10 && event->y() <30)//Draw top border
{
if(!topLine)
{
emit borderSideClicked(1,true);
}
else
{
emit borderSideClicked(1,false);
}
}
if((event->x() >= 10 && event->x() < 30) && (event->y() > 10)) //Draw border left
{
if(!leftLine)
{
emit borderSideClicked(4,true);
}
else
{
emit borderSideClicked(4,false);
}
}
if(event->x() >= 10 && (event->y() >80 && event->y() < rect().bottom())) //Draw bottom border
{
if(!bottomLine)
{
emit borderSideClicked(2,true);
}
else
{
emit borderSideClicked(2,false);
}
}
if((event->x() >= 130 && event->x() < rect().width()) && event->y() > 10) //Draw border right
{
if(!rightLine)
{
emit borderSideClicked(8,true);
}
else
{
emit borderSideClicked(8,false);
}
}
}
void BorderFrameEditor::SlotBorderSideClicked(int side, bool show)
{
switch(side)
{
case BaseDesignIntf::BorderSide::TopLine:
{
if(show)
{
topLine = scene->addLine(QLineF(10,10,rect().width() - 10,10),m_pen);
}
else
{
scene->removeItem(topLine);
topLine = NULL;
}
}break;
case BaseDesignIntf::LeftLine:
{
if(show)
{
leftLine = scene->addLine(QLineF(10,10,10,rect().height() - 10),m_pen);
}
else
{
scene->removeItem(leftLine);
leftLine = NULL;
}
}break;
case BaseDesignIntf::BottomLine:
{
if(show)
{
bottomLine = scene->addLine(QLineF(10,rect().bottom() -10,rect().width() - 10
,rect().bottom() - 10),m_pen);
}
else
{
scene->removeItem(bottomLine);
bottomLine = NULL;
}
}break;
case BaseDesignIntf::RightLine:
{
if(show)
{
rightLine = scene->addLine(QLineF(rect().width() - 10,10
,rect().width() - 10,rect().height() - 10),m_pen);
}
else
{
scene->removeItem(rightLine);
rightLine = NULL;
}
}
}
updateBorders();
}
void BorderFrameEditor::updateBorders()
{
//if a line is set we redraw it
if(topLine)
{
scene->removeItem(topLine);
topLine = scene->addLine(QLineF(10,10,rect().width() - 10,10),m_pen);
}
if(leftLine)
{
scene->removeItem(leftLine);
leftLine = scene->addLine(QLineF(10,10,10,rect().height() - 10),m_pen);
}
if(bottomLine)
{
scene->removeItem(bottomLine);
bottomLine = scene->addLine(QLineF(10,rect().bottom() -10,rect().width() - 10
,rect().bottom() - 10),m_pen);
}
if(rightLine)
{
scene->removeItem(rightLine);
rightLine = scene->addLine(QLineF(rect().width() - 10,10
,rect().width() - 10,rect().height() - 10),m_pen);
}
}

View File

@ -0,0 +1,42 @@
#ifndef WIDGET
#define WIDGET
#include <QWidget>
#include <QGraphicsScene>
#include <QGraphicsLineItem>
#include "lrbasedesignintf.h"
QT_BEGIN_NAMESPACE
namespace Ui { class BorderFrameEditor; }
QT_END_NAMESPACE
class BorderFrameEditor : public QWidget
{
Q_OBJECT
public:
BorderFrameEditor(QWidget *parent = nullptr);
~BorderFrameEditor();
void setPen(QPen pen);
QPen pen();
void setAllLines();
void unSetAllLines();
protected:
void mousePressEvent(QMouseEvent *event);
signals:
void borderSideClicked(int side,bool show);
private slots:
void SlotBorderSideClicked(int side, bool show);
private:
Ui::BorderFrameEditor *ui;
QGraphicsScene *scene;
QGraphicsLineItem *topLine = NULL
,*bottomLine = NULL
,*leftLine = NULL
,*rightLine = NULL;
QPen m_pen;
void updateBorders();
};
#endif // WIDGET

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BorderFrameEditor</class>
<widget class="QWidget" name="BorderFrameEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>150</width>
<height>100</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>BorderFrameEditor</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGraphicsView" name="graphicsView">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>100</height>
</size>
</property>
<property name="baseSize">
<size>
<width>150</width>
<height>100</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="resizeAnchor">
<enum>QGraphicsView::AnchorViewCenter</enum>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -29,7 +29,7 @@
****************************************************************************/
#include "lritemsborderseditorwidget.h"
#include <QAction>
#include "lrbordereditor.h"
namespace LimeReport{
void ItemsBordersEditorWidget::setItemEvent(BaseDesignIntf* item)
@ -44,6 +44,7 @@ void ItemsBordersEditorWidget::setItemEvent(BaseDesignIntf* item)
updateValues((BaseDesignIntf::BorderLines)borders.toInt());
setEnabled(true);
}
itm = item;
}
void ItemsBordersEditorWidget::properyChangedEvent(const QString& property, const QVariant& oldValue, const QVariant& newValue)
@ -76,6 +77,18 @@ void ItemsBordersEditorWidget::buttonClicked(bool)
}
void ItemsBordersEditorWidget::editBorderClicked()
{
lrbordereditor be;
be.loadItem(itm);
if(be.exec() == QDialog::Rejected)return;
updateValues(be.borderSides());
itm->setBorderLinesFlags(be.borderSides());
itm->setBorderLineSize(be.border_width());
itm->setBorderStyle((LimeReport::BaseDesignIntf::BorderStyle)be.border_style());
itm->setBorderColor(be.borderColor());
}
void ItemsBordersEditorWidget::initEditor()
{
@ -114,6 +127,11 @@ void ItemsBordersEditorWidget::initEditor()
m_allLines->setIcon(QIcon(":/report/images/allLines"));
connect(m_allLines,SIGNAL(triggered()),this,SLOT(allBordesClicked()));
addAction(m_allLines);
addSeparator();
m_BorderEditor = new QAction(tr("Edit border"),this);
m_BorderEditor->setIcon(QIcon(":/report/images/allLines"));
connect(m_BorderEditor,SIGNAL(triggered()),this,SLOT(editBorderClicked()));
addAction(m_BorderEditor);
setEnabled(false);

View File

@ -49,6 +49,7 @@ protected slots:
virtual void noBordesClicked();
virtual void allBordesClicked();
virtual void buttonClicked(bool);
void editBorderClicked();
protected:
void setItemEvent(BaseDesignIntf *item);
void properyChangedEvent(const QString &property, const QVariant &oldValue, const QVariant &newValue);
@ -62,8 +63,10 @@ private:
QAction* m_topLine;
QAction* m_bottomLine;
QAction* m_allLines;
QAction* m_BorderEditor;
bool m_changing;
int m_borders;
BaseDesignIntf *itm;
};
#ifdef HAVE_REPORT_DESIGNER
@ -78,6 +81,7 @@ protected slots:
void allBordesClicked();
private:
ReportDesignWidget* m_reportEditor;
};
#endif

View File

@ -0,0 +1,182 @@
#include "lrbordereditor.h"
#include "ui_lrbordereditor.h"
#include <QColorDialog>
#include "lrbasedesignintf.h"
lrbordereditor::lrbordereditor(QWidget *parent) :
QDialog(parent),
ui(new Ui::lrbordereditor)
{
ui->setupUi(this);
connect(ui->borderFrame,SIGNAL(borderSideClicked(int, bool)), this, SLOT(checkToolButtons(int, bool)));
}
void lrbordereditor::loadItem(LimeReport::BaseDesignIntf *i)
{
item = i;
if(item->borderLines() & LimeReport::BaseDesignIntf::TopLine)
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::TopLine,true);
}
if(item->borderLines() & LimeReport::BaseDesignIntf::LeftLine)
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::LeftLine,true);
}
if(item->borderLines() & LimeReport::BaseDesignIntf::RightLine)
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::RightLine,true);
}
if(item->borderLines() & LimeReport::BaseDesignIntf::BottomLine)
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::BottomLine,true);
}
QPen pen;
pen.setWidthF(item->borderLineSize());
pen.setColor(item->borderColor());
pen.setStyle((Qt::PenStyle)item->borderStyle());
ui->borderFrame->setPen(pen);
border_color = item->borderColor().name();
ui->listWidget->setCurrentRow((Qt::PenStyle)item->borderStyle());
ui->comboBox->setCurrentText(QString::number(item->borderLineSize()));
borderWidth = ui->comboBox->currentText().toDouble();
borderStyle =ui->listWidget->currentRow();
ui->pushButton->setStyleSheet(QString("#pushButton{background-color:%1;}").arg(border_color));
}
LimeReport::BaseDesignIntf::BorderLines lrbordereditor::borderSides()
{
int borders = 0;
borders += (ui->topLine->isChecked())?LimeReport::BaseDesignIntf::TopLine:0;
borders += (ui->bottomLine->isChecked())?LimeReport::BaseDesignIntf::BottomLine:0;
borders += (ui->leftLine->isChecked())?LimeReport::BaseDesignIntf::LeftLine:0;
borders += (ui->rightLine->isChecked())?LimeReport::BaseDesignIntf::RightLine:0;
return (LimeReport::BaseDesignIntf::BorderLines)borders;
}
LimeReport::BaseDesignIntf::BorderStyle lrbordereditor::border_style()
{
return (LimeReport::BaseDesignIntf::BorderStyle)borderStyle;
}
QString lrbordereditor::borderColor()
{
return border_color;
}
double lrbordereditor::border_width()
{
return borderWidth;
}
lrbordereditor::~lrbordereditor()
{
delete ui;
}
void lrbordereditor::on_listWidget_currentRowChanged(int currentRow)
{
QPen pen = ui->borderFrame->pen();
pen.setStyle((Qt::PenStyle)currentRow);
borderStyle = currentRow;
ui->borderFrame->setPen(pen);
}
void lrbordereditor::on_comboBox_currentTextChanged(const QString &arg1)
{
QPen pen = ui->borderFrame->pen();
pen.setWidthF(arg1.toDouble());
ui->borderFrame->setPen(pen);
borderWidth = arg1.toDouble();
}
void lrbordereditor::on_pushButton_clicked()
{
QColorDialog cd(this);
if(cd.exec() == QDialog::Rejected)return;
QPen pen = ui->borderFrame->pen();
pen.setColor(cd.selectedColor().name());
border_color = pen.color().name();
ui->pushButton->setStyleSheet(QString("#pushButton{background-color:%1;}").arg(border_color));
ui->borderFrame->setPen(pen);
}
void lrbordereditor::on_toolButton_4_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::TopLine,true);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::BottomLine,true);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::LeftLine,true);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::RightLine,true);
QPen pen = ui->borderFrame->pen();
ui->borderFrame->setPen(pen);
}
void lrbordereditor::on_noLines_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::TopLine,false);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::BottomLine,false);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::LeftLine,false);
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::RightLine,false);
}
void lrbordereditor::on_topLine_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::TopLine,ui->topLine->isChecked());
}
void lrbordereditor::checkToolButtons(int side, bool check)
{
switch(side)
{
case LimeReport::BaseDesignIntf::BorderSide::TopLine:
{
ui->topLine->setChecked(check);
}break;
case LimeReport::BaseDesignIntf::BorderSide::BottomLine:
{
ui->bottomLine->setChecked(check);
}break;
case LimeReport::BaseDesignIntf::BorderSide::LeftLine:
{
ui->leftLine->setChecked(check);
}break;
case LimeReport::BaseDesignIntf::BorderSide::RightLine:
{
ui->rightLine->setChecked(check);
}break;
}
}
void lrbordereditor::on_bottomLine_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::BottomLine,ui->bottomLine->isChecked());
}
void lrbordereditor::on_leftLine_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::LeftLine,ui->leftLine->isChecked());
}
void lrbordereditor::on_toolButton_3_clicked()
{
emit ui->borderFrame->borderSideClicked(LimeReport::BaseDesignIntf::BorderSide::RightLine,ui->rightLine->isChecked());
}

View File

@ -0,0 +1,56 @@
#ifndef LRBORDEREDITOR_H
#define LRBORDEREDITOR_H
#include <QDialog>
#include "lrbasedesignintf.h"
namespace Ui {
class lrbordereditor;
}
class lrbordereditor : public QDialog
{
Q_OBJECT
public:
explicit lrbordereditor(QWidget *parent = nullptr);
void loadItem(LimeReport::BaseDesignIntf *i);
LimeReport::BaseDesignIntf::BorderLines borderSides();
LimeReport::BaseDesignIntf::BorderStyle border_style();
QString borderColor();
double border_width();
~lrbordereditor();
private slots:
void on_listWidget_currentRowChanged(int currentRow);
void on_comboBox_currentTextChanged(const QString &arg1);
void on_pushButton_clicked();
void on_toolButton_4_clicked();
void on_noLines_clicked();
void on_topLine_clicked();
void checkToolButtons(int side, bool check);
void on_bottomLine_clicked();
void on_leftLine_clicked();
void on_toolButton_3_clicked();
private:
Ui::lrbordereditor *ui;
LimeReport::BaseDesignIntf *item;
QString border_color;
int borderStyle = 1;
double borderWidth = 1;
};
#endif // LRBORDEREDITOR_H

View File

@ -0,0 +1,389 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>lrbordereditor</class>
<widget class="QDialog" name="lrbordereditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>381</width>
<height>311</height>
</rect>
</property>
<property name="windowTitle">
<string>Edit border</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Presets</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QToolButton" name="noLines">
<property name="text">
<string>No lines</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/noLines</normaloff>:/report/images/noLines</iconset>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_4">
<property name="text">
<string>Outline</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/allLines</normaloff>:/report/images/allLines</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Border</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QToolButton" name="topLine">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/topLine</normaloff>:/report/images/topLine</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="bottomLine">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/bottomLine</normaloff>:/report/images/bottomLine</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="BorderFrameEditor" name="borderFrame" native="true"/>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="leftLine">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/leftLine</normaloff>:/report/images/leftLine</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="rightLine">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../report.qrc">
<normaloff>:/report/images/rightLine</normaloff>:/report/images/rightLine</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>Style</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QListWidget" name="listWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>125</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>125</width>
<height>16777215</height>
</size>
</property>
<property name="currentRow">
<number>1</number>
</property>
<item>
<property name="text">
<string>No style</string>
</property>
</item>
<item>
<property name="text">
<string>Solid</string>
</property>
</item>
<item>
<property name="text">
<string>Dash</string>
</property>
</item>
<item>
<property name="text">
<string>Dot</string>
</property>
</item>
<item>
<property name="text">
<string>Dash dot</string>
</property>
</item>
<item>
<property name="text">
<string>Dash dot dot</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Width:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox">
<property name="editable">
<bool>true</bool>
</property>
<property name="currentText">
<string>1</string>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>0.25</string>
</property>
</item>
<item>
<property name="text">
<string>0.5</string>
</property>
</item>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>1.5</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="styleSheet">
<string notr="true">#pushButton{background-color: black;}</string>
</property>
<property name="text">
<string>Select...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>BorderFrameEditor</class>
<extends>QWidget</extends>
<header>borderframeeditor.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../report.qrc"/>
<include location="../report.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>lrbordereditor</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>253</x>
<y>255</y>
</hint>
<hint type="destinationlabel">
<x>219</x>
<y>275</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>lrbordereditor</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>258</y>
</hint>
<hint type="destinationlabel">
<x>345</x>
<y>277</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -0,0 +1,104 @@
#include "lrpageeditor.h"
#include "ui_lrpageeditor.h"
#include "lrpagedesignintf.h"
#include <QPushButton>
#include <QPageSize>
lrpageeditor::lrpageeditor(QWidget *parent, LimeReport::PageItemDesignIntf *page) :
QDialog(parent),
ui(new Ui::lrpageeditor)
{
ui->setupUi(this);
m_page = page;
//Paper
QMetaEnum pageSizes = page->metaObject()->property(page->metaObject()->indexOfProperty("pageSize")).enumerator();
for (int i=0;i<pageSizes.keyCount();i++){
ui->format->addItem(pageSizes.key(i));
}
ui->format->setCurrentIndex(m_page->pageSize());
ui->width->setValue(m_page->width() / LimeReport::Const::mmFACTOR);
ui->height->setValue(m_page->height() / LimeReport::Const::mmFACTOR);
ui->portrait->setChecked(m_page->pageOrientation() == LimeReport::PageItemDesignIntf::Portrait);
ui->landscape->setChecked(m_page->pageOrientation() == LimeReport::PageItemDesignIntf::Landscape);
//Margins
ui->marginTop->setValue(m_page->topMargin());
ui->marginRight->setValue(m_page->rightMargin());
ui->marginLeft->setValue(m_page->leftMargin());
ui->marginBottom->setValue(m_page->bottomMargin());
ui->dropPrinterMargins->setChecked(m_page->dropPrinterMargins());
//Other
ui->endlessHeight->setChecked(m_page->endlessHeight());
ui->extendedHeight->setValue(m_page->extendedHeight());
ui->fullPage->setChecked(m_page->fullPage());
}
lrpageeditor::~lrpageeditor()
{
delete ui;
}
void lrpageeditor::applyChanges()
{
m_page->setPageSize(static_cast<LimeReport::PageItemDesignIntf::PageSize>(ui->format->currentIndex()));
m_page->setWidth(ui->width->value()* LimeReport::Const::mmFACTOR);
m_page->setHeight(ui->height->value()* LimeReport::Const::mmFACTOR);
m_page->setPageOrientation(ui->portrait->isChecked()?LimeReport::PageItemDesignIntf::Portrait : LimeReport::PageItemDesignIntf::Landscape);
m_page->setTopMargin(ui->marginTop->value());
m_page->setBottomMargin(ui->marginBottom->value());
m_page->setRightMargin(ui->marginRight->value());
m_page->setLeftMargin(ui->marginLeft->value());
m_page->setDropPrinterMargins(ui->dropPrinterMargins->isChecked());
ui->endlessHeight->setChecked(ui->endlessHeight->isChecked());
m_page->setExtendedHeight(ui->extendedHeight->value());
}
void lrpageeditor::on_buttonBox_accepted()
{
applyChanges();
accept();
}
QSizeF lrpageeditor::getRectByPageSize(const LimeReport::PageItemDesignIntf::PageSize& size)
{
if (size != LimeReport::PageItemDesignIntf::Custom) {
QPrinter printer;
printer.setOutputFormat(QPrinter::PdfFormat);
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 1))
printer.setOrientation(ui->portrait->isChecked()?QPrinter::Portrait : QPrinter::Landscape);
printer.setPaperSize((QPrinter::PageSize)size);
return QSizeF(printer.paperSize(QPrinter::Millimeter).width() * 10,
printer.paperSize(QPrinter::Millimeter).height() * 10);
#else
QPageSize pageSize = QPageSize((QPageSize::PageSizeId)size);
qreal width = pageSize.size(QPageSize::Millimeter).width() * 10;
qreal height = pageSize.size(QPageSize::Millimeter).height() * 10;
return QSizeF(pageOrientation() == Portrait ? width : height,
pageOrientation() == Portrait ? height : width);
// printer.setPageOrientation((QPageLayout::Orientation)pageOrientation());
// printer.setPageSize(QPageSize((QPageSize::PageSizeId)size));
// return QSizeF(printer.pageLayout().pageSize().size(QPageSize::Millimeter).width() * 10,
// printer.pageLayout().pageSize().size(QPageSize::Millimeter).height() * 10);
#endif
}
else {
return QSizeF(width(),height());
}
}
void lrpageeditor::on_format_currentIndexChanged(int index)
{
QPageSize ps = *new QPageSize();
if(ui->format->currentText() != "Custom")
{
QSizeF pageSize = getRectByPageSize(static_cast<LimeReport::PageItemDesignIntf::PageSize>(index));
ui->width->setValue(pageSize.width()/10);
ui->height->setValue(pageSize.height()/10);
}
}

View File

@ -0,0 +1,31 @@
#ifndef LRPAGEEDITOR_H
#define LRPAGEEDITOR_H
#include <QDialog>
#include "lrpageitemdesignintf.h"
#include <QPushButton>
namespace Ui {
class lrpageeditor;
}
class lrpageeditor : public QDialog
{
Q_OBJECT
public:
explicit lrpageeditor(QWidget *parent = nullptr,LimeReport::PageItemDesignIntf *page = nullptr);
~lrpageeditor();
private slots:
void on_buttonBox_accepted();
void on_format_currentIndexChanged(int index);
private:
Ui::lrpageeditor *ui;
LimeReport::PageItemDesignIntf* m_page;
void applyChanges();
QSizeF getRectByPageSize(const LimeReport::PageItemDesignIntf::PageSize& size);
};
#endif // LRPAGEEDITOR_H

View File

@ -0,0 +1,341 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>lrpageeditor</class>
<widget class="QDialog" name="lrpageeditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>306</width>
<height>322</height>
</rect>
</property>
<property name="windowTitle">
<string>Page setup</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Paper</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Format</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="format"/>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Dimension</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Width:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="width">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="showGroupSeparator" stdset="0">
<bool>true</bool>
</property>
<property name="suffix">
<string> mm</string>
</property>
<property name="maximum">
<double>99999999999999991611392.000000000000000</double>
</property>
<property name="singleStep">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Height:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="height">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="showGroupSeparator" stdset="0">
<bool>true</bool>
</property>
<property name="suffix">
<string> mm</string>
</property>
<property name="maximum">
<double>99999999999999991611392.000000000000000</double>
</property>
<property name="singleStep">
<double>10.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Orientation</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QRadioButton" name="portrait">
<property name="text">
<string>Portrait</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="landscape">
<property name="text">
<string>Landscape</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Margins</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="2">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Bottom:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Top:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Right:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="marginTop">
<property name="suffix">
<string> mm</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="marginLeft">
<property name="suffix">
<string> mm</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QDoubleSpinBox" name="marginRight">
<property name="suffix">
<string> mm</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Left:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QDoubleSpinBox" name="marginBottom">
<property name="suffix">
<string> mm</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="4">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="3" column="0" colspan="4">
<widget class="QCheckBox" name="dropPrinterMargins">
<property name="text">
<string>Drop printer margins</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Other</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Height options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="endlessHeight">
<property name="text">
<string>Endless Height</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="horizontalFrame">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Extended Height:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="extendedHeight">
<property name="maximum">
<double>99999999.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fullPage">
<property name="text">
<string>Full page</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>lrpageeditor</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>325</x>
<y>312</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>endlessHeight</sender>
<signal>clicked(bool)</signal>
<receiver>horizontalFrame</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>60</x>
<y>50</y>
</hint>
<hint type="destinationlabel">
<x>130</x>
<y>85</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -78,12 +78,15 @@ SOURCES += \
$$REPORT_PATH/lrreporttranslation.cpp \
$$REPORT_PATH/exporters/lrpdfexporter.cpp \
$$REPORT_PATH/lraxisdata.cpp \
$$REPORT_PATH/lrpreparedpages.cpp
$$REPORT_PATH/lrpreparedpages.cpp \
$$REPORT_PATH/items/lrpageeditor.cpp \
$$REPORT_PATH/items/borderframeeditor.cpp \
$$REPORT_PATH/items/lrbordereditor.cpp
CONFIG(staticlib) {
SOURCES += $$REPORT_PATH/lrfactoryinitializer.cpp
}
CONFIG(zint) {
SOURCES += $$REPORT_PATH/items/lrbarcodeitem.cpp
}
@ -146,7 +149,7 @@ HEADERS += \
$$REPORT_PATH/lrcollection.h \
$$REPORT_PATH/lrpagedesignintf.h \
$$REPORT_PATH/lrreportengine_p.h \
$$REPORT_PATH/lrdatasourcemanager.h \
$$REPORT_PATH/lrdatasourcemanager.h \
$$REPORT_PATH/lrreportrender.h \
$$REPORT_PATH/lrpreviewreportwindow.h \
$$REPORT_PATH/lrpreviewreportwidget.h \
@ -172,11 +175,14 @@ HEADERS += \
$$REPORT_PATH/lrreporttranslation.h \
$$REPORT_PATH/lrreportdesignwindowintrerface.h \
$$REPORT_PATH/lrexporterintf.h \
$$REPORT_PATH/lrexportersfactory.h \
$$REPORT_PATH/lrexportersfactory.h \
$$REPORT_PATH/exporters/lrpdfexporter.h \
$$REPORT_PATH/lrpreparedpages.h \
$$REPORT_PATH/lraxisdata.h \
$$REPORT_PATH/lrpreparedpagesintf.h
$$REPORT_PATH/lrpreparedpagesintf.h \
$$REPORT_PATH/items/lrpageeditor.h \
$$REPORT_PATH/items/borderframeeditor.h \
$$REPORT_PATH/items/lrbordereditor.h
CONFIG(staticlib) {
HEADERS += $$REPORT_PATH/lrfactoryinitializer.h
@ -199,7 +205,10 @@ FORMS += \
$$REPORT_PATH/items/lrchartitemeditor.ui \
$$REPORT_PATH/items/lrchartaxiseditor.ui \
$$REPORT_PATH/items/lrimageitemeditor.ui \
$$REPORT_PATH/scripteditor/lrscripteditor.ui
$$REPORT_PATH/scripteditor/lrscripteditor.ui \
$$REPORT_PATH/items/lrpageeditor.ui \
$$REPORT_PATH/items/borderframeeditor.ui \
$$REPORT_PATH/items/lrbordereditor.ui
RESOURCES += \
$$REPORT_PATH/report.qrc \

View File

@ -72,16 +72,16 @@ win32 {
}
QMAKE_POST_LINK += $$QMAKE_COPY_DIR \"$${DEST_INCLUDE_DIR}\" \"$${DESTDIR}\"
} else {
EXTRA_FILES ~= s,/,\\,g
BUILD_DIR ~= s,/,\\,g
DEST_DIR = $$DESTDIR/include
DEST_DIR ~= s,/,\\,g
DEST_INCLUDE_DIR ~= s,/,\\,g
EXTRA_FILES ~= s,/,\\,g
BUILD_DIR ~= s,/,\\,g
DEST_DIR = $$DESTDIR/include
DEST_DIR ~= s,/,\\,g
DEST_INCLUDE_DIR ~= s,/,\\,g
for(FILE,EXTRA_FILES) {
QMAKE_POST_LINK += $$QMAKE_COPY \"$$FILE\" \"$${DEST_INCLUDE_DIR}\" $$escape_expand(\\n\\t)
}
QMAKE_POST_LINK += $$QMAKE_COPY_DIR \"$${DEST_INCLUDE_DIR}\" \"$${DEST_DIR}\"
QMAKE_POST_LINK += $$QMAKE_COPY \"$$FILE\" \"$${DEST_INCLUDE_DIR}\" $$escape_expand(\\n\\t)
}
QMAKE_POST_LINK += $$QMAKE_COPY_DIR \"$${DEST_INCLUDE_DIR}\" \"$${DEST_DIR}\"
}
}
@ -139,3 +139,4 @@ CONFIG(build_translations) {
}
#### EN AUTOMATIC TRANSLATIONS

View File

@ -60,7 +60,7 @@ void BandMarker::paint(QPainter *painter, const QStyleOptionGraphicsItem* /**opt
boundingRect().bottomLeft().y()-4,
boundingRect().width(),4), Qt::lightGray
);
qDebug()<<boundingRect().width();
painter->setRenderHint(QPainter::Antialiasing);
qreal size = (boundingRect().width()<boundingRect().height()) ? boundingRect().width() : boundingRect().height();
QRectF r = QRectF(0,0,size,size);
@ -186,7 +186,7 @@ BandDesignIntf::BandDesignIntf(BandsType bandType, const QString &xmlTypeName, Q
m_bandMarker = new BandMarker(this);
m_bandMarker->setColor(Qt::magenta);
m_bandMarker->setHeight(height());
m_bandMarker->setPos(pos().x()-m_bandMarker->width(),pos().y());
m_bandMarker->setPos(pos().x()-m_bandMarker->width() - (itemMode() == ItemModes::PrintMode?boundingRect().width() : 0),pos().y());
if (scene()) scene()->addItem(m_bandMarker);
m_bandNameLabel = new BandNameLabel(this);
@ -818,7 +818,7 @@ BandDesignIntf* BandDesignIntf::findParentBand()
void BandDesignIntf::updateBandMarkerGeometry()
{
if (parentItem() && m_bandMarker){
m_bandMarker->setPos(pos().x()-m_bandMarker->width(),pos().y());
m_bandMarker->setPos(pos().x()-m_bandMarker->width() - (itemMode() == ItemModes::PrintMode?boundingRect().width() : 0),pos().y());
m_bandMarker->setHeight(rect().height());
}
}
@ -839,7 +839,7 @@ QVariant BandDesignIntf::itemChange(QGraphicsItem::GraphicsItemChange change, co
{
if ((change==ItemPositionChange)&&((itemMode()&DesignMode)||(itemMode()&EditMode))){
if (m_bandMarker){
m_bandMarker->setPos((value.toPointF().x()-m_bandMarker->boundingRect().width()),
m_bandMarker->setPos((value.toPointF().x()-m_bandMarker->boundingRect().width() - (itemMode() == ItemModes::PrintMode?boundingRect().width() : 0)),
value.toPointF().y());
}
}
@ -1142,7 +1142,7 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p
restoreLinks();
snapshotItemsLayout();
arrangeSubItems(pass, dataManager);
arrangeSubItems(pass, dataManager);
if (autoHeight()){
if (!keepTopSpace()) {
qreal minTop = findMinTop() + m_shiftItems;

View File

@ -37,7 +37,7 @@
#include "lrhorizontallayout.h"
#include "serializators/lrstorageintf.h"
#include "serializators/lrxmlreader.h"
#include "lrbordereditor.h"
#include <memory>
#include <QMetaObject>
#include <QGraphicsSceneMouseEvent>
@ -1068,10 +1068,10 @@ void BaseDesignIntf::drawTopLine(QPainter *painter, QRectF rect) const
painter->setPen(borderPen(TopLine));
painter->drawLine(rect.x(), rect.y(), rect.width(), rect.y());
if(borderStyle() == BorderStyle::Doubled)
painter->drawLine(rect.x()+6+m_borderLineSize,
rect.y()+6+m_borderLineSize,
rect.width()-6-m_borderLineSize,
rect.y()+6+m_borderLineSize);
painter->drawLine(rect.x()+3+m_borderLineSize,
rect.y()+3+m_borderLineSize,
rect.width()-3-m_borderLineSize,
rect.y()+3+m_borderLineSize);
}
void BaseDesignIntf::drawBootomLine(QPainter *painter, QRectF rect) const
@ -1082,10 +1082,10 @@ void BaseDesignIntf::drawBootomLine(QPainter *painter, QRectF rect) const
painter->setPen(borderPen(BottomLine));
painter->drawLine(rect.x(), rect.height(), rect.width(), rect.height());
if(borderStyle() == BorderStyle::Doubled)
painter->drawLine(rect.x()+6+m_borderLineSize,
rect.height()-6-m_borderLineSize,
rect.width()-6-m_borderLineSize,
rect.height()-6-m_borderLineSize);
painter->drawLine(rect.x()+3+m_borderLineSize,
rect.height()-3-m_borderLineSize,
rect.width()-3-m_borderLineSize,
rect.height()-3-m_borderLineSize);
}
void BaseDesignIntf::drawRightLine(QPainter *painter, QRectF rect) const
@ -1096,10 +1096,10 @@ void BaseDesignIntf::drawRightLine(QPainter *painter, QRectF rect) const
painter->drawLine(rect.width(), rect.y(), rect.width(), rect.height());
if(borderStyle() == BorderStyle::Doubled)
painter->drawLine(rect.width()-6 - m_borderLineSize,
rect.y()+6+m_borderLineSize,
rect.width()-6-m_borderLineSize,
rect.height()-6-m_borderLineSize);
painter->drawLine(rect.width()-3 - m_borderLineSize,
rect.y()+3+m_borderLineSize,
rect.width()-3-m_borderLineSize,
rect.height()-3-m_borderLineSize);
}
void BaseDesignIntf::drawLeftLine(QPainter *painter, QRectF rect) const
@ -1109,10 +1109,10 @@ void BaseDesignIntf::drawLeftLine(QPainter *painter, QRectF rect) const
painter->setPen(borderPen(LeftLine));
painter->drawLine(rect.x(), rect.y(), rect.x(), rect.height());
if(borderStyle() == BorderStyle::Doubled)
painter->drawLine(rect.x()+6+m_borderLineSize,
rect.y()+6+m_borderLineSize,
rect.x()+6+m_borderLineSize,
rect.height()-6-m_borderLineSize);
painter->drawLine(rect.x()+3+m_borderLineSize,
rect.y()+3+m_borderLineSize,
rect.x()+3+m_borderLineSize,
rect.height()-3-m_borderLineSize);
}
void BaseDesignIntf::drawDesignModeBorder(QPainter *painter, QRectF rect) const
@ -1477,6 +1477,7 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
menu.addSeparator();
QAction* noBordersAction = menu.addAction(QIcon(":/report/images/noLines"), tr("No borders"));
QAction* allBordersAction = menu.addAction(QIcon(":/report/images/allLines"), tr("All borders"));
QAction* editBorderAction = menu.addAction(QIcon(":/report/images/allLines"), tr("Edit borders..."));
preparePopUpMenu(menu);
QAction* a = menu.exec(event->screenPos());
if (a){
@ -1497,6 +1498,16 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
page->setBorders(BaseDesignIntf::NoLine);
if (a == allBordersAction)
page->setBorders(BaseDesignIntf::AllLines);
if(a == editBorderAction)
{
lrbordereditor be;
be.loadItem(this);
if(be.exec() == QDialog::Rejected)return;
setBorderLinesFlags(be.borderSides());
setBorderLineSize(be.border_width());
setBorderStyle((LimeReport::BaseDesignIntf::BorderStyle)be.border_style());
setBorderColor(be.borderColor());
}
if (a == createHLayout)
page->addHLayout();
if (a == createVLayout)

View File

@ -102,8 +102,9 @@ public:
enum BGMode { TransparentMode, OpaqueMode};
enum BorderStyle { NoStyle = Qt::NoPen,
Solid = Qt::SolidLine,
Dot = Qt::DotLine,
Dashed = Qt::DashLine,
Dot = Qt::DotLine,
DashDot = Qt::DashDotLine,
DashDotDot = Qt::DashDotDotLine,
Doubled = 7

View File

@ -34,7 +34,7 @@
#include <QGraphicsScene>
#include <QPrinter>
#include <QMenu>
#include <lrpageeditor.h>
namespace LimeReport {
bool bandSortBandLessThenByIndex(const BandDesignIntf *c1, const BandDesignIntf *c2){
@ -770,10 +770,15 @@ void PageItemDesignIntf::initPageSize(const QSizeF& size)
void PageItemDesignIntf::preparePopUpMenu(QMenu &menu)
{
foreach (QAction* action, menu.actions()) {
if (action->text().compare(tr("Paste")) != 0)
action->setVisible(false);
}
menu.addSeparator();
menu.addAction(tr("Edit"));
menu.addSeparator();
@ -821,6 +826,11 @@ void PageItemDesignIntf::processPopUpAction(QAction *action)
if (action->text().compare(tr("Mix with prior page")) == 0){
page()->setPropertyToSelectedItems("mixWithPriorPage",action->isChecked());
}
if(action->text() == tr("Edit"))
{
lrpageeditor pageEdit(NULL,this);
pageEdit.exec();
}
}
void PageItemDesignIntf::initPageSize(const PageItemDesignIntf::PageSize &size)

View File

@ -152,7 +152,6 @@ void PreviewReportWidget::initPreview()
ui->graphicsView->centerOn(0, 0);
ui->graphicsView->scene()->setBackgroundBrush(QColor(m_previewPageBackgroundColor));
setScalePercent(d_ptr->m_scalePercent);
qDebug()<<d_ptr->m_scalePercent;
PageDesignIntf* page = dynamic_cast<PageDesignIntf*>(ui->graphicsView->scene());
if (page)
connect(page, SIGNAL(itemInserted(LimeReport::PageDesignIntf*, QPointF, QString)),

View File

@ -8,6 +8,17 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -504,6 +515,10 @@ p, li { white-space: pre-wrap; }
<source>Create Vertical Layout</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1288,6 +1303,10 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation>محاط بإطار</translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1384,6 +1403,10 @@ p, li { white-space: pre-wrap; }
<source>Mix with prior page</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit</source>
<translation type="unfinished">تحرير</translation>
</message>
</context>
<context>
<name>LimeReport::PreviewReportWidget</name>
@ -3374,4 +3397,194 @@ This preview is no longer valid.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Format</source>
<translation type="unfinished">الصيغة</translation>
</message>
<message>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portrait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Landscape</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Full page</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -8,6 +8,17 @@
<translation></translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -632,6 +643,10 @@ p, li { white-space: pre-wrap; }
<source>Lock item geometry</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1416,6 +1431,10 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation>Todos los bordes</translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1512,6 +1531,10 @@ p, li { white-space: pre-wrap; }
<source>Mix with prior page</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit</source>
<translation type="unfinished">Editar</translation>
</message>
</context>
<context>
<name>LimeReport::PreviewReportWidget</name>
@ -3504,4 +3527,194 @@ Esta vista previa ya no es válida.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Format</source>
<translation type="unfinished">Formato</translation>
</message>
<message>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portrait</source>
<translation type="unfinished">Retrato</translation>
</message>
<message>
<source>Landscape</source>
<translation type="unfinished">Apaisado (Horizontal)</translation>
</message>
<message>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Full page</source>
<translation type="unfinished">Página completa</translation>
</message>
<message>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -9,6 +9,19 @@
<translation></translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<location filename="../limereport/items/borderframeeditor.ui" line="20"/>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/borderframeeditor.cpp" line="37"/>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -555,7 +568,7 @@ p, li { white-space: pre-wrap; }
<name>LimeReport::BaseDesignIntf</name>
<message>
<location filename="../limereport/lrbasedesignintf.cpp" line="1447"/>
<location filename="../limereport/lrbasedesignintf.cpp" line="1875"/>
<location filename="../limereport/lrbasedesignintf.cpp" line="1886"/>
<source>Lock item geometry</source>
<translation>Verrouiller la géométrie d&apos;un élément</translation>
</message>
@ -604,6 +617,11 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation>Toutes les bordures</translation>
</message>
<message>
<location filename="../limereport/lrbasedesignintf.cpp" line="1480"/>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1581,35 +1599,40 @@ p, li { white-space: pre-wrap; }
<context>
<name>LimeReport::ItemsBordersEditorWidget</name>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="82"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="95"/>
<source>Top line</source>
<translation>ligne haute</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="88"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="101"/>
<source>Bottom line</source>
<translation>Ligne basse</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="94"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="107"/>
<source>Left line</source>
<translation>Ligne gauche</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="100"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="113"/>
<source>Right line</source>
<translation>Ligne droite</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="108"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="121"/>
<source>No borders</source>
<translation>Aucune bordure</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="113"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="126"/>
<source>All borders</source>
<translation>Toutes les bordures</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="131"/>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1697,37 +1720,43 @@ p, li { white-space: pre-wrap; }
<context>
<name>LimeReport::PageItemDesignIntf</name>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="774"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="780"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="829"/>
<source>Edit</source>
<translation type="unfinished">Edition</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="776"/>
<source>Paste</source>
<translation>Coller</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="780"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="808"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="785"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="813"/>
<source>Page is TOC</source>
<translation>Table de contenus</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="784"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="811"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="789"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="816"/>
<source>Reset page number</source>
<translation>Réinitialiser le numéro de page</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="788"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="814"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="793"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="819"/>
<source>Full page</source>
<translation>Page entière</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="792"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="817"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="797"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="822"/>
<source>Set page size to printer</source>
<translation>Adapterr la taille de la page à l&apos;imprimante</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="796"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="821"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="801"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="826"/>
<source>Mix with prior page</source>
<translation type="unfinished"></translation>
</message>
@ -1745,7 +1774,7 @@ p, li { white-space: pre-wrap; }
<translation>%1 nom de fichier</translation>
</message>
<message>
<location filename="../limereport/lrpreviewreportwidget.cpp" line="290"/>
<location filename="../limereport/lrpreviewreportwidget.cpp" line="289"/>
<source>Report file name</source>
<translation>Nom du fichier du rapport</translation>
</message>
@ -4357,4 +4386,249 @@ Cet aperçu n&apos;est plus valide.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="191"/>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="219"/>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="224"/>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="252"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="262"/>
<location filename="../limereport/items/lrbordereditor.ui" line="279"/>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="327"/>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="269"/>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="229"/>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="234"/>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="239"/>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="244"/>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="274"/>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="284"/>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="289"/>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="294"/>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="299"/>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="304"/>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="309"/>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="317"/>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="22"/>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="14"/>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="31"/>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="51"/>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="68"/>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="81"/>
<location filename="../limereport/items/lrbordereditor.ui" line="108"/>
<location filename="../limereport/items/lrbordereditor.ui" line="129"/>
<location filename="../limereport/items/lrbordereditor.ui" line="156"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="14"/>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="24"/>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="32"/>
<source>Format</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="44"/>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="50"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="66"/>
<location filename="../limereport/items/lrpageeditor.ui" line="95"/>
<location filename="../limereport/items/lrpageeditor.ui" line="165"/>
<location filename="../limereport/items/lrpageeditor.ui" line="172"/>
<location filename="../limereport/items/lrpageeditor.ui" line="179"/>
<location filename="../limereport/items/lrpageeditor.ui" line="193"/>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="79"/>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="111"/>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="117"/>
<source>Portrait</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="127"/>
<source>Landscape</source>
<translation type="unfinished">Paysage</translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="138"/>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="144"/>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="151"/>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="158"/>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="186"/>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="207"/>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="228"/>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="234"/>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="240"/>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="253"/>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="273"/>
<source>Full page</source>
<translation type="unfinished">Page entière</translation>
</message>
</context>
</TS>

View File

@ -9,6 +9,19 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<location filename="../limereport/items/borderframeeditor.ui" line="20"/>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/borderframeeditor.cpp" line="37"/>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -567,7 +580,7 @@ p, li { white-space: pre-wrap; }
<name>LimeReport::BaseDesignIntf</name>
<message>
<location filename="../limereport/lrbasedesignintf.cpp" line="1447"/>
<location filename="../limereport/lrbasedesignintf.cpp" line="1875"/>
<location filename="../limereport/lrbasedesignintf.cpp" line="1886"/>
<source>Lock item geometry</source>
<translation>Zablokuj geometrię pozycji</translation>
</message>
@ -616,6 +629,11 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation>Pełne obramowanie</translation>
</message>
<message>
<location filename="../limereport/lrbasedesignintf.cpp" line="1480"/>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1593,35 +1611,40 @@ p, li { white-space: pre-wrap; }
<context>
<name>LimeReport::ItemsBordersEditorWidget</name>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="82"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="95"/>
<source>Top line</source>
<translation>Górna krawędź</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="88"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="101"/>
<source>Bottom line</source>
<translation>Dolna krawędź</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="94"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="107"/>
<source>Left line</source>
<translation>Lewa krawędź</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="100"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="113"/>
<source>Right line</source>
<translation>Prawa krawędź</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="108"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="121"/>
<source>No borders</source>
<translation>Bez krawędzi</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="113"/>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="126"/>
<source>All borders</source>
<translation>Wszystkie krawędzie</translation>
</message>
<message>
<location filename="../limereport/items/editors/lritemsborderseditorwidget.cpp" line="131"/>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1709,37 +1732,43 @@ p, li { white-space: pre-wrap; }
<context>
<name>LimeReport::PageItemDesignIntf</name>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="774"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="780"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="829"/>
<source>Edit</source>
<translation type="unfinished">Edycja</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="776"/>
<source>Paste</source>
<translation>Wklej</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="780"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="808"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="785"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="813"/>
<source>Page is TOC</source>
<translation>Strona to spis treści</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="784"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="811"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="789"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="816"/>
<source>Reset page number</source>
<translation>Zresetuj numer strony</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="788"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="814"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="793"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="819"/>
<source>Full page</source>
<translation>Cała strona</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="792"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="817"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="797"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="822"/>
<source>Set page size to printer</source>
<translation>Ustaw rozmiar strony na drukarkę</translation>
</message>
<message>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="796"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="821"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="801"/>
<location filename="../limereport/lrpageitemdesignintf.cpp" line="826"/>
<source>Mix with prior page</source>
<translation type="unfinished"></translation>
</message>
@ -1757,7 +1786,7 @@ p, li { white-space: pre-wrap; }
<translation>%1 nazwa pliku</translation>
</message>
<message>
<location filename="../limereport/lrpreviewreportwidget.cpp" line="290"/>
<location filename="../limereport/lrpreviewreportwidget.cpp" line="289"/>
<source>Report file name</source>
<translation>Nazwa pliku raportu</translation>
</message>
@ -4369,4 +4398,249 @@ Ten podgląd nie jest już prawidłowy.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="191"/>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="219"/>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="224"/>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="252"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="262"/>
<location filename="../limereport/items/lrbordereditor.ui" line="279"/>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="327"/>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="269"/>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="229"/>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="234"/>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="239"/>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="244"/>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="274"/>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="284"/>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="289"/>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="294"/>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="299"/>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="304"/>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="309"/>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="317"/>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="22"/>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="14"/>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="31"/>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="51"/>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="68"/>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrbordereditor.ui" line="81"/>
<location filename="../limereport/items/lrbordereditor.ui" line="108"/>
<location filename="../limereport/items/lrbordereditor.ui" line="129"/>
<location filename="../limereport/items/lrbordereditor.ui" line="156"/>
<source>...</source>
<translation type="unfinished">...</translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="14"/>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="24"/>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="32"/>
<source>Format</source>
<translation type="unfinished">Format</translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="44"/>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="50"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="66"/>
<location filename="../limereport/items/lrpageeditor.ui" line="95"/>
<location filename="../limereport/items/lrpageeditor.ui" line="165"/>
<location filename="../limereport/items/lrpageeditor.ui" line="172"/>
<location filename="../limereport/items/lrpageeditor.ui" line="179"/>
<location filename="../limereport/items/lrpageeditor.ui" line="193"/>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="79"/>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="111"/>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="117"/>
<source>Portrait</source>
<translation type="unfinished">Portret</translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="127"/>
<source>Landscape</source>
<translation type="unfinished">Pejzaż</translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="138"/>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="144"/>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="151"/>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="158"/>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="186"/>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="207"/>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="228"/>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="234"/>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="240"/>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="253"/>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../limereport/items/lrpageeditor.ui" line="273"/>
<source>Full page</source>
<translation type="unfinished">Cała strona</translation>
</message>
</context>
</TS>

Binary file not shown.

View File

@ -8,6 +8,17 @@
<translation>$ClassName$</translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -509,6 +520,10 @@ p, li { white-space: pre-wrap; }
<source>Lock item geometry</source>
<translation>Заблокировать геометрию элемента</translation>
</message>
<message>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1293,6 +1308,10 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation>Все границы</translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1389,6 +1408,10 @@ p, li { white-space: pre-wrap; }
<source>Mix with prior page</source>
<translation>Смешивать с предыдущей страницей</translation>
</message>
<message>
<source>Edit</source>
<translation type="unfinished">Правка</translation>
</message>
</context>
<context>
<name>LimeReport::PreviewReportWidget</name>
@ -3379,4 +3402,194 @@ This preview is no longer valid.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished">...</translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Format</source>
<translation type="unfinished">Формат</translation>
</message>
<message>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portrait</source>
<translation type="unfinished">Портретная</translation>
</message>
<message>
<source>Landscape</source>
<translation type="unfinished">Альбомная</translation>
</message>
<message>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Full page</source>
<translation type="unfinished">На всю страницу</translation>
</message>
<message>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -8,6 +8,17 @@
<translation>$ClassName$</translation>
</message>
</context>
<context>
<name>BorderFrameEditor</name>
<message>
<source>BorderFrameEditor</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Text</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChartAxisEditor</name>
<message>
@ -516,6 +527,10 @@ p, li { white-space: pre-wrap; }
<source>Create Vertical Layout</source>
<translation></translation>
</message>
<message>
<source>Edit borders...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::ConnectionDesc</name>
@ -1300,6 +1315,10 @@ p, li { white-space: pre-wrap; }
<source>All borders</source>
<translation></translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::MasterDetailProxyModel</name>
@ -1396,6 +1415,10 @@ p, li { white-space: pre-wrap; }
<source>Mix with prior page</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LimeReport::PreviewReportWidget</name>
@ -3388,4 +3411,194 @@ This preview is no longer valid.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrbordereditor</name>
<message>
<source>Style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No style</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Solid</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Presets</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No lines</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Outline</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>...</source>
<translation type="unfinished">...</translation>
</message>
<message>
<source>Edit border</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.25</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>0.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>1.5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>2</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>5</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>6</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Color:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select...</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dash dot dot</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>lrpageeditor</name>
<message>
<source>Paper</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Format</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dimension</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source> mm</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Orientation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portrait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Landscape</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bottom:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Top:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Right:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Left:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Drop printer margins</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Other</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Height options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Endless Height</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Extended Height:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Full page</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Page setup</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>