diff options
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/lumina-info/MainUI.cpp | 2 | ||||
-rw-r--r-- | src-qt5/core/lumina-info/MainUI.ui | 24 | ||||
-rw-r--r-- | src-qt5/core/lumina-info/main.cpp | 3 |
3 files changed, 27 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-info/MainUI.cpp b/src-qt5/core/lumina-info/MainUI.cpp index 32c161ad..98a4c160 100644 --- a/src-qt5/core/lumina-info/MainUI.cpp +++ b/src-qt5/core/lumina-info/MainUI.cpp @@ -48,7 +48,6 @@ void MainUI::updateUI(){ connect(ui->list_sponsors, SIGNAL(itemActivated(QListWidgetItem*)), this, SLOT(showSponsor(QListWidgetItem*)) ); connect(ui->label_proj_lead, SIGNAL(linkActivated(const QString&)), this, SLOT(LinkClicked(QString)) ); connect(ui->label_proj_contrib, SIGNAL(linkActivated(const QString&)), this, SLOT(LinkClicked(QString)) ); - } void MainUI::showQtInfo(){ @@ -63,6 +62,7 @@ void MainUI::showSponsor(QListWidgetItem *item){ void MainUI::LinkClicked(QString url){ QProcess::startDetached("lumina-open \""+url+"\""); } + void MainUI::on_tool_bugs_clicked(){ LinkClicked(ui->tool_bugs->whatsThis()); } diff --git a/src-qt5/core/lumina-info/MainUI.ui b/src-qt5/core/lumina-info/MainUI.ui index 29c8759c..e1feab0a 100644 --- a/src-qt5/core/lumina-info/MainUI.ui +++ b/src-qt5/core/lumina-info/MainUI.ui @@ -76,6 +76,12 @@ <layout class="QGridLayout" name="gridLayout"> <item row="2" column="1"> <widget class="QToolButton" name="tool_sources"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="whatsThis"> <string notr="true">https://github.com/trueos/lumina</string> </property> @@ -105,6 +111,12 @@ </item> <item row="2" column="0"> <widget class="QToolButton" name="tool_website"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="whatsThis"> <string notr="true">http://lumina-desktop.org</string> </property> @@ -127,6 +139,12 @@ </item> <item row="3" column="1"> <widget class="QToolButton" name="tool_bugs"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="whatsThis"> <string notr="true">https://bugs.pcbsd.org/projects/pcbsd</string> </property> @@ -245,6 +263,12 @@ </item> <item row="3" column="0"> <widget class="QToolButton" name="tool_irc"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="whatsThis"> <string notr="true">https://webchat.freenode.net/?channels=%23lumina-desktop</string> </property> diff --git a/src-qt5/core/lumina-info/main.cpp b/src-qt5/core/lumina-info/main.cpp index 38cae2ad..b8eb0dce 100644 --- a/src-qt5/core/lumina-info/main.cpp +++ b/src-qt5/core/lumina-info/main.cpp @@ -23,7 +23,8 @@ int main(int argc, char ** argv) //Start the UI MainUI w; QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance()) ); - w.show(); + //qDebug() << "Show Normal"; + w.showNormal(); int retCode = a.exec(); return retCode; |