fix ports specific bugs
This commit is contained in:
1 parent
c30531e032
commit
80c329a697
3 files changed
+44
-6
No files matched your search
@@ -29,6 +29,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Dpi/DpiForms.h"
|
||||
#include "Dpi/DpiGraphics.h"
|
||||
|
||||
#include <QPoint>
|
||||
#include <QString>
|
||||
@@ -83,8 +84,9 @@ protected:
|
||||
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
// Pass preview=true to just measure how many lines the text needs
|
||||
// (fills `lines`) without drawing anything.
|
||||
void splitText(bool preview);
|
||||
// (fills `lines`) without drawing anything. Otherwise the text is drawn
|
||||
// on `target`.
|
||||
void splitText(bool preview, Dpi::Canvas *target = nullptr);
|
||||
void correctHeight();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user