Added about dialog
[bootcreen] / src / bootscreen.cpp
index 0f9fd97..10a9287 100644 (file)
@@ -31,6 +31,9 @@ BootScreen::BootScreen(QWidget *parent)
 
     menuBar()->addAction(tr("Add"), this, SLOT(addVideo()));
     menuBar()->addAction(tr("Remove"), this, SLOT(removeVideos()));
+    menuBar()->addAction(tr("About"), this, SLOT(showAbout()));
+
+    setWindowTitle("BootScreen Manager");
 
     createList();
 }
@@ -220,6 +223,13 @@ void BootScreen::removeVideos()
 
 }
 
+void BootScreen::showAbout()
+{
+    QString aboutText = "Written by Valerio Valerio <vdv100@gmail.com\n";
+    aboutText += "Icon by Claes Norin <claes.norin@gmail.com>\n\n";
+    QMessageBox::information(this, "BootScreen Manager", aboutText);
+}
+
 void BootScreen::moveUp()
 {
     int currentRow = list->currentRow();