Skip to content
Snippets Groups Projects
Commit 80c93d1c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

shorten class name -> AboutDialog

parent 0ea78061
No related branches found
No related tags found
1 merge request!427Reduce include dependences in GUI; break cyclic dependence between View and Model
......@@ -3,7 +3,7 @@
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/Views/Main/AboutDialog.cpp
//! @brief Implements class AboutApplicationDialog
//! @brief Implements class AboutDialog
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
......@@ -43,7 +43,7 @@ QLabel* createLogoLabel()
} // namespace
AboutApplicationDialog::AboutApplicationDialog(QWidget* parent) : QDialog(parent)
AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
{
QColor bgColor(240, 240, 240, 255);
QPalette palette;
......@@ -65,7 +65,7 @@ AboutApplicationDialog::AboutApplicationDialog(QWidget* parent) : QDialog(parent
setLayout(mainLayout);
}
QBoxLayout* AboutApplicationDialog::createLogoLayout()
QBoxLayout* AboutDialog::createLogoLayout()
{
auto result = new QVBoxLayout;
......@@ -80,7 +80,7 @@ QBoxLayout* AboutApplicationDialog::createLogoLayout()
return result;
}
QBoxLayout* AboutApplicationDialog::createTextLayout()
QBoxLayout* AboutDialog::createTextLayout()
{
auto result = new QVBoxLayout;
......@@ -137,7 +137,7 @@ QBoxLayout* AboutApplicationDialog::createTextLayout()
return result;
}
QBoxLayout* AboutApplicationDialog::createButtonLayout()
QBoxLayout* AboutDialog::createButtonLayout()
{
auto result = new QHBoxLayout;
......
......@@ -3,7 +3,7 @@
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/Views/Main/AboutDialog.h
//! @brief Defines class AboutApplicationDialog
//! @brief Defines class AboutDialog
//!
//! @homepage http://www.bornagainproject.org
//! @license GNU General Public License v3 or higher (see COPYING)
......@@ -21,10 +21,10 @@ class QBoxLayout;
//! About BornAgain dialog.
class AboutApplicationDialog : public QDialog {
class AboutDialog : public QDialog {
Q_OBJECT
public:
AboutApplicationDialog(QWidget* parent = 0);
AboutDialog(QWidget* parent = 0);
private:
QBoxLayout* createLogoLayout();
......
......@@ -307,7 +307,7 @@ void ActionManager::setSessionModelViewActive(bool status)
void ActionManager::onAboutApplication()
{
AboutApplicationDialog dialog(m_mainWindow);
AboutDialog dialog(m_mainWindow);
dialog.exec();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment