Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
80c93d1c
Commit
80c93d1c
authored
3 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
shorten class name -> AboutDialog
parent
0ea78061
No related branches found
No related tags found
1 merge request
!427
Reduce include dependences in GUI; break cyclic dependence between View and Model
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GUI/Views/Main/AboutDialog.cpp
+5
-5
5 additions, 5 deletions
GUI/Views/Main/AboutDialog.cpp
GUI/Views/Main/AboutDialog.h
+3
-3
3 additions, 3 deletions
GUI/Views/Main/AboutDialog.h
GUI/Views/Main/actionmanager.cpp
+1
-1
1 addition, 1 deletion
GUI/Views/Main/actionmanager.cpp
with
9 additions
and
9 deletions
GUI/Views/Main/AboutDialog.cpp
+
5
−
5
View file @
80c93d1c
...
...
@@ -3,7 +3,7 @@
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/Views/Main/AboutDialog.cpp
//! @brief Implements class About
Application
Dialog
//! @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
About
Application
Dialog
::
About
Application
Dialog
(
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
*
About
Application
Dialog
::
createLogoLayout
()
QBoxLayout
*
AboutDialog
::
createLogoLayout
()
{
auto
result
=
new
QVBoxLayout
;
...
...
@@ -80,7 +80,7 @@ QBoxLayout* AboutApplicationDialog::createLogoLayout()
return
result
;
}
QBoxLayout
*
About
Application
Dialog
::
createTextLayout
()
QBoxLayout
*
AboutDialog
::
createTextLayout
()
{
auto
result
=
new
QVBoxLayout
;
...
...
@@ -137,7 +137,7 @@ QBoxLayout* AboutApplicationDialog::createTextLayout()
return
result
;
}
QBoxLayout
*
About
Application
Dialog
::
createButtonLayout
()
QBoxLayout
*
AboutDialog
::
createButtonLayout
()
{
auto
result
=
new
QHBoxLayout
;
...
...
This diff is collapsed.
Click to expand it.
GUI/Views/Main/AboutDialog.h
+
3
−
3
View file @
80c93d1c
...
...
@@ -3,7 +3,7 @@
// BornAgain: simulate and fit reflection and scattering
//
//! @file GUI/Views/Main/AboutDialog.h
//! @brief Defines class About
Application
Dialog
//! @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
About
Application
Dialog
:
public
QDialog
{
class
AboutDialog
:
public
QDialog
{
Q_OBJECT
public:
About
Application
Dialog
(
QWidget
*
parent
=
0
);
AboutDialog
(
QWidget
*
parent
=
0
);
private:
QBoxLayout
*
createLogoLayout
();
...
...
This diff is collapsed.
Click to expand it.
GUI/Views/Main/actionmanager.cpp
+
1
−
1
View file @
80c93d1c
...
...
@@ -307,7 +307,7 @@ void ActionManager::setSessionModelViewActive(bool status)
void
ActionManager
::
onAboutApplication
()
{
About
Application
Dialog
dialog
(
m_mainWindow
);
AboutDialog
dialog
(
m_mainWindow
);
dialog
.
exec
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment