Samuel Banya: adding latest Lubuntu Welcome Center changes

Summary: Adding latest Lubuntu Welcome Center additions, and clarified buttons with tool tips.

Test Plan: Welcome Center will be built by other team members to test it works.

Reviewers: tsimonq2

Differential Revision: https://phab.lubuntu.me/D52
master
Samuel Banya 6 years ago committed by Simon Quigley
parent 4182859194
commit 1fc72a0812

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.6.2, 2018-12-03T21:07:03. --> <!-- Written by QtCreator 4.6.2, 2019-01-10T19:17:59. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>
@ -303,8 +303,8 @@
<value type="int" key="PE.EnvironmentAspect.Base">2</value> <value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">lubuntuWelcomeCenter</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">lubuntuWelcomeCenter</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">lubuntuWelcomeCenter2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/sam/scripts/phabricator/lubuntuBugs/lubuntu-welcome-center/lubuntuWelcomeCenter.pro</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/sam/scripts/lubuntuBugs/lubuntu-welcome-center/lubuntuWelcomeCenter.pro</value>
<value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value> <value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">lubuntuWelcomeCenter.pro</value> <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">lubuntuWelcomeCenter.pro</value>

@ -35,7 +35,7 @@ MainWindow::~MainWindow()
void MainWindow::on_buttonManual_clicked() void MainWindow::on_buttonManual_clicked()
{ {
QString manualLink = "https://wiki.ubuntu.com/Lubuntu/DocumentationTeam/Manual"; QString manualLink = "https://manual.lubuntu.me";
QDesktopServices::openUrl(QUrl(manualLink)); QDesktopServices::openUrl(QUrl(manualLink));
} }
@ -46,24 +46,22 @@ void MainWindow::on_buttonMonitorSetup_clicked()
process->start(file); process->start(file);
} }
void MainWindow::on_buttonControlCenter_clicked() void MainWindow::on_buttonLXQTConfigurationCenter_clicked()
{ {
} QProcess *process = new QProcess(this);
QString file = "/usr/bin/lxqt-config";
void MainWindow::on_buttonCommunity_clicked() process->start(file);
{
// This will open up another UI window that contains more community specific information
} }
void MainWindow::on_buttonContribute_clicked() void MainWindow::on_buttonContribute_clicked()
{ {
QString contributeLink = "https://launchpad.net/~lubuntu-wiki-docs"; QString contributeLink = "https://phab.lubuntu.me/w/contributor-guide/";
QDesktopServices::openUrl(QUrl(contributeLink)); QDesktopServices::openUrl(QUrl(contributeLink));
} }
void MainWindow::on_actionAbout_triggered() void MainWindow::on_actionAbout_triggered()
{ {
QMessageBox::information(this, "About", "Created by Samuel Banya and Wendy Hill © Lubuntu 2018"); QMessageBox::information(this, "About", "Created by Samuel Banya\n\n© Lubuntu 2018");
} }
void MainWindow::on_actionExit_triggered() void MainWindow::on_actionExit_triggered()

@ -35,9 +35,7 @@ private slots:
void on_buttonMonitorSetup_clicked(); void on_buttonMonitorSetup_clicked();
void on_buttonControlCenter_clicked(); void on_buttonLXQTConfigurationCenter_clicked();
void on_buttonCommunity_clicked();
void on_buttonContribute_clicked(); void on_buttonContribute_clicked();
@ -45,6 +43,7 @@ private slots:
void on_actionExit_triggered(); void on_actionExit_triggered();
private: private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
}; };

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>Lubuntu Welcome Center</string>
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QFormLayout" name="formLayout"> <layout class="QFormLayout" name="formLayout">
@ -19,6 +19,9 @@
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QPushButton" name="buttonManual"> <widget class="QPushButton" name="buttonManual">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;View online manual to see latest changes, fixes, and tips &amp;amp; tricks&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text"> <property name="text">
<string>Lubuntu Manual</string> <string>Lubuntu Manual</string>
</property> </property>
@ -26,29 +29,31 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonMonitorSetup"> <widget class="QPushButton" name="buttonMonitorSetup">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Adjust monitor settings&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text"> <property name="text">
<string>Monitor Setup</string> <string>Monitor Setup</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonControlCenter"> <widget class="QPushButton" name="buttonLXQTConfigurationCenter">
<property name="text"> <property name="toolTip">
<string>Control Center</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open up LXQT Configuration Center to change LXQt settings&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCommunity">
<property name="text"> <property name="text">
<string>Community</string> <string>LXQT Configuration Center</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="buttonContribute"> <widget class="QPushButton" name="buttonContribute">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;View the online Lubuntu Contribution Guide, and learn how to become a part of the team!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text"> <property name="text">
<string>Contribute</string> <string>Contribute To Lubuntu</string>
</property> </property>
</widget> </widget>
</item> </item>

Loading…
Cancel
Save