mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-18 09:02:21 +08:00
SparkProject
This commit is contained in:
parent
68269577c0
commit
147258a7ac
@ -1,7 +1,7 @@
|
|||||||
# 深度社区应用商店
|
# 星火商店
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
deepin社区商店,由社区维护
|
星火商店商店,由深度社区维护
|
||||||
web页面部分正在开发当中,详情请见[web仓库](https://gitee.com/deepin-community-store/DCSAPP_WEB)
|
web页面部分正在开发当中,详情请见[web仓库](https://gitee.com/deepin-community-store/DCSAPP_WEB)
|
||||||
|
|
||||||
#### 说明
|
#### 说明
|
||||||
|
11
main.cpp
11
main.cpp
@ -7,15 +7,14 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
DApplication::loadDXcbPlugin(); //让bar处在标题栏中
|
DApplication::loadDXcbPlugin(); //让bar处在标题栏中
|
||||||
DApplication a(argc, argv);
|
DApplication a(argc, argv);
|
||||||
|
|
||||||
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
a.loadTranslator();
|
a.loadTranslator();
|
||||||
a.setOrganizationName("deepin");
|
a.setOrganizationName("community");
|
||||||
a.setApplicationVersion(DApplication::buildVersion("1.0-beta3"));
|
a.setApplicationVersion(DApplication::buildVersion("1.0-beta3.2"));
|
||||||
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/deepin-community-store");
|
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/deepin-community-store");
|
||||||
a.setProductIcon(QIcon::fromTheme("deepin-community-store")); //设置Logo
|
a.setProductIcon(QIcon::fromTheme("spark-store")); //设置Logo
|
||||||
a.setProductName("深度社区应用商店");
|
a.setProductName("星火应用商店");
|
||||||
a.setApplicationName("社区应用商店"); //只有在这儿修改窗口标题才有效
|
a.setApplicationName("星火应用商店"); //只有在这儿修改窗口标题才有效
|
||||||
|
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.show();
|
w.show();
|
||||||
|
@ -12,6 +12,9 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
resize(w->size()); //设置窗口大小
|
resize(w->size()); //设置窗口大小
|
||||||
setMinimumSize(950,700);
|
setMinimumSize(950,700);
|
||||||
setCentralWidget(w);
|
setCentralWidget(w);
|
||||||
|
// searchEdit->setParent(this);
|
||||||
|
// searchEdit->move(1,1);
|
||||||
|
// searchEdit->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#include <DMainWindow>
|
#include <DMainWindow>
|
||||||
#include "widget.h"
|
#include "widget.h"
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
#include <DSearchEdit>
|
||||||
DWIDGET_USE_NAMESPACE
|
DWIDGET_USE_NAMESPACE
|
||||||
|
|
||||||
class MainWindow : public DMainWindow
|
class MainWindow : public DMainWindow
|
||||||
@ -14,7 +15,7 @@ class MainWindow : public DMainWindow
|
|||||||
public:
|
public:
|
||||||
MainWindow(QWidget *parent = nullptr);
|
MainWindow(QWidget *parent = nullptr);
|
||||||
~MainWindow();
|
~MainWindow();
|
||||||
|
// DSearchEdit *searchEdit=new DSearchEdit;
|
||||||
private:
|
private:
|
||||||
|
|
||||||
Widget *w;
|
Widget *w;
|
||||||
|
@ -8,7 +8,7 @@ QT += core gui webkitwidgets network concurrent
|
|||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
TARGET = deepin-community-store
|
TARGET = spark-store
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
Loading…
x
Reference in New Issue
Block a user