mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
Change window sizePolicy
Change window sizePolicy from setFixedSize to setMinimumSize; Change icon name; Update part of translation.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <DMainWindow>
|
||||
#include "widget.h"
|
||||
|
||||
#include "widget.h"
|
||||
#include "globaldefine.h"
|
||||
|
||||
DWIDGET_USE_NAMESPACE
|
||||
@@ -17,7 +17,7 @@ public:
|
||||
QString szUrl = DEFAULT_URL,
|
||||
int nWidth = DEFAULT_WIDTH,
|
||||
int nHeight = DEFAULT_HEIGHT,
|
||||
QWidget *parent = 0);
|
||||
QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
void setIcon(QString);
|
||||
|
||||
Reference in New Issue
Block a user