#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "xmlutil.h"
+#include "aboutdialog.h"
#include <QDebug>
#include <QMessageBox>
ui->setupUi(this);
connect(&mFrmAddProfile, SIGNAL(ProfileAddedSuccessfully(Profile)),
this, SLOT(updateProfileList(Profile)));
+/*
+ connect(&ui->mainMenuAbout, SIGNAL(Triggered(QAction*)),
+ this, SLOT(mainAboutClickedSlot()));
+*/
Initialize();
}
mFrmAddProfile.showProfile(p);
}
-void MainWindow::on_mainPBAbout_clicked()
-{
- QMessageBox msg;
- msg.setText("A nice screen yet to be implemented!");
- msg.exec();
- return;
-}
-
void MainWindow::on_mainPBQuit_clicked()
{
mConfig.writeAllProfiles();
mConfig.closeConfig();
close();
}
+
+void MainWindow::on_actionAbout_triggered()
+{
+ AboutDialog abtdlg;
+ abtdlg.exec();
+}
+
+void MainWindow::on_actionAdd_Templated_Profile_triggered()
+{
+ QMessageBox msg;
+ msg.setText("Placeholder for a nice function yet to be implemented!");
+ msg.exec();
+ return;
+}