support commandline arguments (passing file list only)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define GRAPHICSVIEW_H
|
||||
|
||||
#include <QGraphicsView>
|
||||
#include <QUrl>
|
||||
|
||||
class GraphicsScene;
|
||||
class GraphicsView : public QGraphicsView
|
||||
@@ -9,6 +10,8 @@ class GraphicsView : public QGraphicsView
|
||||
public:
|
||||
GraphicsView(QWidget *parent = nullptr);
|
||||
|
||||
void showFromUrlList(const QList<QUrl> &urlList);
|
||||
|
||||
void showImage(const QPixmap &pixmap);
|
||||
void showText(const QString &text);
|
||||
void showSvg(const QString &filepath);
|
||||
|
||||
Reference in New Issue
Block a user