From b684f25fa9d0221af3cc0f5aa4a0b184150e1e4c Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Sun, 21 May 2023 16:00:56 +0000 Subject: [PATCH] Delete `scribble` app It has been superseded by https://github.com/Kobo-InkBox/user-applications/raw/main/download/Sketch.zip --- src/apps/apps.cpp | 10 -- src/apps/apps.h | 1 - src/apps/apps.ui | 304 ++++++++++++++++++--------------------- src/settings/settings.ui | 2 +- 4 files changed, 140 insertions(+), 177 deletions(-) diff --git a/src/apps/apps.cpp b/src/apps/apps.cpp index 1b92502..2368721 100644 --- a/src/apps/apps.cpp +++ b/src/apps/apps.cpp @@ -17,7 +17,6 @@ apps::apps(QWidget *parent) : { ui->setupUi(this); ui->koboxAppsOpenButton->setProperty("type", "borderless"); - ui->scribbleLaunchBtn->setProperty("type", "borderless"); ui->calendarLaunchBtn->setProperty("type", "borderless"); ui->savedWordsLaunchBtn->setProperty("type", "borderless"); ui->calculatorLaunchBtn->setProperty("type", "borderless"); @@ -28,7 +27,6 @@ apps::apps(QWidget *parent) : ui->label->setStyleSheet("padding-top: 2px; padding-bottom: 5px"); ui->koboxAppsOpenButton->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); - ui->scribbleLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); ui->calendarLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); ui->savedWordsLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); ui->calculatorLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); @@ -88,14 +86,6 @@ void apps::exitSlot() { apps::close(); } -void apps::on_scribbleLaunchBtn_clicked() -{ - log("Launching external Scribble app", className); - QProcess process; - process.startDetached("scribble", QStringList()); - qApp->quit(); -} - void apps::on_savedWordsLaunchBtn_clicked() { log("Launching Saved Words app", className); diff --git a/src/apps/apps.h b/src/apps/apps.h index b738bd1..d9d138b 100644 --- a/src/apps/apps.h +++ b/src/apps/apps.h @@ -24,7 +24,6 @@ public: ~apps(); private slots: - void on_scribbleLaunchBtn_clicked(); void exitSlot(); void on_savedWordsLaunchBtn_clicked(); void on_calendarLaunchBtn_clicked(); diff --git a/src/apps/apps.ui b/src/apps/apps.ui index bdde51c..c43b243 100644 --- a/src/apps/apps.ui +++ b/src/apps/apps.ui @@ -123,8 +123,44 @@ 10 - - + + + + + true + + + + KoBox apps + + + + + + + + true + + + + Launch + + + + + + + + true + + + + Reversi + + + + + Inter @@ -136,7 +172,105 @@ - + + + + + true + + + + 2048 + + + + + + + + true + + + + Calendar + + + + + + + + true + + + + Launch + + + + + + + + Inter + true + + + + Launch + + + + + + + + Inter + true + + + + Launch + + + + + + + + true + + + + Saved words + + + + + + + + true + + + + To-Do + + + + + + + + true + + + + VNC viewer + + + + @@ -162,57 +296,7 @@ - - - - - Inter - true - - - - Launch - - - - - - - - true - - - - Reversi - - - - - - - - true - - - - 2048 - - - - - - - - Inter - true - - - - Launch - - - - + @@ -224,109 +308,11 @@ - - - - - Inter - true - - - - Launch - - - - - - - - true - - - - Calendar - - - - - - - - true - - - - KoBox apps - - - - - - - - true - - - - Launch - - - - - - - - true - - - - Scribble - - - - - - - true - - - - Launch - - - - - - - - true - - - - VNC viewer - - - - - - - - true - - - - Saved words - - - - - + Inter - false true @@ -335,18 +321,6 @@ - - - - - true - - - - To-Do - - - diff --git a/src/settings/settings.ui b/src/settings/settings.ui index e24de5c..ea26830 100644 --- a/src/settings/settings.ui +++ b/src/settings/settings.ui @@ -91,7 +91,7 @@ 0 - 0 + 1