mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: scale fonts when printing
This seem to work better, but it misses a couple of items at times (for example the highest label on some of the axis). Needs lots more testing. See #590 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2d77788cb2
commit
76a8e83a54
5 changed files with 30 additions and 4 deletions
|
|
@ -71,9 +71,12 @@ public:
|
|||
virtual bool eventFilter(QObject *, QEvent *);
|
||||
void setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *hAxis, DiveCartesianAxis *vAxis, DivePlotDataModel *model, int vData, int hData, int zValue);
|
||||
void setPrintMode(bool mode, bool grayscale = false);
|
||||
bool getPrintMode();
|
||||
bool isPointOutOfBoundaries(const QPointF &point) const;
|
||||
bool isPlanner();
|
||||
bool isAddOrPlanner();
|
||||
double getFontPrintScale();
|
||||
void setFontPrintScale(double scale);
|
||||
State currentState;
|
||||
|
||||
public
|
||||
|
|
@ -174,6 +177,7 @@ private:
|
|||
bool shouldCalculateMaxDepth;
|
||||
int maxtime;
|
||||
int maxdepth;
|
||||
double fontPrintScale;
|
||||
};
|
||||
|
||||
#endif // PROFILEWIDGET2_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue