Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ImageINSA_Tanguy
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tanguy.Raufflet
ImageINSA_Tanguy
Commits
26054fd9
Commit
26054fd9
authored
12 years ago
by
Sacha Percot-Tétu
Browse files
Options
Downloads
Patches
Plain Diff
Added missing FFT dialog
parent
cb2cc758
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Operations/FFTDialog.cpp
+41
-0
41 additions, 0 deletions
app/Operations/FFTDialog.cpp
app/Operations/FFTDialog.h
+43
-0
43 additions, 0 deletions
app/Operations/FFTDialog.h
app/Operations/FFTDialog.ui
+104
-0
104 additions, 0 deletions
app/Operations/FFTDialog.ui
with
188 additions
and
0 deletions
app/Operations/FFTDialog.cpp
0 → 100644
+
41
−
0
View file @
26054fd9
/*
* Copyright 2011-2012 INSA Rennes
*
* This file is part of EIImage.
*
* EIImage is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EIImage is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EIImage. If not, see <http://www.gnu.org/licenses/>.
*/
#include
"FFTDialog.h"
#include
"ui_FFTDialog.h"
FFTDialog
::
FFTDialog
(
QWidget
*
parent
)
:
QDialog
(
parent
),
ui
(
new
Ui
::
FFTDialog
)
{
ui
->
setupUi
(
this
);
}
FFTDialog
::~
FFTDialog
()
{
delete
ui
;
}
bool
FFTDialog
::
isCentered
()
const
{
return
ui
->
centerBox
->
isChecked
();
}
bool
FFTDialog
::
isMagPhase
()
const
{
return
ui
->
magphaseButton
->
isChecked
();
}
This diff is collapsed.
Click to expand it.
app/Operations/FFTDialog.h
0 → 100644
+
43
−
0
View file @
26054fd9
/*
* Copyright 2011-2012 INSA Rennes
*
* This file is part of EIImage.
*
* EIImage is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EIImage is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EIImage. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FFTDIALOG_H
#define FFTDIALOG_H
#include
<QDialog>
namespace
Ui
{
class
FFTDialog
;
}
class
FFTDialog
:
public
QDialog
{
Q_OBJECT
public:
explicit
FFTDialog
(
QWidget
*
parent
=
0
);
~
FFTDialog
();
bool
isCentered
()
const
;
bool
isMagPhase
()
const
;
private:
Ui
::
FFTDialog
*
ui
;
};
#endif // FFTDIALOG_H
This diff is collapsed.
Click to expand it.
app/Operations/FFTDialog.ui
0 → 100644
+
104
−
0
View file @
26054fd9
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
FFTDialog
</class>
<widget
class=
"QDialog"
name=
"FFTDialog"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
352
</width>
<height>
139
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Dialog
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"title"
>
<string>
Résultat :
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_3"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"QRadioButton"
name=
"magphaseButton"
>
<property
name=
"text"
>
<string>
Magnitude + Phase
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
<item>
<widget
class=
"QRadioButton"
name=
"realimButton"
>
<property
name=
"text"
>
<string>
Real + Imaginary
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"centerBox"
>
<property
name=
"text"
>
<string>
Centered transform
</string>
</property>
<property
name=
"checked"
>
<bool>
true
</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget
class=
"QDialogButtonBox"
name=
"buttonBox"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"standardButtons"
>
<set>
QDialogButtonBox::Cancel|QDialogButtonBox::Ok
</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>
buttonBox
</sender>
<signal>
accepted()
</signal>
<receiver>
FFTDialog
</receiver>
<slot>
accept()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
248
</x>
<y>
254
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
157
</x>
<y>
274
</y>
</hint>
</hints>
</connection>
<connection>
<sender>
buttonBox
</sender>
<signal>
rejected()
</signal>
<receiver>
FFTDialog
</receiver>
<slot>
reject()
</slot>
<hints>
<hint
type=
"sourcelabel"
>
<x>
316
</x>
<y>
260
</y>
</hint>
<hint
type=
"destinationlabel"
>
<x>
286
</x>
<y>
274
</y>
</hint>
</hints>
</connection>
</connections>
</ui>
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