Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions DFTFringe.pro
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
plotcolor.cpp \
profileplot.cpp \
profileplotpicker.cpp \
ronchicomparedialog.cpp \
psfplot.cpp \
psi_dlg.cpp \
psiphasedisplay.cpp \
Expand Down Expand Up @@ -243,6 +244,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
surfacegraph.cpp \
surfacelightingproxy.cpp \
surfacemanager.cpp \
wavefrontloaderworker.cpp \
transformwavefrontdlg.cpp \
unwraperrorsview.cpp \
usercolormapdlg.cpp \
Expand Down Expand Up @@ -330,6 +332,7 @@ HEADERS += bezier/bezier.h \
plotcolor.h \
profileplot.h \
profileplotpicker.h \
ronchicomparedialog.h \
psfplot.h \
psi_dlg.h \
psiphasedisplay.h \
Expand Down Expand Up @@ -361,6 +364,7 @@ HEADERS += bezier/bezier.h \
surfacegraph.h \
surfacelightingproxy.h \
surfacemanager.h \
wavefrontloaderworker.h \
transformwavefrontdlg.h \
unwraperrorsview.h \
usercolormapdlg.h \
Expand Down
4 changes: 4 additions & 0 deletions DFTFringe_Dale.pro
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ SOURCES += main.cpp \
percentcorrectiondlg.cpp \
profileplot.cpp \
profileplotpicker.cpp \
ronchicomparedialog.cpp \
settingsigramimportconfig.cpp \
startestmoviedlg.cpp \
surface3dcontrolsdlg.cpp \
Expand All @@ -59,6 +60,7 @@ SOURCES += main.cpp \
dftcolormap.cpp \
surfaceanalysistools.cpp \
surfacemanager.cpp \
wavefrontloaderworker.cpp \
zernikedlg.cpp \
zernikepolar.cpp \
zernikeprocess.cpp \
Expand Down Expand Up @@ -163,6 +165,7 @@ HEADERS += mainwindow.h \
percentcorrectiondlg.h \
profileplot.h \
profileplotpicker.h \
ronchicomparedialog.h \
settingsigramimportconfig.h \
startestmoviedlg.h \
surface3dcontrolsdlg.h \
Expand All @@ -175,6 +178,7 @@ HEADERS += mainwindow.h \
dftcolormap.h \
surfaceanalysistools.h \
surfacemanager.h \
wavefrontloaderworker.h \
zernikedlg.h \
zernikepolar.h \
zernikeprocess.h \
Expand Down
4 changes: 4 additions & 0 deletions DFTFringe_QT5.pro
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
plotcolor.cpp \
profileplot.cpp \
profileplotpicker.cpp \
ronchicomparedialog.cpp \
psfplot.cpp \
psi_dlg.cpp \
psiphasedisplay.cpp \
Expand Down Expand Up @@ -242,6 +243,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
surfacegraph.cpp \
surfacelightingproxy.cpp \
surfacemanager.cpp \
wavefrontloaderworker.cpp \
transformwavefrontdlg.cpp \
unwraperrorsview.cpp \
usercolormapdlg.cpp \
Expand Down Expand Up @@ -329,6 +331,7 @@ HEADERS += bezier/bezier.h \
plotcolor.h \
profileplot.h \
profileplotpicker.h \
ronchicomparedialog.h \
psfplot.h \
psi_dlg.h \
psiphasedisplay.h \
Expand Down Expand Up @@ -360,6 +363,7 @@ HEADERS += bezier/bezier.h \
surfacegraph.h \
surfacelightingproxy.h \
surfacemanager.h \
wavefrontloaderworker.h \
transformwavefrontdlg.h \
unwraperrorsview.h \
usercolormapdlg.h \
Expand Down
6 changes: 6 additions & 0 deletions autoinvertdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@
void autoInvertDlg::enableConic(bool b) {
ui->btnUseConic->setEnabled(b);
}

void autoInvertDlg::on_InvertWithoutAskingRb_clicked(bool checked)

Check warning on line 57 in autoinvertdlg.cpp

View workflow job for this annotation

GitHub Actions / build-linux (ubuntu-22.04)

unused parameter ‘checked’ [-Wunused-parameter]

Check warning on line 57 in autoinvertdlg.cpp

View workflow job for this annotation

GitHub Actions / build-linux (ubuntu-24.04)

autoinvertdlg.cpp:57:59 [clang-diagnostic-unused-parameter]

unused parameter 'checked'

Check warning on line 57 in autoinvertdlg.cpp

View workflow job for this annotation

GitHub Actions / build-linux (ubuntu-24.04)

unused parameter ‘checked’ [-Wunused-parameter]

Check warning on line 57 in autoinvertdlg.cpp

View workflow job for this annotation

GitHub Actions / build-linux-clazy (ubuntu-24.04)

unused parameter 'checked' [-Wunused-parameter]

Check warning on line 57 in autoinvertdlg.cpp

View workflow job for this annotation

GitHub Actions / build-DFTFringe

unused parameter 'checked' [-Wunused-parameter]
{

}

2 changes: 2 additions & 0 deletions autoinvertdlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ private slots:

void on_btnOutside_clicked();

void on_InvertWithoutAskingRb_clicked(bool checked);

private:
Ui::autoInvertDlg *ui;
};
Expand Down
48 changes: 45 additions & 3 deletions autoinvertdlg.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1078</width>
<height>464</height>
<width>1295</width>
<height>565</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -25,7 +25,7 @@
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="lblMain">
<property name="font">
Expand Down Expand Up @@ -137,6 +137,48 @@
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;What to do if invertions may be detected&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QRadioButton" name="InvertWithoutAskingRb">
<property name="text">
<string>Don't Ask but Invert</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="AskDoNotInvertRb">
<property name="text">
<string>Ask but Don't Invert</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="DoNotAskorInvertRb">
<property name="text">
<string>Don't ask or invert</string>
</property>
</widget>
Comment on lines +153 to +176
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this code and maybe more comes from when you modified the UI to show us a printscreen in discussion about the autoInvertDialog. But it seems unused. Should be removed.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that code is my temp fix. It should not be merged.

</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
Expand Down
Loading
Loading