Delete scribble app

It has been superseded by https://github.com/Kobo-InkBox/user-applications/raw/main/download/Sketch.zip
This commit is contained in:
Nicolas Mailloux 2023-05-21 16:00:56 +00:00
parent c733dd23ab
commit b684f25fa9
4 changed files with 140 additions and 177 deletions

View file

@ -17,7 +17,6 @@ apps::apps(QWidget *parent) :
{ {
ui->setupUi(this); ui->setupUi(this);
ui->koboxAppsOpenButton->setProperty("type", "borderless"); ui->koboxAppsOpenButton->setProperty("type", "borderless");
ui->scribbleLaunchBtn->setProperty("type", "borderless");
ui->calendarLaunchBtn->setProperty("type", "borderless"); ui->calendarLaunchBtn->setProperty("type", "borderless");
ui->savedWordsLaunchBtn->setProperty("type", "borderless"); ui->savedWordsLaunchBtn->setProperty("type", "borderless");
ui->calculatorLaunchBtn->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->label->setStyleSheet("padding-top: 2px; padding-bottom: 5px");
ui->koboxAppsOpenButton->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px"); 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->calendarLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px");
ui->savedWordsLaunchBtn->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"); ui->calculatorLaunchBtn->setStyleSheet("background: lightGrey; font-size: 9pt; padding: 8px");
@ -88,14 +86,6 @@ void apps::exitSlot() {
apps::close(); 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() void apps::on_savedWordsLaunchBtn_clicked()
{ {
log("Launching Saved Words app", className); log("Launching Saved Words app", className);

View file

@ -24,7 +24,6 @@ public:
~apps(); ~apps();
private slots: private slots:
void on_scribbleLaunchBtn_clicked();
void exitSlot(); void exitSlot();
void on_savedWordsLaunchBtn_clicked(); void on_savedWordsLaunchBtn_clicked();
void on_calendarLaunchBtn_clicked(); void on_calendarLaunchBtn_clicked();

View file

@ -123,8 +123,44 @@
<property name="verticalSpacing"> <property name="verticalSpacing">
<number>10</number> <number>10</number>
</property> </property>
<item row="4" column="1"> <item row="0" column="0">
<widget class="QPushButton" name="calendarLaunchBtn"> <widget class="QLabel" name="label_5">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>KoBox apps</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="g2048LaunchBtn">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="reversiLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Reversi</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="vncLaunchBtn">
<property name="font"> <property name="font">
<font> <font>
<family>Inter</family> <family>Inter</family>
@ -136,7 +172,105 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="1"> <item row="2" column="0">
<widget class="QLabel" name="g2048Label">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>2048</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="calendarLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Calendar</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="reversiLaunchBtn">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="savedWordsLaunchBtn">
<property name="font">
<font>
<family>Inter</family>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QPushButton" name="todoLaunchBtn">
<property name="font">
<font>
<family>Inter</family>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Saved words</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="todoLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>To-Do</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="vncViewerLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>VNC viewer</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="calculatorLaunchBtn"> <widget class="QPushButton" name="calculatorLaunchBtn">
<property name="font"> <property name="font">
<font> <font>
@ -162,57 +296,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="1"> <item row="5" column="0">
<widget class="QPushButton" name="vncLaunchBtn">
<property name="font">
<font>
<family>Inter</family>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="reversiLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Reversi</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="g2048Label">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>2048</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="savedWordsLaunchBtn">
<property name="font">
<font>
<family>Inter</family>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="font"> <property name="font">
<font> <font>
@ -224,109 +308,11 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="1">
<widget class="QPushButton" name="todoLaunchBtn">
<property name="font">
<font>
<family>Inter</family>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="calendarLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Calendar</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>KoBox apps</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="reversiLaunchBtn">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="scribbleLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Scribble</string>
</property>
</widget>
</item>
<item row="3" column="1"> <item row="3" column="1">
<widget class="QPushButton" name="g2048LaunchBtn"> <widget class="QPushButton" name="calendarLaunchBtn">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Launch</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="vncViewerLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>VNC viewer</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Saved words</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="scribbleLaunchBtn">
<property name="font"> <property name="font">
<font> <font>
<family>Inter</family> <family>Inter</family>
<italic>false</italic>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
@ -335,18 +321,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="0">
<widget class="QLabel" name="todoLabel">
<property name="font">
<font>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>To-Do</string>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>

View file

@ -91,7 +91,7 @@
<number>0</number> <number>0</number>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="page"> <widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">