1、优化QGraphicsView交互逻辑;
2、hdr文件添加byte order = 0;
This commit is contained in:
@ -22,6 +22,7 @@ public:
|
||||
|
||||
void SetImage(QPixmap *image);
|
||||
bool HasImage();
|
||||
void ensureSceneVisible();
|
||||
|
||||
void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE;
|
||||
void scaling(qreal scaleFactor);
|
||||
@ -29,7 +30,6 @@ public:
|
||||
void zoomIn(); // <20>Ŵ<EFBFBD>
|
||||
void zoomOut(); // <20><>С
|
||||
void zoom(float scaleFactor); // <20><><EFBFBD><EFBFBD> - scaleFactor<6F><72><EFBFBD>ŵı<C5B5><C4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
void translate(QPointF delta); // ƽ<><C6BD>
|
||||
|
||||
// ƽ<><C6BD><EFBFBD>ٶ<EFBFBD>
|
||||
void setTranslateSpeed(qreal speed);
|
||||
|
||||
Reference in New Issue
Block a user