Skip to content

Commit

Permalink
updating screenshots and resources
Browse files Browse the repository at this point in the history
also bugfixing the pdf printing
  • Loading branch information
stweise committed Dec 1, 2020
1 parent bb4c8eb commit 988a4be
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion graphicsscene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void GraphicsScene::print()
QPdfWriter pdfwriter(savefilename);
pdfwriter.setPageSize(QPageSize(QPageSize::A4));
pdfwriter.setPageMargins(QMargins(30, 30, 30, 30));
pdfwriter.setResolution(600);
pdfwriter.setResolution(300);
pdfwriter.setPageOrientation(QPageLayout::Landscape);
QPainter painter(&pdfwriter);
painter.setFont(QFont("Helvetica", 2));
Expand Down
Binary file modified resources/rico-cluster-qt-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/rico-cluster-qt-print.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions resources/rico-cluster-qt-save.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
"x": -485,
"y": -509
},
"nodelabel": "Node D"
"nodelabel": "Node D\nThis is it"
},
{
"ID": 4,
"nodecenter": {
"x": -45,
"y": -505
},
"nodelabel": "Node E"
"nodelabel": "Node E\nhas special size"
}
],
"version": 1
Expand Down
Binary file modified resources/rico-cluster-qt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 988a4be

Please sign in to comment.