| @@ -12,7 +12,8 @@ TARGET = CableTestBench | |||||
| TEMPLATE = app | TEMPLATE = app | ||||
| INCLUDEPATH += Sources/ \ | INCLUDEPATH += Sources/ \ | ||||
| Sources/SeaMaxWin/Include | |||||
| Sources/SeaMaxWin/Include \ | |||||
| Sources/Widgets/ | |||||
| SOURCES += \ | SOURCES += \ | ||||
| Sources/MainWindow.cpp \ | Sources/MainWindow.cpp \ | ||||
| @@ -20,7 +21,8 @@ SOURCES += \ | |||||
| Sources/MainPage.cpp \ | Sources/MainPage.cpp \ | ||||
| Sources/CableTestBench.cpp \ | Sources/CableTestBench.cpp \ | ||||
| Sources/VisualInspectionPage.cpp \ | Sources/VisualInspectionPage.cpp \ | ||||
| Sources/Widgets/CConnectorSelectWidget.cpp | |||||
| Sources/Widgets/ConnectorSelectWidget.cpp \ | |||||
| Sources/CableTestPage.cpp | |||||
| HEADERS += \ | HEADERS += \ | ||||
| Sources/MainWindow.h \ | Sources/MainWindow.h \ | ||||
| @@ -28,13 +30,13 @@ HEADERS += \ | |||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/CableTestBench.h \ | Sources/CableTestBench.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| ui_VisualInspectionPage.h \ | |||||
| ui_CMainPage.h \ | |||||
| Sources/Widgets/CConnectorSelectWidget.h | |||||
| Sources/Widgets/ConnectorSelectWidget.h \ | |||||
| Sources/CableTestPage.h \ | |||||
| FORMS += \ | FORMS += \ | ||||
| Sources/CMainPage.ui \ | Sources/CMainPage.ui \ | ||||
| Sources/VisualInspectionPage.ui | |||||
| Sources/VisualInspectionPage.ui \ | |||||
| Sources/CableTestPage.ui | |||||
| win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Sources/SeaMaxWin/Lib/ -lSeaMAX | win32:CONFIG(release, debug|release): LIBS += -L$$PWD/Sources/SeaMaxWin/Lib/ -lSeaMAX | ||||
| else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Sources/SeaMaxWin/Lib/ -lSeaMAX | else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/Sources/SeaMaxWin/Lib/ -lSeaMAX | ||||
| @@ -1,6 +1,6 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE QtCreatorProject> | <!DOCTYPE QtCreatorProject> | ||||
| <!-- Written by Qt Creator 2.6.2, 2019-03-27T10:31:24. --> | |||||
| <!-- Written by Qt Creator 2.6.2, 2019-04-15T14:16:59. --> | |||||
| <qtcreator> | <qtcreator> | ||||
| <data> | <data> | ||||
| <variable>ProjectExplorer.Project.ActiveTarget</variable> | <variable>ProjectExplorer.Project.ActiveTarget</variable> | ||||
| @@ -1,6 +1,6 @@ | |||||
| ############################################################################# | ############################################################################# | ||||
| # Makefile for building: CableTestBench | # Makefile for building: CableTestBench | ||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Fri Mar 29 07:33:12 2019 | |||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Mon Apr 15 09:49:58 2019 | |||||
| # Project: CableTestBench.pro | # Project: CableTestBench.pro | ||||
| # Template: app | # Template: app | ||||
| # Command: c:\Qt\4.8.1\bin\qmake.exe -spec ..\..\Qt\4.8.1\mkspecs\win32-g++ CONFIG+=declarative_debug -o Makefile CableTestBench.pro | # Command: c:\Qt\4.8.1\bin\qmake.exe -spec ..\..\Qt\4.8.1\mkspecs\win32-g++ CONFIG+=declarative_debug -o Makefile CableTestBench.pro | ||||
| @@ -1,6 +1,6 @@ | |||||
| ############################################################################# | ############################################################################# | ||||
| # Makefile for building: CableTestBench | # Makefile for building: CableTestBench | ||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Fri Mar 29 07:33:12 2019 | |||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Mon Apr 15 09:49:58 2019 | |||||
| # Project: CableTestBench.pro | # Project: CableTestBench.pro | ||||
| # Template: app | # Template: app | ||||
| ############################################################################# | ############################################################################# | ||||
| @@ -12,7 +12,7 @@ CXX = g++ | |||||
| DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN | DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN | ||||
| CFLAGS = -g -Wall $(DEFINES) | CFLAGS = -g -Wall $(DEFINES) | ||||
| CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES) | CXXFLAGS = -g -frtti -fexceptions -mthreads -Wall $(DEFINES) | ||||
| INCPATH = -I"..\..\Qt\4.8.1\include\QtCore" -I"..\..\Qt\4.8.1\include\QtNetwork" -I"..\..\Qt\4.8.1\include\QtGui" -I"..\..\Qt\4.8.1\include" -I"Sources" -I"Sources\SeaMaxWin\Include" -I"Sources\SeaMaxWin\Lib" -I"..\..\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\..\Qt\4.8.1\mkspecs\win32-g++" | |||||
| INCPATH = -I"..\..\Qt\4.8.1\include\QtCore" -I"..\..\Qt\4.8.1\include\QtNetwork" -I"..\..\Qt\4.8.1\include\QtGui" -I"..\..\Qt\4.8.1\include" -I"Sources" -I"Sources\SeaMaxWin\Include" -I"Sources\Widgets" -I"Sources\SeaMaxWin\Lib" -I"..\..\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\..\Qt\4.8.1\mkspecs\win32-g++" | |||||
| LINK = g++ | LINK = g++ | ||||
| LFLAGS = -mthreads -Wl,-subsystem,windows | LFLAGS = -mthreads -Wl,-subsystem,windows | ||||
| LIBS = -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmaind -LC:/ZoneTest/CableTestBench/Sources/SeaMaxWin/Lib/ -lSeaMAX -lQtGuid4 -lQtNetworkd4 -lQtCored4 | LIBS = -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmaind -LC:/ZoneTest/CableTestBench/Sources/SeaMaxWin/Lib/ -lSeaMAX -lQtGuid4 -lQtNetworkd4 -lQtCored4 | ||||
| @@ -46,22 +46,26 @@ SOURCES = Sources\MainWindow.cpp \ | |||||
| Sources\MainPage.cpp \ | Sources\MainPage.cpp \ | ||||
| Sources\CableTestBench.cpp \ | Sources\CableTestBench.cpp \ | ||||
| Sources\VisualInspectionPage.cpp \ | Sources\VisualInspectionPage.cpp \ | ||||
| Sources\Widgets\CConnectorSelectWidget.cpp debug\moc_MainWindow.cpp \ | |||||
| Sources\Widgets\ConnectorSelectWidget.cpp \ | |||||
| Sources\CableTestPage.cpp debug\moc_MainWindow.cpp \ | |||||
| debug\moc_MainPage.cpp \ | debug\moc_MainPage.cpp \ | ||||
| debug\moc_CableTestBench.cpp \ | debug\moc_CableTestBench.cpp \ | ||||
| debug\moc_VisualInspectionPage.cpp \ | debug\moc_VisualInspectionPage.cpp \ | ||||
| debug\moc_CConnectorSelectWidget.cpp | |||||
| debug\moc_ConnectorSelectWidget.cpp \ | |||||
| debug\moc_CableTestPage.cpp | |||||
| OBJECTS = debug/MainWindow.o \ | OBJECTS = debug/MainWindow.o \ | ||||
| debug/main.o \ | debug/main.o \ | ||||
| debug/MainPage.o \ | debug/MainPage.o \ | ||||
| debug/CableTestBench.o \ | debug/CableTestBench.o \ | ||||
| debug/VisualInspectionPage.o \ | debug/VisualInspectionPage.o \ | ||||
| debug/CConnectorSelectWidget.o \ | |||||
| debug/ConnectorSelectWidget.o \ | |||||
| debug/CableTestPage.o \ | |||||
| debug/moc_MainWindow.o \ | debug/moc_MainWindow.o \ | ||||
| debug/moc_MainPage.o \ | debug/moc_MainPage.o \ | ||||
| debug/moc_CableTestBench.o \ | debug/moc_CableTestBench.o \ | ||||
| debug/moc_VisualInspectionPage.o \ | debug/moc_VisualInspectionPage.o \ | ||||
| debug/moc_CConnectorSelectWidget.o | |||||
| debug/moc_ConnectorSelectWidget.o \ | |||||
| debug/moc_CableTestPage.o | |||||
| DIST = | DIST = | ||||
| QMAKE_TARGET = CableTestBench | QMAKE_TARGET = CableTestBench | ||||
| DESTDIR = debug\ #avoid trailing-slash linebreak | DESTDIR = debug\ #avoid trailing-slash linebreak | ||||
| @@ -89,7 +93,7 @@ DESTDIR_TARGET = debug\CableTestBench.exe | |||||
| first: all | first: all | ||||
| all: Makefile.Debug $(DESTDIR_TARGET) | all: Makefile.Debug $(DESTDIR_TARGET) | ||||
| $(DESTDIR_TARGET): ui_CMainPage.h ui_VisualInspectionPage.h $(OBJECTS) | |||||
| $(DESTDIR_TARGET): ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h $(OBJECTS) | |||||
| $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.CableTestBench.Debug $(LIBS) | $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.CableTestBench.Debug $(LIBS) | ||||
| qmake: FORCE | qmake: FORCE | ||||
| @@ -99,7 +103,7 @@ dist: | |||||
| $(ZIP) CableTestBench.zip $(SOURCES) $(DIST) CableTestBench.pro ..\..\Qt\4.8.1\mkspecs\qconfig.pri ..\..\Qt\4.8.1\mkspecs\modules\qt_webkit_version.pri ..\..\Qt\4.8.1\mkspecs\features\qt_functions.prf ..\..\Qt\4.8.1\mkspecs\features\qt_config.prf ..\..\Qt\4.8.1\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.8.1\mkspecs\features\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\debug.prf ..\..\Qt\4.8.1\mkspecs\features\debug_and_release.prf ..\..\Qt\4.8.1\mkspecs\features\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\build_pass.prf ..\..\Qt\4.8.1\mkspecs\features\declarative_debug.prf ..\..\Qt\4.8.1\mkspecs\features\win32\rtti.prf ..\..\Qt\4.8.1\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.8.1\mkspecs\features\win32\stl.prf ..\..\Qt\4.8.1\mkspecs\features\shared.prf ..\..\Qt\4.8.1\mkspecs\features\warn_on.prf ..\..\Qt\4.8.1\mkspecs\features\qt.prf ..\..\Qt\4.8.1\mkspecs\features\win32\thread.prf ..\..\Qt\4.8.1\mkspecs\features\moc.prf ..\..\Qt\4.8.1\mkspecs\features\win32\windows.prf ..\..\Qt\4.8.1\mkspecs\features\resources.prf ..\..\Qt\4.8.1\mkspecs\features\uic.prf ..\..\Qt\4.8.1\mkspecs\features\yacc.prf ..\..\Qt\4.8.1\mkspecs\features\lex.prf ..\..\Qt\4.8.1\mkspecs\features\include_source_dir.prf c:\Qt\4.8.1\lib\qtmaind.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES | $(ZIP) CableTestBench.zip $(SOURCES) $(DIST) CableTestBench.pro ..\..\Qt\4.8.1\mkspecs\qconfig.pri ..\..\Qt\4.8.1\mkspecs\modules\qt_webkit_version.pri ..\..\Qt\4.8.1\mkspecs\features\qt_functions.prf ..\..\Qt\4.8.1\mkspecs\features\qt_config.prf ..\..\Qt\4.8.1\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.8.1\mkspecs\features\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\debug.prf ..\..\Qt\4.8.1\mkspecs\features\debug_and_release.prf ..\..\Qt\4.8.1\mkspecs\features\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\build_pass.prf ..\..\Qt\4.8.1\mkspecs\features\declarative_debug.prf ..\..\Qt\4.8.1\mkspecs\features\win32\rtti.prf ..\..\Qt\4.8.1\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.8.1\mkspecs\features\win32\stl.prf ..\..\Qt\4.8.1\mkspecs\features\shared.prf ..\..\Qt\4.8.1\mkspecs\features\warn_on.prf ..\..\Qt\4.8.1\mkspecs\features\qt.prf ..\..\Qt\4.8.1\mkspecs\features\win32\thread.prf ..\..\Qt\4.8.1\mkspecs\features\moc.prf ..\..\Qt\4.8.1\mkspecs\features\win32\windows.prf ..\..\Qt\4.8.1\mkspecs\features\resources.prf ..\..\Qt\4.8.1\mkspecs\features\uic.prf ..\..\Qt\4.8.1\mkspecs\features\yacc.prf ..\..\Qt\4.8.1\mkspecs\features\lex.prf ..\..\Qt\4.8.1\mkspecs\features\include_source_dir.prf c:\Qt\4.8.1\lib\qtmaind.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES | ||||
| clean: compiler_clean | clean: compiler_clean | ||||
| -$(DEL_FILE) debug\MainWindow.o debug\main.o debug\MainPage.o debug\CableTestBench.o debug\VisualInspectionPage.o debug\CConnectorSelectWidget.o debug\moc_MainWindow.o debug\moc_MainPage.o debug\moc_CableTestBench.o debug\moc_VisualInspectionPage.o debug\moc_CConnectorSelectWidget.o | |||||
| -$(DEL_FILE) debug\MainWindow.o debug\main.o debug\MainPage.o debug\CableTestBench.o debug\VisualInspectionPage.o debug\ConnectorSelectWidget.o debug\CableTestPage.o debug\moc_MainWindow.o debug\moc_MainPage.o debug\moc_CableTestBench.o debug\moc_VisualInspectionPage.o debug\moc_ConnectorSelectWidget.o debug\moc_CableTestPage.o | |||||
| distclean: clean | distclean: clean | ||||
| -$(DEL_FILE) $(DESTDIR_TARGET) | -$(DEL_FILE) $(DESTDIR_TARGET) | ||||
| @@ -111,11 +115,12 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean | |||||
| mocables: compiler_moc_header_make_all compiler_moc_source_make_all | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | ||||
| compiler_moc_header_make_all: debug/moc_MainWindow.cpp debug/moc_MainPage.cpp debug/moc_CableTestBench.cpp debug/moc_VisualInspectionPage.cpp debug/moc_CConnectorSelectWidget.cpp | |||||
| compiler_moc_header_make_all: debug/moc_MainWindow.cpp debug/moc_MainPage.cpp debug/moc_CableTestBench.cpp debug/moc_VisualInspectionPage.cpp debug/moc_ConnectorSelectWidget.cpp debug/moc_CableTestPage.cpp | |||||
| compiler_moc_header_clean: | compiler_moc_header_clean: | ||||
| -$(DEL_FILE) debug\moc_MainWindow.cpp debug\moc_MainPage.cpp debug\moc_CableTestBench.cpp debug\moc_VisualInspectionPage.cpp debug\moc_CConnectorSelectWidget.cpp | |||||
| -$(DEL_FILE) debug\moc_MainWindow.cpp debug\moc_MainPage.cpp debug\moc_CableTestBench.cpp debug\moc_VisualInspectionPage.cpp debug\moc_ConnectorSelectWidget.cpp debug\moc_CableTestPage.cpp | |||||
| debug/moc_MainWindow.cpp: Sources/MainPage.h \ | debug/moc_MainWindow.cpp: Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/MainWindow.h | Sources/MainWindow.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\MainWindow.h -o debug\moc_MainWindow.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\MainWindow.h -o debug\moc_MainWindow.cpp | ||||
| @@ -125,14 +130,18 @@ debug/moc_MainPage.cpp: Sources/MainPage.h | |||||
| debug/moc_CableTestBench.cpp: Sources/MainWindow.h \ | debug/moc_CableTestBench.cpp: Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/CableTestBench.h | Sources/CableTestBench.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestBench.h -o debug\moc_CableTestBench.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestBench.h -o debug\moc_CableTestBench.cpp | ||||
| debug/moc_VisualInspectionPage.cpp: Sources/VisualInspectionPage.h | debug/moc_VisualInspectionPage.cpp: Sources/VisualInspectionPage.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\VisualInspectionPage.h -o debug\moc_VisualInspectionPage.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\VisualInspectionPage.h -o debug\moc_VisualInspectionPage.cpp | ||||
| debug/moc_CConnectorSelectWidget.cpp: Sources/Widgets/CConnectorSelectWidget.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\Widgets\CConnectorSelectWidget.h -o debug\moc_CConnectorSelectWidget.cpp | |||||
| debug/moc_ConnectorSelectWidget.cpp: Sources/Widgets/ConnectorSelectWidget.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\Widgets\ConnectorSelectWidget.h -o debug\moc_ConnectorSelectWidget.cpp | |||||
| debug/moc_CableTestPage.cpp: Sources/CableTestPage.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestPage.h -o debug\moc_CableTestPage.cpp | |||||
| compiler_rcc_make_all: | compiler_rcc_make_all: | ||||
| compiler_rcc_clean: | compiler_rcc_clean: | ||||
| @@ -141,15 +150,18 @@ compiler_image_collection_clean: | |||||
| -$(DEL_FILE) qmake_image_collection.cpp | -$(DEL_FILE) qmake_image_collection.cpp | ||||
| compiler_moc_source_make_all: | compiler_moc_source_make_all: | ||||
| compiler_moc_source_clean: | compiler_moc_source_clean: | ||||
| compiler_uic_make_all: ui_CMainPage.h ui_VisualInspectionPage.h | |||||
| compiler_uic_make_all: ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h | |||||
| compiler_uic_clean: | compiler_uic_clean: | ||||
| -$(DEL_FILE) ui_CMainPage.h ui_VisualInspectionPage.h | |||||
| -$(DEL_FILE) ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h | |||||
| ui_CMainPage.h: Sources/CMainPage.ui | ui_CMainPage.h: Sources/CMainPage.ui | ||||
| c:\Qt\4.8.1\bin\uic.exe Sources\CMainPage.ui -o ui_CMainPage.h | c:\Qt\4.8.1\bin\uic.exe Sources\CMainPage.ui -o ui_CMainPage.h | ||||
| ui_VisualInspectionPage.h: Sources/VisualInspectionPage.ui | ui_VisualInspectionPage.h: Sources/VisualInspectionPage.ui | ||||
| c:\Qt\4.8.1\bin\uic.exe Sources\VisualInspectionPage.ui -o ui_VisualInspectionPage.h | c:\Qt\4.8.1\bin\uic.exe Sources\VisualInspectionPage.ui -o ui_VisualInspectionPage.h | ||||
| ui_CableTestPage.h: Sources/CableTestPage.ui | |||||
| c:\Qt\4.8.1\bin\uic.exe Sources\CableTestPage.ui -o ui_CableTestPage.h | |||||
| compiler_yacc_decl_make_all: | compiler_yacc_decl_make_all: | ||||
| compiler_yacc_decl_clean: | compiler_yacc_decl_clean: | ||||
| compiler_yacc_impl_make_all: | compiler_yacc_impl_make_all: | ||||
| @@ -165,13 +177,15 @@ compiler_clean: compiler_moc_header_clean compiler_uic_clean | |||||
| debug/MainWindow.o: Sources/MainWindow.cpp Sources/MainWindow.h \ | debug/MainWindow.o: Sources/MainWindow.cpp Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/CableTestBench.h | Sources/CableTestBench.h | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\MainWindow.o Sources\MainWindow.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\MainWindow.o Sources\MainWindow.cpp | ||||
| debug/main.o: Sources/main.cpp Sources/CableTestBench.h \ | debug/main.o: Sources/main.cpp Sources/CableTestBench.h \ | ||||
| Sources/MainWindow.h \ | Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h | |||||
| Sources/VisualInspectionPage.h \ | |||||
| Sources/CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o Sources\main.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o Sources\main.cpp | ||||
| debug/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | debug/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | ||||
| @@ -181,15 +195,20 @@ debug/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | |||||
| debug/CableTestBench.o: Sources/CableTestBench.cpp Sources/CableTestBench.h \ | debug/CableTestBench.o: Sources/CableTestBench.cpp Sources/CableTestBench.h \ | ||||
| Sources/MainWindow.h \ | Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h | |||||
| Sources/VisualInspectionPage.h \ | |||||
| Sources/CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\CableTestBench.o Sources\CableTestBench.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\CableTestBench.o Sources\CableTestBench.cpp | ||||
| debug/VisualInspectionPage.o: Sources/VisualInspectionPage.cpp Sources/VisualInspectionPage.h \ | debug/VisualInspectionPage.o: Sources/VisualInspectionPage.cpp Sources/VisualInspectionPage.h \ | ||||
| ui_VisualInspectionPage.h | ui_VisualInspectionPage.h | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\VisualInspectionPage.o Sources\VisualInspectionPage.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\VisualInspectionPage.o Sources\VisualInspectionPage.cpp | ||||
| debug/CConnectorSelectWidget.o: Sources/Widgets/CConnectorSelectWidget.cpp Sources/Widgets/CConnectorSelectWidget.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\CConnectorSelectWidget.o Sources\Widgets\CConnectorSelectWidget.cpp | |||||
| debug/ConnectorSelectWidget.o: Sources/Widgets/ConnectorSelectWidget.cpp Sources/Widgets/ConnectorSelectWidget.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\ConnectorSelectWidget.o Sources\Widgets\ConnectorSelectWidget.cpp | |||||
| debug/CableTestPage.o: Sources/CableTestPage.cpp Sources/CableTestPage.h \ | |||||
| ui_CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\CableTestPage.o Sources\CableTestPage.cpp | |||||
| debug/moc_MainWindow.o: debug/moc_MainWindow.cpp | debug/moc_MainWindow.o: debug/moc_MainWindow.cpp | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_MainWindow.o debug\moc_MainWindow.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_MainWindow.o debug\moc_MainWindow.cpp | ||||
| @@ -203,8 +222,11 @@ debug/moc_CableTestBench.o: debug/moc_CableTestBench.cpp | |||||
| debug/moc_VisualInspectionPage.o: debug/moc_VisualInspectionPage.cpp | debug/moc_VisualInspectionPage.o: debug/moc_VisualInspectionPage.cpp | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_VisualInspectionPage.o debug\moc_VisualInspectionPage.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_VisualInspectionPage.o debug\moc_VisualInspectionPage.cpp | ||||
| debug/moc_CConnectorSelectWidget.o: debug/moc_CConnectorSelectWidget.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_CConnectorSelectWidget.o debug\moc_CConnectorSelectWidget.cpp | |||||
| debug/moc_ConnectorSelectWidget.o: debug/moc_ConnectorSelectWidget.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_ConnectorSelectWidget.o debug\moc_ConnectorSelectWidget.cpp | |||||
| debug/moc_CableTestPage.o: debug/moc_CableTestPage.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_CableTestPage.o debug\moc_CableTestPage.cpp | |||||
| ####### Install | ####### Install | ||||
| @@ -1,6 +1,6 @@ | |||||
| ############################################################################# | ############################################################################# | ||||
| # Makefile for building: CableTestBench | # Makefile for building: CableTestBench | ||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Fri Mar 29 07:33:12 2019 | |||||
| # Generated by qmake (2.01a) (Qt 4.8.1) on: Mon Apr 15 09:49:58 2019 | |||||
| # Project: CableTestBench.pro | # Project: CableTestBench.pro | ||||
| # Template: app | # Template: app | ||||
| ############################################################################# | ############################################################################# | ||||
| @@ -12,7 +12,7 @@ CXX = g++ | |||||
| DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN | DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN | ||||
| CFLAGS = -O2 -Wall $(DEFINES) | CFLAGS = -O2 -Wall $(DEFINES) | ||||
| CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES) | CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES) | ||||
| INCPATH = -I"..\..\Qt\4.8.1\include\QtCore" -I"..\..\Qt\4.8.1\include\QtNetwork" -I"..\..\Qt\4.8.1\include\QtGui" -I"..\..\Qt\4.8.1\include" -I"Sources" -I"Sources\SeaMaxWin\Include" -I"Sources\SeaMaxWin\Lib" -I"..\..\Qt\4.8.1\include\ActiveQt" -I"release" -I"." -I"..\..\Qt\4.8.1\mkspecs\win32-g++" | |||||
| INCPATH = -I"..\..\Qt\4.8.1\include\QtCore" -I"..\..\Qt\4.8.1\include\QtNetwork" -I"..\..\Qt\4.8.1\include\QtGui" -I"..\..\Qt\4.8.1\include" -I"Sources" -I"Sources\SeaMaxWin\Include" -I"Sources\Widgets" -I"Sources\SeaMaxWin\Lib" -I"..\..\Qt\4.8.1\include\ActiveQt" -I"release" -I"." -I"..\..\Qt\4.8.1\mkspecs\win32-g++" | |||||
| LINK = g++ | LINK = g++ | ||||
| LFLAGS = -Wl,-s -mthreads -Wl,-subsystem,windows | LFLAGS = -Wl,-s -mthreads -Wl,-subsystem,windows | ||||
| LIBS = -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmain -LC:/ZoneTest/CableTestBench/Sources/SeaMaxWin/Lib/ -lSeaMAX -lQtGui4 -lQtNetwork4 -lQtCore4 | LIBS = -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmain -LC:/ZoneTest/CableTestBench/Sources/SeaMaxWin/Lib/ -lSeaMAX -lQtGui4 -lQtNetwork4 -lQtCore4 | ||||
| @@ -46,22 +46,26 @@ SOURCES = Sources\MainWindow.cpp \ | |||||
| Sources\MainPage.cpp \ | Sources\MainPage.cpp \ | ||||
| Sources\CableTestBench.cpp \ | Sources\CableTestBench.cpp \ | ||||
| Sources\VisualInspectionPage.cpp \ | Sources\VisualInspectionPage.cpp \ | ||||
| Sources\Widgets\CConnectorSelectWidget.cpp release\moc_MainWindow.cpp \ | |||||
| Sources\Widgets\ConnectorSelectWidget.cpp \ | |||||
| Sources\CableTestPage.cpp release\moc_MainWindow.cpp \ | |||||
| release\moc_MainPage.cpp \ | release\moc_MainPage.cpp \ | ||||
| release\moc_CableTestBench.cpp \ | release\moc_CableTestBench.cpp \ | ||||
| release\moc_VisualInspectionPage.cpp \ | release\moc_VisualInspectionPage.cpp \ | ||||
| release\moc_CConnectorSelectWidget.cpp | |||||
| release\moc_ConnectorSelectWidget.cpp \ | |||||
| release\moc_CableTestPage.cpp | |||||
| OBJECTS = release/MainWindow.o \ | OBJECTS = release/MainWindow.o \ | ||||
| release/main.o \ | release/main.o \ | ||||
| release/MainPage.o \ | release/MainPage.o \ | ||||
| release/CableTestBench.o \ | release/CableTestBench.o \ | ||||
| release/VisualInspectionPage.o \ | release/VisualInspectionPage.o \ | ||||
| release/CConnectorSelectWidget.o \ | |||||
| release/ConnectorSelectWidget.o \ | |||||
| release/CableTestPage.o \ | |||||
| release/moc_MainWindow.o \ | release/moc_MainWindow.o \ | ||||
| release/moc_MainPage.o \ | release/moc_MainPage.o \ | ||||
| release/moc_CableTestBench.o \ | release/moc_CableTestBench.o \ | ||||
| release/moc_VisualInspectionPage.o \ | release/moc_VisualInspectionPage.o \ | ||||
| release/moc_CConnectorSelectWidget.o | |||||
| release/moc_ConnectorSelectWidget.o \ | |||||
| release/moc_CableTestPage.o | |||||
| DIST = | DIST = | ||||
| QMAKE_TARGET = CableTestBench | QMAKE_TARGET = CableTestBench | ||||
| DESTDIR = release\ #avoid trailing-slash linebreak | DESTDIR = release\ #avoid trailing-slash linebreak | ||||
| @@ -89,7 +93,7 @@ DESTDIR_TARGET = release\CableTestBench.exe | |||||
| first: all | first: all | ||||
| all: Makefile.Release $(DESTDIR_TARGET) | all: Makefile.Release $(DESTDIR_TARGET) | ||||
| $(DESTDIR_TARGET): ui_CMainPage.h ui_VisualInspectionPage.h $(OBJECTS) | |||||
| $(DESTDIR_TARGET): ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h $(OBJECTS) | |||||
| $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.CableTestBench.Release $(LIBS) | $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.CableTestBench.Release $(LIBS) | ||||
| qmake: FORCE | qmake: FORCE | ||||
| @@ -99,7 +103,7 @@ dist: | |||||
| $(ZIP) CableTestBench.zip $(SOURCES) $(DIST) CableTestBench.pro ..\..\Qt\4.8.1\mkspecs\qconfig.pri ..\..\Qt\4.8.1\mkspecs\modules\qt_webkit_version.pri ..\..\Qt\4.8.1\mkspecs\features\qt_functions.prf ..\..\Qt\4.8.1\mkspecs\features\qt_config.prf ..\..\Qt\4.8.1\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.8.1\mkspecs\features\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\release.prf ..\..\Qt\4.8.1\mkspecs\features\debug_and_release.prf ..\..\Qt\4.8.1\mkspecs\features\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\build_pass.prf ..\..\Qt\4.8.1\mkspecs\features\declarative_debug.prf ..\..\Qt\4.8.1\mkspecs\features\win32\rtti.prf ..\..\Qt\4.8.1\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.8.1\mkspecs\features\win32\stl.prf ..\..\Qt\4.8.1\mkspecs\features\shared.prf ..\..\Qt\4.8.1\mkspecs\features\warn_on.prf ..\..\Qt\4.8.1\mkspecs\features\qt.prf ..\..\Qt\4.8.1\mkspecs\features\win32\thread.prf ..\..\Qt\4.8.1\mkspecs\features\moc.prf ..\..\Qt\4.8.1\mkspecs\features\win32\windows.prf ..\..\Qt\4.8.1\mkspecs\features\resources.prf ..\..\Qt\4.8.1\mkspecs\features\uic.prf ..\..\Qt\4.8.1\mkspecs\features\yacc.prf ..\..\Qt\4.8.1\mkspecs\features\lex.prf ..\..\Qt\4.8.1\mkspecs\features\include_source_dir.prf c:\Qt\4.8.1\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES | $(ZIP) CableTestBench.zip $(SOURCES) $(DIST) CableTestBench.pro ..\..\Qt\4.8.1\mkspecs\qconfig.pri ..\..\Qt\4.8.1\mkspecs\modules\qt_webkit_version.pri ..\..\Qt\4.8.1\mkspecs\features\qt_functions.prf ..\..\Qt\4.8.1\mkspecs\features\qt_config.prf ..\..\Qt\4.8.1\mkspecs\features\exclusive_builds.prf ..\..\Qt\4.8.1\mkspecs\features\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_pre.prf ..\..\Qt\4.8.1\mkspecs\features\release.prf ..\..\Qt\4.8.1\mkspecs\features\debug_and_release.prf ..\..\Qt\4.8.1\mkspecs\features\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\win32\default_post.prf ..\..\Qt\4.8.1\mkspecs\features\build_pass.prf ..\..\Qt\4.8.1\mkspecs\features\declarative_debug.prf ..\..\Qt\4.8.1\mkspecs\features\win32\rtti.prf ..\..\Qt\4.8.1\mkspecs\features\win32\exceptions.prf ..\..\Qt\4.8.1\mkspecs\features\win32\stl.prf ..\..\Qt\4.8.1\mkspecs\features\shared.prf ..\..\Qt\4.8.1\mkspecs\features\warn_on.prf ..\..\Qt\4.8.1\mkspecs\features\qt.prf ..\..\Qt\4.8.1\mkspecs\features\win32\thread.prf ..\..\Qt\4.8.1\mkspecs\features\moc.prf ..\..\Qt\4.8.1\mkspecs\features\win32\windows.prf ..\..\Qt\4.8.1\mkspecs\features\resources.prf ..\..\Qt\4.8.1\mkspecs\features\uic.prf ..\..\Qt\4.8.1\mkspecs\features\yacc.prf ..\..\Qt\4.8.1\mkspecs\features\lex.prf ..\..\Qt\4.8.1\mkspecs\features\include_source_dir.prf c:\Qt\4.8.1\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES | ||||
| clean: compiler_clean | clean: compiler_clean | ||||
| -$(DEL_FILE) release\MainWindow.o release\main.o release\MainPage.o release\CableTestBench.o release\VisualInspectionPage.o release\CConnectorSelectWidget.o release\moc_MainWindow.o release\moc_MainPage.o release\moc_CableTestBench.o release\moc_VisualInspectionPage.o release\moc_CConnectorSelectWidget.o | |||||
| -$(DEL_FILE) release\MainWindow.o release\main.o release\MainPage.o release\CableTestBench.o release\VisualInspectionPage.o release\ConnectorSelectWidget.o release\CableTestPage.o release\moc_MainWindow.o release\moc_MainPage.o release\moc_CableTestBench.o release\moc_VisualInspectionPage.o release\moc_ConnectorSelectWidget.o release\moc_CableTestPage.o | |||||
| distclean: clean | distclean: clean | ||||
| -$(DEL_FILE) $(DESTDIR_TARGET) | -$(DEL_FILE) $(DESTDIR_TARGET) | ||||
| @@ -111,11 +115,12 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean | |||||
| mocables: compiler_moc_header_make_all compiler_moc_source_make_all | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | ||||
| compiler_moc_header_make_all: release/moc_MainWindow.cpp release/moc_MainPage.cpp release/moc_CableTestBench.cpp release/moc_VisualInspectionPage.cpp release/moc_CConnectorSelectWidget.cpp | |||||
| compiler_moc_header_make_all: release/moc_MainWindow.cpp release/moc_MainPage.cpp release/moc_CableTestBench.cpp release/moc_VisualInspectionPage.cpp release/moc_ConnectorSelectWidget.cpp release/moc_CableTestPage.cpp | |||||
| compiler_moc_header_clean: | compiler_moc_header_clean: | ||||
| -$(DEL_FILE) release\moc_MainWindow.cpp release\moc_MainPage.cpp release\moc_CableTestBench.cpp release\moc_VisualInspectionPage.cpp release\moc_CConnectorSelectWidget.cpp | |||||
| -$(DEL_FILE) release\moc_MainWindow.cpp release\moc_MainPage.cpp release\moc_CableTestBench.cpp release\moc_VisualInspectionPage.cpp release\moc_ConnectorSelectWidget.cpp release\moc_CableTestPage.cpp | |||||
| release/moc_MainWindow.cpp: Sources/MainPage.h \ | release/moc_MainWindow.cpp: Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/MainWindow.h | Sources/MainWindow.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\MainWindow.h -o release\moc_MainWindow.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\MainWindow.h -o release\moc_MainWindow.cpp | ||||
| @@ -125,14 +130,18 @@ release/moc_MainPage.cpp: Sources/MainPage.h | |||||
| release/moc_CableTestBench.cpp: Sources/MainWindow.h \ | release/moc_CableTestBench.cpp: Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/CableTestBench.h | Sources/CableTestBench.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestBench.h -o release\moc_CableTestBench.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestBench.h -o release\moc_CableTestBench.cpp | ||||
| release/moc_VisualInspectionPage.cpp: Sources/VisualInspectionPage.h | release/moc_VisualInspectionPage.cpp: Sources/VisualInspectionPage.h | ||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\VisualInspectionPage.h -o release\moc_VisualInspectionPage.cpp | C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\VisualInspectionPage.h -o release\moc_VisualInspectionPage.cpp | ||||
| release/moc_CConnectorSelectWidget.cpp: Sources/Widgets/CConnectorSelectWidget.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\Widgets\CConnectorSelectWidget.h -o release\moc_CConnectorSelectWidget.cpp | |||||
| release/moc_ConnectorSelectWidget.cpp: Sources/Widgets/ConnectorSelectWidget.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\Widgets\ConnectorSelectWidget.h -o release\moc_ConnectorSelectWidget.cpp | |||||
| release/moc_CableTestPage.cpp: Sources/CableTestPage.h | |||||
| C:\Qt\4.8.1\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Sources\CableTestPage.h -o release\moc_CableTestPage.cpp | |||||
| compiler_rcc_make_all: | compiler_rcc_make_all: | ||||
| compiler_rcc_clean: | compiler_rcc_clean: | ||||
| @@ -141,15 +150,18 @@ compiler_image_collection_clean: | |||||
| -$(DEL_FILE) qmake_image_collection.cpp | -$(DEL_FILE) qmake_image_collection.cpp | ||||
| compiler_moc_source_make_all: | compiler_moc_source_make_all: | ||||
| compiler_moc_source_clean: | compiler_moc_source_clean: | ||||
| compiler_uic_make_all: ui_CMainPage.h ui_VisualInspectionPage.h | |||||
| compiler_uic_make_all: ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h | |||||
| compiler_uic_clean: | compiler_uic_clean: | ||||
| -$(DEL_FILE) ui_CMainPage.h ui_VisualInspectionPage.h | |||||
| -$(DEL_FILE) ui_CMainPage.h ui_VisualInspectionPage.h ui_CableTestPage.h | |||||
| ui_CMainPage.h: Sources/CMainPage.ui | ui_CMainPage.h: Sources/CMainPage.ui | ||||
| c:\Qt\4.8.1\bin\uic.exe Sources\CMainPage.ui -o ui_CMainPage.h | c:\Qt\4.8.1\bin\uic.exe Sources\CMainPage.ui -o ui_CMainPage.h | ||||
| ui_VisualInspectionPage.h: Sources/VisualInspectionPage.ui | ui_VisualInspectionPage.h: Sources/VisualInspectionPage.ui | ||||
| c:\Qt\4.8.1\bin\uic.exe Sources\VisualInspectionPage.ui -o ui_VisualInspectionPage.h | c:\Qt\4.8.1\bin\uic.exe Sources\VisualInspectionPage.ui -o ui_VisualInspectionPage.h | ||||
| ui_CableTestPage.h: Sources/CableTestPage.ui | |||||
| c:\Qt\4.8.1\bin\uic.exe Sources\CableTestPage.ui -o ui_CableTestPage.h | |||||
| compiler_yacc_decl_make_all: | compiler_yacc_decl_make_all: | ||||
| compiler_yacc_decl_clean: | compiler_yacc_decl_clean: | ||||
| compiler_yacc_impl_make_all: | compiler_yacc_impl_make_all: | ||||
| @@ -165,13 +177,15 @@ compiler_clean: compiler_moc_header_clean compiler_uic_clean | |||||
| release/MainWindow.o: Sources/MainWindow.cpp Sources/MainWindow.h \ | release/MainWindow.o: Sources/MainWindow.cpp Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h \ | Sources/VisualInspectionPage.h \ | ||||
| Sources/CableTestPage.h \ | |||||
| Sources/CableTestBench.h | Sources/CableTestBench.h | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\MainWindow.o Sources\MainWindow.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\MainWindow.o Sources\MainWindow.cpp | ||||
| release/main.o: Sources/main.cpp Sources/CableTestBench.h \ | release/main.o: Sources/main.cpp Sources/CableTestBench.h \ | ||||
| Sources/MainWindow.h \ | Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h | |||||
| Sources/VisualInspectionPage.h \ | |||||
| Sources/CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o Sources\main.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o Sources\main.cpp | ||||
| release/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | release/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | ||||
| @@ -181,15 +195,20 @@ release/MainPage.o: Sources/MainPage.cpp Sources/MainPage.h \ | |||||
| release/CableTestBench.o: Sources/CableTestBench.cpp Sources/CableTestBench.h \ | release/CableTestBench.o: Sources/CableTestBench.cpp Sources/CableTestBench.h \ | ||||
| Sources/MainWindow.h \ | Sources/MainWindow.h \ | ||||
| Sources/MainPage.h \ | Sources/MainPage.h \ | ||||
| Sources/VisualInspectionPage.h | |||||
| Sources/VisualInspectionPage.h \ | |||||
| Sources/CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\CableTestBench.o Sources\CableTestBench.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\CableTestBench.o Sources\CableTestBench.cpp | ||||
| release/VisualInspectionPage.o: Sources/VisualInspectionPage.cpp Sources/VisualInspectionPage.h \ | release/VisualInspectionPage.o: Sources/VisualInspectionPage.cpp Sources/VisualInspectionPage.h \ | ||||
| ui_VisualInspectionPage.h | ui_VisualInspectionPage.h | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\VisualInspectionPage.o Sources\VisualInspectionPage.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\VisualInspectionPage.o Sources\VisualInspectionPage.cpp | ||||
| release/CConnectorSelectWidget.o: Sources/Widgets/CConnectorSelectWidget.cpp Sources/Widgets/CConnectorSelectWidget.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\CConnectorSelectWidget.o Sources\Widgets\CConnectorSelectWidget.cpp | |||||
| release/ConnectorSelectWidget.o: Sources/Widgets/ConnectorSelectWidget.cpp Sources/Widgets/ConnectorSelectWidget.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\ConnectorSelectWidget.o Sources\Widgets\ConnectorSelectWidget.cpp | |||||
| release/CableTestPage.o: Sources/CableTestPage.cpp Sources/CableTestPage.h \ | |||||
| ui_CableTestPage.h | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\CableTestPage.o Sources\CableTestPage.cpp | |||||
| release/moc_MainWindow.o: release/moc_MainWindow.cpp | release/moc_MainWindow.o: release/moc_MainWindow.cpp | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_MainWindow.o release\moc_MainWindow.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_MainWindow.o release\moc_MainWindow.cpp | ||||
| @@ -203,8 +222,11 @@ release/moc_CableTestBench.o: release/moc_CableTestBench.cpp | |||||
| release/moc_VisualInspectionPage.o: release/moc_VisualInspectionPage.cpp | release/moc_VisualInspectionPage.o: release/moc_VisualInspectionPage.cpp | ||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_VisualInspectionPage.o release\moc_VisualInspectionPage.cpp | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_VisualInspectionPage.o release\moc_VisualInspectionPage.cpp | ||||
| release/moc_CConnectorSelectWidget.o: release/moc_CConnectorSelectWidget.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_CConnectorSelectWidget.o release\moc_CConnectorSelectWidget.cpp | |||||
| release/moc_ConnectorSelectWidget.o: release/moc_ConnectorSelectWidget.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_ConnectorSelectWidget.o release\moc_ConnectorSelectWidget.cpp | |||||
| release/moc_CableTestPage.o: release/moc_CableTestPage.cpp | |||||
| $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_CableTestPage.o release\moc_CableTestPage.cpp | |||||
| ####### Install | ####### Install | ||||
| @@ -6,51 +6,45 @@ | |||||
| <rect> | <rect> | ||||
| <x>0</x> | <x>0</x> | ||||
| <y>0</y> | <y>0</y> | ||||
| <width>1124</width> | |||||
| <height>693</height> | |||||
| <width>2048</width> | |||||
| <height>1024</height> | |||||
| </rect> | </rect> | ||||
| </property> | </property> | ||||
| <property name="windowTitle"> | <property name="windowTitle"> | ||||
| <string>Form</string> | <string>Form</string> | ||||
| </property> | </property> | ||||
| <widget class="QPushButton" name="mInspVisuelleBtn"> | |||||
| <widget class="QCheckBox" name="checkBox"> | |||||
| <property name="geometry"> | <property name="geometry"> | ||||
| <rect> | <rect> | ||||
| <x>40</x> | |||||
| <y>210</y> | |||||
| <width>111</width> | |||||
| <height>23</height> | |||||
| <x>270</x> | |||||
| <y>230</y> | |||||
| <width>70</width> | |||||
| <height>17</height> | |||||
| </rect> | </rect> | ||||
| </property> | </property> | ||||
| <property name="text"> | <property name="text"> | ||||
| <string>Inspection Visuelle</string> | |||||
| <string>CheckBox</string> | |||||
| </property> | </property> | ||||
| </widget> | </widget> | ||||
| <widget class="Line" name="line"> | |||||
| <widget class="QTabWidget" name="mMainTabWidget"> | |||||
| <property name="geometry"> | <property name="geometry"> | ||||
| <rect> | <rect> | ||||
| <x>550</x> | |||||
| <y>30</y> | |||||
| <width>20</width> | |||||
| <height>641</height> | |||||
| <x>0</x> | |||||
| <y>0</y> | |||||
| <width>2051</width> | |||||
| <height>1031</height> | |||||
| </rect> | </rect> | ||||
| </property> | </property> | ||||
| <property name="orientation"> | |||||
| <enum>Qt::Vertical</enum> | |||||
| </property> | |||||
| </widget> | |||||
| <widget class="QLabel" name="mConnectorsImgLbl"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>580</x> | |||||
| <y>30</y> | |||||
| <width>491</width> | |||||
| <height>431</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>TextLabel</string> | |||||
| </property> | |||||
| <widget class="QWidget" name="Test"> | |||||
| <attribute name="title"> | |||||
| <string>Tab 1</string> | |||||
| </attribute> | |||||
| </widget> | |||||
| <widget class="QWidget" name="tab_2"> | |||||
| <attribute name="title"> | |||||
| <string>Tab 2</string> | |||||
| </attribute> | |||||
| </widget> | |||||
| </widget> | </widget> | ||||
| </widget> | </widget> | ||||
| <resources/> | <resources/> | ||||
| @@ -5,6 +5,7 @@ CCableTestBench::CCableTestBench(QObject *parent) : | |||||
| QObject(parent) | QObject(parent) | ||||
| { | { | ||||
| w = new MainWindow(0,this); | w = new MainWindow(0,this); | ||||
| } | } | ||||
| CCableTestBench::~CCableTestBench() | CCableTestBench::~CCableTestBench() | ||||
| @@ -14,8 +15,7 @@ CCableTestBench::~CCableTestBench() | |||||
| int CCableTestBench::Start() | int CCableTestBench::Start() | ||||
| { | { | ||||
| w->resize(1024,768); | |||||
| w->show(); | |||||
| w->showMaximized(); | |||||
| mMainPageHandle = w->mMainPage; | mMainPageHandle = w->mMainPage; | ||||
| mVisualInspPageHandle = w->mVisualInspPage; | mVisualInspPageHandle = w->mVisualInspPage; | ||||
| @@ -0,0 +1,17 @@ | |||||
| #include "CableTestPage.h" | |||||
| #include "ui_CableTestPage.h" | |||||
| #include "CableTestBench.h" | |||||
| CCableTestPage::CCableTestPage(QWidget *parent) : | |||||
| QWidget(parent), | |||||
| ui(new Ui::CCableTestPage) | |||||
| { | |||||
| ui->setupUi(this); | |||||
| mProgramHandle = 0; | |||||
| } | |||||
| CCableTestPage::~CCableTestPage() | |||||
| { | |||||
| delete ui; | |||||
| } | |||||
| @@ -0,0 +1,26 @@ | |||||
| #ifndef CABLETESTPAGE_H | |||||
| #define CABLETESTPAGE_H | |||||
| #include <QWidget> | |||||
| class CCableTestBench; | |||||
| namespace Ui { | |||||
| class CCableTestPage; | |||||
| } | |||||
| class CCableTestPage : public QWidget | |||||
| { | |||||
| Q_OBJECT | |||||
| public: | |||||
| explicit CCableTestPage(QWidget *parent = 0); | |||||
| ~CCableTestPage(); | |||||
| CCableTestBench *mProgramHandle; | |||||
| private: | |||||
| Ui::CCableTestPage *ui; | |||||
| }; | |||||
| #endif // CABLETESTPAGE_H | |||||
| @@ -0,0 +1,247 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | |||||
| <ui version="4.0"> | |||||
| <class>CCableTestPage</class> | |||||
| <widget class="QWidget" name="CCableTestPage"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>0</x> | |||||
| <y>0</y> | |||||
| <width>1800</width> | |||||
| <height>880</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="windowTitle"> | |||||
| <string>Form</string> | |||||
| </property> | |||||
| <widget class="CConnectorSelectWidget" name="mConnectorSelectWidget" native="true"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>850</x> | |||||
| <y>20</y> | |||||
| <width>501</width> | |||||
| <height>501</height> | |||||
| </rect> | |||||
| </property> | |||||
| </widget> | |||||
| <widget class="QFrame" name="mCableConfigFrame"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>50</x> | |||||
| <y>50</y> | |||||
| <width>471</width> | |||||
| <height>121</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="frameShape"> | |||||
| <enum>QFrame::WinPanel</enum> | |||||
| </property> | |||||
| <property name="frameShadow"> | |||||
| <enum>QFrame::Raised</enum> | |||||
| </property> | |||||
| <property name="lineWidth"> | |||||
| <number>3</number> | |||||
| </property> | |||||
| </widget> | |||||
| <widget class="QWidget" name=""> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>60</x> | |||||
| <y>60</y> | |||||
| <width>451</width> | |||||
| <height>100</height> | |||||
| </rect> | |||||
| </property> | |||||
| <layout class="QGridLayout" name="gridLayout"> | |||||
| <item row="3" column="0" alignment="Qt::AlignRight"> | |||||
| <widget class="QLabel" name="mNomTesteurLabel"> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Nom du testeur</string> | |||||
| </property> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="2" column="1" colspan="2"> | |||||
| <widget class="QComboBox" name="mTypeCableCombo"> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Permanent</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Temporaire</string> | |||||
| </property> | |||||
| </item> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="1" column="1" colspan="2"> | |||||
| <widget class="QLineEdit" name="mIdentCableEditBox"/> | |||||
| </item> | |||||
| <item row="0" column="1" colspan="2"> | |||||
| <widget class="QComboBox" name="mStationNameCombo"> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Frontenac</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Côte-Vertu</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Angrignon</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Garage Angrignon</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Atwater</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Lionel-Groulx</string> | |||||
| </property> | |||||
| </item> | |||||
| <item> | |||||
| <property name="text"> | |||||
| <string>Viau</string> | |||||
| </property> | |||||
| </item> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="0" column="0" alignment="Qt::AlignRight"> | |||||
| <widget class="QLabel" name="StationNameLabel"> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Station</string> | |||||
| </property> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="2" column="0" alignment="Qt::AlignRight"> | |||||
| <widget class="QLabel" name="mTypeCableLabel"> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Type câble</string> | |||||
| </property> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="1" column="0"> | |||||
| <widget class="QLabel" name="mIdentCableLabel"> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Identification du câble</string> | |||||
| </property> | |||||
| </widget> | |||||
| </item> | |||||
| <item row="3" column="1" colspan="2"> | |||||
| <widget class="QLineEdit" name="mNomTesteurEditBox"> | |||||
| <property name="text"> | |||||
| <string/> | |||||
| </property> | |||||
| </widget> | |||||
| </item> | |||||
| </layout> | |||||
| </widget> | |||||
| <widget class="QLabel" name="mCableConfigLabel"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>50</x> | |||||
| <y>30</y> | |||||
| <width>271</width> | |||||
| <height>20</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Configuration du câble</string> | |||||
| </property> | |||||
| </widget> | |||||
| <widget class="QLabel" name="mInspVisuelleLabel"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>70</x> | |||||
| <y>230</y> | |||||
| <width>271</width> | |||||
| <height>20</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="font"> | |||||
| <font> | |||||
| <pointsize>12</pointsize> | |||||
| </font> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Inspection visuelle</string> | |||||
| </property> | |||||
| </widget> | |||||
| <widget class="QFrame" name="mInspVisuelleFrame"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>60</x> | |||||
| <y>250</y> | |||||
| <width>391</width> | |||||
| <height>121</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="frameShape"> | |||||
| <enum>QFrame::StyledPanel</enum> | |||||
| </property> | |||||
| <property name="frameShadow"> | |||||
| <enum>QFrame::Plain</enum> | |||||
| </property> | |||||
| <property name="lineWidth"> | |||||
| <number>3</number> | |||||
| </property> | |||||
| <widget class="QPushButton" name="pushButton"> | |||||
| <property name="geometry"> | |||||
| <rect> | |||||
| <x>10</x> | |||||
| <y>50</y> | |||||
| <width>121</width> | |||||
| <height>23</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="text"> | |||||
| <string>Exécuter Inspection</string> | |||||
| </property> | |||||
| </widget> | |||||
| </widget> | |||||
| </widget> | |||||
| <customwidgets> | |||||
| <customwidget> | |||||
| <class>CConnectorSelectWidget</class> | |||||
| <extends>QWidget</extends> | |||||
| <header location="global">connectorselectwidget.h</header> | |||||
| <container>1</container> | |||||
| </customwidget> | |||||
| </customwidgets> | |||||
| <resources/> | |||||
| <connections/> | |||||
| </ui> | |||||
| @@ -12,7 +12,13 @@ CMainPage::CMainPage(QWidget *parent) : | |||||
| QFont font; | QFont font; | ||||
| font.setPointSize(18); | font.setPointSize(18); | ||||
| ui->mConnectorsImgLbl->setPixmap(QPixmap("./images/connecteurs.png").scaled(ui->mConnectorsImgLbl->size())); | |||||
| // ui->mConnectorsImgLbl->setPixmap(QPixmap("./images/connecteurs.png").scaled(ui->mConnectorsImgLbl->size())); | |||||
| mConnectorSelWidget = new CConnectorSelectWidget(); | |||||
| // test = new QLabel(this); | // test = new QLabel(this); | ||||
| // test->setObjectName("test"); | // test->setObjectName("test"); | ||||
| @@ -20,12 +26,14 @@ CMainPage::CMainPage(QWidget *parent) : | |||||
| // test->setPixmap(QPixmap("./images/connecteurs.png")); | // test->setPixmap(QPixmap("./images/connecteurs.png")); | ||||
| // test->show(); | // test->show(); | ||||
| connect(ui->mInspVisuelleBtn,SIGNAL(clicked()),this,SLOT(InspVisuelleBtnClicked())); | |||||
| //connect(ui->mInspVisuelleBtn,SIGNAL(clicked()),this,SLOT(InspVisuelleBtnClicked())); | |||||
| SM_HANDLE hndl; | SM_HANDLE hndl; | ||||
| SM_Open(&hndl,"192.168.0.101"); | SM_Open(&hndl,"192.168.0.101"); | ||||
| } | } | ||||
| CMainPage::~CMainPage() | CMainPage::~CMainPage() | ||||
| @@ -37,3 +45,8 @@ void CMainPage::InspVisuelleBtnClicked() | |||||
| { | { | ||||
| qDebug("clicked"); | qDebug("clicked"); | ||||
| } | } | ||||
| int CMainPage::SetTestPageWidget(QWidget *PageHandle) | |||||
| { | |||||
| ui->mMainTabWidget->addTab(PageHandle,QIcon(),QString("Câble")); | |||||
| } | |||||
| @@ -5,6 +5,8 @@ | |||||
| #include <QWidget> | #include <QWidget> | ||||
| #include <QLabel> | #include <QLabel> | ||||
| #include "ConnectorSelectWidget.h" | |||||
| class CCableTestBench; | class CCableTestBench; | ||||
| namespace Ui { | namespace Ui { | ||||
| @@ -21,6 +23,10 @@ public: | |||||
| CCableTestBench *mProgramHandle; | CCableTestBench *mProgramHandle; | ||||
| QPixmap mLedONPixmap, mLedOFFPixmap; | QPixmap mLedONPixmap, mLedOFFPixmap; | ||||
| QLabel *test; | QLabel *test; | ||||
| CConnectorSelectWidget *mConnectorSelWidget; | |||||
| int SetTestPageWidget(QWidget *PageHandle); | |||||
| private: | private: | ||||
| Ui::CMainPage *ui; | Ui::CMainPage *ui; | ||||
| @@ -6,18 +6,24 @@ MainWindow::MainWindow(QWidget *parent,CCableTestBench* ProgramHandle) | |||||
| : QMainWindow(parent), | : QMainWindow(parent), | ||||
| mProgramHandle(ProgramHandle) | mProgramHandle(ProgramHandle) | ||||
| { | { | ||||
| resize(1024,768); | |||||
| resize(1800,890); | |||||
| mMainPage = new CMainPage(this); | |||||
| mMainPage = new CMainPage(); | |||||
| mVisualInspPage = new CVisualInspectionPage(); | mVisualInspPage = new CVisualInspectionPage(); | ||||
| mCableTestPage = new CCableTestPage(this); | |||||
| mMainPage->mProgramHandle = ProgramHandle; | mMainPage->mProgramHandle = ProgramHandle; | ||||
| mVisualInspPage->mProgramHandle = ProgramHandle; | mVisualInspPage->mProgramHandle = ProgramHandle; | ||||
| // mMainPage->SetTestPageWidget(mCableTestPage); | |||||
| //setCentralWidget(mVisualInspPage); | //setCentralWidget(mVisualInspPage); | ||||
| } | } | ||||
| MainWindow::~MainWindow() | MainWindow::~MainWindow() | ||||
| @@ -8,6 +8,7 @@ | |||||
| #include <QTextEdit> | #include <QTextEdit> | ||||
| #include "MainPage.h" | #include "MainPage.h" | ||||
| #include "VisualInspectionPage.h" | #include "VisualInspectionPage.h" | ||||
| #include "CableTestPage.h" | |||||
| class CCableTestBench; | class CCableTestBench; | ||||
| @@ -22,6 +23,7 @@ public: | |||||
| CMainPage *mMainPage; | CMainPage *mMainPage; | ||||
| CCableTestBench *mProgramHandle; | CCableTestBench *mProgramHandle; | ||||
| CVisualInspectionPage *mVisualInspPage; | CVisualInspectionPage *mVisualInspPage; | ||||
| CCableTestPage *mCableTestPage; | |||||
| public slots: | public slots: | ||||
| @@ -1,6 +0,0 @@ | |||||
| #include "CConnectorSelectWidget.h" | |||||
| CConnectorSelectWidget::CConnectorSelectWidget(QWidget *parent) : | |||||
| QWidget(parent) | |||||
| { | |||||
| } | |||||
| @@ -1,18 +0,0 @@ | |||||
| #ifndef CCONNECTORSELECTWIDGET_H | |||||
| #define CCONNECTORSELECTWIDGET_H | |||||
| #include <QWidget> | |||||
| class CConnectorSelectWidget : public QWidget | |||||
| { | |||||
| Q_OBJECT | |||||
| public: | |||||
| explicit CConnectorSelectWidget(QWidget *parent = 0); | |||||
| signals: | |||||
| public slots: | |||||
| }; | |||||
| #endif // CCONNECTORSELECTWIDGET_H | |||||
| @@ -0,0 +1,16 @@ | |||||
| #include "ConnectorSelectWidget.h" | |||||
| #include <QPainter> | |||||
| CConnectorSelectWidget::CConnectorSelectWidget(QWidget *parent) : | |||||
| QWidget(parent) | |||||
| { | |||||
| mConnectorLayoutPixmap = new QPixmap("./images/connecteurs.png"); | |||||
| } | |||||
| void CConnectorSelectWidget::paintEvent(QPaintEvent *) | |||||
| { | |||||
| QPainter painter(this); | |||||
| painter.drawPixmap(this->rect(),mConnectorLayoutPixmap->scaled(this->size())); | |||||
| } | |||||
| @@ -9,6 +9,9 @@ class CConnectorSelectWidget : public QWidget | |||||
| Q_OBJECT | Q_OBJECT | ||||
| public: | public: | ||||
| explicit CConnectorSelectWidget(QWidget *parent = 0); | explicit CConnectorSelectWidget(QWidget *parent = 0); | ||||
| void paintEvent(QPaintEvent *); | |||||
| QPixmap *mConnectorLayoutPixmap; | |||||
| signals: | signals: | ||||
| @@ -4,10 +4,12 @@ INPUT( | |||||
| ./debug\MainPage.o | ./debug\MainPage.o | ||||
| ./debug\CableTestBench.o | ./debug\CableTestBench.o | ||||
| ./debug\VisualInspectionPage.o | ./debug\VisualInspectionPage.o | ||||
| ./debug\CConnectorSelectWidget.o | |||||
| ./debug\ConnectorSelectWidget.o | |||||
| ./debug\CableTestPage.o | |||||
| ./debug\moc_MainWindow.o | ./debug\moc_MainWindow.o | ||||
| ./debug\moc_MainPage.o | ./debug\moc_MainPage.o | ||||
| ./debug\moc_CableTestBench.o | ./debug\moc_CableTestBench.o | ||||
| ./debug\moc_VisualInspectionPage.o | ./debug\moc_VisualInspectionPage.o | ||||
| ./debug\moc_CConnectorSelectWidget.o | |||||
| ./debug\moc_ConnectorSelectWidget.o | |||||
| ./debug\moc_CableTestPage.o | |||||
| ); | ); | ||||
| @@ -4,10 +4,12 @@ INPUT( | |||||
| ./release\MainPage.o | ./release\MainPage.o | ||||
| ./release\CableTestBench.o | ./release\CableTestBench.o | ||||
| ./release\VisualInspectionPage.o | ./release\VisualInspectionPage.o | ||||
| ./release\CConnectorSelectWidget.o | |||||
| ./release\ConnectorSelectWidget.o | |||||
| ./release\CableTestPage.o | |||||
| ./release\moc_MainWindow.o | ./release\moc_MainWindow.o | ||||
| ./release\moc_MainPage.o | ./release\moc_MainPage.o | ||||
| ./release\moc_CableTestBench.o | ./release\moc_CableTestBench.o | ||||
| ./release\moc_VisualInspectionPage.o | ./release\moc_VisualInspectionPage.o | ||||
| ./release\moc_CConnectorSelectWidget.o | |||||
| ./release\moc_ConnectorSelectWidget.o | |||||
| ./release\moc_CableTestPage.o | |||||
| ); | ); | ||||
| @@ -1,7 +1,7 @@ | |||||
| /******************************************************************************** | /******************************************************************************** | ||||
| ** Form generated from reading UI file 'CMainPage.ui' | ** Form generated from reading UI file 'CMainPage.ui' | ||||
| ** | ** | ||||
| ** Created: Wed Mar 27 11:28:49 2019 | |||||
| ** Created: Mon Apr 15 10:13:31 2019 | |||||
| ** by: Qt User Interface Compiler version 4.8.1 | ** by: Qt User Interface Compiler version 4.8.1 | ||||
| ** | ** | ||||
| ** WARNING! All changes made in this file will be lost when recompiling UI file! | ** WARNING! All changes made in this file will be lost when recompiling UI file! | ||||
| @@ -14,10 +14,9 @@ | |||||
| #include <QtGui/QAction> | #include <QtGui/QAction> | ||||
| #include <QtGui/QApplication> | #include <QtGui/QApplication> | ||||
| #include <QtGui/QButtonGroup> | #include <QtGui/QButtonGroup> | ||||
| #include <QtGui/QFrame> | |||||
| #include <QtGui/QCheckBox> | |||||
| #include <QtGui/QHeaderView> | #include <QtGui/QHeaderView> | ||||
| #include <QtGui/QLabel> | |||||
| #include <QtGui/QPushButton> | |||||
| #include <QtGui/QTabWidget> | |||||
| #include <QtGui/QWidget> | #include <QtGui/QWidget> | ||||
| QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
| @@ -25,26 +24,28 @@ QT_BEGIN_NAMESPACE | |||||
| class Ui_CMainPage | class Ui_CMainPage | ||||
| { | { | ||||
| public: | public: | ||||
| QPushButton *mInspVisuelleBtn; | |||||
| QFrame *line; | |||||
| QLabel *mConnectorsImgLbl; | |||||
| QCheckBox *checkBox; | |||||
| QTabWidget *mMainTabWidget; | |||||
| QWidget *Test; | |||||
| QWidget *tab_2; | |||||
| void setupUi(QWidget *CMainPage) | void setupUi(QWidget *CMainPage) | ||||
| { | { | ||||
| if (CMainPage->objectName().isEmpty()) | if (CMainPage->objectName().isEmpty()) | ||||
| CMainPage->setObjectName(QString::fromUtf8("CMainPage")); | CMainPage->setObjectName(QString::fromUtf8("CMainPage")); | ||||
| CMainPage->resize(1124, 693); | |||||
| mInspVisuelleBtn = new QPushButton(CMainPage); | |||||
| mInspVisuelleBtn->setObjectName(QString::fromUtf8("mInspVisuelleBtn")); | |||||
| mInspVisuelleBtn->setGeometry(QRect(40, 210, 111, 23)); | |||||
| line = new QFrame(CMainPage); | |||||
| line->setObjectName(QString::fromUtf8("line")); | |||||
| line->setGeometry(QRect(550, 30, 20, 641)); | |||||
| line->setFrameShape(QFrame::VLine); | |||||
| line->setFrameShadow(QFrame::Sunken); | |||||
| mConnectorsImgLbl = new QLabel(CMainPage); | |||||
| mConnectorsImgLbl->setObjectName(QString::fromUtf8("mConnectorsImgLbl")); | |||||
| mConnectorsImgLbl->setGeometry(QRect(580, 30, 491, 431)); | |||||
| CMainPage->resize(2048, 1024); | |||||
| checkBox = new QCheckBox(CMainPage); | |||||
| checkBox->setObjectName(QString::fromUtf8("checkBox")); | |||||
| checkBox->setGeometry(QRect(270, 230, 70, 17)); | |||||
| mMainTabWidget = new QTabWidget(CMainPage); | |||||
| mMainTabWidget->setObjectName(QString::fromUtf8("mMainTabWidget")); | |||||
| mMainTabWidget->setGeometry(QRect(0, 0, 2051, 1031)); | |||||
| Test = new QWidget(); | |||||
| Test->setObjectName(QString::fromUtf8("Test")); | |||||
| mMainTabWidget->addTab(Test, QString()); | |||||
| tab_2 = new QWidget(); | |||||
| tab_2->setObjectName(QString::fromUtf8("tab_2")); | |||||
| mMainTabWidget->addTab(tab_2, QString()); | |||||
| retranslateUi(CMainPage); | retranslateUi(CMainPage); | ||||
| @@ -54,8 +55,9 @@ public: | |||||
| void retranslateUi(QWidget *CMainPage) | void retranslateUi(QWidget *CMainPage) | ||||
| { | { | ||||
| CMainPage->setWindowTitle(QApplication::translate("CMainPage", "Form", 0, QApplication::UnicodeUTF8)); | CMainPage->setWindowTitle(QApplication::translate("CMainPage", "Form", 0, QApplication::UnicodeUTF8)); | ||||
| mInspVisuelleBtn->setText(QApplication::translate("CMainPage", "Inspection Visuelle", 0, QApplication::UnicodeUTF8)); | |||||
| mConnectorsImgLbl->setText(QApplication::translate("CMainPage", "TextLabel", 0, QApplication::UnicodeUTF8)); | |||||
| checkBox->setText(QApplication::translate("CMainPage", "CheckBox", 0, QApplication::UnicodeUTF8)); | |||||
| mMainTabWidget->setTabText(mMainTabWidget->indexOf(Test), QApplication::translate("CMainPage", "Tab 1", 0, QApplication::UnicodeUTF8)); | |||||
| mMainTabWidget->setTabText(mMainTabWidget->indexOf(tab_2), QApplication::translate("CMainPage", "Tab 2", 0, QApplication::UnicodeUTF8)); | |||||
| } // retranslateUi | } // retranslateUi | ||||
| }; | }; | ||||
| @@ -0,0 +1,168 @@ | |||||
| /******************************************************************************** | |||||
| ** Form generated from reading UI file 'CableTestPage.ui' | |||||
| ** | |||||
| ** Created: Mon Apr 15 13:42:02 2019 | |||||
| ** by: Qt User Interface Compiler version 4.8.1 | |||||
| ** | |||||
| ** WARNING! All changes made in this file will be lost when recompiling UI file! | |||||
| ********************************************************************************/ | |||||
| #ifndef UI_CABLETESTPAGE_H | |||||
| #define UI_CABLETESTPAGE_H | |||||
| #include <QtCore/QVariant> | |||||
| #include <QtGui/QAction> | |||||
| #include <QtGui/QApplication> | |||||
| #include <QtGui/QButtonGroup> | |||||
| #include <QtGui/QComboBox> | |||||
| #include <QtGui/QFrame> | |||||
| #include <QtGui/QGridLayout> | |||||
| #include <QtGui/QHeaderView> | |||||
| #include <QtGui/QLabel> | |||||
| #include <QtGui/QLineEdit> | |||||
| #include <QtGui/QWidget> | |||||
| #include <connectorselectwidget.h> | |||||
| QT_BEGIN_NAMESPACE | |||||
| class Ui_CCableTestPage | |||||
| { | |||||
| public: | |||||
| CConnectorSelectWidget *mConnectorSelectWidget; | |||||
| QFrame *mCableConfigFrame; | |||||
| QWidget *widget; | |||||
| QGridLayout *gridLayout; | |||||
| QLabel *mNomTesteurLabel; | |||||
| QComboBox *mTypeCableCombo; | |||||
| QLineEdit *mIdentCableEditBox; | |||||
| QComboBox *mStationNameCombo; | |||||
| QLabel *StationNameLabel; | |||||
| QLabel *mTypeCableLabel; | |||||
| QLabel *mIdentCableLabel; | |||||
| QLineEdit *mNomTesteurEditBox; | |||||
| QLabel *mNomTesteurLabel_2; | |||||
| QLabel *mNomTesteurLabel_3; | |||||
| QFrame *mInspVisuelleFrame; | |||||
| void setupUi(QWidget *CCableTestPage) | |||||
| { | |||||
| if (CCableTestPage->objectName().isEmpty()) | |||||
| CCableTestPage->setObjectName(QString::fromUtf8("CCableTestPage")); | |||||
| CCableTestPage->resize(1800, 880); | |||||
| mConnectorSelectWidget = new CConnectorSelectWidget(CCableTestPage); | |||||
| mConnectorSelectWidget->setObjectName(QString::fromUtf8("mConnectorSelectWidget")); | |||||
| mConnectorSelectWidget->setGeometry(QRect(850, 20, 501, 501)); | |||||
| mCableConfigFrame = new QFrame(CCableTestPage); | |||||
| mCableConfigFrame->setObjectName(QString::fromUtf8("mCableConfigFrame")); | |||||
| mCableConfigFrame->setGeometry(QRect(50, 50, 471, 121)); | |||||
| mCableConfigFrame->setFrameShape(QFrame::WinPanel); | |||||
| mCableConfigFrame->setFrameShadow(QFrame::Raised); | |||||
| mCableConfigFrame->setLineWidth(3); | |||||
| widget = new QWidget(CCableTestPage); | |||||
| widget->setObjectName(QString::fromUtf8("widget")); | |||||
| widget->setGeometry(QRect(60, 60, 451, 100)); | |||||
| gridLayout = new QGridLayout(widget); | |||||
| gridLayout->setObjectName(QString::fromUtf8("gridLayout")); | |||||
| gridLayout->setContentsMargins(0, 0, 0, 0); | |||||
| mNomTesteurLabel = new QLabel(widget); | |||||
| mNomTesteurLabel->setObjectName(QString::fromUtf8("mNomTesteurLabel")); | |||||
| QFont font; | |||||
| font.setPointSize(12); | |||||
| mNomTesteurLabel->setFont(font); | |||||
| gridLayout->addWidget(mNomTesteurLabel, 3, 0, 1, 1, Qt::AlignRight); | |||||
| mTypeCableCombo = new QComboBox(widget); | |||||
| mTypeCableCombo->setObjectName(QString::fromUtf8("mTypeCableCombo")); | |||||
| gridLayout->addWidget(mTypeCableCombo, 2, 1, 1, 2); | |||||
| mIdentCableEditBox = new QLineEdit(widget); | |||||
| mIdentCableEditBox->setObjectName(QString::fromUtf8("mIdentCableEditBox")); | |||||
| gridLayout->addWidget(mIdentCableEditBox, 1, 1, 1, 2); | |||||
| mStationNameCombo = new QComboBox(widget); | |||||
| mStationNameCombo->setObjectName(QString::fromUtf8("mStationNameCombo")); | |||||
| gridLayout->addWidget(mStationNameCombo, 0, 1, 1, 2); | |||||
| StationNameLabel = new QLabel(widget); | |||||
| StationNameLabel->setObjectName(QString::fromUtf8("StationNameLabel")); | |||||
| StationNameLabel->setFont(font); | |||||
| gridLayout->addWidget(StationNameLabel, 0, 0, 1, 1, Qt::AlignRight); | |||||
| mTypeCableLabel = new QLabel(widget); | |||||
| mTypeCableLabel->setObjectName(QString::fromUtf8("mTypeCableLabel")); | |||||
| mTypeCableLabel->setFont(font); | |||||
| gridLayout->addWidget(mTypeCableLabel, 2, 0, 1, 1, Qt::AlignRight); | |||||
| mIdentCableLabel = new QLabel(widget); | |||||
| mIdentCableLabel->setObjectName(QString::fromUtf8("mIdentCableLabel")); | |||||
| mIdentCableLabel->setFont(font); | |||||
| gridLayout->addWidget(mIdentCableLabel, 1, 0, 1, 1); | |||||
| mNomTesteurEditBox = new QLineEdit(widget); | |||||
| mNomTesteurEditBox->setObjectName(QString::fromUtf8("mNomTesteurEditBox")); | |||||
| gridLayout->addWidget(mNomTesteurEditBox, 3, 1, 1, 2); | |||||
| mNomTesteurLabel_2 = new QLabel(CCableTestPage); | |||||
| mNomTesteurLabel_2->setObjectName(QString::fromUtf8("mNomTesteurLabel_2")); | |||||
| mNomTesteurLabel_2->setGeometry(QRect(50, 30, 271, 20)); | |||||
| mNomTesteurLabel_2->setFont(font); | |||||
| mNomTesteurLabel_3 = new QLabel(CCableTestPage); | |||||
| mNomTesteurLabel_3->setObjectName(QString::fromUtf8("mNomTesteurLabel_3")); | |||||
| mNomTesteurLabel_3->setGeometry(QRect(60, 230, 271, 20)); | |||||
| mNomTesteurLabel_3->setFont(font); | |||||
| mInspVisuelleFrame = new QFrame(CCableTestPage); | |||||
| mInspVisuelleFrame->setObjectName(QString::fromUtf8("mInspVisuelleFrame")); | |||||
| mInspVisuelleFrame->setGeometry(QRect(60, 250, 471, 121)); | |||||
| mInspVisuelleFrame->setFrameShape(QFrame::StyledPanel); | |||||
| mInspVisuelleFrame->setFrameShadow(QFrame::Plain); | |||||
| mInspVisuelleFrame->setLineWidth(3); | |||||
| retranslateUi(CCableTestPage); | |||||
| QMetaObject::connectSlotsByName(CCableTestPage); | |||||
| } // setupUi | |||||
| void retranslateUi(QWidget *CCableTestPage) | |||||
| { | |||||
| CCableTestPage->setWindowTitle(QApplication::translate("CCableTestPage", "Form", 0, QApplication::UnicodeUTF8)); | |||||
| mNomTesteurLabel->setText(QApplication::translate("CCableTestPage", "Nom du testeur", 0, QApplication::UnicodeUTF8)); | |||||
| mTypeCableCombo->clear(); | |||||
| mTypeCableCombo->insertItems(0, QStringList() | |||||
| << QApplication::translate("CCableTestPage", "Permanent", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Temporaire", 0, QApplication::UnicodeUTF8) | |||||
| ); | |||||
| mStationNameCombo->clear(); | |||||
| mStationNameCombo->insertItems(0, QStringList() | |||||
| << QApplication::translate("CCableTestPage", "Frontenac", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "C\303\264te-Vertu", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Angrignon", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Garage Angrignon", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Atwater", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Lionel-Groulx", 0, QApplication::UnicodeUTF8) | |||||
| << QApplication::translate("CCableTestPage", "Viau", 0, QApplication::UnicodeUTF8) | |||||
| ); | |||||
| StationNameLabel->setText(QApplication::translate("CCableTestPage", "Station", 0, QApplication::UnicodeUTF8)); | |||||
| mTypeCableLabel->setText(QApplication::translate("CCableTestPage", "Type c\303\242ble", 0, QApplication::UnicodeUTF8)); | |||||
| mIdentCableLabel->setText(QApplication::translate("CCableTestPage", "Identification du c\303\242ble", 0, QApplication::UnicodeUTF8)); | |||||
| mNomTesteurEditBox->setText(QString()); | |||||
| mNomTesteurLabel_2->setText(QApplication::translate("CCableTestPage", "Configuration du c\303\242ble", 0, QApplication::UnicodeUTF8)); | |||||
| mNomTesteurLabel_3->setText(QApplication::translate("CCableTestPage", "Inspection visuelle", 0, QApplication::UnicodeUTF8)); | |||||
| } // retranslateUi | |||||
| }; | |||||
| namespace Ui { | |||||
| class CCableTestPage: public Ui_CCableTestPage {}; | |||||
| } // namespace Ui | |||||
| QT_END_NAMESPACE | |||||
| #endif // UI_CABLETESTPAGE_H | |||||
| @@ -1,7 +1,7 @@ | |||||
| /******************************************************************************** | /******************************************************************************** | ||||
| ** Form generated from reading UI file 'VisualInspectionPage.ui' | ** Form generated from reading UI file 'VisualInspectionPage.ui' | ||||
| ** | ** | ||||
| ** Created: Wed Mar 27 10:53:05 2019 | |||||
| ** Created: Mon Apr 15 09:50:03 2019 | |||||
| ** by: Qt User Interface Compiler version 4.8.1 | ** by: Qt User Interface Compiler version 4.8.1 | ||||
| ** | ** | ||||
| ** WARNING! All changes made in this file will be lost when recompiling UI file! | ** WARNING! All changes made in this file will be lost when recompiling UI file! | ||||