support commandline arguments (passing file list only)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <QPropertyAnimation>
|
||||
#include <QPushButton>
|
||||
|
||||
class GraphicsView;
|
||||
class BottomButtonGroup;
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
@@ -15,6 +16,8 @@ public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow() override;
|
||||
|
||||
void showUrls(const QList<QUrl> &urls);
|
||||
|
||||
protected slots:
|
||||
void showEvent(QShowEvent *event) override;
|
||||
void mousePressEvent(QMouseEvent *event) override;
|
||||
@@ -34,6 +37,7 @@ private:
|
||||
QPropertyAnimation *m_floatUpAnimation;
|
||||
QParallelAnimationGroup *m_exitAnimationGroup;
|
||||
QPushButton *m_closeButton;
|
||||
GraphicsView *m_graphicsView;
|
||||
BottomButtonGroup *m_bottomButtonGroup;
|
||||
bool m_clickedOnWindow = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user