Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fileconversion
- Loading branch information
Showing
210 changed files
with
9,500 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.DS_Store | ||
core/algorithms/ImagingAlgorithms/.DS_Store | ||
build* | ||
*.user | ||
*.stash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2018-06-29T07:56:02 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = ImagingTests | ||
TEMPLATE = app | ||
|
||
# The following define makes your compiler emit warnings if you use | ||
# any feature of Qt which has been marked as deprecated (the exact warnings | ||
# depend on your compiler). Please consult the documentation of the | ||
# deprecated API in order to know how to port your code away from it. | ||
DEFINES += QT_DEPRECATED_WARNINGS | ||
|
||
# You can also make your code fail to compile if you use deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
# You can also select to disable deprecated APIs only up to a certain version of Qt. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
|
||
SOURCES += \ | ||
main.cpp \ | ||
mainwindow.cpp | ||
|
||
HEADERS += \ | ||
mainwindow.h | ||
|
||
FORMS += \ | ||
mainwindow.ui | ||
|
||
CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../lib -lkipl -lQtAddons -lReaderConfig -lQtImaging | ||
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../lib/debug -lkipl -lQtAddons -lReaderConfig -lQtImaging | ||
|
||
INCLUDEPATH += $$PWD/../../../core/kipl/kipl/include | ||
DEPENDPATH += $$PWD/../../../core/kipl/kipl/include | ||
|
||
INCLUDEPATH += $$PWD/../../../core/modules/ReaderConfig/ | ||
DEPENDPATH += $$PWD/../../../core/modules/ReaderConfig/ | ||
|
||
INCLUDEPATH += $$PWD/../../../gui/qt/QtAddons | ||
DEPENDPATH += $$PWD/../../../gui/qt/QtAddons | ||
|
||
INCLUDEPATH += $$PWD/../QtAddons | ||
DEPENDPATH += $$PWD/../QtAddons | ||
|
||
INCLUDEPATH += $$PWD/../QtImaging | ||
DEPENDPATH += $$PWD/../QtImaging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include "mainwindow.h" | ||
#include <QApplication> | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
QApplication a(argc, argv); | ||
MainWindow w; | ||
w.show(); | ||
|
||
return a.exec(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include "mainwindow.h" | ||
#include "ui_mainwindow.h" | ||
|
||
#include <pixelsizedlg.h> | ||
|
||
MainWindow::MainWindow(QWidget *parent) : | ||
QMainWindow(parent), | ||
ui(new Ui::MainWindow) | ||
{ | ||
ui->setupUi(this); | ||
} | ||
|
||
MainWindow::~MainWindow() | ||
{ | ||
delete ui; | ||
} | ||
|
||
void MainWindow::on_pushButton_clicked() | ||
{ | ||
PixelSizeDlg dlg; | ||
|
||
dlg.exec(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef MAINWINDOW_H | ||
#define MAINWINDOW_H | ||
|
||
#include <QMainWindow> | ||
|
||
namespace Ui { | ||
class MainWindow; | ||
} | ||
|
||
class MainWindow : public QMainWindow | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit MainWindow(QWidget *parent = 0); | ||
~MainWindow(); | ||
|
||
private slots: | ||
void on_pushButton_clicked(); | ||
|
||
private: | ||
Ui::MainWindow *ui; | ||
}; | ||
|
||
#endif // MAINWINDOW_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>MainWindow</class> | ||
<widget class="QMainWindow" name="MainWindow"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>300</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>MainWindow</string> | ||
</property> | ||
<widget class="QWidget" name="centralWidget"> | ||
<widget class="QPushButton" name="pushButton"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>10</x> | ||
<y>30</y> | ||
<width>113</width> | ||
<height>32</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Pixel size</string> | ||
</property> | ||
</widget> | ||
</widget> | ||
<widget class="QMenuBar" name="menuBar"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>22</height> | ||
</rect> | ||
</property> | ||
</widget> | ||
<widget class="QToolBar" name="mainToolBar"> | ||
<attribute name="toolBarArea"> | ||
<enum>TopToolBarArea</enum> | ||
</attribute> | ||
<attribute name="toolBarBreak"> | ||
<bool>false</bool> | ||
</attribute> | ||
</widget> | ||
<widget class="QStatusBar" name="statusBar"/> | ||
</widget> | ||
<layoutdefault spacing="6" margin="11"/> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2018-06-25T07:52:23 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += widgets | ||
|
||
QT -= gui | ||
|
||
TARGET = QtImaging | ||
TEMPLATE = lib | ||
|
||
CONFIG += c++11 | ||
|
||
DEFINES += QTIMAGING_LIBRARY | ||
|
||
CONFIG(release, debug|release): DESTDIR = $$PWD/../../../../lib | ||
else:CONFIG(debug, debug|release): DESTDIR = $$PWD/../../../../lib/debug | ||
|
||
# The following define makes your compiler emit warnings if you use | ||
# any feature of Qt which has been marked as deprecated (the exact warnings | ||
# depend on your compiler). Please consult the documentation of the | ||
# deprecated API in order to know how to port your code away from it. | ||
DEFINES += QT_DEPRECATED_WARNINGS | ||
|
||
# You can also make your code fail to compile if you use deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
# You can also select to disable deprecated APIs only up to a certain version of Qt. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
unix:!macx { | ||
QMAKE_CXXFLAGS += -fopenmp -fPIC -O2 | ||
QMAKE_LFLAGS += -lgomp | ||
LIBS += -lgomp | ||
} | ||
|
||
unix:macx { | ||
QMAKE_MAC_SDK = macosx10.12 | ||
QMAKE_CXXFLAGS += -fPIC -O2 | ||
INCLUDEPATH += /opt/local/include | ||
QMAKE_LIBDIR += /opt/local/lib | ||
} | ||
|
||
win32 { | ||
contains(QMAKE_HOST.arch, x86_64):{ | ||
QMAKE_LFLAGS += /MACHINE:X64 | ||
} | ||
INCLUDEPATH += ../../../external/include . | ||
LIBPATH += ../../../external/lib64 | ||
QMAKE_CXXFLAGS += /openmp /O2 | ||
} | ||
|
||
SOURCES += \ | ||
qtimaging.cpp \ | ||
pixelsizedlg.cpp | ||
|
||
HEADERS += \ | ||
qtimaging.h \ | ||
qtimaging_global.h \ | ||
pixelsizedlg.h | ||
|
||
unix { | ||
target.path = /usr/lib | ||
INSTALLS += target | ||
} | ||
|
||
FORMS += \ | ||
pixelsizedlg.ui | ||
|
||
CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../lib -lkipl -lQtAddons -lReaderConfig | ||
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../lib/debug -lkipl -lQtAddons -lReaderConfig | ||
|
||
INCLUDEPATH += $$PWD/../../../core/kipl/kipl/include | ||
DEPENDPATH += $$PWD/../../../core/kipl/kipl/include | ||
|
||
INCLUDEPATH += $$PWD/../../../core/modules/ReaderConfig/ | ||
DEPENDPATH += $$PWD/../../../core/modules/ReaderConfig/ | ||
|
||
INCLUDEPATH += $$PWD/../../../gui/qt/QtAddons | ||
DEPENDPATH += $$PWD/../../../gui/qt/QtAddons |
Oops, something went wrong.