提交测试,基本完成
This commit is contained in:
@ -13,9 +13,6 @@ MainWindowLayout::MainWindowLayout(QWidget *parent) :
|
||||
QWidget(parent), ui(new Ui::MainWindowLayout) {
|
||||
ui->setupUi(this);
|
||||
setContentsMargins(0, 0, 0, 0);
|
||||
SQLiteHelper sqlite_helper;
|
||||
sqlite_helper.update_app();
|
||||
sqlite_helper.update_software();
|
||||
layout=new QVBoxLayout(this);
|
||||
mainWindowLayout = this;
|
||||
QList<ButtonStruct> list;
|
||||
@ -78,6 +75,10 @@ void MainWindowLayout::clickButton(QString op, QString func, QString url,QString
|
||||
settings->exec();
|
||||
delete settings;
|
||||
}
|
||||
else
|
||||
{
|
||||
emit clickButton1(func, url);
|
||||
}
|
||||
}
|
||||
else if(op=="soft"){
|
||||
ShellExecute(GetDesktopWindow(), L"open",path.toStdWString().c_str(),L"",initial_position.toStdWString().c_str(),SW_SHOW);
|
||||
|
Reference in New Issue
Block a user