mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
border width has been improved
This commit is contained in:
parent
b58ac7c53d
commit
cb66b1fd2a
@ -11,9 +11,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
QTranslator limeReportTranslator;
|
||||
QTranslator qtBaseTranslator;
|
||||
QTranslator qtDesignerTranslator;
|
||||
QTranslator qtLinguistTranslator;
|
||||
|
||||
QTranslator qtDesignerTranslator;
|
||||
QTranslator qtLinguistTranslator;
|
||||
|
||||
QString translationPath = QApplication::applicationDirPath();
|
||||
translationPath.append("/translations");
|
||||
Qt::LayoutDirection layoutDirection = QLocale::system().textDirection();
|
||||
@ -22,12 +22,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (limeReportTranslator.load("limereport_"+designerTranslation, translationPath)){
|
||||
qtBaseTranslator.load("qtbase_" + designerTranslation, translationPath);
|
||||
qtDesignerTranslator.load("designer_"+designerTranslation,translationPath);
|
||||
|
||||
qtDesignerTranslator.load("designer_"+designerTranslation,translationPath);
|
||||
|
||||
a.installTranslator(&qtBaseTranslator);
|
||||
a.installTranslator(&qtDesignerTranslator);
|
||||
a.installTranslator(&qtDesignerTranslator);
|
||||
a.installTranslator(&limeReportTranslator);
|
||||
|
||||
|
||||
Qt::LayoutDirection layoutDirection = QLocale(manager.getCurrentDefaultLanguage()).textDirection();
|
||||
a.setLayoutDirection(layoutDirection);
|
||||
}
|
||||
|
@ -426,6 +426,7 @@ void BaseDesignIntf::paint(QPainter *ppainter, const QStyleOptionGraphicsItem *o
|
||||
Q_UNUSED(option);
|
||||
Q_UNUSED(widget);
|
||||
ppainter->save();
|
||||
ppainter->setRenderHint(QPainter::HighQualityAntialiasing);
|
||||
setupPainter(ppainter);
|
||||
drawBorder(ppainter, rect());
|
||||
// if (m_joinMarkerOn) { drawMarker(ppainter, Const::JOIN_COLOR);}
|
||||
@ -1171,11 +1172,11 @@ QPen BaseDesignIntf::borderPen(BorderSide side/*, bool selected*/) const
|
||||
if (m_borderLinesFlags & side) {
|
||||
pen.setColor(m_borderColor);
|
||||
pen.setStyle(m_borderStyle);
|
||||
pen.setWidthF(m_borderLineSize * 1.33333333);
|
||||
pen.setWidthF(m_borderLineSize*1.333);
|
||||
} else {
|
||||
pen.setColor(Qt::darkGray);
|
||||
pen.setStyle(Qt::SolidLine);
|
||||
pen.setWidthF(1);
|
||||
pen.setWidth(1);
|
||||
}
|
||||
return pen;
|
||||
}
|
||||
|
@ -554,53 +554,53 @@ p, li { white-space: pre-wrap; }
|
||||
<context>
|
||||
<name>LimeReport::BaseDesignIntf</name>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1382"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1810"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1383"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1811"/>
|
||||
<source>Lock item geometry</source>
|
||||
<translation>Verrouiller la géométrie d'un élément</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1388"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1389"/>
|
||||
<source>Copy</source>
|
||||
<translation>Copier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1390"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1391"/>
|
||||
<source>Cut</source>
|
||||
<translation>Couper</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1392"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1393"/>
|
||||
<source>Paste</source>
|
||||
<translation>Coller</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1402"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1403"/>
|
||||
<source>Bring to top</source>
|
||||
<translation>Placer au premier-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1403"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1404"/>
|
||||
<source>Send to back</source>
|
||||
<translation>Placer en arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1406"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1407"/>
|
||||
<source>Create Horizontal Layout</source>
|
||||
<translation>Créer une disposition horizontale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1410"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1411"/>
|
||||
<source>Create Vertical Layout</source>
|
||||
<translation>Créer une disposition verticale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1413"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1414"/>
|
||||
<source>No borders</source>
|
||||
<translation>Aucune bordure</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1414"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1415"/>
|
||||
<source>All borders</source>
|
||||
<translation>Toutes les bordures</translation>
|
||||
</message>
|
||||
|
@ -566,53 +566,53 @@ p, li { white-space: pre-wrap; }
|
||||
<context>
|
||||
<name>LimeReport::BaseDesignIntf</name>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1382"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1810"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1383"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1811"/>
|
||||
<source>Lock item geometry</source>
|
||||
<translation>Zablokuj geometrię pozycji</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1388"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1389"/>
|
||||
<source>Copy</source>
|
||||
<translation>Kopiuj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1390"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1391"/>
|
||||
<source>Cut</source>
|
||||
<translation>Wytnij</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1392"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1393"/>
|
||||
<source>Paste</source>
|
||||
<translation>Wklej</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1402"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1403"/>
|
||||
<source>Bring to top</source>
|
||||
<translation>Przenieś na górę</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1403"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1404"/>
|
||||
<source>Send to back</source>
|
||||
<translation>Przenieś na dół</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1406"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1407"/>
|
||||
<source>Create Horizontal Layout</source>
|
||||
<translation>Utwórz układ poziomy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1410"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1411"/>
|
||||
<source>Create Vertical Layout</source>
|
||||
<translation>Utwórz układ pionowy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1413"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1414"/>
|
||||
<source>No borders</source>
|
||||
<translation>Bez obramowania</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1414"/>
|
||||
<location filename="../limereport/lrbasedesignintf.cpp" line="1415"/>
|
||||
<source>All borders</source>
|
||||
<translation>Pełne obramowanie</translation>
|
||||
</message>
|
||||
|
Loading…
Reference in New Issue
Block a user