diff --git a/src/about.cpp b/src/about.cpp
index b17ccc8..0bcd6f5 100644
--- a/src/about.cpp
+++ b/src/about.cpp
@@ -26,7 +26,7 @@ void MainWindow::on_actionAbout_triggered()
"
Git Repo
"));
about.setInformativeText(tr("Copyright (c) 2017 all rights reserved\n\n\GPL v2\n\nAntonio David Gellida Lavara\n\nadgellida@gmail.com\n\n"
- "v2018.10.29"));
+ "v2018.12.08"));
about.setWindowTitle(tr("About"));
about.setStandardButtons(QMessageBox::Ok);
diff --git a/src/installtab.cpp b/src/installtab.cpp
index 9458bc0..db00ed6 100644
--- a/src/installtab.cpp
+++ b/src/installtab.cpp
@@ -53,7 +53,11 @@ void MainWindow::on_runStopUpdates10Button_clicked()
void MainWindow::on_runUltimateWindowsTweaker4Button_clicked()
{
ui->statusBar->showMessage(tr("Running ChrisPC Win Experience Index"));
- system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./011.runUltimateWindowsTweaker4.ps1; sleep 2;""\"");
+ //system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./011.runUltimateWindowsTweaker4.ps1; sleep 2;""\"");
+
+ QString link = "https://www.thewindowsclub.com/your-download-of-uwt4-will-start-in-5-seconds";
+ QDesktopServices::openUrl(QUrl(link));
+
ui->statusBar->showMessage(tr("Done. Now select another action"));
}
@@ -62,7 +66,7 @@ void MainWindow::on_run10AppsManager_clicked()
ui->statusBar->showMessage(tr("Running 10AppsManager"));
//system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./012.run10AppsManager.ps1; sleep 2;""\"");
- QString link = "https://www.thewindowsclub.com/10appsmanager-windows-10";
+ QString link = "https://www.thewindowsclub.com/downloading-10appsmanager";
QDesktopServices::openUrl(QUrl(link));
ui->statusBar->showMessage(tr("Done. Now select another action"));
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 475cc3b..e302502 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -72,16 +72,16 @@ MainWindow::MainWindow(QWidget *parent) :
if(!file.exists())
{
//Install/Upgrade Package
- //system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"& ./027.chocoWinsysPackageInstall.ps1; sleep 2;""\"");
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"& ./027.chocoWinsysPackageInstall.ps1; sleep 2;""\"");
}
else
{
//Update scripts
- on_updateScriptsButton_clicked();
+ on_actionUpdate_Scripts_triggered();
}
//Check services
- checkServicesStatus();
+ //checkServicesStatus();
ui->statusBar->showMessage(tr("Recommendation: Push Help -> Tutorial"));
@@ -115,78 +115,20 @@ void MainWindow::checkInstallAppUpdate() //Not used
}
}
-void MainWindow::checkServicesStatus()
-{
-
- ui->statusBar->showMessage(tr("Running"));
- system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./getWindowsUpdateStatus.ps1; sleep 2;""\"");
- ui->statusBar->showMessage(tr("Done. Now select another action"));
-
- QFile fileUpdate(QDir::currentPath() + "/scripts/windowsScripts-master/updateStatus.txt");
- //QLabel *testLabel= new QLabel;
-
- QString lineUpdate1;
- if (fileUpdate.open(QIODevice::ReadOnly | QIODevice::Text)){
- QTextStream stream(&fileUpdate);
- while (!stream.atEnd()){
-
- //line.append(stream.readLine()+"\n");
- lineUpdate1.append(stream.readLine());
- }
- //ui->statusBar->showMessage(line);
- }
- fileUpdate.close();
- //lineUpdate1 = "Running";
- QString lineUpdate2 = "Running";
-
- if (lineUpdate1 == lineUpdate2){
-
- //ui->statusBar->showMessage(tr("Está activo"));
- ui->checkBox_wuauserv->setChecked(true);
- }
-
- else{
-
- //ui->statusBar->showMessage(tr("Está inactivo"));
- ui->checkBox_wuauserv->setChecked(false);
- }
- qDebug() << fileUpdate;
- qDebug() << lineUpdate1;
- qDebug() << lineUpdate2;
-
- //fileUpdate.remove();
-
-}
-
void MainWindow::on_actionTwitter_triggered()
{
QDesktopServices::openUrl(QUrl("https://www.twitter.com/winsyss_app", QUrl::TolerantMode));
ui->statusBar->showMessage(tr("Go to winsys twitter. Please wait."));
}
-//##wuauserv
-
-void MainWindow::on_checkBox_wuauserv_clicked(bool checked)
-{
- if (checked == false){
- qDebug() << checked;
- ui->statusBar->showMessage(tr("Running"));
- system("sc config wuauserv start= disabled & net stop wuauserv");
- ui->statusBar->showMessage(tr("Done. Now select another action"));
- }
-
- else if (checked == true){
- qDebug() << checked;
- ui->statusBar->showMessage(tr("Running"));
- system("sc config wuauserv start= delayed-auto & net start wuauserv");
- ui->statusBar->showMessage(tr("Done. Now select another action"));
- }
-
- checkServicesStatus();
-
- }
-
MainWindow::~MainWindow()
{
delete ui;
}
+
+void MainWindow::on_actionSeeReleases_triggered()
+{
+ QDesktopServices::openUrl(QUrl("https://github.com/adgellida/winsys/releases", QUrl::TolerantMode));
+ ui->statusBar->showMessage(tr("For now launches to release page to update manually. Please wait."));
+}
+
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 216d335..0c4eed8 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -63,7 +63,6 @@ private slots:
void on_installChocolateyButton_clicked();
void on_runDriverPackOnlineButton_clicked();
void on_updateAppButton_clicked();
- void on_updateScriptsButton_clicked();
void on_actionTutorial_triggered();
void on_installChrisPCButton_clicked();
void on_runChrisPCButton_clicked();
@@ -98,7 +97,25 @@ private slots:
void on_installStopUpdates10Button_clicked();
void on_runStopUpdates10Button_clicked();
void checkServicesStatus();
- void on_checkBox_wuauserv_clicked(bool checked);
+ void checkServiceWuauserv();
+ void checkServiceSysMain();
+ void checkServiceBits();
+ void checkServiceWSearch();
+ void on_checkBox_Wuauserv_clicked(bool checked);
+ void on_checkBox_SysMain_clicked(bool checked);
+ void on_checkBox_Bits_clicked(bool checked);
+ void on_checkBox_WSearch_clicked(bool checked);
+
+ void on_knowLicenceExpirationButton_2_clicked();
+
+ void on_knowLicenceExpirationButton_3_clicked();
+
+ void on_actionSeeReleases_triggered();
+
+ void on_actionUpdate_Scripts_triggered();
+
+ void on_actionUpdate_Program_triggered();
+
private:
Ui::MainWindow *ui;
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 7f6aacd..fa3825e 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -40,7 +40,7 @@
QTabWidget::Rounded
- 6
+ 0
@@ -556,46 +556,6 @@
ChrisPC Win Experience Index
-
-
-
- 510
- 10
- 40
- 23
-
-
-
- <html><head/><body><p>Update scripts</p></body></html>
-
-
-
-
-
-
- :/images/upgrade.png:/images/upgrade.png
-
-
-
-
-
- 460
- 10
- 40
- 23
-
-
-
- <html><head/><body><p>Update program</p></body></html>
-
-
-
-
-
-
- :/images/flecha_arriba.png:/images/flecha_arriba.png
-
-
true
@@ -776,6 +736,65 @@
Normal user
+
+
+
+ 10
+ 10
+ 131
+ 36
+
+
+
+
+
+
+ Search updates
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 50
+ 131
+ 36
+
+
+
+ <html><head/><body><p>When your Windows license expires?</p></body></html>
+
+
+
+
+
+ Know Windows Version
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
@@ -851,7 +870,7 @@
- shutdown -Fr now
+ sfc /scannow
@@ -960,7 +979,7 @@
140
10
- 120
+ 131
36
@@ -988,7 +1007,7 @@
140
90
- 120
+ 131
36
@@ -1044,7 +1063,7 @@
140
50
- 120
+ 131
36
@@ -1095,669 +1114,14 @@
false
-
-
-
-
-
-
- :/images/electricity-clipart-lightnig-597870-3188154.png:/images/electricity-clipart-lightnig-597870-3188154.png
-
-
-
-
-
-
-
- 0
- 0
- 581
- 571
-
-
-
-
- 50
- false
-
-
-
- false
-
-
- 0
-
-
-
- Power
-
-
-
-
- 140
- 10
- 120
- 36
-
-
-
-
-
-
- Enable system restore
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 50
- 120
- 36
-
-
-
-
-
-
- Disable fast startup
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 140
- 50
- 120
- 36
-
-
-
-
-
-
- Disable system restore
-
-
-
- 30
- 30
-
-
-
-
-
-
+
+
false
-
-
10
- 10
- 120
- 36
-
-
-
-
-
-
- Enable fast startup
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
-
-
-
- :/images/settings-5122.png:/images/settings-5122.png
-
-
-
-
-
- Tweaks
-
-
-
-
- 0
- 0
- 581
- 571
-
-
-
-
- 50
- false
-
-
-
- false
-
-
- 0
-
-
-
- Extras
-
-
-
-
- 10
- 40
- 251
- 23
-
-
-
- Superfetch - SysMain
-
-
-
-
-
- 10
- 80
- 251
- 23
-
-
-
- Windows Search - WSearch
-
-
-
-
-
- 10
- 60
- 251
- 23
-
-
-
- BITS
-
-
-
-
-
- 10
- 10
- 241
- 16
-
-
-
-
- 75
- true
-
-
-
- Services
-
-
-
-
-
- 450
- 160
- 90
- 41
-
-
-
- Restore all
- services to Def.
-
-
-
-
-
- 450
- 220
- 90
- 23
-
-
-
- Load
-
-
-
-
- false
-
-
-
- 450
- 250
- 90
- 23
-
-
-
- Save
-
-
-
-
-
- 450
- 110
- 90
- 41
-
-
-
- Restore this
- services to Def.
-
-
-
-
-
- 450
- 40
- 90
- 23
-
-
-
- Enable All
-
-
-
-
-
- 450
- 10
- 91
- 23
-
-
-
- Disable All
-
-
-
-
-
- 140
- 370
- 120
- 36
-
-
-
-
-
-
- Open regedit
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 490
- 120
- 36
-
-
-
-
-
-
- Open services
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 350
- 111
- 16
-
-
-
-
- 75
- true
-
-
-
- Shortcuts
-
-
-
-
-
- 270
- 410
- 120
- 36
-
-
-
-
-
-
- Search updates
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 370
- 120
- 36
-
-
-
-
-
-
- Open cmd
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 410
- 120
- 36
-
-
-
-
-
-
- Open Powershell
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 140
- 450
- 120
- 36
-
-
-
-
-
-
- Complete shutdown
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 270
- 370
- 120
- 36
-
-
-
- <html><head/><body><p>When your Windows license expires?</p></body></html>
-
-
-
-
-
- Know licence expiration
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 140
- 410
- 120
- 36
-
-
-
-
-
-
- Restart
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 450
- 120
- 36
-
-
-
-
-
-
- Open taskmgr
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 450
- 450
- 90
- 23
-
-
-
- Load
-
-
-
-
-
- 450
- 400
- 90
- 41
-
-
-
- Restore tweaks
- to Default
-
-
-
-
-
- 450
- 370
- 90
- 23
-
-
-
- Apply
-
-
-
-
-
- 450
- 480
- 90
- 23
-
-
-
- Unload
-
-
-
-
- false
-
-
-
- 10
- 190
+ 90
120
36
@@ -2177,14 +1541,860 @@
+
+
+
+
+ Get firewall status
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+ :/images/electricity-clipart-lightnig-597870-3188154.png:/images/electricity-clipart-lightnig-597870-3188154.png
+
+
+
+
+
+
+
+ 0
+ 0
+ 581
+ 571
+
+
+
+
+ 50
+ false
+
+
+
+ false
+
+
+ 0
+
+
+
+ Power
+
+
+
+
+ 140
+ 10
+ 120
+ 36
+
+
+
+
+
+
+ Enable system restore
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 50
+ 120
+ 36
+
+
+
+
+
+
+ Disable fast startup
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 140
+ 50
+ 120
+ 36
+
+
+
+
+
+
+ Disable system restore
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 10
+ 120
+ 36
+
+
+
+
+
+
+ Enable fast startup
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+ :/images/settings-5122.png:/images/settings-5122.png
+
+
+
+
+
+ Tweaks
+
+
+
+
+ 0
+ 0
+ 581
+ 571
+
+
+
+
+ 50
+ false
+
+
+
+ false
+
+
+ 0
+
+
+
+ Extras
+
+
+
+ false
+
+
+
+ 10
+ 40
+ 251
+ 23
+
+
+
+ Superfetch - SysMain
+
+
+
+
+ false
+
+
+
+ 10
+ 100
+ 251
+ 23
+
+
+
+ Windows Search - WSearch
+
+
+
+
+ false
+
+
+
+ 10
+ 70
+ 251
+ 23
+
+
+
+ BITS
+
+
+
+
+
+ 10
+ 10
+ 241
+ 16
+
+
+
+
+ 75
+ true
+
+
+
+ Services
+
+
+
+
+
+ 450
+ 160
+ 90
+ 41
+
+
+
+ Restore all
+ services to Def.
+
+
+
+
+ false
+
+
+
+ 450
+ 220
+ 90
+ 23
+
+
+
+ Load
+
+
+
+
+ false
+
+
+
+ 450
+ 250
+ 90
+ 23
+
+
+
+ Save
+
+
+
+
+
+ 450
+ 110
+ 90
+ 41
+
+
+
+ Restore this
+ services to Def.
+
+
+
+
+
+ 450
+ 40
+ 90
+ 23
+
+
+
+ Enable All
+
+
+
+
+
+ 450
+ 10
+ 91
+ 23
+
+
+
+ Disable All
+
+
+
+
+
+ 140
+ 370
+ 120
+ 36
+
+
+
+
+
+
+ Open regedit
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 490
+ 120
+ 36
+
+
+
+
+
+
+ Open services
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 350
+ 111
+ 16
+
+
+
+
+ 75
+ true
+
+
+
+ Shortcuts
+
+
+
+
+
+ 10
+ 370
+ 120
+ 36
+
+
+
+
+
+
+ Open cmd
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 410
+ 120
+ 36
+
+
+
+
+
+
+ Open Powershell
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 140
+ 450
+ 120
+ 36
+
+
+
+
+
+
+ Complete shutdown
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 270
+ 370
+ 120
+ 36
+
+
+
+ <html><head/><body><p>When your Windows license expires?</p></body></html>
+
+
+
+
+
+ Know licence expiration
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 140
+ 410
+ 120
+ 36
+
+
+
+
+
+
+ Restart
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 10
+ 450
+ 120
+ 36
+
+
+
+
+
+
+ Open taskmgr
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+ false
+
+
+
+ 450
+ 450
+ 90
+ 23
+
+
+
+ Load
+
+
+
+
+ false
+
+
+
+ 450
+ 400
+ 90
+ 41
+
+
+
+ Restore tweaks
+ to Default
+
+
+
+
+ false
+
+
+
+ 450
+ 352
+ 90
+ 41
+
+
+
+ Apply predefined
+ tweaks
+
+
+
+
+ false
+
+
+
+ 450
+ 480
+ 90
+ 23
+
+
+
+ Unload
+
+
+
+
+ false
+
+
+
+ 10
+ 130
+ 251
+ 23
+
+
+
+ Windows Update - Wuauserv
+
+
+
+
+
+ 10
+ 170
+ 120
+ 36
+
+
+
+ <html><head/><body><p>When your Windows license expires?</p></body></html>
+
+
+
+
+
+ Check Services Status
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ Fonts
+
+
+
+
+ Tests
+
+
+
+ false
+
+
+
+ 270
+ 70
+ 120
+ 36
+
+
+
+ <html><head/><body><p>Uses defaults locations only</p><p>From:</p><p>C:\Program Files(x86)\winsys\OutlookProfile\OutlookWinsys.reg</p><p>C:\Program Files(x86)\winsys\OutlookData\*</p><p>To:</p><p>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles</p><p>%localappdata%\Microsoft\Outlook\*</p></body></html>
+
+
+ <html><head/><body><p><br/></p></body></html>
+
+
+ Import profile and data
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+
+ 270
+ 10
+ 171
+ 16
+
+
+
+
+ 75
+ true
+
+
+
+ Outlook
+
+
+
+
+
+ 10
+ 10
+ 171
+ 16
+
+
+
+
+ 75
+ true
+
+
+
+ Current Local Time
+
+
+
+
+ false
+
+
+
+ 10
+ 30
+ 120
+ 36
+
+
+
+ <html><head/><body><p>I recommend to change to this</p></body></html>
+
+
+ <html><head/><body><p><br/></p></body></html>
+
+
+ UTC
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
+
+
+
+
+ false
+
+
+
+ 270
+ 30
+ 120
+ 36
+
+
-
+ <html><head/><body><p>Uses defaults locations only</p><p>From:</p><p>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles</p><p>%localappdata%\Microsoft\Outlook\*</p><p>To:</p><p>C:\Program Files(x86)\winsys\OutlookProfile\OutlookWinsys.reg</p><p>C:\Program Files(x86)\winsys\OutlookData\*</p></body></html>
-
+ <html><head/><body><p><br/></p></body></html>
- Update system time
+ Export profile and data
@@ -2199,33 +2409,48 @@
false
-
+
+
+ false
+
10
- 130
- 61
- 16
+ 70
+ 120
+ 36
-
-
- 75
- true
-
+
+ <html><head/><body><p>Default setting. Not recommended</p></body></html>
+
+
+ <html><head/><body><p><br/></p></body></html>
- Extra
+ GMT
+
+
+
+ 30
+ 30
+
+
+
+
+
+
+ false
-
+
false
10
- 150
+ 200
120
36
@@ -2645,11 +2870,14 @@
+
+
+
- Get firewall status
+ Update system time
@@ -2664,14 +2892,14 @@
false
-
+
false
140
- 190
+ 160
120
36
@@ -3095,60 +3323,7 @@
- Start explorer.exe
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 240
- 171
- 16
-
-
-
-
- 75
- true
-
-
-
- Current Local Time
-
-
-
-
- false
-
-
-
- 140
- 300
- 120
- 36
-
-
-
- <html><head/><body><p>Uses defaults locations only</p><p>From:</p><p>C:\Program Files(x86)\winsys\OutlookProfile\OutlookWinsys.reg</p><p>C:\Program Files(x86)\winsys\OutlookData\*</p><p>To:</p><p>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles</p><p>%localappdata%\Microsoft\Outlook\*</p></body></html>
-
-
- <html><head/><body><p><br/></p></body></html>
-
-
- Import profile and data
+ Restart explorer.exe
@@ -3163,14 +3338,14 @@
false
-
+
false
140
- 150
+ 200
120
36
@@ -3594,122 +3769,7 @@
- Restart explorer.exe
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 10
- 260
- 120
- 36
-
-
-
- <html><head/><body><p>I recommend to change to this</p></body></html>
-
-
- <html><head/><body><p><br/></p></body></html>
-
-
- UTC
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
-
- 140
- 240
- 171
- 16
-
-
-
-
- 75
- true
-
-
-
- Outlook
-
-
-
-
-
- 10
- 300
- 120
- 36
-
-
-
- <html><head/><body><p>Default setting. Not recommended</p></body></html>
-
-
- <html><head/><body><p><br/></p></body></html>
-
-
- GMT
-
-
-
- 30
- 30
-
-
-
-
-
-
- false
-
-
-
-
- false
-
-
-
- 140
- 260
- 120
- 36
-
-
-
- <html><head/><body><p>Uses defaults locations only</p><p>From:</p><p>HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles</p><p>%localappdata%\Microsoft\Outlook\*</p><p>To:</p><p>C:\Program Files(x86)\winsys\OutlookProfile\OutlookWinsys.reg</p><p>C:\Program Files(x86)\winsys\OutlookData\*</p></body></html>
-
-
- <html><head/><body><p><br/></p></body></html>
-
-
- Export profile and data
+ Start explorer.exe
@@ -3724,24 +3784,6 @@
false
-
-
-
- 10
- 100
- 251
- 23
-
-
-
- Windows Update - wuauserv
-
-
-
-
-
- Fonts
-
@@ -3756,7 +3798,7 @@
- v2018.10.29
+ v2018.12.08
@@ -3796,6 +3838,8 @@
Run
+
+
@@ -3819,6 +3863,9 @@
+
+
+
@@ -3942,8 +3989,8 @@
true
-
- :/images/orange-up-24.png:/images/orange-up-24.png
+
+ :/images/flecha_arriba.png:/images/flecha_arriba.png
See Releases
@@ -3951,6 +3998,9 @@
See Releases
+
+ true
+
@@ -3972,6 +4022,30 @@
Tutorial
+
+
+
+ :/images/upgrade.png:/images/upgrade.png
+
+
+ Update Scripts
+
+
+ true
+
+
+ true
+
+
+
+
+
+ :/images/update-arrows.png:/images/update-arrows.png
+
+
+ Update Program
+
+
diff --git a/src/services.cpp b/src/services.cpp
index 27074b0..b0d1a49 100644
--- a/src/services.cpp
+++ b/src/services.cpp
@@ -3,88 +3,267 @@
///////////////////////SERVICES TAB///////////////////////
-/*
-void MainWindow::on_applyButton_clicked()
+void MainWindow::checkServicesStatus()
{
- ui->statusBar->showMessage(tr("Applying settings. Please wait"));
+ checkServiceSysMain();
+ checkServiceBits();
+ checkServiceWSearch();
+ checkServiceWuauserv();
+}
- //001.Superfetch - SysMain - ENABLE
- if (ui->checkBox_001->isChecked())
- {
- system("sc config sysmain start= auto & net start sysmain");
- ui->checkBox_001->setChecked(false);
+
+//##begin SysMain
+void MainWindow::checkServiceSysMain()
+{
+ ui->statusBar->showMessage(tr("Running"));
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./getSysMainStatus.ps1; sleep 2;""\"");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+
+ QFile file(QDir::currentPath() + "/scripts/windowsScripts-master/SysMainStatus.txt");
+
+ QString line1;
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text)){
+ QTextStream stream(&file);
+ while (!stream.atEnd()){
+ line1.append(stream.readLine());
+ }
+ }
+ file.close();
+
+ QString line2 = "Running";
+
+ if (line1 == line2){
+
+ ui->checkBox_SysMain->setChecked(true);
}
- //002.Superfetch - SysMain - DISABLE
- if (ui->checkBox_002->isChecked())
- {
+ else{
+
+ ui->checkBox_SysMain->setChecked(false);
+ }
+ qDebug() << file;
+ qDebug() << line1;
+ qDebug() << line2;
+}
+
+void MainWindow::on_checkBox_SysMain_clicked(bool checked)
+{
+ if (checked == false){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
system("sc config sysmain start= disabled & net stop sysmain");
- ui->checkBox_002->setChecked(false);
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
}
- //003.BITS - ENABLE
- if (ui->checkBox_003->isChecked())
- {
- system("sc config bits start= delayed-auto & net start bits");
- ui->checkBox_003->setChecked(false);
+ else if (checked == true){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
+ system("sc config sysmain start= auto & net start sysmain");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+ }
+
+ checkServiceSysMain();
+
+ }
+//##end SysMain
+
+
+//##begin Bits
+void MainWindow::checkServiceBits()
+{
+ ui->statusBar->showMessage(tr("Running"));
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./getBitsStatus.ps1; sleep 2;""\"");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+
+ QFile file(QDir::currentPath() + "/scripts/windowsScripts-master/BitsStatus.txt");
+
+ QString line1;
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text)){
+ QTextStream stream(&file);
+ while (!stream.atEnd()){
+ line1.append(stream.readLine());
+ }
+ }
+ file.close();
+
+ QString line2 = "Running";
+
+ if (line1 == line2){
+
+ ui->checkBox_Bits->setChecked(true);
}
- //004.BITS - DISABLE
- if (ui->checkBox_004->isChecked())
- {
+ else{
+
+ ui->checkBox_Bits->setChecked(false);
+ }
+ qDebug() << file;
+ qDebug() << line1;
+ qDebug() << line2;
+}
+
+void MainWindow::on_checkBox_Bits_clicked(bool checked)
+{
+ if (checked == false){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
system("sc config bits start= disabled & net stop bits");
- ui->checkBox_004->setChecked(false);
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
}
- //005.Windows Search - WSearch - ENABLE
- if (ui->checkBox_005->isChecked())
- {
- system("sc config wsearch start= delayed-auto & net start wsearch");
- ui->checkBox_005->setChecked(false);
+ else if (checked == true){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
+ system("sc config bits start= delayed-auto & net start bits");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
}
- //006.Windows Search - WSearch - DISABLE
- if (ui->checkBox_006->isChecked())
- {
+ checkServiceBits();
+
+ }
+//##end Bits
+
+
+//##begin WSearch
+void MainWindow::checkServiceWSearch()
+{
+ ui->statusBar->showMessage(tr("Running"));
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./getWSearchStatus.ps1; sleep 2;""\"");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+
+ QFile file(QDir::currentPath() + "/scripts/windowsScripts-master/WSearchStatus.txt");
+
+ QString line1;
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text)){
+ QTextStream stream(&file);
+ while (!stream.atEnd()){
+ line1.append(stream.readLine());
+ }
+ }
+ file.close();
+
+ QString line2 = "Running";
+
+ if (line1 == line2){
+
+ ui->checkBox_WSearch->setChecked(true);
+ }
+
+ else{
+
+ ui->checkBox_WSearch->setChecked(false);
+ }
+ qDebug() << file;
+ qDebug() << line1;
+ qDebug() << line2;
+}
+
+void MainWindow::on_checkBox_WSearch_clicked(bool checked)
+{
+ if (checked == false){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
system("sc config wsearch start= disabled & net stop wsearch");
- ui->checkBox_006->setChecked(false);
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
}
- //007.Windows Update - wuauserv - ENABLE
- if (ui->checkBox_007->isChecked())
- {
- system("sc config wuauserv start= delayed-auto & net start wuauserv");
- ui->checkBox_007->setChecked(false);
+ else if (checked == true){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
+ system("sc config wsearch start= delayed-auto & net start wsearch");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
}
- //008.Windows Update - wuauserv - DISABLE
- if (ui->checkBox_008->isChecked())
- {
- system("sc config wuauserv start= disabled & net stop wuauserv");
- ui->checkBox_008->setChecked(false);
+ checkServiceWSearch();
+
+ }
+//##end WSearch
+
+
+//##begin Wuauserv
+void MainWindow::checkServiceWuauserv()
+{
+ ui->statusBar->showMessage(tr("Running"));
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"cd scripts\\windowsScripts-master; & ./getWuauservStatus.ps1; sleep 2;""\"");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+
+ QFile file(QDir::currentPath() + "/scripts/windowsScripts-master/WuauservStatus.txt");
+
+ QString line1;
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text)){
+ QTextStream stream(&file);
+ while (!stream.atEnd()){
+ line1.append(stream.readLine());
+ }
}
+ file.close();
- ui->statusBar->showMessage(tr("Settings applied. Select another action"));
+ QString line2 = "Running";
+
+ if (line1 == line2){
+
+ ui->checkBox_Wuauserv->setChecked(true);
+ }
+
+ else{
+
+ ui->checkBox_Wuauserv->setChecked(false);
+ }
+ qDebug() << file;
+ qDebug() << line1;
+ qDebug() << line2;
}
-*/
+
+void MainWindow::on_checkBox_Wuauserv_clicked(bool checked)
+{
+ if (checked == false){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
+ system("sc config wuauserv start= disabled & net stop wuauserv");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+ }
+
+ else if (checked == true){
+ qDebug() << checked;
+ ui->statusBar->showMessage(tr("Running"));
+ system("sc config wuauserv start= delayed-auto & net start wuauserv");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+ }
+
+ checkServiceWuauserv();
+
+ }
+//##end Wuauserv
+
+
+
+
void MainWindow::on_disableAllServicesButton_clicked()
{
ui->statusBar->showMessage(tr("All services disabled"));
- ui->checkBox_001->setChecked(false);
- ui->checkBox_003->setChecked(false);
- ui->checkBox_005->setChecked(false);
- ui->checkBox_wuauserv->setChecked(false);
+ system("sc config sysmain start= disabled & net stop sysmain");
+ ui->checkBox_SysMain->setChecked(false);
+ system("sc config bits start= disabled & net stop bits");
+ ui->checkBox_Bits->setChecked(false);
+ system("sc config wsearch start= disabled & net stop wsearch");
+ ui->checkBox_WSearch->setChecked(false);
+ system("sc config wuauserv start= disabled & net stop wuauserv");
+ ui->checkBox_Wuauserv->setChecked(false);
+ checkServicesStatus();
}
void MainWindow::on_enableAllServicesButton_clicked()
{
ui->statusBar->showMessage(tr("All services enabled"));
-
- ui->checkBox_001->setChecked(true);
- ui->checkBox_003->setChecked(true);
- ui->checkBox_005->setChecked(true);
- ui->checkBox_wuauserv->setChecked(true);
-
+ system("sc config sysmain start= auto & net start sysmain");
+ ui->checkBox_SysMain->setChecked(true);
+ system("sc config bits start= delayed-auto & net start bits");
+ ui->checkBox_Bits->setChecked(true);
+ ui->checkBox_WSearch->setChecked(true);
+ system("sc config wsearch start= delayed-auto & net start wsearch");
+ ui->checkBox_Wuauserv->setChecked(true);
+ system("sc config wuauserv start= delayed-auto & net start wuauserv");
+ checkServicesStatus();
}
void MainWindow::on_RestoreThisServicesToDefaultButton_clicked()
@@ -94,22 +273,24 @@ void MainWindow::on_RestoreThisServicesToDefaultButton_clicked()
//001.Superfetch - SysMain - DEFAULT ON
system("sc config sysmain start= auto & net start sysmain");
- ui->checkBox_001->setChecked(false);
+ ui->checkBox_SysMain->setChecked(false);
//003.BITS - DEFAULT ON
system("sc config bits start= delayed-auto & net start bits");
- ui->checkBox_003->setChecked(false);
+ ui->checkBox_Bits->setChecked(false);
//005.Windows Search - WSearch - DEFAULT ON
system("sc config wsearch start= delayed-auto & net start wsearch");
- ui->checkBox_005->setChecked(false);
+ ui->checkBox_WSearch->setChecked(false);
//007.Windows Update - wuauserv - DEFAULT ON
system("sc config wuauserv start= delayed-auto & net start wuauserv");
- ui->checkBox_wuauserv->setChecked(false);
+ ui->checkBox_Wuauserv->setChecked(false);
+
+ checkServicesStatus();
ui->statusBar->showMessage(tr("Settings applied. Select another action"));
}
@@ -127,11 +308,10 @@ void MainWindow::on_loadServicesSelectionButton_clicked()
ui->statusBar->showMessage(tr("Predefined selection loaded. Push Apply if you're agree."));
- //First
-
- ui->checkBox_001->setChecked(false);
- ui->checkBox_003->setChecked(false);
- ui->checkBox_005->setChecked(false);
- ui->checkBox_wuauserv->setChecked(false);
+ on_disableAllServicesButton_clicked();
+ ui->checkBox_SysMain->setChecked(false);
+ ui->checkBox_Bits->setChecked(false);
+ ui->checkBox_WSearch->setChecked(false);
+ ui->checkBox_Wuauserv->setChecked(false);
}
diff --git a/src/tweakstab.cpp b/src/tweakstab.cpp
index fbe3518..d69494c 100644
--- a/src/tweakstab.cpp
+++ b/src/tweakstab.cpp
@@ -9,6 +9,15 @@ QString privateFirewallStatus, publicFirewallStatus, domainFirewallStatus;
//QDir::setCurrent("C:/Windows");
+void MainWindow::on_knowLicenceExpirationButton_3_clicked()
+{
+ checkServicesStatus();
+ ui->checkBox_SysMain->setEnabled(true);
+ ui->checkBox_Bits->setEnabled(true);
+ ui->checkBox_WSearch->setEnabled(true);
+ ui->checkBox_Wuauserv->setEnabled(true);
+}
+
void MainWindow::on_enableFirewallButton_clicked()
{
ui->statusBar->showMessage(tr("Enabling firewall."));
@@ -101,6 +110,14 @@ void MainWindow::on_knowLicenceExpirationButton_clicked()
ui->statusBar->showMessage(tr("Done. Now select another action"));
}
+void MainWindow::on_knowLicenceExpirationButton_2_clicked()
+{
+ ui->statusBar->showMessage(tr("Opening license info.."));
+ //@echo off
+ system("winver");
+ ui->statusBar->showMessage(tr("Done. Now select another action"));
+}
+
void MainWindow::on_openServicesButton_clicked()
{
ui->statusBar->showMessage(tr("Starting services"));
@@ -204,7 +221,6 @@ void MainWindow::on_RestoreTweaksToDefaultButton_clicked()
MainWindow::on_enableFastStartupButton_clicked();
MainWindow::on_enableSystemRestoreButton_clicked();
MainWindow::on_smartscreenWarnButton_clicked();
- MainWindow::on_GMTButton_clicked();
}
void MainWindow::on_UTCButton_clicked()
@@ -298,7 +314,6 @@ void MainWindow::on_applyTweaksButton_clicked()
MainWindow::on_smartscreenOffButton_clicked();
MainWindow::on_disableFastStartupButton_clicked();
MainWindow::on_disableSystemRestoreButton_clicked();
- MainWindow::on_UTCButton_clicked();
ui->statusBar->showMessage(tr("Tweaks applied. Select another action"));
}
diff --git a/src/ui_mainwindow.h b/src/ui_mainwindow.h
index 42ce1da..9d8bb0e 100644
--- a/src/ui_mainwindow.h
+++ b/src/ui_mainwindow.h
@@ -44,6 +44,8 @@ class Ui_MainWindow
QAction *actionSeeReleases;
QAction *actionTwitter;
QAction *actionTutorial;
+ QAction *actionUpdate_Scripts;
+ QAction *actionUpdate_Program;
QWidget *centralWidget;
QTabWidget *tabWidget;
QWidget *tab_4;
@@ -65,8 +67,6 @@ class Ui_MainWindow
QPushButton *installChocolateyButton;
QPushButton *runProcessHackerButton;
QLabel *label_50;
- QPushButton *updateScriptsButton;
- QPushButton *updateAppButton;
QPushButton *runStopUpdates10Button;
QLabel *label_51;
QPushButton *installStopUpdates10Button;
@@ -78,6 +78,8 @@ class Ui_MainWindow
QWidget *tab;
QTabWidget *tabWidget_4;
QWidget *tab_8;
+ QPushButton *searchUpdatesButton;
+ QPushButton *knowLicenceExpirationButton_2;
QWidget *tab_9;
QWidget *tab_10;
QWidget *tab_2;
@@ -96,6 +98,7 @@ class Ui_MainWindow
QPushButton *enableFirewallButton;
QPushButton *smartscreenWarnButton;
QPushButton *disableFirewallButton;
+ QPushButton *getFirewallStatusButton;
QWidget *tab_5;
QTabWidget *tabWidget_7;
QWidget *tab_31;
@@ -106,9 +109,9 @@ class Ui_MainWindow
QWidget *tab_3;
QTabWidget *tabWidget_3;
QWidget *tab_7;
- QCheckBox *checkBox_001;
- QCheckBox *checkBox_005;
- QCheckBox *checkBox_003;
+ QCheckBox *checkBox_SysMain;
+ QCheckBox *checkBox_WSearch;
+ QCheckBox *checkBox_Bits;
QLabel *label_37;
QPushButton *RestoreAllServicesToDefaultButton;
QPushButton *loadServicesSelectionButton;
@@ -119,7 +122,6 @@ class Ui_MainWindow
QPushButton *openRegeditButton;
QPushButton *openServicesButton;
QLabel *label_19;
- QPushButton *searchUpdatesButton;
QPushButton *openCmdButton;
QPushButton *openPowershellButton;
QPushButton *completeShutdownButton;
@@ -130,19 +132,19 @@ class Ui_MainWindow
QPushButton *RestoreTweaksToDefaultButton;
QPushButton *applyTweaksButton;
QPushButton *unloadTweaksSelectionButton;
- QPushButton *updateSystemTimeButton;
- QLabel *label_15;
- QPushButton *getFirewallStatusButton;
- QPushButton *startExplorerButton;
- QLabel *label_14;
+ QCheckBox *checkBox_Wuauserv;
+ QPushButton *knowLicenceExpirationButton_3;
+ QWidget *tab_6;
+ QWidget *tab_12;
QPushButton *ImportOutlookButton;
- QPushButton *restartExplorerButton;
- QPushButton *UTCButton;
QLabel *label_16;
- QPushButton *GMTButton;
+ QLabel *label_14;
+ QPushButton *UTCButton;
QPushButton *ExportOutlookButton;
- QCheckBox *checkBox_wuauserv;
- QWidget *tab_6;
+ QPushButton *GMTButton;
+ QPushButton *updateSystemTimeButton;
+ QPushButton *restartExplorerButton;
+ QPushButton *startExplorerButton;
QLabel *label;
QMenuBar *menuBar;
QMenu *menuNuevo;
@@ -217,8 +219,9 @@ class Ui_MainWindow
actionSeeReleases->setObjectName(QStringLiteral("actionSeeReleases"));
actionSeeReleases->setEnabled(true);
QIcon icon8;
- icon8.addFile(QStringLiteral(":/images/orange-up-24.png"), QSize(), QIcon::Normal, QIcon::Off);
+ icon8.addFile(QStringLiteral(":/images/flecha_arriba.png"), QSize(), QIcon::Normal, QIcon::Off);
actionSeeReleases->setIcon(icon8);
+ actionSeeReleases->setShortcutVisibleInContextMenu(true);
actionTwitter = new QAction(MainWindow);
actionTwitter->setObjectName(QStringLiteral("actionTwitter"));
actionTwitter->setEnabled(true);
@@ -227,6 +230,18 @@ class Ui_MainWindow
actionTwitter->setIcon(icon9);
actionTutorial = new QAction(MainWindow);
actionTutorial->setObjectName(QStringLiteral("actionTutorial"));
+ actionUpdate_Scripts = new QAction(MainWindow);
+ actionUpdate_Scripts->setObjectName(QStringLiteral("actionUpdate_Scripts"));
+ QIcon icon10;
+ icon10.addFile(QStringLiteral(":/images/upgrade.png"), QSize(), QIcon::Normal, QIcon::Off);
+ actionUpdate_Scripts->setIcon(icon10);
+ actionUpdate_Scripts->setIconVisibleInMenu(true);
+ actionUpdate_Scripts->setShortcutVisibleInContextMenu(true);
+ actionUpdate_Program = new QAction(MainWindow);
+ actionUpdate_Program->setObjectName(QStringLiteral("actionUpdate_Program"));
+ QIcon icon11;
+ icon11.addFile(QStringLiteral(":/images/update-arrows.png"), QSize(), QIcon::Normal, QIcon::Off);
+ actionUpdate_Program->setIcon(icon11);
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QStringLiteral("centralWidget"));
tabWidget = new QTabWidget(centralWidget);
@@ -343,18 +358,6 @@ class Ui_MainWindow
label_50->setObjectName(QStringLiteral("label_50"));
label_50->setGeometry(QRect(200, 10, 171, 16));
label_50->setFont(font);
- updateScriptsButton = new QPushButton(tab_11);
- updateScriptsButton->setObjectName(QStringLiteral("updateScriptsButton"));
- updateScriptsButton->setGeometry(QRect(510, 10, 40, 23));
- QIcon icon10;
- icon10.addFile(QStringLiteral(":/images/upgrade.png"), QSize(), QIcon::Normal, QIcon::Off);
- updateScriptsButton->setIcon(icon10);
- updateAppButton = new QPushButton(tab_11);
- updateAppButton->setObjectName(QStringLiteral("updateAppButton"));
- updateAppButton->setGeometry(QRect(460, 10, 40, 23));
- QIcon icon11;
- icon11.addFile(QStringLiteral(":/images/flecha_arriba.png"), QSize(), QIcon::Normal, QIcon::Off);
- updateAppButton->setIcon(icon11);
runStopUpdates10Button = new QPushButton(tab_11);
runStopUpdates10Button->setObjectName(QStringLiteral("runStopUpdates10Button"));
runStopUpdates10Button->setEnabled(true);
@@ -406,6 +409,16 @@ class Ui_MainWindow
tabWidget_4->setGeometry(QRect(0, 0, 701, 571));
tab_8 = new QWidget();
tab_8->setObjectName(QStringLiteral("tab_8"));
+ searchUpdatesButton = new QPushButton(tab_8);
+ searchUpdatesButton->setObjectName(QStringLiteral("searchUpdatesButton"));
+ searchUpdatesButton->setGeometry(QRect(10, 10, 131, 36));
+ searchUpdatesButton->setIconSize(QSize(30, 30));
+ searchUpdatesButton->setCheckable(false);
+ knowLicenceExpirationButton_2 = new QPushButton(tab_8);
+ knowLicenceExpirationButton_2->setObjectName(QStringLiteral("knowLicenceExpirationButton_2"));
+ knowLicenceExpirationButton_2->setGeometry(QRect(10, 50, 131, 36));
+ knowLicenceExpirationButton_2->setIconSize(QSize(30, 30));
+ knowLicenceExpirationButton_2->setCheckable(false);
tabWidget_4->addTab(tab_8, QString());
tab_9 = new QWidget();
tab_9->setObjectName(QStringLiteral("tab_9"));
@@ -462,12 +475,12 @@ class Ui_MainWindow
tab_26->setObjectName(QStringLiteral("tab_26"));
smartscreenBlockButton = new QPushButton(tab_26);
smartscreenBlockButton->setObjectName(QStringLiteral("smartscreenBlockButton"));
- smartscreenBlockButton->setGeometry(QRect(140, 10, 120, 36));
+ smartscreenBlockButton->setGeometry(QRect(140, 10, 131, 36));
smartscreenBlockButton->setIconSize(QSize(30, 30));
smartscreenBlockButton->setCheckable(false);
smartscreenOffButton = new QPushButton(tab_26);
smartscreenOffButton->setObjectName(QStringLiteral("smartscreenOffButton"));
- smartscreenOffButton->setGeometry(QRect(140, 90, 120, 36));
+ smartscreenOffButton->setGeometry(QRect(140, 90, 131, 36));
smartscreenOffButton->setIconSize(QSize(30, 30));
smartscreenOffButton->setCheckable(false);
enableFirewallButton = new QPushButton(tab_26);
@@ -477,7 +490,7 @@ class Ui_MainWindow
enableFirewallButton->setCheckable(false);
smartscreenWarnButton = new QPushButton(tab_26);
smartscreenWarnButton->setObjectName(QStringLiteral("smartscreenWarnButton"));
- smartscreenWarnButton->setGeometry(QRect(140, 50, 120, 36));
+ smartscreenWarnButton->setGeometry(QRect(140, 50, 131, 36));
smartscreenWarnButton->setIconSize(QSize(30, 30));
smartscreenWarnButton->setCheckable(false);
disableFirewallButton = new QPushButton(tab_26);
@@ -485,6 +498,77 @@ class Ui_MainWindow
disableFirewallButton->setGeometry(QRect(10, 50, 120, 36));
disableFirewallButton->setIconSize(QSize(30, 30));
disableFirewallButton->setCheckable(false);
+ getFirewallStatusButton = new QPushButton(tab_26);
+ getFirewallStatusButton->setObjectName(QStringLiteral("getFirewallStatusButton"));
+ getFirewallStatusButton->setEnabled(false);
+ getFirewallStatusButton->setGeometry(QRect(10, 90, 120, 36));
+ QPalette palette;
+ QBrush brush(QColor(0, 0, 0, 255));
+ brush.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
+ QBrush brush1(QColor(170, 170, 127, 255));
+ brush1.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::Button, brush1);
+ QBrush brush2(QColor(255, 255, 191, 255));
+ brush2.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::Light, brush2);
+ QBrush brush3(QColor(212, 212, 159, 255));
+ brush3.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
+ QBrush brush4(QColor(85, 85, 63, 255));
+ brush4.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
+ QBrush brush5(QColor(113, 113, 84, 255));
+ brush5.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
+ palette.setBrush(QPalette::Active, QPalette::Text, brush);
+ QBrush brush6(QColor(255, 255, 255, 255));
+ brush6.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::BrightText, brush6);
+ palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
+ palette.setBrush(QPalette::Active, QPalette::Base, brush6);
+ palette.setBrush(QPalette::Active, QPalette::Window, brush1);
+ palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
+ QBrush brush7(QColor(212, 212, 191, 255));
+ brush7.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush7);
+ QBrush brush8(QColor(255, 255, 220, 255));
+ brush8.setStyle(Qt::SolidPattern);
+ palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush8);
+ palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
+ palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
+ palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
+ palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
+ palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
+ palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
+ palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
+ palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
+ palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush6);
+ palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
+ palette.setBrush(QPalette::Inactive, QPalette::Base, brush6);
+ palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
+ palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
+ palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush7);
+ palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush8);
+ palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
+ palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
+ palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
+ palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
+ palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
+ palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
+ palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
+ palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
+ palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush6);
+ palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
+ palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
+ palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
+ palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
+ palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
+ palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush8);
+ palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
+ getFirewallStatusButton->setPalette(palette);
+ getFirewallStatusButton->setIconSize(QSize(30, 30));
+ getFirewallStatusButton->setCheckable(false);
tabWidget_6->addTab(tab_26, QString());
QIcon icon17;
icon17.addFile(QStringLiteral(":/images/559612.png"), QSize(), QIcon::Normal, QIcon::Off);
@@ -531,15 +615,18 @@ class Ui_MainWindow
tabWidget_3->setAutoFillBackground(false);
tab_7 = new QWidget();
tab_7->setObjectName(QStringLiteral("tab_7"));
- checkBox_001 = new QCheckBox(tab_7);
- checkBox_001->setObjectName(QStringLiteral("checkBox_001"));
- checkBox_001->setGeometry(QRect(10, 40, 251, 23));
- checkBox_005 = new QCheckBox(tab_7);
- checkBox_005->setObjectName(QStringLiteral("checkBox_005"));
- checkBox_005->setGeometry(QRect(10, 80, 251, 23));
- checkBox_003 = new QCheckBox(tab_7);
- checkBox_003->setObjectName(QStringLiteral("checkBox_003"));
- checkBox_003->setGeometry(QRect(10, 60, 251, 23));
+ checkBox_SysMain = new QCheckBox(tab_7);
+ checkBox_SysMain->setObjectName(QStringLiteral("checkBox_SysMain"));
+ checkBox_SysMain->setEnabled(false);
+ checkBox_SysMain->setGeometry(QRect(10, 40, 251, 23));
+ checkBox_WSearch = new QCheckBox(tab_7);
+ checkBox_WSearch->setObjectName(QStringLiteral("checkBox_WSearch"));
+ checkBox_WSearch->setEnabled(false);
+ checkBox_WSearch->setGeometry(QRect(10, 100, 251, 23));
+ checkBox_Bits = new QCheckBox(tab_7);
+ checkBox_Bits->setObjectName(QStringLiteral("checkBox_Bits"));
+ checkBox_Bits->setEnabled(false);
+ checkBox_Bits->setGeometry(QRect(10, 70, 251, 23));
label_37 = new QLabel(tab_7);
label_37->setObjectName(QStringLiteral("label_37"));
label_37->setGeometry(QRect(10, 10, 241, 16));
@@ -549,6 +636,7 @@ class Ui_MainWindow
RestoreAllServicesToDefaultButton->setGeometry(QRect(450, 160, 90, 41));
loadServicesSelectionButton = new QPushButton(tab_7);
loadServicesSelectionButton->setObjectName(QStringLiteral("loadServicesSelectionButton"));
+ loadServicesSelectionButton->setEnabled(false);
loadServicesSelectionButton->setGeometry(QRect(450, 220, 90, 23));
saveSelectionButton_2 = new QPushButton(tab_7);
saveSelectionButton_2->setObjectName(QStringLiteral("saveSelectionButton_2"));
@@ -577,11 +665,6 @@ class Ui_MainWindow
label_19->setObjectName(QStringLiteral("label_19"));
label_19->setGeometry(QRect(10, 350, 111, 16));
label_19->setFont(font);
- searchUpdatesButton = new QPushButton(tab_7);
- searchUpdatesButton->setObjectName(QStringLiteral("searchUpdatesButton"));
- searchUpdatesButton->setGeometry(QRect(270, 410, 120, 36));
- searchUpdatesButton->setIconSize(QSize(30, 30));
- searchUpdatesButton->setCheckable(false);
openCmdButton = new QPushButton(tab_7);
openCmdButton->setObjectName(QStringLiteral("openCmdButton"));
openCmdButton->setGeometry(QRect(10, 370, 120, 36));
@@ -614,95 +697,71 @@ class Ui_MainWindow
openTaskmgrButton->setCheckable(false);
loadTweaksSelectionButton = new QPushButton(tab_7);
loadTweaksSelectionButton->setObjectName(QStringLiteral("loadTweaksSelectionButton"));
+ loadTweaksSelectionButton->setEnabled(false);
loadTweaksSelectionButton->setGeometry(QRect(450, 450, 90, 23));
RestoreTweaksToDefaultButton = new QPushButton(tab_7);
RestoreTweaksToDefaultButton->setObjectName(QStringLiteral("RestoreTweaksToDefaultButton"));
+ RestoreTweaksToDefaultButton->setEnabled(false);
RestoreTweaksToDefaultButton->setGeometry(QRect(450, 400, 90, 41));
applyTweaksButton = new QPushButton(tab_7);
applyTweaksButton->setObjectName(QStringLiteral("applyTweaksButton"));
- applyTweaksButton->setGeometry(QRect(450, 370, 90, 23));
+ applyTweaksButton->setEnabled(false);
+ applyTweaksButton->setGeometry(QRect(450, 352, 90, 41));
unloadTweaksSelectionButton = new QPushButton(tab_7);
unloadTweaksSelectionButton->setObjectName(QStringLiteral("unloadTweaksSelectionButton"));
+ unloadTweaksSelectionButton->setEnabled(false);
unloadTweaksSelectionButton->setGeometry(QRect(450, 480, 90, 23));
- updateSystemTimeButton = new QPushButton(tab_7);
+ checkBox_Wuauserv = new QCheckBox(tab_7);
+ checkBox_Wuauserv->setObjectName(QStringLiteral("checkBox_Wuauserv"));
+ checkBox_Wuauserv->setEnabled(false);
+ checkBox_Wuauserv->setGeometry(QRect(10, 130, 251, 23));
+ knowLicenceExpirationButton_3 = new QPushButton(tab_7);
+ knowLicenceExpirationButton_3->setObjectName(QStringLiteral("knowLicenceExpirationButton_3"));
+ knowLicenceExpirationButton_3->setGeometry(QRect(10, 170, 120, 36));
+ knowLicenceExpirationButton_3->setIconSize(QSize(30, 30));
+ knowLicenceExpirationButton_3->setCheckable(false);
+ tabWidget_3->addTab(tab_7, QString());
+ tab_6 = new QWidget();
+ tab_6->setObjectName(QStringLiteral("tab_6"));
+ tabWidget_3->addTab(tab_6, QString());
+ tab_12 = new QWidget();
+ tab_12->setObjectName(QStringLiteral("tab_12"));
+ ImportOutlookButton = new QPushButton(tab_12);
+ ImportOutlookButton->setObjectName(QStringLiteral("ImportOutlookButton"));
+ ImportOutlookButton->setEnabled(false);
+ ImportOutlookButton->setGeometry(QRect(270, 70, 120, 36));
+ ImportOutlookButton->setIconSize(QSize(30, 30));
+ ImportOutlookButton->setCheckable(false);
+ label_16 = new QLabel(tab_12);
+ label_16->setObjectName(QStringLiteral("label_16"));
+ label_16->setGeometry(QRect(270, 10, 171, 16));
+ label_16->setFont(font);
+ label_14 = new QLabel(tab_12);
+ label_14->setObjectName(QStringLiteral("label_14"));
+ label_14->setGeometry(QRect(10, 10, 171, 16));
+ label_14->setFont(font);
+ UTCButton = new QPushButton(tab_12);
+ UTCButton->setObjectName(QStringLiteral("UTCButton"));
+ UTCButton->setEnabled(false);
+ UTCButton->setGeometry(QRect(10, 30, 120, 36));
+ UTCButton->setIconSize(QSize(30, 30));
+ UTCButton->setCheckable(false);
+ ExportOutlookButton = new QPushButton(tab_12);
+ ExportOutlookButton->setObjectName(QStringLiteral("ExportOutlookButton"));
+ ExportOutlookButton->setEnabled(false);
+ ExportOutlookButton->setGeometry(QRect(270, 30, 120, 36));
+ ExportOutlookButton->setIconSize(QSize(30, 30));
+ ExportOutlookButton->setCheckable(false);
+ GMTButton = new QPushButton(tab_12);
+ GMTButton->setObjectName(QStringLiteral("GMTButton"));
+ GMTButton->setEnabled(false);
+ GMTButton->setGeometry(QRect(10, 70, 120, 36));
+ GMTButton->setIconSize(QSize(30, 30));
+ GMTButton->setCheckable(false);
+ updateSystemTimeButton = new QPushButton(tab_12);
updateSystemTimeButton->setObjectName(QStringLiteral("updateSystemTimeButton"));
updateSystemTimeButton->setEnabled(false);
- updateSystemTimeButton->setGeometry(QRect(10, 190, 120, 36));
- QPalette palette;
- QBrush brush(QColor(0, 0, 0, 255));
- brush.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
- QBrush brush1(QColor(170, 170, 127, 255));
- brush1.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Button, brush1);
- QBrush brush2(QColor(255, 255, 191, 255));
- brush2.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Light, brush2);
- QBrush brush3(QColor(212, 212, 159, 255));
- brush3.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
- QBrush brush4(QColor(85, 85, 63, 255));
- brush4.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
- QBrush brush5(QColor(113, 113, 84, 255));
- brush5.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
- palette.setBrush(QPalette::Active, QPalette::Text, brush);
- QBrush brush6(QColor(255, 255, 255, 255));
- brush6.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::BrightText, brush6);
- palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
- palette.setBrush(QPalette::Active, QPalette::Base, brush6);
- palette.setBrush(QPalette::Active, QPalette::Window, brush1);
- palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
- QBrush brush7(QColor(212, 212, 191, 255));
- brush7.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush7);
- QBrush brush8(QColor(255, 255, 220, 255));
- brush8.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush8);
- palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
- palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
- palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
- palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
- palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
- palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
- palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
- palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
- palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush6);
- palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
- palette.setBrush(QPalette::Inactive, QPalette::Base, brush6);
- palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
- palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
- palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush7);
- palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush8);
- palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
- palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
- palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
- palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
- palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
- palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
- palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
- palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
- palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush6);
- palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
- palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
- palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
- palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
- palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
- palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush8);
- palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
- updateSystemTimeButton->setPalette(palette);
- updateSystemTimeButton->setIconSize(QSize(30, 30));
- updateSystemTimeButton->setCheckable(false);
- label_15 = new QLabel(tab_7);
- label_15->setObjectName(QStringLiteral("label_15"));
- label_15->setGeometry(QRect(10, 130, 61, 16));
- label_15->setFont(font);
- getFirewallStatusButton = new QPushButton(tab_7);
- getFirewallStatusButton->setObjectName(QStringLiteral("getFirewallStatusButton"));
- getFirewallStatusButton->setEnabled(false);
- getFirewallStatusButton->setGeometry(QRect(10, 150, 120, 36));
+ updateSystemTimeButton->setGeometry(QRect(10, 200, 120, 36));
QPalette palette1;
palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
palette1.setBrush(QPalette::Active, QPalette::Button, brush1);
@@ -749,13 +808,13 @@ class Ui_MainWindow
palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush8);
palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
- getFirewallStatusButton->setPalette(palette1);
- getFirewallStatusButton->setIconSize(QSize(30, 30));
- getFirewallStatusButton->setCheckable(false);
- startExplorerButton = new QPushButton(tab_7);
- startExplorerButton->setObjectName(QStringLiteral("startExplorerButton"));
- startExplorerButton->setEnabled(false);
- startExplorerButton->setGeometry(QRect(140, 190, 120, 36));
+ updateSystemTimeButton->setPalette(palette1);
+ updateSystemTimeButton->setIconSize(QSize(30, 30));
+ updateSystemTimeButton->setCheckable(false);
+ restartExplorerButton = new QPushButton(tab_12);
+ restartExplorerButton->setObjectName(QStringLiteral("restartExplorerButton"));
+ restartExplorerButton->setEnabled(false);
+ restartExplorerButton->setGeometry(QRect(140, 160, 120, 36));
QPalette palette2;
palette2.setBrush(QPalette::Active, QPalette::WindowText, brush);
palette2.setBrush(QPalette::Active, QPalette::Button, brush1);
@@ -802,23 +861,13 @@ class Ui_MainWindow
palette2.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
palette2.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush8);
palette2.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
- startExplorerButton->setPalette(palette2);
- startExplorerButton->setIconSize(QSize(30, 30));
- startExplorerButton->setCheckable(false);
- label_14 = new QLabel(tab_7);
- label_14->setObjectName(QStringLiteral("label_14"));
- label_14->setGeometry(QRect(10, 240, 171, 16));
- label_14->setFont(font);
- ImportOutlookButton = new QPushButton(tab_7);
- ImportOutlookButton->setObjectName(QStringLiteral("ImportOutlookButton"));
- ImportOutlookButton->setEnabled(false);
- ImportOutlookButton->setGeometry(QRect(140, 300, 120, 36));
- ImportOutlookButton->setIconSize(QSize(30, 30));
- ImportOutlookButton->setCheckable(false);
- restartExplorerButton = new QPushButton(tab_7);
- restartExplorerButton->setObjectName(QStringLiteral("restartExplorerButton"));
- restartExplorerButton->setEnabled(false);
- restartExplorerButton->setGeometry(QRect(140, 150, 120, 36));
+ restartExplorerButton->setPalette(palette2);
+ restartExplorerButton->setIconSize(QSize(30, 30));
+ restartExplorerButton->setCheckable(false);
+ startExplorerButton = new QPushButton(tab_12);
+ startExplorerButton->setObjectName(QStringLiteral("startExplorerButton"));
+ startExplorerButton->setEnabled(false);
+ startExplorerButton->setGeometry(QRect(140, 200, 120, 36));
QPalette palette3;
palette3.setBrush(QPalette::Active, QPalette::WindowText, brush);
palette3.setBrush(QPalette::Active, QPalette::Button, brush1);
@@ -865,36 +914,10 @@ class Ui_MainWindow
palette3.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
palette3.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush8);
palette3.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
- restartExplorerButton->setPalette(palette3);
- restartExplorerButton->setIconSize(QSize(30, 30));
- restartExplorerButton->setCheckable(false);
- UTCButton = new QPushButton(tab_7);
- UTCButton->setObjectName(QStringLiteral("UTCButton"));
- UTCButton->setGeometry(QRect(10, 260, 120, 36));
- UTCButton->setIconSize(QSize(30, 30));
- UTCButton->setCheckable(false);
- label_16 = new QLabel(tab_7);
- label_16->setObjectName(QStringLiteral("label_16"));
- label_16->setGeometry(QRect(140, 240, 171, 16));
- label_16->setFont(font);
- GMTButton = new QPushButton(tab_7);
- GMTButton->setObjectName(QStringLiteral("GMTButton"));
- GMTButton->setGeometry(QRect(10, 300, 120, 36));
- GMTButton->setIconSize(QSize(30, 30));
- GMTButton->setCheckable(false);
- ExportOutlookButton = new QPushButton(tab_7);
- ExportOutlookButton->setObjectName(QStringLiteral("ExportOutlookButton"));
- ExportOutlookButton->setEnabled(false);
- ExportOutlookButton->setGeometry(QRect(140, 260, 120, 36));
- ExportOutlookButton->setIconSize(QSize(30, 30));
- ExportOutlookButton->setCheckable(false);
- checkBox_wuauserv = new QCheckBox(tab_7);
- checkBox_wuauserv->setObjectName(QStringLiteral("checkBox_wuauserv"));
- checkBox_wuauserv->setGeometry(QRect(10, 100, 251, 23));
- tabWidget_3->addTab(tab_7, QString());
- tab_6 = new QWidget();
- tab_6->setObjectName(QStringLiteral("tab_6"));
- tabWidget_3->addTab(tab_6, QString());
+ startExplorerButton->setPalette(palette3);
+ startExplorerButton->setIconSize(QSize(30, 30));
+ startExplorerButton->setCheckable(false);
+ tabWidget_3->addTab(tab_12, QString());
QIcon icon19;
icon19.addFile(QStringLiteral(":/images/settings-5122.png"), QSize(), QIcon::Normal, QIcon::Off);
tabWidget->addTab(tab_3, icon19, QString());
@@ -934,14 +957,19 @@ class Ui_MainWindow
menuAyuda->addAction(actionAbout);
menuAyuda->addAction(actionAbout_Qt);
menuRun->addAction(actionSeeReleases);
+ menuRun->addAction(actionUpdate_Scripts);
+ menuRun->addAction(actionUpdate_Program);
toolBar->addSeparator();
toolBar->addAction(actionTwitter);
toolBar->addSeparator();
+ toolBar->addAction(actionSeeReleases);
+ toolBar->addAction(actionUpdate_Scripts);
+ toolBar->addAction(actionUpdate_Program);
retranslateUi(MainWindow);
QObject::connect(actionExit, SIGNAL(triggered()), MainWindow, SLOT(close()));
- tabWidget->setCurrentIndex(6);
+ tabWidget->setCurrentIndex(0);
tabWidget_2->setCurrentIndex(0);
tabWidget_8->setCurrentIndex(0);
tabWidget_4->setCurrentIndex(0);
@@ -978,6 +1006,8 @@ class Ui_MainWindow
actionTwitter->setToolTip(QApplication::translate("MainWindow", "Go to Twitter", nullptr));
#endif // QT_NO_TOOLTIP
actionTutorial->setText(QApplication::translate("MainWindow", "Tutorial", nullptr));
+ actionUpdate_Scripts->setText(QApplication::translate("MainWindow", "Update Scripts", nullptr));
+ actionUpdate_Program->setText(QApplication::translate("MainWindow", "Update Program", nullptr));
label_36->setText(QApplication::translate("MainWindow", "Scripts Manager", nullptr));
#ifndef QT_NO_WHATSTHIS
runWindosUpdateMiniToolButton->setWhatsThis(QString());
@@ -1072,14 +1102,6 @@ class Ui_MainWindow
runProcessHackerButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
label_50->setText(QApplication::translate("MainWindow", "ChrisPC Win Experience Index", nullptr));
-#ifndef QT_NO_TOOLTIP
- updateScriptsButton->setToolTip(QApplication::translate("MainWindow", "Update scripts
", nullptr));
-#endif // QT_NO_TOOLTIP
- updateScriptsButton->setText(QString());
-#ifndef QT_NO_TOOLTIP
- updateAppButton->setToolTip(QApplication::translate("MainWindow", "Update program
", nullptr));
-#endif // QT_NO_TOOLTIP
- updateAppButton->setText(QString());
#ifndef QT_NO_WHATSTHIS
runStopUpdates10Button->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
@@ -1101,13 +1123,30 @@ class Ui_MainWindow
label_44->setText(QApplication::translate("MainWindow", "Log update scripts", nullptr));
tabWidget_8->setTabText(tabWidget_8->indexOf(tab_27), QApplication::translate("MainWindow", "Sources", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_16), QString());
+#ifndef QT_NO_WHATSTHIS
+ searchUpdatesButton->setWhatsThis(QString());
+#endif // QT_NO_WHATSTHIS
+ searchUpdatesButton->setText(QApplication::translate("MainWindow", "Search updates", nullptr));
+#ifndef QT_NO_SHORTCUT
+ searchUpdatesButton->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
+#ifndef QT_NO_TOOLTIP
+ knowLicenceExpirationButton_2->setToolTip(QApplication::translate("MainWindow", "When your Windows license expires?
", nullptr));
+#endif // QT_NO_TOOLTIP
+#ifndef QT_NO_WHATSTHIS
+ knowLicenceExpirationButton_2->setWhatsThis(QString());
+#endif // QT_NO_WHATSTHIS
+ knowLicenceExpirationButton_2->setText(QApplication::translate("MainWindow", "Know Windows Version", nullptr));
+#ifndef QT_NO_SHORTCUT
+ knowLicenceExpirationButton_2->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
tabWidget_4->setTabText(tabWidget_4->indexOf(tab_8), QApplication::translate("MainWindow", "Normal user", nullptr));
tabWidget_4->setTabText(tabWidget_4->indexOf(tab_9), QApplication::translate("MainWindow", "Advanced user", nullptr));
tabWidget_4->setTabText(tabWidget_4->indexOf(tab_10), QApplication::translate("MainWindow", "Developer", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab), QString());
tabWidget->setTabToolTip(tabWidget->indexOf(tab), QApplication::translate("MainWindow", "System", nullptr));
label_2->setText(QApplication::translate("MainWindow", "Check system integrity", nullptr));
- label_18->setText(QApplication::translate("MainWindow", "shutdown -Fr now", nullptr));
+ label_18->setText(QApplication::translate("MainWindow", "sfc /scannow", nullptr));
label_30->setText(QApplication::translate("MainWindow", "Be careful, your system will reboot", nullptr));
#ifndef QT_NO_TOOLTIP
integrityCheckButton_2->setToolTip(QApplication::translate("MainWindow", "SFC/ScanNow
", nullptr));
@@ -1157,6 +1196,13 @@ class Ui_MainWindow
disableFirewallButton->setText(QApplication::translate("MainWindow", "Disable firewall", nullptr));
#ifndef QT_NO_SHORTCUT
disableFirewallButton->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
+#ifndef QT_NO_WHATSTHIS
+ getFirewallStatusButton->setWhatsThis(QString());
+#endif // QT_NO_WHATSTHIS
+ getFirewallStatusButton->setText(QApplication::translate("MainWindow", "Get firewall status", nullptr));
+#ifndef QT_NO_SHORTCUT
+ getFirewallStatusButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
tabWidget_6->setTabText(tabWidget_6->indexOf(tab_26), QApplication::translate("MainWindow", "Security", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_15), QString());
@@ -1190,9 +1236,9 @@ class Ui_MainWindow
#endif // QT_NO_SHORTCUT
tabWidget_7->setTabText(tabWidget_7->indexOf(tab_31), QApplication::translate("MainWindow", "Power", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_5), QString());
- checkBox_001->setText(QApplication::translate("MainWindow", "Superfetch - SysMain", nullptr));
- checkBox_005->setText(QApplication::translate("MainWindow", "Windows Search - WSearch", nullptr));
- checkBox_003->setText(QApplication::translate("MainWindow", "BITS", nullptr));
+ checkBox_SysMain->setText(QApplication::translate("MainWindow", "Superfetch - SysMain", nullptr));
+ checkBox_WSearch->setText(QApplication::translate("MainWindow", "Windows Search - WSearch", nullptr));
+ checkBox_Bits->setText(QApplication::translate("MainWindow", "BITS", nullptr));
label_37->setText(QApplication::translate("MainWindow", "Services", nullptr));
RestoreAllServicesToDefaultButton->setText(QApplication::translate("MainWindow", "Restore all\n"
" services to Def.", nullptr));
@@ -1217,13 +1263,6 @@ class Ui_MainWindow
openServicesButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
label_19->setText(QApplication::translate("MainWindow", "Shortcuts", nullptr));
-#ifndef QT_NO_WHATSTHIS
- searchUpdatesButton->setWhatsThis(QString());
-#endif // QT_NO_WHATSTHIS
- searchUpdatesButton->setText(QApplication::translate("MainWindow", "Search updates", nullptr));
-#ifndef QT_NO_SHORTCUT
- searchUpdatesButton->setShortcut(QString());
-#endif // QT_NO_SHORTCUT
#ifndef QT_NO_WHATSTHIS
openCmdButton->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
@@ -1272,34 +1311,22 @@ class Ui_MainWindow
loadTweaksSelectionButton->setText(QApplication::translate("MainWindow", "Load", nullptr));
RestoreTweaksToDefaultButton->setText(QApplication::translate("MainWindow", "Restore tweaks\n"
" to Default", nullptr));
- applyTweaksButton->setText(QApplication::translate("MainWindow", "Apply", nullptr));
+ applyTweaksButton->setText(QApplication::translate("MainWindow", "Apply predefined\n"
+" tweaks", nullptr));
unloadTweaksSelectionButton->setText(QApplication::translate("MainWindow", "Unload", nullptr));
+ checkBox_Wuauserv->setText(QApplication::translate("MainWindow", "Windows Update - Wuauserv", nullptr));
#ifndef QT_NO_TOOLTIP
- updateSystemTimeButton->setToolTip(QString());
+ knowLicenceExpirationButton_3->setToolTip(QApplication::translate("MainWindow", "When your Windows license expires?
", nullptr));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_WHATSTHIS
- updateSystemTimeButton->setWhatsThis(QString());
+ knowLicenceExpirationButton_3->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
- updateSystemTimeButton->setText(QApplication::translate("MainWindow", "Update system time", nullptr));
+ knowLicenceExpirationButton_3->setText(QApplication::translate("MainWindow", "Check Services Status", nullptr));
#ifndef QT_NO_SHORTCUT
- updateSystemTimeButton->setShortcut(QString());
+ knowLicenceExpirationButton_3->setShortcut(QString());
#endif // QT_NO_SHORTCUT
- label_15->setText(QApplication::translate("MainWindow", "Extra", nullptr));
-#ifndef QT_NO_WHATSTHIS
- getFirewallStatusButton->setWhatsThis(QString());
-#endif // QT_NO_WHATSTHIS
- getFirewallStatusButton->setText(QApplication::translate("MainWindow", "Get firewall status", nullptr));
-#ifndef QT_NO_SHORTCUT
- getFirewallStatusButton->setShortcut(QString());
-#endif // QT_NO_SHORTCUT
-#ifndef QT_NO_WHATSTHIS
- startExplorerButton->setWhatsThis(QString());
-#endif // QT_NO_WHATSTHIS
- startExplorerButton->setText(QApplication::translate("MainWindow", "Start explorer.exe", nullptr));
-#ifndef QT_NO_SHORTCUT
- startExplorerButton->setShortcut(QString());
-#endif // QT_NO_SHORTCUT
- label_14->setText(QApplication::translate("MainWindow", "Current Local Time", nullptr));
+ tabWidget_3->setTabText(tabWidget_3->indexOf(tab_7), QApplication::translate("MainWindow", "Extras", nullptr));
+ tabWidget_3->setTabText(tabWidget_3->indexOf(tab_6), QApplication::translate("MainWindow", "Fonts", nullptr));
#ifndef QT_NO_TOOLTIP
ImportOutlookButton->setToolTip(QApplication::translate("MainWindow", "Uses defaults locations only
From:
C:\\Program Files(x86)\\winsys\\OutlookProfile\\OutlookWinsys.reg
C:\\Program Files(x86)\\winsys\\OutlookData\\*
To:
HKEY_CURRENT_USER\\\\Software\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\Windows Messaging Subsystem\\\\Profiles
%localappdata%\\Microsoft\\Outlook\\*
", nullptr));
#endif // QT_NO_TOOLTIP
@@ -1310,13 +1337,8 @@ class Ui_MainWindow
#ifndef QT_NO_SHORTCUT
ImportOutlookButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
-#ifndef QT_NO_WHATSTHIS
- restartExplorerButton->setWhatsThis(QString());
-#endif // QT_NO_WHATSTHIS
- restartExplorerButton->setText(QApplication::translate("MainWindow", "Restart explorer.exe", nullptr));
-#ifndef QT_NO_SHORTCUT
- restartExplorerButton->setShortcut(QString());
-#endif // QT_NO_SHORTCUT
+ label_16->setText(QApplication::translate("MainWindow", "Outlook", nullptr));
+ label_14->setText(QApplication::translate("MainWindow", "Current Local Time", nullptr));
#ifndef QT_NO_TOOLTIP
UTCButton->setToolTip(QApplication::translate("MainWindow", "I recommend to change to this
", nullptr));
#endif // QT_NO_TOOLTIP
@@ -1327,7 +1349,16 @@ class Ui_MainWindow
#ifndef QT_NO_SHORTCUT
UTCButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
- label_16->setText(QApplication::translate("MainWindow", "Outlook", nullptr));
+#ifndef QT_NO_TOOLTIP
+ ExportOutlookButton->setToolTip(QApplication::translate("MainWindow", "Uses defaults locations only
From:
HKEY_CURRENT_USER\\\\Software\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\Windows Messaging Subsystem\\\\Profiles
%localappdata%\\Microsoft\\Outlook\\*
To:
C:\\Program Files(x86)\\winsys\\OutlookProfile\\OutlookWinsys.reg
C:\\Program Files(x86)\\winsys\\OutlookData\\*
", nullptr));
+#endif // QT_NO_TOOLTIP
+#ifndef QT_NO_WHATSTHIS
+ ExportOutlookButton->setWhatsThis(QApplication::translate("MainWindow", "
", nullptr));
+#endif // QT_NO_WHATSTHIS
+ ExportOutlookButton->setText(QApplication::translate("MainWindow", "Export profile and data", nullptr));
+#ifndef QT_NO_SHORTCUT
+ ExportOutlookButton->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
#ifndef QT_NO_TOOLTIP
GMTButton->setToolTip(QApplication::translate("MainWindow", "Default setting. Not recommended
", nullptr));
#endif // QT_NO_TOOLTIP
@@ -1339,21 +1370,33 @@ class Ui_MainWindow
GMTButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
#ifndef QT_NO_TOOLTIP
- ExportOutlookButton->setToolTip(QApplication::translate("MainWindow", "Uses defaults locations only
From:
HKEY_CURRENT_USER\\\\Software\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\Windows Messaging Subsystem\\\\Profiles
%localappdata%\\Microsoft\\Outlook\\*
To:
C:\\Program Files(x86)\\winsys\\OutlookProfile\\OutlookWinsys.reg
C:\\Program Files(x86)\\winsys\\OutlookData\\*
", nullptr));
+ updateSystemTimeButton->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_WHATSTHIS
- ExportOutlookButton->setWhatsThis(QApplication::translate("MainWindow", "
", nullptr));
+ updateSystemTimeButton->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
- ExportOutlookButton->setText(QApplication::translate("MainWindow", "Export profile and data", nullptr));
+ updateSystemTimeButton->setText(QApplication::translate("MainWindow", "Update system time", nullptr));
#ifndef QT_NO_SHORTCUT
- ExportOutlookButton->setShortcut(QString());
+ updateSystemTimeButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
- checkBox_wuauserv->setText(QApplication::translate("MainWindow", "Windows Update - wuauserv", nullptr));
- tabWidget_3->setTabText(tabWidget_3->indexOf(tab_7), QApplication::translate("MainWindow", "Extras", nullptr));
- tabWidget_3->setTabText(tabWidget_3->indexOf(tab_6), QApplication::translate("MainWindow", "Fonts", nullptr));
+#ifndef QT_NO_WHATSTHIS
+ restartExplorerButton->setWhatsThis(QString());
+#endif // QT_NO_WHATSTHIS
+ restartExplorerButton->setText(QApplication::translate("MainWindow", "Restart explorer.exe", nullptr));
+#ifndef QT_NO_SHORTCUT
+ restartExplorerButton->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
+#ifndef QT_NO_WHATSTHIS
+ startExplorerButton->setWhatsThis(QString());
+#endif // QT_NO_WHATSTHIS
+ startExplorerButton->setText(QApplication::translate("MainWindow", "Start explorer.exe", nullptr));
+#ifndef QT_NO_SHORTCUT
+ startExplorerButton->setShortcut(QString());
+#endif // QT_NO_SHORTCUT
+ tabWidget_3->setTabText(tabWidget_3->indexOf(tab_12), QApplication::translate("MainWindow", "Tests", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_3), QString());
tabWidget->setTabToolTip(tabWidget->indexOf(tab_3), QApplication::translate("MainWindow", "Tweaks", nullptr));
- label->setText(QApplication::translate("MainWindow", "v2018.10.29", nullptr));
+ label->setText(QApplication::translate("MainWindow", "v2018.12.08", nullptr));
menuNuevo->setTitle(QApplication::translate("MainWindow", "File", nullptr));
menuEdici_n->setTitle(QApplication::translate("MainWindow", "Edit", nullptr));
menuAyuda->setTitle(QApplication::translate("MainWindow", "Help", nullptr));
diff --git a/src/updatezone.cpp b/src/updatezone.cpp
index ed468cd..4a6aaae 100644
--- a/src/updatezone.cpp
+++ b/src/updatezone.cpp
@@ -4,15 +4,13 @@
///////////////////////UPDATE APP & SCRIPTS ZONE///////////////////////
-void MainWindow::on_updateScriptsButton_clicked()
+void MainWindow::on_actionUpdate_Scripts_triggered()
{
ui->statusBar->showMessage(tr("Updating latest scripts. Please wait"));
system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"& ./022.downloadLatestWindowsScripts.ps1; sleep 2;""\"");
//system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"$down = New-Object System.Net.WebClient; $url = 'https://raw.githubusercontent.com/adgellida/windowsScripts/master/022.downloadLatestWindowsScripts.ps1'; $file = '022.downloadLatestWindowsScripts.ps1'; $down.DownloadFile($url,$file); & ./022.downloadLatestWindowsScripts.ps1; sleep 2;""\"");
-
- //system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"$down = New-Object System.Net.WebClient; $url = 'https://raw.githubusercontent.com/adgellida/windowsScripts/master/022.downloadLatestWindowsScripts.ps1'; iex $down.DownloadString($url); sleep 2;""\"");
}
void MainWindow::on_updateAppButton_clicked()
@@ -20,3 +18,8 @@ void MainWindow::on_updateAppButton_clicked()
QDesktopServices::openUrl(QUrl("https://github.com/adgellida/winsys/releases", QUrl::TolerantMode));
ui->statusBar->showMessage(tr("For now launches to release page to update manually. Please wait."));
}
+
+void MainWindow::on_actionUpdate_Program_triggered()
+{
+ system("@powershell -NoProfile -ExecutionPolicy Bypass -Command \"& ./027.chocoWinsysPackageInstall.ps1; sleep 2;""\"");
+}