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"?>
<!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>
<data>
<variable>EnvironmentId</variable>
@ -303,8 +303,8 @@
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">lubuntuWelcomeCenter</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></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.DisplayName">lubuntuWelcomeCenter2</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="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">lubuntuWelcomeCenter.pro</value>

@ -35,7 +35,7 @@ MainWindow::~MainWindow()
void MainWindow::on_buttonManual_clicked()
{
QString manualLink = "https://wiki.ubuntu.com/Lubuntu/DocumentationTeam/Manual";
QString manualLink = "https://manual.lubuntu.me";
QDesktopServices::openUrl(QUrl(manualLink));
}
@ -46,24 +46,22 @@ void MainWindow::on_buttonMonitorSetup_clicked()
process->start(file);
}
void MainWindow::on_buttonControlCenter_clicked()
void MainWindow::on_buttonLXQTConfigurationCenter_clicked()
{
}
void MainWindow::on_buttonCommunity_clicked()
{
// This will open up another UI window that contains more community specific information
QProcess *process = new QProcess(this);
QString file = "/usr/bin/lxqt-config";
process->start(file);
}
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));
}
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()

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

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
<string>Lubuntu Welcome Center</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QFormLayout" name="formLayout">
@ -19,6 +19,9 @@
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<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">
<string>Lubuntu Manual</string>
</property>
@ -26,29 +29,31 @@
</item>
<item>
<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">
<string>Monitor Setup</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonControlCenter">
<property name="text">
<string>Control Center</string>
<widget class="QPushButton" name="buttonLXQTConfigurationCenter">
<property name="toolTip">
<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>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCommunity">
<property name="text">
<string>Community</string>
<string>LXQT Configuration Center</string>
</property>
</widget>
</item>
<item>
<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">
<string>Contribute</string>
<string>Contribute To Lubuntu</string>
</property>
</widget>
</item>

Loading…
Cancel
Save