Skip to content

Commit 59e0518

Browse files
authored
Merge pull request #262 from githubdoe/JST/daleworkReview
Several enhancements from dalework. See details in PR
2 parents 747b581 + 2f971fb commit 59e0518

23 files changed

+834
-334
lines changed

DFTFringe.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
235235
simigramdlg.cpp \
236236
simulationsview.cpp \
237237
standastigwizard.cpp \
238+
startestmoviedlg.cpp \
238239
statsview.cpp \
239240
subtractwavefronatsdlg.cpp \
240241
surface3dcontrolsdlg.cpp \
@@ -352,6 +353,7 @@ HEADERS += bezier/bezier.h \
352353
simigramdlg.h \
353354
simulationsview.h \
354355
standastigwizard.h \
356+
startestmoviedlg.h \
355357
statsview.h \
356358
subtractwavefronatsdlg.h \
357359
surface3dcontrolsdlg.h \
@@ -442,6 +444,7 @@ FORMS += arbitrarywavefronthelp.ui \
442444
simigramdlg.ui \
443445
simulationsview.ui \
444446
standastigwizard.ui \
447+
startestmoviedlg.ui \
445448
statsview.ui \
446449
subtractwavefronatsdlg.ui \
447450
surface3dcontrolsdlg.ui \

DFTFringe_Dale.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ SOURCES += main.cpp \
4848
profileplot.cpp \
4949
profileplotpicker.cpp \
5050
settingsigramimportconfig.cpp \
51+
startestmoviedlg.cpp \
5152
surface3dcontrolsdlg.cpp \
5253
surfacegraph.cpp \
5354
surfacelightingproxy.cpp \
@@ -163,6 +164,7 @@ HEADERS += mainwindow.h \
163164
profileplot.h \
164165
profileplotpicker.h \
165166
settingsigramimportconfig.h \
167+
startestmoviedlg.h \
166168
surface3dcontrolsdlg.h \
167169
surfacegraph.h \
168170
surfacelightingproxy.h \
@@ -276,6 +278,7 @@ FORMS += mainwindow.ui \
276278
profileplot.ui \
277279
contourtools.ui \
278280
settingsigramimportconfig.ui \
281+
startestmoviedlg.ui \
279282
surface3dcontrolsdlg.ui \
280283
surfaceanalysistools.ui \
281284
metricsdisplay.ui \

DFTFringe_QT5.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ SOURCES += SingleApplication/singleapplication.cpp \
234234
simigramdlg.cpp \
235235
simulationsview.cpp \
236236
standastigwizard.cpp \
237+
startestmoviedlg.cpp \
237238
statsview.cpp \
238239
subtractwavefronatsdlg.cpp \
239240
surface3dcontrolsdlg.cpp \
@@ -351,6 +352,7 @@ HEADERS += bezier/bezier.h \
351352
simigramdlg.h \
352353
simulationsview.h \
353354
standastigwizard.h \
355+
startestmoviedlg.h \
354356
statsview.h \
355357
subtractwavefronatsdlg.h \
356358
surface3dcontrolsdlg.h \
@@ -441,6 +443,7 @@ FORMS += arbitrarywavefronthelp.ui \
441443
simigramdlg.ui \
442444
simulationsview.ui \
443445
standastigwizard.ui \
446+
startestmoviedlg.ui \
444447
statsview.ui \
445448
subtractwavefronatsdlg.ui \
446449
surface3dcontrolsdlg.ui \

IgramArea.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,14 @@ class IgramArea : public QWidget
150150
void writeOutlines(QString fileName);
151151
QString makeOutlineName();
152152
void shiftoutline(QPointF p);
153-
void setZoomMode(zoomMode mode);
153+
154154
void showAliasDialog();
155155
cv::Mat igramToGray(const cv::Mat &roi);
156156
cv::Mat qImageToMat(QImage &roi);
157157
private slots:
158158
void aperatureChanged();
159159
public slots:
160+
void setZoomMode(zoomMode mode);
160161
void gammaChanged(bool, double);
161162
void generateSimIgram();
162163
void clearImage();
@@ -270,7 +271,6 @@ public slots:
270271
dftThumb *m_dftThumb;
271272
QTimer *m_outlineTimer;
272273
bool hasBeenCropped;
273-
bool m_edgeMode;
274274
int m_zoomBoxWidth;
275275
int m_usingChannel;
276276
zoomMode m_zoomMode;

annulushelpdlg.ui

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,27 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>400</width>
10-
<height>300</height>
9+
<width>508</width>
10+
<height>330</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
1414
<string>Annulus Help</string>
1515
</property>
16-
<layout class="QVBoxLayout" name="verticalLayout">
16+
<layout class="QHBoxLayout" name="horizontalLayout">
17+
<property name="sizeConstraint">
18+
<enum>QLayout::SetNoConstraint</enum>
19+
</property>
20+
<item>
21+
<widget class="QDialogButtonBox" name="buttonBox">
22+
<property name="orientation">
23+
<enum>Qt::Horizontal</enum>
24+
</property>
25+
<property name="standardButtons">
26+
<set>QDialogButtonBox::Ok</set>
27+
</property>
28+
</widget>
29+
</item>
1730
<item>
1831
<widget class="QTextEdit" name="textEdit">
1932
<property name="html">
@@ -33,16 +46,6 @@ p, li { white-space: pre-wrap; }
3346
</property>
3447
</widget>
3548
</item>
36-
<item>
37-
<widget class="QDialogButtonBox" name="buttonBox">
38-
<property name="orientation">
39-
<enum>Qt::Horizontal</enum>
40-
</property>
41-
<property name="standardButtons">
42-
<set>QDialogButtonBox::Ok</set>
43-
</property>
44-
</widget>
45-
</item>
4649
</layout>
4750
</widget>
4851
<resources/>

autoinvertdlg.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ autoInvertDlg::autoInvertDlg(QWidget *parent) :
77
ui(new Ui::autoInvertDlg)
88
{
99
ui->setupUi(this);
10+
setSizeGripEnabled(true);
1011
}
1112

1213
autoInvertDlg::~autoInvertDlg()

0 commit comments

Comments
 (0)