+++ /dev/null
-#############################################################################
-# Makefile for building: ../bin/APropos.app/Contents/MacOS/APropos
-# Generated by qmake (2.01a) (Qt 4.7.0) on: Tue Dec 17 21:45:09 2013
-# Project: APropos.pro
-# Template: app
-# Command: /usr/local/Trolltech/Qt-4.7.0/bin/qmake -o Makefile APropos.pro
-#############################################################################
-
-####### Compiler, tools and options
-
-CC = gcc
-CXX = g++
-DEFINES = -DNUM_VERSION="\"2.16.000\"" -DNAME_APPLI="\"APropos\"" -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-CFLAGS = -pipe -g -gdwarf-2 -arch i386 -Wall -W $(DEFINES)
-CXXFLAGS = -pipe -g -gdwarf-2 -arch i386 -Wall -W $(DEFINES)
-INCPATH = -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.7.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.7.0/include/QtCore -I/usr/local/Trolltech/Qt-4.7.0/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.7.0/include/QtNetwork -I/usr/local/Trolltech/Qt-4.7.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.7.0/include/QtGui -I/usr/local/Trolltech/Qt-4.7.0/lib/QtSql.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.7.0/include/QtSql -I/usr/local/Trolltech/Qt-4.7.0/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.7.0/include/QtWebKit -I/usr/local/Trolltech/Qt-4.7.0/include -I/../usr/include -Imoc -Iui -F/usr/local/Trolltech/Qt-4.7.0/lib
-LINK = g++
-LFLAGS = -headerpad_max_install_names -arch i386
-LIBS = $(SUBLIBS) -F/usr/local/Trolltech/Qt-4.7.0/lib -L/usr/local/Trolltech/Qt-4.7.0/lib -framework QtWebKit -framework QtSql -L/usr/local/mysql/lib -L/usr/local/Trolltech/Qt-4.7.0/lib -F/usr/local/Trolltech/Qt-4.7.0/lib -lmysqlclient_r -framework QtGui -framework QtNetwork -framework QtCore
-AR = ar cq
-RANLIB = ranlib -s
-QMAKE = /usr/local/Trolltech/Qt-4.7.0/bin/qmake
-TAR = tar -cf
-COMPRESS = gzip -9f
-COPY = cp -f
-SED = sed
-COPY_FILE = cp -f
-COPY_DIR = cp -f -R
-STRIP =
-INSTALL_FILE = $(COPY_FILE)
-INSTALL_DIR = $(COPY_DIR)
-INSTALL_PROGRAM = $(COPY_FILE)
-DEL_FILE = rm -f
-SYMLINK = ln -f -s
-DEL_DIR = rmdir
-MOVE = mv -f
-CHK_DIR_EXISTS= test -d
-MKDIR = mkdir -p
-export MACOSX_DEPLOYMENT_TARGET = 10.4
-
-####### Output directory
-
-OBJECTS_DIR = obj/mac/
-
-####### Files
-
-SOURCES = main.cpp \
- ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.cpp \
- CApp.cpp \
- ../../MedinTuxTools-QT4/CGestIni.cpp \
- ../../MedinTuxTools-QT4/Theme.cpp moc/moc_C_DlgApropos.cpp \
- moc/moc_CApp.cpp \
- moc/moc_CGestIni.cpp
-OBJECTS = obj/mac/main.o \
- obj/mac/C_DlgApropos.o \
- obj/mac/CApp.o \
- obj/mac/CGestIni.o \
- obj/mac/Theme.o \
- obj/mac/moc_C_DlgApropos.o \
- obj/mac/moc_CApp.o \
- obj/mac/moc_CGestIni.o
-DIST = /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/unix.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac-g++.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/qconfig.pri \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/modules/qt_webkit_version.pri \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_functions.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_config.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/exclusive_builds.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_pre.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_pre.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/dwarf2.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/debug.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_post.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_post.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/x86.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/objective_c.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/warn_on.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/unix/thread.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/moc.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/rez.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/sdk.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/resources.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/uic.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/yacc.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/lex.prf \
- APropos.pro
-QMAKE_TARGET = APropos
-DESTDIR = ../bin/
-TARGET = ../bin/APropos.app/Contents/MacOS/APropos
-
-####### Custom Compiler Variables
-QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \
- -g \
- -gdwarf-2 \
- -arch \
- i386 \
- -Wall \
- -W
-
-
-first: all
-####### Implicit rules
-
-.SUFFIXES: .o .c .cpp .cc .cxx .C
-
-.cpp.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.cc.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.cxx.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.C.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
-
-.c.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
-
-####### Build rules
-
-all: Makefile ../bin/APropos.app/Contents/PkgInfo ../bin/APropos.app/Contents/Resources/empty.lproj ../bin/APropos.app/Contents/Info.plist $(TARGET)
-
-$(TARGET): ui/ui_C_DlgApropos.h $(OBJECTS)
- @$(CHK_DIR_EXISTS) ../bin/APropos.app/Contents/MacOS/ || $(MKDIR) ../bin/APropos.app/Contents/MacOS/
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
-
-Makefile: APropos.pro /usr/local/Trolltech/Qt-4.7.0/mkspecs/macx-g++/qmake.conf /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/unix.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac-g++.conf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/qconfig.pri \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/modules/qt_webkit_version.pri \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_functions.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_config.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/exclusive_builds.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_pre.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_pre.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/dwarf2.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/debug.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_post.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_post.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/x86.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/objective_c.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/warn_on.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/unix/thread.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/moc.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/rez.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/sdk.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/resources.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/uic.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/yacc.prf \
- /usr/local/Trolltech/Qt-4.7.0/mkspecs/features/lex.prf \
- /usr/local/Trolltech/Qt-4.7.0/lib/QtWebKit.framework/QtWebKit.prl \
- /usr/local/Trolltech/Qt-4.7.0/lib/QtSql.framework/QtSql.prl \
- /usr/local/Trolltech/Qt-4.7.0/lib/QtCore.framework/QtCore.prl \
- /usr/local/Trolltech/Qt-4.7.0/lib/QtGui.framework/QtGui.prl \
- /usr/local/Trolltech/Qt-4.7.0/lib/QtNetwork.framework/QtNetwork.prl
- $(QMAKE) -o Makefile APropos.pro
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/unix.conf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac.conf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/common/mac-g++.conf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/qconfig.pri:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/modules/qt_webkit_version.pri:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_functions.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt_config.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/exclusive_builds.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_pre.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_pre.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/dwarf2.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/debug.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/default_post.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/default_post.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/x86.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/objective_c.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/warn_on.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/qt.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/unix/thread.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/moc.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/rez.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/mac/sdk.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/resources.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/uic.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/yacc.prf:
-/usr/local/Trolltech/Qt-4.7.0/mkspecs/features/lex.prf:
-/usr/local/Trolltech/Qt-4.7.0/lib/QtWebKit.framework/QtWebKit.prl:
-/usr/local/Trolltech/Qt-4.7.0/lib/QtSql.framework/QtSql.prl:
-/usr/local/Trolltech/Qt-4.7.0/lib/QtCore.framework/QtCore.prl:
-/usr/local/Trolltech/Qt-4.7.0/lib/QtGui.framework/QtGui.prl:
-/usr/local/Trolltech/Qt-4.7.0/lib/QtNetwork.framework/QtNetwork.prl:
-qmake: FORCE
- @$(QMAKE) -o Makefile APropos.pro
-
-../bin/APropos.app/Contents/PkgInfo:
- @$(CHK_DIR_EXISTS) ../bin/APropos.app/Contents || $(MKDIR) ../bin/APropos.app/Contents
- @$(DEL_FILE) ../bin/APropos.app/Contents/PkgInfo
- @echo "APPL????" >../bin/APropos.app/Contents/PkgInfo
-../bin/APropos.app/Contents/Resources/empty.lproj:
- @$(CHK_DIR_EXISTS) ../bin/APropos.app/Contents/Resources || $(MKDIR) ../bin/APropos.app/Contents/Resources
- @touch ../bin/APropos.app/Contents/Resources/empty.lproj
-
-../bin/APropos.app/Contents/Info.plist:
- @$(CHK_DIR_EXISTS) ../bin/APropos.app/Contents || $(MKDIR) ../bin/APropos.app/Contents
- @$(DEL_FILE) ../bin/APropos.app/Contents/Info.plist
- @sed -e "s,@ICON@,,g" -e "s,@EXECUTABLE@,APropos,g" -e "s,@TYPEINFO@,????,g" /usr/local/Trolltech/Qt-4.7.0/mkspecs/macx-g++/Info.plist.app >../bin/APropos.app/Contents/Info.plist
-dist:
- @$(CHK_DIR_EXISTS) obj/mac/APropos1.0.0 || $(MKDIR) obj/mac/APropos1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/mac/APropos1.0.0/ && $(COPY_FILE) --parents ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.h CApp.h ../../MedinTuxTools-QT4/Theme.h ../../MedinTuxTools-QT4/CGestIni.h obj/mac/APropos1.0.0/ && $(COPY_FILE) --parents main.cpp ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.cpp CApp.cpp ../../MedinTuxTools-QT4/CGestIni.cpp ../../MedinTuxTools-QT4/Theme.cpp obj/mac/APropos1.0.0/ && $(COPY_FILE) --parents ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.ui obj/mac/APropos1.0.0/ && $(COPY_FILE) --parents Manager_fr.ts obj/mac/APropos1.0.0/ && (cd `dirname obj/mac/APropos1.0.0` && $(TAR) APropos1.0.0.tar APropos1.0.0 && $(COMPRESS) APropos1.0.0.tar) && $(MOVE) `dirname obj/mac/APropos1.0.0`/APropos1.0.0.tar.gz . && $(DEL_FILE) -r obj/mac/APropos1.0.0
-
-
-clean:compiler_clean
- -$(DEL_FILE) $(OBJECTS)
- -$(DEL_FILE) *~ core *.core
-
-
-####### Sub-libraries
-
-distclean: clean
- -$(DEL_FILE) -r ../bin/APropos.app
- -$(DEL_FILE) Makefile
-
-
-check: first
-
-mocclean: compiler_moc_header_clean compiler_moc_source_clean
-
-mocables: compiler_moc_header_make_all compiler_moc_source_make_all
-
-compiler_objective_c_make_all:
-compiler_objective_c_clean:
-compiler_moc_header_make_all: moc/moc_C_DlgApropos.cpp moc/moc_CApp.cpp moc/moc_CGestIni.cpp
-compiler_moc_header_clean:
- -$(DEL_FILE) moc/moc_C_DlgApropos.cpp moc/moc_CApp.cpp moc/moc_CGestIni.cpp
-moc/moc_C_DlgApropos.cpp: ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.h
- /usr/local/Trolltech/Qt-4.7.0/bin/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.h -o moc/moc_C_DlgApropos.cpp
-
-moc/moc_CApp.cpp: CApp.h
- /usr/local/Trolltech/Qt-4.7.0/bin/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ CApp.h -o moc/moc_CApp.cpp
-
-moc/moc_CGestIni.cpp: ../../MedinTuxTools-QT4/CGestIni.h
- /usr/local/Trolltech/Qt-4.7.0/bin/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ ../../MedinTuxTools-QT4/CGestIni.h -o moc/moc_CGestIni.cpp
-
-compiler_rcc_make_all:
-compiler_rcc_clean:
-compiler_image_collection_make_all: qmake_image_collection.cpp
-compiler_image_collection_clean:
- -$(DEL_FILE) qmake_image_collection.cpp
-compiler_moc_source_make_all:
-compiler_moc_source_clean:
-compiler_rez_source_make_all:
-compiler_rez_source_clean:
-compiler_uic_make_all: ui/ui_C_DlgApropos.h
-compiler_uic_clean:
- -$(DEL_FILE) ui/ui_C_DlgApropos.h
-ui/ui_C_DlgApropos.h: ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.ui
- /usr/local/Trolltech/Qt-4.7.0/bin/uic ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.ui -o ui/ui_C_DlgApropos.h
-
-compiler_yacc_decl_make_all:
-compiler_yacc_decl_clean:
-compiler_yacc_impl_make_all:
-compiler_yacc_impl_clean:
-compiler_lex_make_all:
-compiler_lex_clean:
-compiler_clean: compiler_moc_header_clean compiler_uic_clean
-
-####### Compile
-
-obj/mac/main.o: main.cpp ../../MedinTuxTools-QT4/CGestIni.h \
- ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.h \
- CApp.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/main.o main.cpp
-
-obj/mac/C_DlgApropos.o: ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.cpp ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.h \
- ui/ui_C_DlgApropos.h \
- ../../MedinTuxTools-QT4/CGestIni.h \
- ../../MedinTuxTools-QT4/Theme/Theme.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/C_DlgApropos.o ../../MedinTuxTools-QT4/C_DlgApropos/C_DlgApropos.cpp
-
-obj/mac/CApp.o: CApp.cpp CApp.h \
- ../../MedinTuxTools-QT4/Theme/Theme.h \
- ../../MedinTuxTools-QT4/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/CApp.o CApp.cpp
-
-obj/mac/CGestIni.o: ../../MedinTuxTools-QT4/CGestIni.cpp ../../MedinTuxTools-QT4/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/CGestIni.o ../../MedinTuxTools-QT4/CGestIni.cpp
-
-obj/mac/Theme.o: ../../MedinTuxTools-QT4/Theme.cpp ../../MedinTuxTools-QT4/Theme.h \
- ../../MedinTuxTools-QT4/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/Theme.o ../../MedinTuxTools-QT4/Theme.cpp
-
-obj/mac/moc_C_DlgApropos.o: moc/moc_C_DlgApropos.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/moc_C_DlgApropos.o moc/moc_C_DlgApropos.cpp
-
-obj/mac/moc_CApp.o: moc/moc_CApp.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/moc_CApp.o moc/moc_CApp.cpp
-
-obj/mac/moc_CGestIni.o: moc/moc_CGestIni.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/mac/moc_CGestIni.o moc/moc_CGestIni.cpp
-
-####### Install
-
-install: FORCE
-
-uninstall: FORCE
-
-FORCE:
-
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body style="font-size:10pt;font-family:Sans Serif">
+<html><head><meta http-equiv="Content-Type" content="text/html"; charset="utf-8" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p align="center"><img src=MedinTuxLogoHttp-300-200.png ><br /><br /><span style="font-size:12pt;font-weight:600">Logiciel Open Source libre de gestion du dossier médical <br /></span><a href="DrTuxVueGenerale.html">Vue générale de DrTux</a></p>
<p><span style="text-decoration:underline">Auteur et administrateur principal du projet</span> : </p>
<ul type="disc"><li><span style="font-weight:600">Roland SEVIN </span><a href="mailto:roland-sevin@medintux.org">roland-sevin@medintux.org</a> </li></ul>
<p><span style="font-size:9pt">4 </span><a href="DrTux.html#4 Description des fonctions en relation avec le langage de scrip"><span style="font-size:9pt">Description des fonctions en relation avec le langage de script</span></a></p>
<ul type="disc"><div><span style="font-size:9pt">4.1 </span><a href="DrTux.html#4.1 Exemple avancé d'utilisation du scanner et des menus de MedinTux"><span style="font-size:9pt">Exemple avancé d'utilisation du scanner et des menus de MedinTux</span></a><span style="font-size:9pt"><br />4.2 </span><a href="DrTux.html#4.2 Exemple avancé de menu de retouche d'images avec The Gimp et MedinTux"><span style="font-size:9pt">Exemple avancé d'un menu de retouche d'images avec The Gimp et MedinTux</span></a><span style="font-size:9pt"><br />4.3 </span><a href="DrTux.html#4.3 Exemple avancé de menu d'OCR (reconnaissance de caractères) avec Xsane Tesseract et MedinTux"><span style="font-size:9pt">Exemple avancé de menu d'OCR (reconnaissance de caractères) avec Xsane Tesseract et MedinTux</span></a><span style="font-size:9pt"><br />4.4 </span><a href="DrTux.html#4.4 Les menus utilisateurs"><span style="font-size:9pt">Les menus utilisateurs</span></a><span style="font-size:9pt"><br />4.5 </span><a href="DrTux.html#4.5 Le Langage de Script de MedinTux"><span style="font-size:9pt">Le Langage de Script de MedinTuxI Apports de DrTux au sein d'un service d'urgences</span></a></div>
<ul type="disc"><div><span style="font-size:9pt">4.5.1 </span><a href="DrTux.html#4.5.1 - Définition"><span style="font-size:9pt">Définition</span></a></div>
-<ul type="disc"><div><span style="font-size:9pt">4.5.1.1</span><span style="font-family:Luxi Mono;font-size:9pt"> </span><a href="DrTux.html#4.5.1.1 Affectation directe du résultat d'une macro dans une variable"><span style="font-size:9pt">Affectation directe du résultat d'une macro dans une variable</span></a><span style="font-size:9pt"><br />4.5.1.2 </span><a href="DrTux.html#4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"><span style="font-size:9pt">Passage de valeurs aux fonctions par référence à une variable</span></a></div></ul>
+<ul type="disc"><div><span style="font-size:9pt">4.5.1.1</span><span style="font-family:Luxi Mono;font-size:9pt"> </span><a href="DrTux.html#4.5.1.1 Affectation directe du résultat d'une macro dans une variable"><span style="font-size:9pt">Affectation directe du résultat d'une macro dans une variable</span></a><span style="font-size:9pt"><br />4.5.1.2 </span><a href="DrTux.html#4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"><span style="font-size:9pt">Passage de valeurs aux fonctions par référence à une variable</span></a></div></ul>
<div><span style="font-size:9pt">4.5.2</span><span style="font-size:9pt;font-weight:600"> </span><a href="DrTux.html#4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"><span style="font-size:9pt">Où se situent et se cachent et sont éxecutés les Scripts MedinTux</span></a></div>
<div><span style="font-size:9pt">4.5.3 </span><a href="DrTux.html#4.5.3 Inventaire des instructions"><span style="font-size:9pt">Inventaire des instructions</span></a></div></ul></ul>
<p><span style="font-size:9pt">5 </span><a href="DrTux.html#5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"><span style="font-size:9pt">Un puissant système de classement intelligent : LA VIGIE</span></a></p>
<p><img src=bulletcyan01.png ><span style="text-decoration:underline">Créer un menu dont le script se lance au démarrage de MedinTux</span> : pour cela placez la valeur -100 (soit 1/10 ème de seconde) comme période. <br /><span style="font-size:9pt;font-weight:600"><property name="</span><span style="font-size:9pt;font-weight:600;color:#0000ff">period</span><span style="font-size:9pt;font-weight:600">"><br /><string></span><span style="font-size:9pt;font-weight:600;color:#aa0000">-100</span><span style="font-size:9pt;font-weight:600"></string><br /></property><br /></span>ce qui lancera le script 1 fois après la période de 1/10 ème de seconde<br /><br /><img src=bulletcyan01.png ><span style="text-decoration:underline">Créer un menu dont le script se lance à la fin de MedinTux</span> : <br />pour cela placez la la mention<span style="font-size:9pt;font-weight:600;color:#aa0000"> {{EXECUTE_ON_EXIT}}</span> en début de script. <br /><br /><img src=bulletcyan01.png ><span style="text-decoration:underline">Désactiver une option de menu</span> :<br />Si un répertoire de définition de menu commence par le signe moins alors il ne sera plus évalué et cela désactivera l'option.</p>
<p><br /><hr><a name="4.5 Le Langage de Script de MedinTux"></a><span style="font-size:12pt;font-weight:600">4.5 </span><span style="font-size:12pt;font-weight:600;text-decoration:underline">Le Langage de Script de MedinTux :</span></p>
<p><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a></p>
-<p><a name="4.5.1 - Définition"></a><span style="font-weight:600">4.5.1 </span><span style="font-weight:600;text-decoration:underline">Définition</span> :<br /><br />Un <span style="font-style:italic">Script MedinTux</span> est un bloc de texte qui comporte des <span style="font-weight:600">instructions</span> situées entre deux doubles crochets, exemple :<span style="font-size:9pt;font-weight:600">{{::Intitule ( Importation Texte OCR ) }}</span><span style="font-size:9pt"> </span>qui seront exécutées ou résolues et remplacées par le texte résultant de leur exécution. Si le texte résultant est vide alors l'instruction sera effacée ne modifiant pas alors le texte où elle est insérée.<br />Ces scripts servent à effectuer toutes sortes d'opérations, comme produire des documents automatisés ou des menus intelligents.<br />Les scripts de MedinTux sont un vrai <span style="font-weight:600">langage de Macros</span>, et permettent à l'utilisateur d'inventer les fonctions dont il a besoin et qui ne sont pas présentes dans le programme.<br />Nous appellerons et désignerons ces blocs de texte par les termes suivants (équivalents) : </p>
+<p><a name="4.5.1 - Définition"></a><span style="font-weight:600">4.5.1 </span><span style="font-weight:600;text-decoration:underline">Définition</span> :<br /><br />Un <span style="font-style:italic">Script MedinTux</span> est un bloc de texte qui comporte des <span style="font-weight:600">instructions</span> situées entre deux doubles crochets, exemple :<span style="font-size:9pt;font-weight:600">{{::Intitule ( Importation Texte OCR ) }}</span><span style="font-size:9pt"> </span>qui seront exécutées ou résolues et remplacées par le texte résultant de leur exécution. Si le texte résultant est vide alors l'instruction sera effacée ne modifiant pas alors le texte où elle est insérée.<br />Ces scripts servent à effectuer toutes sortes d'opérations, comme produire des documents automatisés ou des menus intelligents.<br />Les scripts de MedinTux sont un vrai <span style="font-weight:600">langage de Macros</span>, et permettent à l'utilisateur d'inventer les fonctions dont il a besoin et qui ne sont pas présentes dans le programme.<br />Nous appellerons et désignerons ces blocs de texte par les termes suivants (équivalents) : </p>
<ul type="disc"><div><span style="font-weight:600">instructions</span> ou <br /><span style="font-weight:600">champs de fusion</span> ou <br /><span style="font-weight:600">champs d'extraction</span> ou <br /><span style="font-weight:600">champs d'insertion</span></div></ul>
-<p><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont récursifs,</span> ce qui signifie qu'il est possible d'imbriquer plusieurs <span style="font-weight:600">champs de fusion</span>, les instructions les plus imbriquées seront résolues avant les autres.<br />Dans l'exemple suivant :<br /><br /><span style="font-size:9pt;font-weight:600">$start_title</span><span style="font-size:9pt;font-weight:600;color:#aa0000">Modifier l'image avec The Gimp</span><span style="font-size:9pt;font-weight:600">$end_title\<br />{{SAVE LAST IMAGE NAME=../../tmp/}}\<br />{{:: exe_process (WaitEnd , /usr/bin/gimp ,$ToAbsPath ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">)}}\<br />{{:: replace_image (</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">, ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">,-1,-1,keep_src_file_Name remove_src ) }}<br /><br /></span>Le champ de fusion <span style="font-size:9pt;font-weight:600">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt"> </span>sera résolu avant les autres, et remplacé par le nom de la dernière image enregistrée.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont orientés texte</span> tout le texte situé en dehors des doubles crochets <span style="font-size:9pt;font-weight:600">{{</span> <span style="font-size:9pt;font-weight:600">}}</span> ou situé en dehors des deux balises <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title</span> est conservé et sera ajouté au résultat final y compris les retours à la ligne (la partie située entre <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title </span><span style="font-size:9pt">sera affichée comme infobulle)</span>.<br /><span style="text-decoration:underline">Exemple</span> :<br /><span style="font-weight:600">Nom :</span> {{NOM PRENOM PATIENT}} <span style="font-weight:600">Sexe: </span>{{SEXE PATIENT}}<br /><span style="font-weight:600">Né(e) :</span> {{DATE NAISSANCE PATIENT}} <span style="font-weight:600">Age :</span> {{AGE PATIENT ABREGE}} ans<br /><br />pourra ressembler à cela après résolution ou exécution des macros.<br /><br /><span style="font-weight:600">Nom :</span> TARTEMPION MARCEL <span style="font-weight:600">Sexe:</span> Masculin<br /><span style="font-weight:600">Né(e) :</span> 01-01-2001 <span style="font-weight:600">Age :</span> 7 ans<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Invalidation des fins de lignes</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé en fin de ligne</span>, le retour chariot suivant cette ligne sera ignoré. Cela permet d'écrire sur plusieurs lignes un script long pour lequel l'on ne veut pas insérer de retours à la ligne.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Caractère d'échappement</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé avant un caractère</span>, exemple <span style="font-weight:600">\(, </span>le caractère le suivant sera interprété comme un caractère de texte et non comme un caractère de structure d'instruction. Dans notre exemple, la parenthèse ouvrante ne sera pas interprétée comme un début de liste de paramètres de fonction.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> peuvent comporter des variables</span> <br />Les instructions de manipulation de variables sont : <br /> - <span style="font-weight:600">Affectation d'une variable</span> : <span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( NomDeLaVairiable, ValeurAPlacerDansLaVariable ) }}<br /></span><br /> - <span style="font-weight:600">Lecture d'une variable</span> : la macro suivante <span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=NomDeLaVariable}}</span> sera remplacée par le <br /> contenu de la variable dont le nom est situé après le signe <span style="font-weight:600;color:#aa0000">=</span> .<br /> <span style="font-family:Luxi Mono;font-size:8pt"><br /><a name="4.5.1.1 Affectation directe du résultat d'une macro dans une variable"></a></span><span style="font-weight:600">4.5.1.1 </span> <a name="Affectation_directe_du_resultat_d'une_macro_dans_une_variable"></a><span style="font-weight:600;text-decoration:underline">Affectation directe du résultat d'une macro dans une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Cette nouvelle possibilité augmente considérablement la performance du langage de macro.<br /> Pour que le résultat d'une macro soit directement affecté à une variable, il suffit de placer <br /> après la parenthèse fermante de la macro le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600">'</span><span style="font-family:Luxi Mono;font-size:8pt"> ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' suivi du nom de la variable devant être<br /> affectée par le résultat. Si cette variable n'existe pas elle sera créée. <br /> Si le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' est utilisé, alors les espaces de début et de fin du contenu de la variable seront<br /> nettoyés. <br /> Il ne doit </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;text-decoration:underline">pas y avoir d'espaces</span><span style="font-family:Luxi Mono;font-size:8pt"> entre la parenthèse fermante </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Luxi Mono;font-size:8pt"> le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt">' le<br /> nom de la variable et le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">}</span><span style="font-family:Luxi Mono;font-size:8pt">'<br /> </span><span style="font-family:Luxi Mono;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Luxi Mono;font-size:8pt"> : <br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )>MaVariable}} </span><span style="font-family:Luxi Mono;font-size:8pt"><br /> Le résultat (45) de la macro </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">DATE_TONUM (...)</span><span style="font-family:Luxi Mono;font-size:8pt"> sera directement placé dans la variable </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt">.<br /><br /> Ancienne façon beaucoup moins concise et moins performante d'arriver au même résultat :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( MaVariable, {{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )}} )}}<br /></span><br /><a name="4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"></a><span style="font-weight:600">4.5.1.2 </span> <span style="font-weight:600;text-decoration:underline">Passage de valeurs aux fonctions par référence à une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br /> paramètre d'appel et non simplement le texte du paramètre. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{VAR=MaVariable}}</span><span style="font-family:Luxi Mono;font-size:8pt"><br /> mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br /> Ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><br /><a name="4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"></a><span style="font-weight:600">4.5.2 </span><span style="font-weight:600;text-decoration:underline">Où se situent et se cachent les Scripts MedinTux ? dans</span> :<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les en-têtes et de pieds de pages d'impression</span> accessibles par le gestionnaire d'utilisateurs <span style="font-weight:600">gest_user</span>, les instructions contenues dans ces documents sont résolues lors de l'incorporation des en-têtes et de pieds de pages au cours d'une impression. <br /><br /> <img src=gnome-warning.png ><span style="font-weight:600;text-decoration:underline">VARIABLES ET MENTIONS PARTICULIERES</span> : </p>
+<p><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont récursifs,</span> ce qui signifie qu'il est possible d'imbriquer plusieurs <span style="font-weight:600">champs de fusion</span>, les instructions les plus imbriquées seront résolues avant les autres.<br />Dans l'exemple suivant :<br /><br /><span style="font-size:9pt;font-weight:600">$start_title</span><span style="font-size:9pt;font-weight:600;color:#aa0000">Modifier l'image avec The Gimp</span><span style="font-size:9pt;font-weight:600">$end_title\<br />{{SAVE LAST IMAGE NAME=../../tmp/}}\<br />{{:: exe_process (WaitEnd , /usr/bin/gimp ,$ToAbsPath ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">)}}\<br />{{:: replace_image (</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">, ../../tmp/</span><span style="font-size:9pt;font-weight:600;color:#005500">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt;font-weight:600">,-1,-1,keep_src_file_Name remove_src ) }}<br /><br /></span>Le champ de fusion <span style="font-size:9pt;font-weight:600">{{GET LAST IMAGE NAME}}</span><span style="font-size:9pt"> </span>sera résolu avant les autres, et remplacé par le nom de la dernière image enregistrée.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> sont orientés texte</span> tout le texte situé en dehors des doubles crochets <span style="font-size:9pt;font-weight:600">{{</span> <span style="font-size:9pt;font-weight:600">}}</span> ou situé en dehors des deux balises <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title</span> est conservé et sera ajouté au résultat final y compris les retours à la ligne (la partie située entre <span style="font-size:9pt;font-weight:600">$start_title</span> et <span style="font-size:9pt;font-weight:600">$end_title </span><span style="font-size:9pt">sera affichée comme infobulle)</span>.<br /><span style="text-decoration:underline">Exemple</span> :<br /><span style="font-weight:600">Nom :</span> {{NOM PRENOM PATIENT}} <span style="font-weight:600">Sexe: </span>{{SEXE PATIENT}}<br /><span style="font-weight:600">Né(e) :</span> {{DATE NAISSANCE PATIENT}} <span style="font-weight:600">Age :</span> {{AGE PATIENT ABREGE}} ans<br /><br />pourra ressembler à cela après résolution ou exécution des macros.<br /><br /><span style="font-weight:600">Nom :</span> TARTEMPION MARCEL <span style="font-weight:600">Sexe:</span> Masculin<br /><span style="font-weight:600">Né(e) :</span> 01-01-2001 <span style="font-weight:600">Age :</span> 7 ans<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Invalidation des fins de lignes</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé en fin de ligne</span>, le retour chariot suivant cette ligne sera ignoré. Cela permet d'écrire sur plusieurs lignes un script long pour lequel l'on ne veut pas insérer de retours à la ligne.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Caractère d'échappement</span> Si le caractère <span style="font-size:9pt;font-weight:600">\</span><span style="font-weight:600"> est placé avant un caractère</span>, exemple <span style="font-weight:600">\(, </span>le caractère le suivant sera interprété comme un caractère de texte et non comme un caractère de structure d'instruction. Dans notre exemple, la parenthèse ouvrante ne sera pas interprétée comme un début de liste de paramètres de fonction.<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les </span><span style="font-style:italic;text-decoration:underline">Script MedinTux</span><span style="text-decoration:underline"> peuvent comporter des variables</span> <br />Les instructions de manipulation de variables sont : <br /> - <span style="font-weight:600">Affectation d'une variable</span> : <span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( NomDeLaVairiable, ValeurAPlacerDansLaVariable ) }}<br /></span><br /> - <span style="font-weight:600">Lecture d'une variable</span> : la macro suivante <span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=NomDeLaVariable}}</span> sera remplacée par le <br /> contenu de la variable dont le nom est situé après le signe <span style="font-weight:600;color:#aa0000">=</span> .<br /> <span style="font-family:Luxi Mono;font-size:8pt"><br /><a name="4.5.1.1 Affectation directe du résultat d'une macro dans une variable"></a></span><span style="font-weight:600">4.5.1.1 <a name="Affectation_directe_du_resultat_d'une_macro_dans_une_variable"></a></span><span style="font-weight:600;text-decoration:underline">Affectation directe du résultat d'une macro dans une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Cette nouvelle possibilité augmente considérablement la performance du langage de macro.<br /> Pour que le résultat d'une macro soit directement affecté à une variable, il suffit de placer <br /> après la parenthèse fermante de la macro le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600">'</span><span style="font-family:Luxi Mono;font-size:8pt"> ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' suivi du nom de la variable devant être<br /> affectée par le résultat. Si cette variable n'existe pas elle sera créée. <br /> Si le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' est utilisé, alors les espaces de début et de fin du contenu de la variable seront<br /> nettoyés. <br /> Il ne doit </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;text-decoration:underline">pas y avoir d'espaces</span><span style="font-family:Luxi Mono;font-size:8pt"> entre la parenthèse fermante </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Luxi Mono;font-size:8pt"> le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">-</span><span style="font-family:Luxi Mono;font-size:8pt">' ou '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">></span><span style="font-family:Luxi Mono;font-size:8pt">' le<br /> nom de la variable et le symbole '</span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">}</span><span style="font-family:Luxi Mono;font-size:8pt">'<br /> </span><span style="font-family:Luxi Mono;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Luxi Mono;font-size:8pt"> : <br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )>MaVariable}} </span><span style="font-family:Luxi Mono;font-size:8pt"><br /> Le résultat (45) de la macro </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">DATE_TONUM (...)</span><span style="font-family:Luxi Mono;font-size:8pt"> sera directement placé dans la variable </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt">.<br /><br /> Ancienne façon beaucoup moins concise et moins performante d'arriver au même résultat :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{:: SET_VAR ( MaVariable, {{:: DATE_TONUM ( 12-12-1990 08:30:45 , S , 12-12-1990 08:30:00 )}} )}}<br /></span><br /><a name="4.5.1.2 Passage de valeurs aux fonctions par référence à une variable"></a><span style="font-weight:600">4.5.1.2 </span><span style="font-weight:600;text-decoration:underline">Passage de valeurs aux fonctions par référence à une variable</span> :<span style="font-family:Luxi Mono;font-size:8pt"><br /> Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br /> paramètre d'appel et non simplement le texte du paramètre. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{VAR=MaVariable}}</span><span style="font-family:Luxi Mono;font-size:8pt"><br /> mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br /> Ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><br /><a name="4.5.2 Où se situent et se cachent les Scripts MedinTux ? dans"></a><span style="font-weight:600">4.5.2 </span><span style="font-weight:600;text-decoration:underline">Où se situent et se cachent les Scripts MedinTux ? dans</span> :<br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Les en-têtes et de pieds de pages d'impression</span> accessibles par le gestionnaire d'utilisateurs <span style="font-weight:600">gest_user</span>, les instructions contenues dans ces documents sont résolues lors de l'incorporation des en-têtes et de pieds de pages au cours d'une impression. <br /><br /> <img src=gnome-warning.png ><span style="font-weight:600;text-decoration:underline">VARIABLES ET MENTIONS PARTICULIERES</span> : </p>
<ul type="disc"><li><span style="font-size:9pt">Si lors d'une résolution ou exécution de script ou de macro, le texte généré, contient la mention </span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000">$PRINT_STOP</span><span style="font-size:9pt"> alors l'impression du document sera interrompue.</span> </li>
<li><span style="font-size:9pt">Lors de la résolution et exécution d'un script la variable</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000"> $SCRIPT_STATUS</span><span style="font-size:9pt"> accessible dans un script avec </span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#aa0000">{{VAR=$SCRIPT_STATUS}}</span><span style="font-size:9pt"> peut prendre les valeurs suivantes : <br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_ADD_Tout</span><span style="font-size:9pt"> lors du remplacement d'un document déjà existant d'une rubrique de MedinTux par un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_ADD_Ajouter</span><span style="font-size:9pt"> lors de l'ajout à un document déjà existant d'une rubrique de MedinTux, d'un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_CREATE</span><span style="font-size:9pt"> lors de la création d'un nouveau document d'une rubrique de MedinTux à partir d'un modèle ou document-type du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">_$FUSION_END</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> </span><span style="font-size:9pt">lorsque l'exécution d'une macro ou script a été opéré est est terminé (vous ne devriez pas avoir à vous en servir).<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#00aa00">nom de la rubrique</span><span style="font-size:9pt"> peut prendre les valeurs suivantes selon la rubrique dans laquelle st exécutée la macro :<br />Observation, Prescription, Documents, Identification.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PREVISUALISATION</span><span style="font-size:9pt"> lorsque l'exécution d'une macro ou script est en train de se faire dans le cadre de la fenêtre de prévisualisation du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PREVISUALISATION_END</span><span style="font-size:9pt"> lorsque l'exécution d'une macro ou script vient de se terminer dans le cadre de la fenêtre de prévisualisation du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_SCRIPT_BEFORE</span><span style="font-size:9pt"> Lorsque lors d'une impression aucune exécution de script d'en-tête et de pied de page n'a encore été réalisée cette valeur est retournée (script exécuté la première fois)</span><span style="font-size:9pt;font-weight:600;color:#aa0000">. </span><span style="font-size:9pt"><br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_HEADER_CHANGED</span><span style="font-size:9pt"> Cette valeur est positionnée si dans le dialogue d'impression le modèle d'impression a été changé, et que l'éventuel script de l'en-tête et du pied de page de ce modèle va être exécuté.<br /></span><span style="font-family:Courier;font-size:9pt;font-weight:600;color:#0000ff">$PRINT_SCRIPT_END</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> </span><span style="font-size:9pt">Cette valeur est positionnée après la résolution et exécution lors d'une impression d'un script de l'en-tête et du pied de page.</span></li></ul>
<p><span style="font-family:Comic Sans Ms"><br /><img src=SCRIPT_WhereGestUser.png ><br /><br /><br /><img src=PetitCarreOrange.png ></span><span style="text-decoration:underline">Les modèles de documents types ou maquettes</span> du <span style="font-weight:600">Glossaire.<br /></span>les instructions contenues dans ces documents sont résolues lors de l'incorporation du document<br />dans une rubrique de MedinTux.<br /><br /><img src=SCRIPT_WhereGlossaire.png ><br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Le système de Menus déroulants de MedinTux</span> accessible par le bouton <img src=ToolGestList_Item.png >dans le gestionnaire de dossier médical <span style="font-weight:600">drtux</span>.<br />Les instructions contenues dans ces documents sont résolues lors de l'incorporation dans un document après exécution de l'option de menu correspondant au script.<br /><br /><img src=OCR_Script.png ><br /><br /><img src=PetitCarreOrange.png ><span style="text-decoration:underline">Le système de Menus utilisateur de la barre de menu de MedinTux</span> (options encadrées en rouge)<br /><br /><img src=user_menu_WhereInDrTux.png ><br />Ces instructions seront exécutées et résolues lors du clic sur une des options.<br />Les fichiers de configuration se trouvent dans <span style="font-weight:600">drtux/bin/Ressources/Menus</span></p>
<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.95</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: APPEND_DOC_IN_CLASSEUR (hierarchie, forcerInsertion)}}</span><span style="font-size:9pt"><br />Cette instruction de classement automatique est celle qui va permettre à un document d'indiquer lors de sa création<br />et insertion par l'utilisateur, l'endroit où il doit être classé dans la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (hiérarchie de classeurs indiquant le classeur final où doit être classé le document) .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (ce paramètre détermine le devenir d'un document si il n'a pas pu être classé dans la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">)</span></p>
<ul type="disc"><div><span style="font-size:9pt">Lorsque le classeur de destination indiqué par le </span><span style="font-size:9pt;font-weight:600">paramètre N°1</span><span style="font-size:9pt"> (hiérarchie de classeurs de destination)<br />n'est pas accessible (n'existe pas, inaccessible pour ce profil ou ce filtre, etc ...)<br />° si ce paramètre est </span><span style="font-size:9pt;font-weight:600">supérieur à 0 (zéro),</span><span style="font-size:9pt"> le document sera </span><span style="font-size:9pt;font-weight:600">ajouté et créé mais non classé dans la Vigie</span><span style="font-size:9pt">.<br />° si ce paramètre est </span><span style="font-size:9pt;font-weight:600">à zéro, le document ne sera ni classé ni ajouté ou créé</span><span style="font-size:9pt">.</span></div></ul>
<p><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> :<br />dans cet exemple, le document ayant ces macros-instructions sera classé dans deux classeurs à la fois.<br />Si le classement dans un des classeurs échoue, le document sera tout de même créé (forcerInsertion à 1).<br /><br /></span><span style="font-style:italic;font-size:9pt">{{\<br />{{::Append_doc_in_classeur (Classeur_Médecine_Générale/Non classés, 1)}}\<br />{{::Append_doc_in_classeur (Historique du dossier, 1)}}\<br />}}</span></p>
-<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.96</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DOC_TYPE=Prescription, 1}}</span><span style="font-size:9pt"><br />Cette instruction placée en début de document indique et force une rubrique de destination dans laquelle le document doit être placé lors de son chargement.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (Rubrique de destination du document)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif) si 1, il n'est pas posé de question au cas où un document est déjà existant à cette date. <br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.97</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction retourne le texte sélectionné dans le texte en cours.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) modificateur de méthode<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File </span><span style="font-size:9pt">alors la sélection sera écrite sur le disque dans le fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> .<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Paste </span><span style="font-size:9pt">alors la méthode de sélection sera un copy/paste (parfois meilleurs résultats) .<br />Sinon ce paramètre indique le nom d'une variable à initialiser avec le contenu de la sélection. Idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-size:9pt"><br /><br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.98</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, valeur de la variable)}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{:: SET_VAR(nom de la variable, valeur de la variable)}}<br />Cette instruction positionne la variable '</span><span style="font-style:italic;font-size:9pt">Nom de la variable'</span><span style="font-size:9pt"> indiquée par le premier paramètre, sur la valeur indiqué dans le deuxième paramètre. Cette instruction est utile pour stocker un résultat provenant d'une série de macro complexes. Par la suite, il suffira juste d'utiliser {{VAR=Nom de la variable}} pour récupérer la valeur sans avoir à effectuer ni réécrire la macro complexe.<br /><br /></span><span style="font-family:Luxi Mono;font-size:8pt">Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /></span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br />paramètre d'appel et non simplement le texte. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{MaVariable}}<br /></span><span style="font-family:Luxi Mono;font-size:8pt">mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br />ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /><br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur de la variable) <br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt"> alors elle sera initialisée avec le contenu du texte sélectionné dans l'éditeur de texte courant idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.99</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction place le contenu de la variable dont le nom est indiqué par le paramètre : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">Nom de la variable</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{PUT_VAR=nom de la variable}}</span></p>
+<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.96</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DOC_TYPE=Prescription, 1}}</span><span style="font-size:9pt"><br />Cette instruction placée en début de document indique et force une rubrique de destination dans laquelle le document doit être placé lors de son chargement.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (Rubrique de destination du document)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif) si 1, il n'est pas posé de question au cas où un document est déjà existant à cette date. <br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.97</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction retourne le texte sélectionné dans le texte en cours.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) modificateur de méthode<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File </span><span style="font-size:9pt">alors la sélection sera écrite sur le disque dans le fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> .<br />Si ce paramètre est égal à la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Paste </span><span style="font-size:9pt">alors la méthode de sélection sera un copy/paste (parfois meilleurs résultats) .<br />Sinon ce paramètre indique le nom d'une variable à initialiser avec le contenu de la sélection. Idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-size:9pt"><br /><br /></span><br /><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.98</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SET(Nom de la variable, valeur de la variable)}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{:: SET_VAR(nom de la variable, valeur de la variable)}}<br />Cette instruction positionne la variable '</span><span style="font-style:italic;font-size:9pt">Nom de la variable'</span><span style="font-size:9pt"> indiquée par le premier paramètre, sur la valeur indiqué dans le deuxième paramètre. Cette instruction est utile pour stocker un résultat provenant d'une série de macro complexes. Par la suite, il suffira juste d'utiliser {{VAR=Nom de la variable}} pour récupérer la valeur sans avoir à effectuer ni réécrire la macro complexe.<br /><br /></span><span style="font-family:Luxi Mono;font-size:8pt">Si le paramètre d'une macro commençe par le </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> exemple </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> c'est alors<br /></span><span style="font-family:Luxi Mono;font-size:8pt;text-decoration:underline">le contenu de la variable</span><span style="font-family:Luxi Mono;font-size:8pt"> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">MaVariable</span><span style="font-family:Luxi Mono;font-size:8pt"> indiquée après le symbole </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$</span><span style="font-family:Luxi Mono;font-size:8pt"> qui sera transmis comme<br />paramètre d'appel et non simplement le texte. Ceci est équivalent à </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">{{MaVariable}}<br /></span><span style="font-family:Luxi Mono;font-size:8pt">mais beaucoup plus rapide en éxécution, fiable et plus simple à écrire dans un script.<br />ne pas utiliser comme nom de variable les mots clefs réservés suivants :<br /><br /> </span><span style="font-family:Luxi Mono;font-size:8pt;font-weight:600;color:#aa0000">$END_WIDTH $File $Paste $WIDTH $allString $toInt $stopIfNotNum $IsAbsPath<br /> $IsBinPath $NoAddExe $toStdIn $NomPatient $PrenomPatient $DateDeb $DateFin<br /> $DateDebFiche $DateFinFiche $HeureDeb $HeureFin $NomRub $TitreRub $User<br /> $SignUser $NumFicheRub $GUIDPat $PkPat $pkFiche $Duree $NumFicheTot $Selection<br /> $VAR $SET_VAR $no key $TableName $USER_PARAM $TOEND $keepHtml<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur de la variable) <br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Selection</span><span style="font-size:9pt"> alors elle sera initialisée avec le contenu du texte sélectionné dans l'éditeur de texte courant idem à </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{GET_SELECTION=Nom de la variable}}</span><span style="font-size:9pt"><br /> si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.99</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR=Nom de la variable}}</span><span style="font-size:9pt"><br />Cette instruction place le contenu de la variable dont le nom est indiqué par le paramètre : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">Nom de la variable</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la variable)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{PUT_VAR=nom de la variable}}</span></p>
<p><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.100</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LIST_DIR (repertoire, filtre, extension, sep, 1) }}</span><span style="font-size:9pt"><br />Cette instruction crée une chaîne constituée de tous les éléments trouvés dans le répertoire spécifié dans le paramètre </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">N° 1</span><span style="font-size:9pt"> , séparés par le séparateur indiqué par le terme </span><span style="font-size:9pt;font-weight:600">sep</span><span style="font-size:9pt">.<br />La liste peut être filtrée par un filtre sur les extensions et sur les nom des fichiers.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom du répertoire dont il faut lister le contenu)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (liste de chaînes validantes : facultative) <br />Liste des chaînes validantes séparées par le séparateur sep, qui, si une est contenue dans le nom d'un des éléments du répertoire, retient cet élément comme à inclure dans la liste.<br />Si cette liste est vide, il ne sera pas tenu compte de cette liste.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (liste des extensions validantes : facultative)<br />Liste des extensions validantes séparées par le séparateur sep, qui si une est contenue dans l'extension d'un des éléments du répertoire, retient cet élément comme à inclure dans la liste.<br />Si cette liste est vide, il ne sera pas tenu compte de cette liste.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (séparateur : falcultatif)<br />si non indiqué par défaut, est égal à |<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (nature de la liste : falcultatif)<br />si non indiqué par défaut, est égal à 0<br />si à 1 alors il sera listé les répertoires.<br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.101</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MESSAGE_ALERT (message, titre, bouton1, bouton2, bouton3, bouton4, hauteur, largeur, chemin des images) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">variante</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_MESSAGE (message, titre, bouton1, bouton2, bouton3, bouton4, hauteur, largeur, chemin des images) }}</span><span style="font-size:9pt"><br /><br />Cette instruction affiche un dialogue à choix multiples constitué d'un texte d'information et d'un maximum de quatre boutons de choix.<br />Le texte retourné est celui du bouton cliqué.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (message du texte d'information) qui, si commence par<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (titre du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3 à 6</span><span style="font-size:9pt"> (texte des boutons : facultatif) si aucun bouton n'est défini, le bouton par défaut </span><span style="font-size:9pt;font-weight:600">ok</span><span style="font-size:9pt"> est activé. Cela permet d'afficher très simplement un texte d'information.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt"> (largeur du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-size:9pt"> (hauteur du dialogue : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 9</span><span style="font-size:9pt"> (répertoire où se trouvent les images : facultatif) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /> par défaut, le répertoire des images est celui de l'éventuel fichier indiqué à la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> du Paramètre N° 1.<br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> :<br /><br /> {{::#MESSAGE_ALERT (</span><span style="font-size:9pt;font-weight:600;color:#ff5500">message de test</span><span style="font-size:9pt;color:#ff5500"> </span><span style="font-size:9pt">pour vous </span><span style="font-size:9pt;text-decoration:underline">pour démonstration de l'instruction \<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">MESSAGE_ALERT il est même possible d'y placer des images\</span><span style="font-weight:600"><br /></span><span style="font-size:9pt"> </span><img src=./MedinTuxLogoHttp-300-200.png >,\<br /><span style="font-size:9pt"> exemple MESSAGE ALERT, bouton1, bouton2, bouton3, bouton4, 450, 250) }}</span><br /><br /><span style="font-size:9pt">affichera la boîte de dialogue suivante :<br /></span><br /><span style="font-size:9pt"> </span><img src=FormAlert.png ><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : <br /> </span><span style="font-size:9pt;font-weight:600">{{::#MESSAGE_ALERT ($File../../Doc/index.html,exemple MESSAGE ALERT, bouton1,,,, 470,220,../../Doc) }}<br /></span><span style="font-size:9pt">ou la variante (alors le répertoire des images sera déduit de</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">../../Doc/</span><span style="font-size:9pt;font-weight:600">index.html</span><span style="font-size:9pt"> )<br /> </span><span style="font-size:9pt;font-weight:600">{{::#MESSAGE_ALERT ($File../../Doc/index.html, exemple MESSAGE ALERT, bouton1,,,, 470,220) }}<br /></span><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /><br /> </span><img src=FormAlertFile.png ><span style="font-size:9pt"><br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.102</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MESSAGE_POPUP (message, chemin bitmap, tempo) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">variante</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_POPUP_MESSAGE (message, chemin bitmap, tempo) }}</span><span style="font-size:9pt"><br />Cette instruction affiche un petit texte dans un popup surgissant en bas à droite de l'écran, pour par exemple signaler pourquoi une action est sans effet.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (texte du message à afficher)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chemin du bitmap à afficher : facultatif) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (temps de persistance du popup à l'écran en milli secondes : facultatif et alors par défaut 1000 ms soit 1 seconde)<br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.103</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_DATE (05-06-1956, titre du dialogue , format de retour, liste de présélection de dates}}</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date à prépositionner) format dd-MM-yyyy<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (titre du dialogue : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">Choix dans la date</span><span style="font-size:9pt">) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (format de retour : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe <a name="3.4.3.5 Trucs et astuces du texte d'une option"></a></span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (menu de présélection des dates: facultatif) ce paramètree permet de positionner un bouton de menu avec une présélection de dates<br />chacune des options de ce menu est séparée de l'autre par le séparateur '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt">' . La syntaxe d'une option est la suivante :<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 1 jour</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus un jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus huit jours<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h - 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour moins huit jours etc ....<br /><br /></span><span style="font-style:italic;font-size:9pt">exemple </span><span style="font-size:9pt">: </span><span style="font-size:9pt;color:#aa0000">{{:: FORM_DATE ({{dd-MM-yyyy}}, titre du dialogue ,dd-MM-yyyy, Ce jour à 8:00 h|Ce jour à 8:00 h + 1 jour|Ce jour à 8:00 h + 2 jours|Ce jour à 8:00 h + 3 jours|Ce jour à 8:00 h + 4 jours|Ce jour à 8:00 h + 6 jours|Ce jour à 8:00 h + 8 jours|Ce jour à 8:00 h + 15 jours)}}</span><span style="font-size:9pt"><br /><br /></span><span style="font-style:italic;font-size:9pt">exemple de menu avec les jours mois et années et heures prépositionnées</span><span style="font-size:9pt"> :<br /></span> <span style="font-size:9pt">Ce jour à 8:00 h - 2 jours|Ce jour à 8:00 h - 1 jour|Ce jour à 8:00 h - 24 h|Ce mois à 0:00 h|Ce mois à 0:00 h - 1 mois|Cette année à 0:00 h|Cette année à 0:00 h - 1 an<br /><br /><br /></span><img src=FormDate.png ><br /><span style="font-size:9pt"><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.104</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_HEURE (12:45:32, format de retour}}}</span><span style="font-size:9pt"><br />Cette instruction affiche le dialogue de choix de l'heure et en retourne l'heure saisie selon le paramètre : format de retour .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (heure à prépositionner : facultatif et par défaut l'heure courante) format hh:mm:ss<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (format de retour : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">hh:mm:ss</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"><br /><br /></span><img src=FormHeure.png ><span style="font-size:9pt"><br /><br /></span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.105</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FORM_DATE_HEURE (05-06-1956, 12:30:45, titre du dialogue , format de retour date, format de retour heure, séparation, , liste de présélection de dates}}</span><span style="font-size:9pt"><br />Cette instruction affiche le calendrier et l'heure pour choisir une date et une heure et en retourne la valeur saisie selon le format indiqué dans le quatrième et cinquième paramètre : format de retour .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date à prépositionner : facultatif et par défaut la date courante) format dd-MM-yyyy<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (heure à prépositionner : facultatif et par défaut l'heure courante) format hh:mm:ss<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (titre du dialogue : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">saisie de la date et de l'heure</span><span style="font-size:9pt">)<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (format de retour pour la date : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (format de retour pour l'heure : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">hh:mm:ss</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5 </span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (texte à placer entre la date et l'heure : facultatif et par défaut un </span><span style="font-size:9pt;font-weight:600">espace</span><span style="font-size:9pt">) <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt"> (menu de présélection des dates: facultatif) ce paramètre permet de positionner un bouton de menu avec une présélection de dates<br />chacune des options de ce menu est séparée de l'autre par le paramètre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt">' . La syntaxe d'une option est la suivante :<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 1 jour</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus un jour<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h + 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour plus huit jours<br /></span> <span style="font-size:9pt;font-weight:600">Ce jour à 8:00 h - 8 jours</span><span style="font-size:9pt"> pour une option repositionnant à la date du jour moins huit jours etc ....<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">: </span><span style="font-style:italic;font-size:9pt;font-weight:600">{{:: </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">FORM_DATE_HEURE</span><span style="font-style:italic;font-size:9pt;font-weight:600"> ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00aa00">{{dd-MM-yyyy}}</span><span style="font-style:italic;font-size:9pt;font-weight:600">, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00aa00">08:00:00</span><span style="font-style:italic;font-size:9pt;font-weight:600">,</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#ffaa7f">saisie de l'heure et de la date</span><span style="font-style:italic;font-size:9pt;font-weight:600">,dd-MM-yyyy, hh:mm, à , </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 24 hr</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 2 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 3 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 4 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 6 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 8 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">|</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa55ff">Ce jour à 8:00 h + 15 jours</span><span style="font-style:italic;font-size:9pt;font-weight:600">)}}</span><span style="font-size:9pt"><br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple de menu avec les jours mois et années et heures prépositionnées</span><span style="font-size:9pt;text-decoration:underline"> </span><span style="font-size:9pt">:<br /></span> <span style="font-size:9pt">Ce jour à 8:00 h - 2 jours|Ce jour à 8:00 h - 1 jour|Ce jour à 8:00 h - 24 h|Ce mois à 0:00 h|Ce mois à 0:00 h - 1 mois|Cette année à 0:00 h|Cette année à 0:00 h - 1 an<br /></span><span style="font-size:9pt;text-decoration:underline">exemple</span><span style="font-size:9pt"> : <br /></span><span style="font-style:italic;font-size:9pt;font-weight:600">en date du {{:: FORM_DATE_HEURE (05-06-1956, 12:30:45, saisie de l'heure et de la date,dd-MM-yyyy, hh:mm, à ) }}</span><span style="font-size:9pt"><br /><br />affichera le dialogue suivant :<br /></span><img src=FormDateHeure.png ></p>
<p><span style="font-size:9pt">qui après saisie donnera </span>: <span style="font-style:italic;font-size:9pt;font-weight:600">en date du 05-06-1956 à 12:30</span><br /><hr><span style="font-size:9pt;font-weight:600">4.5.3.106</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{REM= texte de votre choix }}</span><span style="font-size:9pt"><br />Cette instruction ne fait rien, et permet d'afficher un commentaire dans le texte de la macro .</span></p>
-<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.107</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INCLUDE( chemin du fichier, modificateur ) }}</span><span style="font-size:9pt"><br />Cette instruction charge un fichier et en retourne le contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin du fichier à charger) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (modificateur : facultatif) si contient : </span><span style="font-size:9pt;font-weight:600">crlf2html</span><span style="font-size:9pt"> alors les retours chariots seront conservés et convertis en </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> <br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.108</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SPLIT( prefix, string to split , séparateur de début, </span><span style="font-size:9pt;color:#aa0000">FALSE</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">, séparateur de fin) }}</span><span style="font-size:9pt"><br />Cette puissante instruction distribue les segments d'une chaîne séparés par un séparateur indiqué par le troisième argument : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">séparateur de début , </span><span style="font-size:9pt"><br />en plusieurs variables dont le nom est constitué par : le deuxième argument </span><span style="font-size:9pt;font-weight:600">auquel est ajouté l'occurrence du segment dans la chaîne</span><span style="font-size:9pt">.<br />Euh .. un exemple S.V.P.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom préfixé de la variable) préfixe du nom de la variable auquel sera ajoutée l'occurrence du segment dans la chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chaîne de caractères à séparer) exemple '</span><span style="font-style:italic;font-size:9pt;font-weight:600">premier segment | deuxième segment | troisième segment</span><span style="font-size:9pt">'.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (séparateur facultatif) contient le séparateur. Si vide il sera pris par défaut le séparateur </span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (modificateurs comportementaux) ce paramètre peut contenir les termes suivants<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">FALSE</span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">F</span><span style="font-size:9pt">' est suffisante) si à FALSE alors si un </span><span style="font-size:9pt;text-decoration:underline">segment est vide</span><span style="font-size:9pt">, il n'y aura </span><span style="font-size:9pt;text-decoration:underline">pas de variable affectée</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">T</span><span style="font-size:9pt">' est suffisante) si TRIMMED les espaces de fin et de début du segment sont éliminés.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif séparateur de fin) si ce paramètre est indiqué alors le segment sera coupè à ce séparateur de fin.<br /> si il n'est pas trouvé dans le segment, le segment sera mis à une valeur vide. <br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : cet exemple permet d'extraire une suite de codes cim10 encadrés par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-size:9pt"><br />° La macro suivante, <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: Extract </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">Observation</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">CIM10Urg</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">POST URGENCE</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)></span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-size:9pt"><br /><br /> a extrait dans la variable </span><span style="font-size:9pt;font-weight:600;color:#005500">rpu_CIMX_BLOC,</span><span style="font-size:9pt"> à partir du document de la rubrique<br /> </span><span style="font-size:9pt;font-weight:600">Observation</span><span style="font-size:9pt"> en cours, le bloc de texte suivant :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">principal : amibiase ~[A06]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">altération de l'état général ~[R53]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">hypophyse ~[D35.2]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 1 : acouphènes ~[H93.1]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 2 : alcoolisme chronique ~[F10.2]~ </span><span style="font-family:Monospace;font-size:8pt"> </span> <span style="font-size:9pt"><br /><br />° la macro suivante placée à la suite de la précedente,</span><span style="font-family:Monospace;font-size:8pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: VAR_SPLIT</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">rpu_cimx_item_</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">, </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">$</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">~[</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">FALSE TRIMMED</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">]~</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">placera dans les variables </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_0</span><span style="font-family:Monospace;font-size:8pt"> à </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_xx</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">toutes</span><span style="font-size:9pt"> les occurences des chaines de textes encadrées par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">trouvées dans</span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">le bloc texte contenu dans la variable </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt">° l</span><span style="font-family:Monospace;font-size:8pt">es macros suivantes,</span><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_0</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_0}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_1</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_1}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_2</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_2}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_3</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_3}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_4</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_4}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_5</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_5}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_6</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_6}}'</span><span style="font-family:Monospace;font-size:9pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:9pt">afficheront alors les résultats suivants :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_0</span><span style="font-style:italic;font-size:9pt"> : 'A06'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_1</span><span style="font-style:italic;font-size:9pt"> : 'R53'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_2</span><span style="font-style:italic;font-size:9pt"> : 'D35.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_3</span><span style="font-style:italic;font-size:9pt"> : 'H93.1'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_4</span><span style="font-style:italic;font-size:9pt"> : 'F10.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_5</span><span style="font-style:italic;font-size:9pt"> : ''<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_6</span><span style="font-style:italic;font-size:9pt"> : ''</span><span style="font-size:9pt"><br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.109</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR_LIST_CLEAR}}</span><span style="font-size:9pt"> Cette instruction détruit toutes les variables afin de réinitialiser la liste des variables.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.110</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Retourne l'email du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.111</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Retourne le premier numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.112</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_2_MEDECIN}} </span><span style="font-size:9pt">Retourne le deuxième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.113</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_3_MEDECIN}} </span><span style="font-size:9pt">Retourne le troisième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.114</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne l'email du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.115</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne le premier numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.116</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_2_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le deuxième numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.117</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_3_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le troisième numéro de téléphone du médecin auteur du document en cours.<br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.118</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{::#CADRE(largeur, epaisseur du bord, marge, espace entre cellules, justification, séparateur de ligne, cadre N°1, cadre N°2, cadre N°2, ....)}} <br /></span><span style="font-size:9pt">Cette instruction permet de présenter un affichage sous forme de cadres horizontaux. Elle est utile par exemple dans les documents types pour afficher un cadre gauche avec les coordonnées du médecin, un cadre central avec les caractéristiques du documents, un cadre droit avec les coordonnées du destinataire.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (largeur totale du cadre) est exprimé en pixels mais peut être exprimé en </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> de la largeur totale alors il faut faire suivre la valeur par le caractère </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> exemple </span><span style="font-size:9pt;font-weight:600">100%</span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (épaisseur du cadre) si zéro, le cadre ne sera pas dessiné.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (marge interne) marge interne au cadre en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (espace entre cellules) en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (justification du cadre général) </span><span style="font-size:9pt;font-weight:600">left, center, right</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (motif à utiliser à la place des retours chariots \r\n ) en général </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7 à 7+N</span><span style="font-size:9pt"> (contenu de chaque cadre) chacun de ces paramètres sera considéré comme un cadre, par défaut la largeur de chaque cadre sera celle générale définie par le paramètre N°1 divisé par le nombre de cadres. Cependant, si la définition d'un cadre comporte le motif suivant : </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$WIDTH</span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#ff0000">30%</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$END_WIDTH</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">encadrant une valeur, celle-ci sera utilisée à la place de celle par défaut. <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans l'en-tête d'un document pour choisir et afficher l'adresse d'un médecin correspondant lors d'une impression</span><span style="font-size:9pt"> : <br /><br />Lors d'une impression avec cet en-tête, il est demandé de choisir le médecin auquel est destiné le document dans une liste </span><span style="font-style:italic;font-size:8pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> qui présente le résultat d'une requête SQL </span><span style="font-style:italic;font-size:8pt;font-weight:600">SQL_SELECT</span><span style="font-size:9pt"> listant tous les médecins correspondants. <br />Si la liste est quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt"> l'impression sera annulée car il sera placé la mention </span><span style="font-style:italic;font-size:8pt;font-weight:600">$PRINT_STOP</span><span style="font-size:9pt"> <br />Si il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /><br /></span><span style="font-family:Courier;font-size:9pt">{{\<br />{{REM= ---------------------- test du statut d'impression -----------------------------}}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que si il n'y a pas encore eu de resolution }}\<br />{{REM= de macro lors de l'impression }}\<br />{{REM= sous Mac DO_LISTE ne doit pas etre re-executee lors }}\<br />{{REM= d'un changement d'en-tete }}\<br /><br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_SCRIPT_END,M_NOP,DO_LISTE)}})}}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{OS}},=,M,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED,M_NOP,{{VAR=actionDoListe}})}},{{VAR=actionDoListe}})}})}}<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecinPrint,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\</span></p>
+<p><hr><span style="font-size:9pt;font-weight:600">4.5.3.107</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INCLUDE( chemin du fichier, modificateur ) }}</span><span style="font-size:9pt"><br />Cette instruction charge un fichier et en retourne le contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin du fichier à charger) peut contenir les mentions suivantes : <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (modificateur : facultatif) si contient : </span><span style="font-size:9pt;font-weight:600">crlf2html</span><span style="font-size:9pt"> alors les retours chariots seront conservés et convertis en </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> <br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.108</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: VAR_SPLIT( prefix, string to split , séparateur de début, </span><span style="font-size:9pt;color:#aa0000">FALSE</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">, séparateur de fin) }}</span><span style="font-size:9pt"><br />Cette puissante instruction distribue les segments d'une chaîne séparés par un séparateur indiqué par le troisième argument : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">séparateur de début , </span><span style="font-size:9pt"><br />en plusieurs variables dont le nom est constitué par : le deuxième argument </span><span style="font-size:9pt;font-weight:600">auquel est ajouté l'occurrence du segment dans la chaîne</span><span style="font-size:9pt">.<br />Euh .. un exemple S.V.P.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom préfixé de la variable) préfixe du nom de la variable auquel sera ajoutée l'occurrence du segment dans la chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (chaîne de caractères à séparer) exemple '</span><span style="font-style:italic;font-size:9pt;font-weight:600">premier segment | deuxième segment | troisième segment</span><span style="font-size:9pt">'.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (séparateur facultatif) contient le séparateur. Si vide il sera pris par défaut le séparateur </span><span style="font-size:9pt;font-weight:600;color:#aa0000">|</span><span style="font-size:9pt"> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (modificateurs comportementaux) ce paramètre peut contenir les termes suivants<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">FALSE</span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-size:9pt">(la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">F</span><span style="font-size:9pt">' est suffisante) si à FALSE alors si un </span><span style="font-size:9pt;text-decoration:underline">segment est vide</span><span style="font-size:9pt">, il n'y aura </span><span style="font-size:9pt;text-decoration:underline">pas de variable affectée</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">TRIMMED</span><span style="font-size:9pt"> (la première lettre '</span><span style="font-size:9pt;font-weight:600;color:#aa0000">T</span><span style="font-size:9pt">' est suffisante) si TRIMMED les espaces de fin et de début du segment sont éliminés.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif séparateur de fin) si ce paramètre est indiqué alors le segment sera coupè à ce séparateur de fin.<br /> si il n'est pas trouvé dans le segment, le segment sera mis à une valeur vide. <br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : cet exemple permet d'extraire une suite de codes cim10 encadrés par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-size:9pt"><br />° La macro suivante, <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: Extract </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">Observation</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">CIM10Urg</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">POST URGENCE</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)></span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-size:9pt"><br /><br /> a extrait dans la variable </span><span style="font-size:9pt;font-weight:600;color:#005500">rpu_CIMX_BLOC,</span><span style="font-size:9pt"> à partir du document de la rubrique<br /> </span><span style="font-size:9pt;font-weight:600">Observation</span><span style="font-size:9pt"> en cours, le bloc de texte suivant :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">principal : amibiase ~[A06]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">altération de l'état général ~[R53]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">hypophyse ~[D35.2]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 1 : acouphènes ~[H93.1]~ <br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt">CIM10Urg associe 2 : alcoolisme chronique ~[F10.2]~ </span><span style="font-size:9pt"><br /><br />° la macro suivante placée à la suite de la précedente,</span><span style="font-family:Monospace;font-size:8pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">{{:: VAR_SPLIT</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">(</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">rpu_cimx_item_</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">, </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">$</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">~[</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">FALSE TRIMMED</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">,</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#55007f">]~</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#ff0000">)</span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#00007f">}}</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">placera dans les variables </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_0</span><span style="font-family:Monospace;font-size:8pt"> à </span><span style="font-family:Monospace;font-size:8pt;font-weight:600">rpu_cimx_item_xx</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">toutes</span><span style="font-size:9pt"> les occurences des chaines de textes encadrées par </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">~[</span><span style="font-size:9pt"> et </span><span style="font-family:Monospace;font-size:8pt;font-weight:600;color:#aa0000">]~</span><span style="font-family:Monospace;font-size:8pt"> <br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">trouvées dans</span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:8pt">le bloc texte contenu dans la variable </span><span style="font-family:Monospace;font-style:italic;font-size:8pt;font-weight:600;color:#005500">rpu_CIMX_BLOC</span><span style="font-family:Monospace;font-size:8pt"><br /><br /></span><span style="font-size:9pt">° l</span><span style="font-family:Monospace;font-size:8pt">es macros suivantes,</span><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_0</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_0}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_1</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_1}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_2</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_2}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_3</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_3}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_4</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_4}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_5</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_5}}'<br /></span><span style="font-style:italic;font-size:9pt;color:#00007f"> </span><span style="font-family:Monospace;font-style:italic;font-size:9pt;font-weight:600;color:#00007f">rpu_cimx_item_6</span><span style="font-family:Monospace;font-style:italic;font-size:9pt;color:#00007f"> : '{{VAR=rpu_cimx_item_6}}'</span><span style="font-family:Monospace;font-size:9pt"><br /><br /></span><span style="font-size:9pt"> </span><span style="font-family:Monospace;font-size:9pt">afficheront alors les résultats suivants :<br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_0</span><span style="font-style:italic;font-size:9pt"> : 'A06'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_1</span><span style="font-style:italic;font-size:9pt"> : 'R53'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_2</span><span style="font-style:italic;font-size:9pt"> : 'D35.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_3</span><span style="font-style:italic;font-size:9pt"> : 'H93.1'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_4</span><span style="font-style:italic;font-size:9pt"> : 'F10.2'<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_5</span><span style="font-style:italic;font-size:9pt"> : ''<br /> </span><span style="font-style:italic;font-size:9pt;font-weight:600">rpu_cimx_item_6</span><span style="font-style:italic;font-size:9pt"> : ''</span><span style="font-size:9pt"><br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.109</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VAR_LIST_CLEAR}}</span><span style="font-size:9pt"> Cette instruction détruit toutes les variables afin de réinitialiser la liste des variables.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.110</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Retourne l'email du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.111</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Retourne le premier numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.112</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_2_MEDECIN}} </span><span style="font-size:9pt">Retourne le deuxième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.113</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_TEL_3_MEDECIN}} </span><span style="font-size:9pt">Retourne le troisième numéro de téléphone du médecin en cours d'utilisation du programme.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.114</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EMAIL_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne l'email du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.115</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_1_MEDECIN}}</span><span style="font-size:9pt"> Cette instruction retourne le premier numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.116</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_2_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le deuxième numéro de téléphone du médecin auteur du document en cours.<br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.117</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TEL_3_MEDECIN}} </span><span style="font-size:9pt">Cette instruction retourne le troisième numéro de téléphone du médecin auteur du document en cours.<br /><br /><br /></span><hr><span style="font-size:9pt;font-weight:600">4.5.3.118</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{::#CADRE(largeur, epaisseur du bord, marge, espace entre cellules, justification, séparateur de ligne, cadre N°1, cadre N°2, cadre N°2, ....)}} <br /></span><span style="font-size:9pt">Cette instruction permet de présenter un affichage sous forme de cadres horizontaux. Elle est utile par exemple dans les documents types pour afficher un cadre gauche avec les coordonnées du médecin, un cadre central avec les caractéristiques du documents, un cadre droit avec les coordonnées du destinataire.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (largeur totale du cadre) est exprimé en pixels mais peut être exprimé en </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> de la largeur totale alors il faut faire suivre la valeur par le caractère </span><span style="font-size:9pt;font-weight:600">%</span><span style="font-size:9pt"> exemple </span><span style="font-size:9pt;font-weight:600">100%</span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (épaisseur du cadre) si zéro, le cadre ne sera pas dessiné.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (marge interne) marge interne au cadre en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (espace entre cellules) en pixels.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (justification du cadre général) </span><span style="font-size:9pt;font-weight:600">left, center, right</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt"> (motif à utiliser à la place des retours chariots \r\n ) en général </span><span style="font-size:9pt;font-weight:600"><br></span><span style="font-size:9pt"> .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7 à 7+N</span><span style="font-size:9pt"> (contenu de chaque cadre) chacun de ces paramètres sera considéré comme un cadre, par défaut la largeur de chaque cadre sera celle générale définie par le paramètre N°1 divisé par le nombre de cadres. Cependant, si la définition d'un cadre comporte le motif suivant : </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$WIDTH</span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#ff0000">30%</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$END_WIDTH</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">encadrant une valeur, celle-ci sera utilisée à la place de celle par défaut. <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans l'en-tête d'un document pour choisir et afficher l'adresse d'un médecin correspondant lors d'une impression</span><span style="font-size:9pt"> : <br /><br />Lors d'une impression avec cet en-tête, il est demandé de choisir le médecin auquel est destiné le document dans une liste </span><span style="font-style:italic;font-size:8pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> qui présente le résultat d'une requête SQL </span><span style="font-style:italic;font-size:8pt;font-weight:600">SQL_SELECT</span><span style="font-size:9pt"> listant tous les médecins correspondants. <br />Si la liste est quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt"> l'impression sera annulée car il sera placé la mention </span><span style="font-style:italic;font-size:8pt;font-weight:600">$PRINT_STOP</span><span style="font-size:9pt"> <br />Si il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /><br /></span><span style="font-family:Courier;font-size:9pt">{{\<br />{{REM= ---------------------- test du statut d'impression -----------------------------}}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que si il n'y a pas encore eu de resolution }}\<br />{{REM= de macro lors de l'impression }}\<br />{{REM= sous Mac DO_LISTE ne doit pas etre re-executee lors }}\<br />{{REM= d'un changement d'en-tete }}\<br /><br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_SCRIPT_END,M_NOP,DO_LISTE)}})}}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{OS}},=,M,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED,M_NOP,{{VAR=actionDoListe}})}},{{VAR=actionDoListe}})}})}}<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecinPrint,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\</span></p>
<p><span style="font-family:Courier;font-size:9pt">{{REM= -------------- utilisation par la suite des renseigments du choix --------------}}\<br />{{REM= pour selectionner les renseignements du destinataire }}\<br />{{:: SQL_SELECT (Personnes,Nom|Prenom|Adresse|CodePostal|Ville|ID_PrimKey,WHERE ID_PrimKey='{{VAR=AdressePar_2}}',1,$SET_VAR)}}\</span></p>
<p><span style="font-family:Courier;font-size:9pt">{{REM= -------------- creation des variables des contenus des cadres -----------------}}\<br />{{::#SET_VAR(cadreGauche,<center>{{TITRE PS}} {{NOM PRENOM MEDECIN}}<br>{{IDENTIFICATION MEDECIN}}<br>{{CONVENTION MEDECIN}}<br>{{USER ADRESSE COMPLETE MEDECIN}}<br>Tél. {{TEL_1_MEDECIN}})}}\<br />{{::#SET_VAR(cadreCentral, )}}\<br />{{::#SET_VAR(cadreDestinataire,<br><br><br><br>{{VAR=Personnes.Nom0}} {{VAR=Personnes.Prenom0}}<br>{{VAR=Personnes.Adresse0}}<br>{{VAR=Personnes.CodePostal0}} {{VAR=Personnes.Ville0}})}}\<br /><br />{{REM= -------------- si choix annuler stocker la mention $PRINT_STOP ----------------}}\<br />{{REM= d'annulation de l'impression dans retourChoixMedecinPrint }}\<br />{{::#SET_VAR(retourChoixMedecinPrint,{{::#TEST(S,{{VAR=retourChoixMedecinPrint}},=,Rejected,$PRINT_STOP,)}})}}\<br />}}<br />{{REM= -------------- affichage des cadres -------------------------------------------}}<br />{{::#CADRE(100%,0, 0 ,0 ,right,<br>,$WIDTH 25% $END_WIDTH{{VAR=cadreGauche}},$WIDTH 45% $END_WIDTH{{VAR=cadreCentral}},$WIDTH 30% $END_WIDTH{{VAR=cadreDestinataire}})}}<br />{{REM= ----------------------- si choix annuler afficher $PRINT_STOP -----------------}}<br />{{REM= que si il n'ya pas de changement d'entete }}<br />{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},=,$PRINT_HEADER_CHANGED, ,{{VAR=retourChoixMedecinPrint}})}}<br /></span><span style="font-style:italic;font-size:8pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Exemple avancé de macro à placer dans un modèle de document pour choisir un médecin correspondant destinataire</span><span style="font-size:9pt"> : <br /><br />Lors du double clic d'un document dans le </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">, cette macro propose et affiche la liste des médecins correspondants et après choix positionne un cadre texte avec les coordonnées du médecin auteur du courrier ou document et dans un autre cadre les coordonnées du destinataire du document dans un cade prêt à poster.<br />S'il est choisi un correspondant, ses coordonnées postales seront affichées dans un cadre en haut à droite du document afin de pouvoir poster directement le document dans une enveloppe à fenêtre. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez l'astuce</span><span style="font-size:9pt"> qui consiste a créer une variable </span><span style="font-family:Courier;font-size:9pt;font-weight:600">actionDoListe</span><span style="font-size:9pt"> contenant elle même l'instruction </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> (présente une liste) ou </span><span style="font-size:9pt;font-weight:600">M_NOP</span><span style="font-size:9pt"> (ne fait rien) selon le résultat du test du statut d'exécution de la macro. <br /></span><span style="font-size:9pt;font-weight:600">Remarquez les doubles tests imbriqués</span><span style="font-size:9pt"> pour tester une valeur ou l'autre.<br /></span><span style="font-size:9pt;font-weight:600">Remarquez le retour</span><span style="font-size:9pt"> de la mention particulière </span><span style="font-size:9pt;font-weight:600">__ERREUR Fusion :__</span><span style="font-size:9pt"> lorsque la liste de choix a été quittée sans choix </span><span style="font-style:italic;font-size:8pt;font-weight:600">{{VAR=retour}} = Rejected</span><span style="font-size:9pt">, ayant pour conséquence la non incorporation du document dans MedinTux.<br /></span><span style="font-size:9pt;font-weight:600">Remarquez le choix</span><span style="font-size:9pt"> du séparateur de champ particulier </span><span style="font-size:9pt;font-weight:600">::</span><span style="font-size:9pt"> pour que </span><span style="font-size:9pt;font-weight:600">DO_LISTE</span><span style="font-size:9pt"> puisse afficher les items composés de plusieurs champs, avec masquage de la dernière donnée (</span><span style="font-family:Courier;font-size:9pt">ID_PrimKey)</span><span style="font-size:9pt">.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">La Macro</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Courier;font-size:9pt"><br />{{\<br />{{REM= ---------------------- LA MACRO QUI TUE ----------------------------------------}}\<br />{{REM= test du statut du document pour }}\<br />{{REM= ne faire appel à la liste des medecins }}\<br />{{REM= que lors de l'incorporation du document et non }}\<br />{{REM= lors de la prévisualisation }}\<br />{{:: SET_VAR(actionDoListe,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},%%,$FUSION_ADD,DO_LISTE,{{:: TEST(S,{{VAR=$SCRIPT_STATUS}},%%,$FUSION_CREATE,DO_LISTE,M_NOP)}})}})}}\<br />{{:: SET_VAR(resultatDoListeEnteteCourrier,{{::{{VAR=actionDoListe}}({{::#SQL_SELECT (Personnes , Nom |Prenom|ID_PrimKey,WHERE NumOrdre!='' , 30,::,|) }},Choix du mécecin destinataire,|,retourChoixMedecin,2)}})}}\<br />{{:: VAR_SPLIT(AdressePar_,{{VAR=resultatDoListeEnteteCourrier}},::)}}\<br /><br />{{REM= -------------- utilisation par la suite des renseigments du choix --------------}}\<br />{{REM= pour selectionner les renseignements du destinataire }}\<br />{{:: SQL_SELECT (Personnes,Nom|Prenom|Adresse|CodePostal|Ville|ID_PrimKey,WHERE ID_PrimKey='{{VAR=AdressePar_2}}',1,$SET_VAR)}}\<br />{{REM= -------------- creation des variables des contenus des cadres -----------------}}\<br />{{::#SET_VAR(cadreGauche,<center></span><span style="font-family:Courier;font-size:9pt;font-weight:600">{{TITRE PS}} {{NOM PRENOM MEDECIN}}<br>N° Adeli {{IDENTIFICATION MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"><br></span><span style="font-family:Courier;font-size:9pt;font-weight:600">{{CONVENTION MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"></center><p>{{USER ADRESSE COMPLETE MEDECIN}}<br></span><span style="font-family:Courier;font-size:9pt;font-weight:600">Tél.</span><span style="font-family:Courier;font-size:9pt"> </span><span style="font-family:Courier;font-style:italic;font-size:9pt">{{TEL_1_MEDECIN}}</span><span style="font-family:Courier;font-size:9pt"></p>)}}\<br />{{::#SET_VAR(cadreCentral, )}}\<br />{{::#SET_VAR(cadreDestinataire,<br><br><br><br>{{VAR=Personnes.Nom0}} {{VAR=Personnes.Prenom0}}<br>{{VAR=Personnes.Adresse0}}<br>{{VAR=Personnes.CodePostal0}} {{VAR=Personnes.Ville0}})}}\<br />}}<br />{{REM= -------------- affichage des cadres -------------------------------------------}}\<br />{{::#CADRE(100%,0, 0 ,0 ,right,<br>,$WIDTH 25% $END_WIDTH{{VAR=cadreGauche}},$WIDTH 45% $END_WIDTH{{VAR=cadreCentral}},$WIDTH 30% $END_WIDTH{{VAR=cadreDestinataire}})}}<br />{{::#TEST(S,{{VAR=retourChoixMedecin}},=,Rejected,__ERREUR Fusion :__,)}}</span><span style="font-family:Comic Sans Ms"><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.119</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{NUM. CLEF PATIENT}}</span><span style="font-size:9pt"><br />Cette instruction retourne la clef du numéro de sécurité sociale du patient.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : {{NUM CLEF PATIENT}}<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.120 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_POLITESSE_MEDECIN}}</span><span style="font-size:9pt"> retourne la mention indiquée dans le champ </span><span style="font-size:9pt;font-weight:600">Politesse</span><span style="font-size:9pt"> dans l'annuaire des utilisateurs, pour l'utilisateur en cours.<br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.121 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{POLITESSE_MEDECIN}}</span><span style="font-size:9pt"> retourne la mention indiquée dans le champ </span><span style="font-size:9pt;font-weight:600">Politesse</span><span style="font-size:9pt"> dans l'annuaire des utilisateurs, pour l'utilisateur de l'observation en cours d'affichage.<br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.122 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LEFT( chaîne à traiter, nombre de caractères)}} </span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères<br />retourne la partie gauche de la chaîne coupée au nombre de caractères indiqués dans le premier paramètre.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.123 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: MID(chaîne à traiter, position , nombre de caractères) }}</span><span style="font-size:9pt"> <br />retourne une partie de chaîne débutant à la position (comptée à partir de zéro) indiquée par le premier paramètre coupée au nombre de caractères indiqués dans le deuxième paramètre.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (position) position à partir de laaquelle il faut couper la chaîne<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères à retenir à partir de la position indiquée dans le premier paramètre. <br />ce paramètre est facultatif, si il est omis alors tous les caractères à partir de la position indiquée dans le premier paramètre seront retenus.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.124 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RIGHT(chaîne à traiter, nombre de caractères ) }}<br /></span><span style="font-size:9pt">retourne la partie droite de la chaîne coupée au nombre de caractères indiqués dans le premier paramètre.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (nombre ce caractères) nombre de caractères<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.125 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REMOVE( chaîne à traiter , élément à retirer ) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RM( chaîne à traiter , élément à retirer ) }}<br /></span><span style="font-size:9pt">retire toutes les occurrences d'une chaîne de caractères d'une autre chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif élément à retirer) chaîne de caractères à retirer, si non précisé par défaut espace.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> : {{:: REMOVE(tralala itou, a ) }} deviendra trllt itou</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.126 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: CLEAR_SPACES(chaîne à traiter) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: CS(chaîne à traiter) }}<br /></span><span style="font-size:9pt">retire tous les espaces, tabulations de début et de fin d'une chaîne de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemple</span><span style="font-style:italic;font-size:9pt"> : {{:: CS( texte ) }} deviendra 'texte'</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.127 </span><span style="font-size:9pt">|==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: T0_NUM( chaîne à traiter , mode) }}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: TN( chaîne à traiter , mode ) }}<br /></span><span style="font-size:9pt">Tente de transformer en nombre une chaîne de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne de caractères à traiter) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (mode de conversion) facultatif et par défaut positionné à </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$stopIfNotNum</span><span style="font-size:9pt"><br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$stopIfNotNum</span><span style="font-size:9pt"> la conversion s'arrête au premier caractère non numérique.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$allString</span><span style="font-size:9pt"> tous les caractères numériques de la chaîne seront retenus.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$toInt</span><span style="font-size:9pt"> la conversion ne conservera que la partie entière.<br /> SI toute autre valeur, la conversion s'arrêtera à la première occurrence de cette valeur.<br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">exemples</span><span style="font-style:italic;font-size:9pt"> : <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;color:#aa0000"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce texte suit la valeur et ne sera pas évalué car par défaut le mode est </span><span style="font-size:9pt">stopIfNotNum</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">) }} </span><span style="font-style:italic;font-size:9pt">deviendra '</span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234,34 '</span><span style="font-style:italic;font-size:9pt"><br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce qui suit </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">56</span><span style="font-style:italic;font-size:9pt"> sera retenu car le mode est : allString </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">, $allString) }} </span><span style="font-style:italic;font-size:9pt">deviendra </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">'1234,3456 '<br /></span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">{{:: TN ( </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">1234.34 </span><span style="font-style:italic;font-size:9pt">ce qui suit </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">56</span><span style="font-style:italic;font-size:9pt"> sera retenu jusqu'à </span><span style="font-style:italic;font-size:9pt;font-weight:600">fin de la partie numérique </span><span style="font-style:italic;font-size:9pt">car indiqué en </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">2</span><span style="font-style:italic;font-size:9pt"> ème paramètre comme occurrence de fin </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">, fin de la partie numérique) }} </span><span style="font-style:italic;font-size:9pt">deviendra </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">'1234,3456 '</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.128</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DATE NAISSANCE ASSURE=format de la date}}</span><span style="font-size:9pt"><br />retourne la date de naissance de l'assuré selon le format spécifié dans le paramètre facultatif N°1<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (format de retour pour la date : facultatif et par défaut </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy</span><span style="font-size:9pt">) voir en paragraphe </span><span style="font-weight:600">3.4.3.5</span><span style="font-size:9pt"> <br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.129</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{EXIT}}</span><span style="font-size:9pt"><br />exécute la procédure de fin de MedinTux. <br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.130</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DDR=dd-MM-yyyy}}</span><span style="font-size:9pt"><br />retourne la date des dernières règles<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.131</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{TERME_GROSSESSE}}</span><span style="font-size:9pt"><br />retourne le nombre de semaines d'aménorrhée à la date courante.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.132</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DAYSTO( date de départ , date de fin )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DT( date de départ, date de fin ) }}</span><span style="font-size:9pt"><br />retourne le nombre de jours à partir de la date placée dans le parametre N°1 et le Paramètre N°2. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt"> (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent être omises et alors elles seront en interne mises sur 00:00:00<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de départ) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : date de fin) si non précisé il prend la valeur de la date courante.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.133</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_CALC( date de départ , valeur, operateur, valTyp, format date retour )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTC( date de départ , valeur, operateur, valTyp, format date retour ) }}</span><span style="font-size:9pt"><br />retourne le nombre de jours à partir de la date placée dans le parametre N°1 et le Paramètre N°2. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt"> (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent être omises et alors elles seront en interne mises sur 00:00:00.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de départ) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (valeur à ajouter ou soustraire) valeur à ajouter ou soustraire<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : opérateur) </span><span style="font-size:9pt;font-weight:600">+ -</span><span style="font-size:9pt"> par défaut (si omis) sur </span><span style="font-size:9pt;font-weight:600">+</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (facultatif : type de valeur à ajouter ou soustraire) si non précisé il prend la valeur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> (jours).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique à ajouter est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique à ajouter est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique à ajouter est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique à ajouter est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt"> (facultatif : format du type de date à retourner) Le format des dates. si non précisé </span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">-</span><span style="font-size:9pt;font-weight:600">MM-yyyy </span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.134</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_TONUM( date de fin , valTyp, date de départ)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTN( date de fin , valTyp , date de départ) }}</span><span style="font-size:9pt"><br />retourne une valeur numerique entière (nombre de secondes) à partir de la date placée dans le parametre N°1 et le paramètre N°3. Le format des dates doit être xxxx</span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">MM</span><span style="font-size:9pt">xxxxxx</span><span style="font-size:9pt;font-weight:600">yyyy</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">hh</span><span style="font-size:9pt">xxxx</span><span style="font-size:9pt;font-weight:600">mm</span><span style="font-size:9pt">xxx</span><span style="font-size:9pt;font-weight:600">ss</span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) où x peut représenter n'importe quel caractère non numérique. Les heures minutes secondes peuvent êtres omises et alors elle seront en interne mises sur 00:00:00.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (date de fin) chaîne de caractères à traiter.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : type de valeur numérique à retourner) si non précisé il prend la valeur S (secondes).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique à retourner est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique à retourner est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique à retourner est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique à retourner est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : date de depart) si non précisé la valeur de depart est le </span><span style="font-size:9pt;font-weight:600">01 Janvier 1970</span><span style="font-size:9pt">.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.135</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DATE_FROMNUM( num, valTyp, format date retour, date de départ )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: DTFN( num , valTyp, format date retour, date de départ ) }}</span><span style="font-size:9pt"><br />retourne la date et temps depuis le nombre de secondes écoulées depuis le 01 Janvier 1970 (voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">).<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nombre de secondes) chaîne de caractères à traiter soit le nombre de secondes depuis le 01 Janvier 1970.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (facultatif : type de valeur numérique à retourner) si non précisé il prend la valeur S (secondes).<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">S </span><span style="font-size:9pt">la valeur numérique est en secondes.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">J</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">D</span><span style="font-size:9pt"> la valeur numérique est en jours.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">M </span><span style="font-size:9pt"> la valeur numérique est en mois.<br /> SI contient </span><span style="font-size:9pt;font-weight:600;color:#0000ff">A</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Y </span><span style="font-size:9pt"> la valeur numérique est en années.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (facultatif : format du type de date à retourner) Le format des dates. si non précisé </span><span style="font-size:9pt;font-weight:600">dd</span><span style="font-size:9pt">-</span><span style="font-size:9pt;font-weight:600">MM-yyyy </span><span style="font-size:9pt">(voir : </span><a href="DrTux.html#Format_des_dates"><span style="font-size:9pt">Format des dates</span></a><span style="font-size:9pt">) .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (facultatif : date de depart) si non précisé la valeur de depart est le </span><span style="font-size:9pt;font-weight:600">01 Janvier 1970</span><span style="font-size:9pt">.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.136</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: ABS_PATH( chemin de fichier exprimé en relatif)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variantes</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: AP( chemin de fichier exprimé en relatif ) }} {{AP = chemin de fichier exprimé en relatif }} {{ABS_PATH = chemin de fichier exprimé en relatif }} </span><span style="font-size:9pt"><br />Converti le chemin donné dans le paramètre N°1 en chemin absolu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin à convertir) chemin exprimé en relatif exemple : </span><span style="font-size:9pt;font-weight:600">../../Doc/index.html<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600">{{AP = ../../Doc}}</span><span style="font-size:9pt"> devient </span><span style="font-size:9pt;font-weight:600">/home/ro/MedinTux-V2.14-Synth-src/Programmes/Doc/index.html</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.137</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FILE_EXISTS( chemin de fichier à tester exprimé en relatif)}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt">s : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: FE( chemin de fichier à tester exprimé en relatif ) }} {{FE = chemin de fichier exprimé en relatif }} {{FILE_EXISTS = chemin de fichier à tester exprimé en relatif }} </span><span style="font-size:9pt"><br />Converti le chemin donné dans le paramètre N°1 en chemin absolu, et teste si il existe: <br />Si le fichier existe existe la valeur de retour est le resultat de la conversion.<br />Si le fichier n'existe pas la valeur de retour est une chaîne vide.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chemin à convertir) chemin exprimé en relatif exemple : </span><span style="font-size:9pt;font-weight:600">../../Doc/index.html<br /></span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;text-decoration:underline">Exemples</span><span style="font-size:9pt"> : <br /></span><span style="font-size:9pt;font-weight:600">{{FE = ../../Doc/index.html}}</span><span style="font-size:9pt"> devient </span><span style="font-size:9pt;font-weight:600">/home/ro/MedinTux-V2.14-Synth-src/Programmes/Doc/index.html</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600">{{FE = ../../Doc/truc_inexistant.html}}</span><span style="font-size:9pt"> devient une chaîne vide .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.138</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_BY( chaîne à évaluer, élément à trouver, élément de remplacement )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RB( chaîne à évaluer, élément à trouver, élément de remplacement ) }}</span><span style="font-size:9pt"><br />remplace les occurrences d'un motif de caractères par un autre motif de caractères.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (occurrence à remplacer) occurrence à remplacer.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (motif de caractères de remplacement) motif de caractères de remplacement</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.139</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INDEX_OF( chaîne à évaluer, motif a rechercher )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: IO( chaîne à évaluer, motif a rechercher ) }}</span><span style="font-size:9pt"><br />retourne la position d'un motif de caractères dans une chaîne de caractères (-1 si pas trouvée).<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (motif à rechercher) motif à rechercher.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.140</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LENGTH( chaîne à évaluer )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: LEN( chaîne à évaluer ) }}</span><span style="font-size:9pt"><br />retourne le nombre de caractères d'une chaîne.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (chaîne à évaluer) chaîne de caractères à traiter .<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.141</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: EXPORT_TABLES( date de début, date de fin, definition des tables à exporter, separateur de table, largeur cellule par defaut, hauteur cellule par defaut, largeur du tracé, largeur totale du tableau, format d'affichage des dates, largeur de la colonne des dates )}}<br /></span><span style="font-size:9pt">Cette instruction a pour objectif de mettre en forme des données provenant de tables ou tableaux de variables du terrain de façon à les inclure dans vos documents .<br /><br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (première date à partir de laquelle afficher les données) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme : </span><span style="font-size:9pt;font-weight:600">YYYY-MM-DD</span><span style="font-size:9pt"> où YYYY est l'année, MM est le mois de l'année (entre 01 et 12), et DD est le jour du mois (entre 01 et 31). <br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme des formules préétablies suivantes :<br /> TOUTE DATE pas de limite inférieure.<br /> DATE VISITE date de l'observation en cours.<br /> DATE ACTUELLE date du jour en cours.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "01-01-1900"<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(date de fin pour afficher les données) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme : YYYY-MM-DD où YYYY est l'année, MM est le mois de l'année (entre 01 et 12), et DD est le jour du mois (entre 01 et 31). <br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous les formes suivantes :<br /> </span><span style="font-size:9pt;font-weight:600">+</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à rajouter à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : +24</span><span style="font-size:9pt"><br /> </span><span style="font-size:9pt;font-weight:600">+-</span><span style="font-size:9pt"> ou </span><span style="font-size:9pt;font-weight:600">-+</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à enlever à la date de début et à rajouter à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : +-24</span><span style="font-size:9pt"><br /> </span><span style="font-size:9pt;font-weight:600">-</span><span style="font-size:9pt"> suivi d'une valeur correspondant au nombre d'heures à enlever à la date de début pour faire la date de fin. </span><span style="font-style:italic;font-size:9pt">Expl : -24</span><span style="font-size:9pt"><br /> chiffre 0 ou vide, alors la date de fin est la date de début à laquelle est ajouté 24 heures.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> soit la date est exprimée sous la forme des formules préétablies suivantes : <br /> TOUTE DATE pas de limite inférieure.<br /> DATE VISITE date de l'observation en cours.<br /> DATE ACTUELLE date du jour en cours.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "01-01-3000"<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (liste de définition des tables à exporter) :<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> Ce paramètre doit comporter une série de chaines de définition de table, déterminant quelles tables exporter, et quelles colonnes à exporter de ces tables.<br /></span><span style="font-size:9pt;text-decoration:underline">Syntaxe d'une définition de table</span><span style="font-size:9pt"> :<br /><br />VAR nomDeLaTable [nomDelaColonne = largeur octroyée pour l'affichage de la colonne; nomDelaColonneSuivante = largeur octroyée pour l'affichage de la colonne] <br /><br />Exemple :</span><span style="font-size:9pt;font-weight:600;color:#0000ff"> VAR</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Constantes de Base </span><span style="font-size:9pt;font-weight:600;color:#0000ff">[ </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Pouls</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">50; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">SAO2</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">80; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Temp</span><span style="font-size:9pt;font-weight:600;color:#00aa00">=</span><span style="font-size:9pt">100</span><span style="font-size:9pt;font-weight:600;color:#0000ff">] VAR</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids </span><span style="font-size:9pt;font-weight:600;color:#0000ff">[</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids</span><span style="font-size:9pt">=50; </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Taille</span><span style="font-size:9pt">=80 </span><span style="font-size:9pt;font-weight:600;color:#0000ff">]</span><span style="font-size:9pt"> <br />Nom du tableau ou de la table tel qu'indiqué dans le modèle du tableau après la mention </span><span style="font-size:9pt;font-weight:600;color:#0000ff">VAR</span><span style="font-size:9pt"><br />exemple : </span><span style="font-style:italic;font-size:9pt;font-weight:600">Constantes de Base</span><span style="font-size:9pt"> dans le modèle ci-dessous<br /><br /></span><span style="font-size:9pt;text-decoration:underline">Exemple de modèle</span><span style="font-size:9pt"> :<br /><br />[VAR </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Constantes de Base</span><span style="font-size:9pt">] <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Pouls</span><span style="font-size:9pt">, 31536000, 130, 40, pps, Tachycardie, Bradycardie <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">SAO2</span><span style="font-size:9pt">, 31536000, 0, 92, %, , Hypoxie <br /> Modèle = Date, </span><span style="font-size:9pt;font-weight:600;color:#0000ff">Temp</span><span style="font-size:9pt">, 31536000, 40.5, 35, ?, Hypothermie, Hyperthermie <br />[VAR </span><span style="font-size:9pt;font-weight:600;color:#ff0000">Poids</span><span style="font-size:9pt">] <br /> Modèle = Date, Poids, 31536000, 100, 50, Kg(s), Obésité, Amaigrissement <br /> Modèle = Date, Taille, 31536000, 0, 0, cm(s), , <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt"> (séparateur entre les tables) :<br />Ce paramètre facultatif indique un motif de séparation de tables.<br />Si cette valeur commence par le modificateur </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> alors ce qui suit la suite de </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-size:9pt"> sera considéré comme le chemin d'un fichier à charger et alors le nom de ce fichier peut contenir les mentions suivantes :<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600">° </span><span style="font-size:9pt"> si absent alors il prendra la valeur de "</span><span style="font-size:9pt;font-weight:600;color:#ff0000"><br></span><span style="font-size:9pt">"<br /><br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur par défaut de la cellule si non exprimée avec la mention </span><span style="font-size:9pt;font-weight:600">=</span><span style="font-size:9pt"> ) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Hauteur de la cellule) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 7</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur de la ligne de séparation par défaut 1) :<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(Largeur totale du tableau par défaut 100%) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale de la page.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 9</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(format d'affichage des dates par défaut </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">dd-MM-yyyy hh</span><span style="font-size:9pt">) :<br /> exprimé selon la règle suivante : </span><a href="DrTux.html#format_des_dates"><span style="font-size:9pt">format des dates</span></a><span style="font-size:9pt"><br /> ce paramètre peut être suivi (séparé par le signe = ) du titre de la colonne des dates.<br /> </span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 10</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(largeur de la colonne des dates par défaut 50 ) :<br /> si exprimé en pourcentage se sera le pourcentage de la largeur totale.<br /><br /></span><span style="font-size:9pt;text-decoration:underline">Quelques exemples</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">EXPORT_TABLES( </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">2010-01-01</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">2010-31-12</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa5500">VAR Constantes de Base[Pouls=50; SAO2=80; Temp=100] VAR Poids[Poids=50; Taille=80]</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">30%</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">20</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">1</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">100%</span><span style="font-family:Fixed;font-size:9pt"> ,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#55aa7f">dd-MM-yyyy hh</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#55007f">50</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">)</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#5555ff">}}<br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.142</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: EXPORT( nom du fichier, source des données, ..... autres paramètres selon source de données ...... )}}<br /></span><span style="font-size:9pt">Cette instruction polymorphe très puissante a pour objectif de mettre en forme des données provenant de différentes sources de MedinTux et de les écrire sur le disque.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (fichier de destination) : fichier de destination dans lequel seront placées les données.<br /> <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(source des données) :<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">T</span><span style="font-family:Fixed;font-size:9pt"> pour string enrichie </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">A</span><span style="font-family:Fixed;font-size:9pt"> pour ASCII </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">D</span><span style="font-family:Fixed;font-size:9pt"> pour dossier </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff0000">S</span><span style="font-family:Fixed;font-size:9pt"> pour selection<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> string a exporter string a exporter liste des rubriques séparées par | String a exporter a laquelle sera ajoutée la sélection</span> <span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-family:Fixed;font-size:9pt"> mode conversion ascii mode conv. ascii date debut mode conversion ascii<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 5</span><span style="font-family:Fixed;font-size:9pt"> A/alwaysWrite F/fullOnly A ou F date fin A ou F (A/alwaysWrite F/fullOnly)</span></p>
<p><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 6</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">séparation des fiches</span><span style="font-family:Fixed;font-size:9pt"> avec les<br /> mentions possibles ci-dessous.<br /> $NomPatient $PrenomPatient <br /> $DateDeb $DateFin <br /> $DateDebFiche $DateFinFiche <br /> $HeureDeb $HeureFin $NomRub <br /> $TitreRub $User $SignUser <br /> $NumFicheRub $GUIDPat $PkPat <br /> $pkFiche $Duree $NumFicheTot <br /> si commence par la mention : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt"> alors c'est le fichier <br /> mentionné qui sera utilisé comme séparateur de fiches.</span></p>
<p><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 8</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">filtre sql where</span><span style="font-family:Fixed;font-size:9pt"> si mentionne, alors la chaîne sera utilisée en<br /> complément du filtrage SQL habituel sur les dates.<br /> si il commence par la mention : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt"> alors c'est le fichier <br /> mentionné qui sera utilisé comme </span><span style="font-family:Fixed;font-size:9pt;text-decoration:underline">filtre sql where</span><span style="font-family:Fixed;font-size:9pt">.</span></p>
<p><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le mode exportation de dossier (</span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> (source des données) : avec la valeur </span><span style="font-size:9pt;font-weight:600;color:#ff0000">D</span><span style="font-size:9pt;font-weight:600">) , un répertoire du nom du fichier est créé, et c'est à l'intérieur de ce répertoire que se trouvent : le fichier html correspondant à l'exportation, et les images nécessaires à ce fichier.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /> </span><span style="font-style:italic;font-size:9pt"> </span></p>
<p><span style="font-size:9pt;text-decoration:underline">Un exemple qui exporte le dossier patient en entier, le transforme en PDF et l'envoie par kmail</span><span style="font-size:9pt"> :<br /></span><span style="font-family:Fixed;font-size:9pt">{{\<br />{{:: SET_VAR(FName,{{NOM PRENOM PATIENT}}-{{GUID}})}}\</span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f"><br />{{REM=--------------------- exportation du dossier complet -------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">EXPORT</span><span style="font-family:Fixed;font-size:9pt">(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">../../tmp/{{VAR=FName}}.html</span><span style="font-family:Fixed;font-size:9pt"> , </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">D</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">Terrain|Observation|Prescription|Documents|Vigie</span><span style="font-family:Fixed;font-size:9pt">, </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">1900-01-01T00:00:00</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa7f"> 2200-01-01T00:00:00</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">../../pdf/SeparateurEntete.html</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#0000ff">$File</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#ff5500">../../pdf/ObservEntete.html</span><span style="font-family:Fixed;font-size:9pt">) }}\<br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f">{{REM=--------------------- impression en PDF --------------------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: exe_process (WaitEnd ,../../APropos/bin/APropos,ToPDF,$ToAbsPath../../tmp/{{VAR=FName}}/{{VAR=FName}}.html)}}\<br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;color:#aaaa7f">{{REM=---------------------- envoi par mail-----------------------------------------------}}\<br /></span><span style="font-family:Fixed;font-size:9pt">{{:: exe_process (NoWaitEnd ,/usr/bin/kmail,-c,roland-sevin@medintux.org,-s,Dossier de {{TITRE PATIENT}} {{NOM PRENOM PATIENT}},--msg,$ToAbsPath../../pdf/TestEnvoiMail.txt,--attach,$ToAbsPath../../tmp/{{VAR=FName}}/{{VAR=FName}}.pdf)}}\<br />}}<br /></span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#5555ff"><br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.143</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_IN_FILE( nom du fichier source, nom du fichier destination, nom de la variable N°1, nom de la variable N°2, ... nom de la variable N°n )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Variante</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RF( nom du fichier source, nom du fichier destination, nom de la variable N°1, nom de la variable N°2, ... nom de la variable N°n ) }}<br /></span><span style="font-size:9pt"><br />Cette instruction permet de remplacer dans un fichier, des </span><span style="font-family:Fixed;font-size:9pt">occurrences d'un motif du type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable N°1}}</span><span style="font-size:9pt"><br />par le contenu de cette variable.<br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (fichier source) : fichier d'origine, où se trouvent les motifs de type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> <br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt"> (fichier de destination) : fichier de destination créé avec les motifs de type </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> remplacés par les contenus des variables correspondantes.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Glossaire</span><span style="font-size:9pt"> qui sera remplacée par le chemin du </span><span style="font-size:9pt;font-weight:600">Glossaire</span><span style="font-size:9pt">.<br /> </span><span style="font-size:9pt;font-weight:600;color:#0000ff">$Vigie </span><span style="font-size:9pt"> qui sera remplacée par le chemin de la </span><span style="font-size:9pt;font-weight:600">Vigie</span><span style="font-size:9pt">.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (nom de la première variable) : dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">(nom de la deuxième variable) : dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° n</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">(nom de la nième variable) : </span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">dont il faudra remplacer le motif </span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{</span><span style="font-size:9pt;font-weight:600;color:#aa0000">nom de la variable}}</span><span style="font-size:9pt"> par son contenu.</span><span style="font-family:Fixed;font-size:9pt"> <br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : remplir des formulaires pdf avec pdftk.<br /><br />Exemple de fichier XFDF déjà rempli avec des données du formulaire<br />à envoyer avec pdftk pour qu'il remplisse le formulaire pdf<br />avec la commande suivante :<br /><br />pdftk document.pdf fill_form données.xfdf output document-rempli.pdf<br />Créer un fichier modèle avec les tags </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">{{nom de la variable}}</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"><br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : <br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">fichier de référence</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">modeleXFDF.xml</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> (placé dans notre exemple dans le répertoire </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">pdf</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> de MedinTux)<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><fields><br /><field name="Nom Patient"><br /><value>{{</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-style:italic;font-size:9pt">}}</value><br /></field><br /><field name="Prenom Patient"><br /><value>{{</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa55ff">PrenomPatient</span><span style="font-family:Fixed;font-style:italic;font-size:9pt">}}</value><br /></field><br /></fields><br /><f href="fichier.pdf" /><br /></xfdf><br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">Macro exploitant ce fichier</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> en le remplissant avec les données du patient en cours, par des valeurs collectées au préalable dans les variables idoines.<br /><br /></span><span style="font-family:Fixed;font-size:9pt">{{\<br />{{:: REM ----------- collecte des données dans les variables idoines --------------}}\<br />{{:: SET_VAR(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-size:9pt">,{{NOM PATIENT}})}}\<br />{{:: SET_VAR(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">PrenomPatient</span><span style="font-family:Fixed;font-size:9pt">,{{PRENOM PATIENT}})}}\<br />{{REM=--------------------- remplacement des tags dans le fichier de réference -------------------------------}}\<br />{{REM= par les valeurs des variables }}\<br /></span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">{{:: REPLACE_IN_FILE</span><span style="font-family:Fixed;font-size:9pt">(</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00007f">../../pdf/modeleXFDF.xml</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#00aa00">../../pdf/replacedXFDF.xml</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#005500">NomPatient</span><span style="font-family:Fixed;font-size:9pt">,</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa00ff">PrenomPatient</span><span style="font-family:Fixed;font-size:9pt">)</span><span style="font-family:Fixed;font-size:9pt;font-weight:600;color:#aa0000">}}</span><span style="font-family:Fixed;font-size:9pt">\<br />}}</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"><br /><br />° </span><span style="font-family:Fixed;font-style:italic;font-size:9pt;text-decoration:underline">fichier résultat</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> : </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">replacedXFDF.xml</span><span style="font-family:Fixed;font-style:italic;font-size:9pt"> où l'on voit les variables remplacées par les valeurs du patient.<br /></span><span style="font-family:Fixed;font-size:9pt"><br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br /><fields><br /><field name="Nom Patient"><br /><value>TARTEMPION</value><br /></field><br /><field name="Prenom Patient"><br /><value>MARCEL</value><br /></field><br /></fields><br /><f href="fichier.pdf" /><br /></xfdf></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.144</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RUBRIQUE_SHOW( nom de la rubrique, valeur )}}<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (nom de la rubrique) : Nom de la rubrique à afficher ou cacher. <br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(valeur) : </span><span style="font-size:9pt;font-weight:600">TRUE</span><span style="font-size:9pt"> valeur par defaut, affiche la rubrique,</span><span style="font-size:9pt;font-weight:600"> FALSE</span><span style="font-size:9pt"> cache la rubrique.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.145</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{DefinirATCD_Cisp}}<br /></span><span style="font-size:9pt">Lance le gestionnaire des antécédents postionné sur l'onglet </span><span style="font-size:9pt;font-weight:600">Cisp</span><span style="font-size:9pt">. et insère le contenu des antécédents à l'emplacement du curseur texte.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.146</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: INSERT_CISP () }}<br /></span><span style="font-size:9pt">Lance le gestionnaire des antécédents postionné sur l'onglet </span><span style="font-size:9pt;font-weight:600">Cisp</span><span style="font-size:9pt">. et insère le contenu de la sélection à l'emplacement du curseur texte.<br />Le gestionnaire peut être paramétré de façon à n'afficher que les chapitres et sous chapitres (ou rubriques) de la Cisp.<br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (filtre d'affichage des chapitres Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">-FDABHKLNPRSTUWXYZ</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les chapitres que l'on désire afficher :<br />F pour le chapitre oeil ;</span></p>
-<p><span style="font-size:9pt">D pour le chapitre système digestif ;<br />A pour le chapitre général et non spécifié ;<br />- pour le chapitre procédures ;<br />B pour le chapitre sang système hématopoïétique ou immunologique ;<br />H pour le chapitre oreille ;<br />K pour le chapitre cardio-vasculaire ;<br />L pour le chapitre ostéo-articulaire ;<br />N pour le chapitre neurologique ;<br />P pour le chapitre psychologique ;<br />R pour le chapitre respiratoire ;<br />S pour le chapitre peau ;<br />T pour le chapitre métabolisme nutrition endocrinien ;<br />U pour le chapitre systèmeme urinaire ;<br />W pour le chapitre grossesse, accouchement et planning familial ;<br />X pour le chapitre système génital féminin et sein ;<br />Y pour le chapitre système génital masculin et sein ;<br />Z pour le chapitre social ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (filtre d'affichage des rubriques de la Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">SINTCD</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les rubriques que l'on désire afficher :<br />S pour la rubrique SYMPTÔMES ET PLAINTES ;<br />I pour la rubrique INFECTIONS ;<br />N pour la rubrique NÉOPLASIES ;<br />T pour la rubrique TRAUMATISMES ;<br />C pour la rubrique ANOMALIES CONGÉNITALES ;<br />D pour la rubrique AUTRES DIAGNOSTICS ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(template d'affichage d'une ligne de Cisp) : <br />ce paramètre est facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> code Cisp = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE:: </span><span style="font-style:italic;font-size:9pt;font-weight:600">;</span><span style="font-size:9pt"> )<br />La mention </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt"> sera remplacée par le libellé Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE::</span><span style="font-size:9pt"> par le code Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-size:9pt"> par le chapitre Cisp ce ce code, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">par le commentaire.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le cas d'un code composé CISP-CIMX </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cim10 associé et séléctionné </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cisp correspondant.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(masquage et affichage des comboBox des choix de rubriques et chapitres) : <br />ce paramètre est facultatif et alors il est égal à : </span><span style="font-size:9pt;font-weight:600">CU</span><span style="font-size:9pt"> <br />Si le caractère </span><span style="font-size:9pt;font-weight:600">C</span><span style="font-size:9pt"> est présent alors la comboBox de choix des chapitres est affichée.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt">Si le caractère </span><span style="font-size:9pt;font-weight:600">U</span><span style="font-size:9pt"> est présent alors la comboBox de choix des rubriques est affichée.<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 1</span><span style="font-size:9pt"> : <br /><br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">, no)}}<br /><br />(notez le caractère # permettant de conserver les attributs html du texte) affichera la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-1.png ><span style="font-size:9pt"><br /><br />et après confirmation insèrera à la position du curseur texte les éléments suivants : <br /><br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">autre battement cardiaque irrégulier </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K05 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">douleur cardiaque </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt">= </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K01 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">limitation de la fonction ou incapacité (k) </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-style:italic;font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K28 </span><br /><br /><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 2</span><span style="font-size:9pt"> : <br /></span><br /><span style="font-size:9pt">{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}<br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt"> , </span><span style="font-size:9pt;font-weight:600;color:#00007f">CU</span><span style="font-size:9pt;color:#00aa00">)</span><span style="font-size:9pt">}}<br /><br />afficheront la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-2.png ><br /><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 3</span><span style="font-size:9pt"> : <br />{{::#INSERT_CISP(K,INTCD,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::CISP_CHAPITRE:: ::CISP_LIBELLE:: ::CISP_COMMENT:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}</span><br /><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /></span><img src=CispMacroExemple-3.png ><br /><br /><span style="font-size:9pt">et après confirmation insèrera à la position du curseur texte les éléments suivants :<br /><br /> cardio-vasculaire CIMX : bradycardie SAI CISP : arythmie cardiaque non classé ailleurs </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K80 =I49</span><span style="font-size:9pt"><br /> cardio-vasculaire CIMX : séquelles d'infarctus cérébral CISP : accident vasculaire cérébral </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K90 =I63</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.147</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RESOLVE (valeur, operateur, valeur , operateur, valeur, ........ ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VAR_CALC<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RESULT<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RES<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RS<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VC<br /></span><span style="font-size:9pt">Cette macro que nous attendions tous, permet de faire du calcul entre plusieurs arguments.<br /><br />Exemple : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5 )}}</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Exemple équivalent au précédent : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( {{VAR=Wells_1}}, + ,{{VAR=Wells_2}}, + ,{{VAR=Wells_3}}, + ,{{VAR=Wells_4}}, + ,{{VAR=Wells_5}} )}}<br /></span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (valeur) : première valeur du calcul.<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le contenu de la variable dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(opérateur) : </span><span style="font-family:Fixed;font-size:9pt">opérateur à appliquer entre deux valeurs<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">+</span><span style="font-family:Fixed;font-size:9pt"> addition</span> <br /><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">-</span><span style="font-family:Fixed;font-size:9pt"> soustraction<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">*</span><span style="font-family:Fixed;font-size:9pt"> multiplication<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">/</span><span style="font-family:Fixed;font-size:9pt"> division flottante<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">:</span><span style="font-family:Fixed;font-size:9pt"> division entière<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">%</span><span style="font-family:Fixed;font-size:9pt"> pourcentage<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">?</span><span style="font-family:Fixed;font-size:9pt"> modulo<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">x</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">X</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (valeur) : deuxième valeur du calcul. première valeur du calcul.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">ASTUCE BENIE DES DIEUX</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le </span><span style="font-size:9pt;font-weight:600">contenu de la variable</span><span style="font-size:9pt"> dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">Il n'y a pas de limite au nombre d'arguments séparés par un opérateur.<br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:8pt"> : <br />{{\<br />{{:: SET_VAR(Wells_1, {{:: Extract(*,Cancer dans le score de Wells :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_2, {{:: Extract(*,Paralysie ou immobilisation plâtrée récente :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_3, {{:: Extract(*,Alitement supérieur à trois jours ou chirugie inférieure à 4 semaines :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_4, {{:: Extract(*,Douleur à la palpation du trajet des veines profondes :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_5, {{:: Extract(*,Tuméfaction de la cuisse et ou du mollet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_6, {{:: Extract(*,Tuméfaction du mollet sup à 3 cm de différence entre les deux côtés :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_7, {{:: Extract(*,Oedème prenant le godet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_8, {{:: Extract(*,Veines superficielles dilatées :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_9, {{:: Extract(*,Autres diagnostics alternatifs au moins aussi probables :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(resultat_W1,{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5, + , $Wells_6, + , $Wells_7, + , $Wells_8, + , $Wells_9 )}} )}}\<br />}} </span><span style="font-family:Fixed;font-style:italic;font-size:8pt;font-weight:600">Résultat du score de Wells : {{VAR=resultat_W1}}</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.148</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VALIDER_DOSSIER }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ZAB<br /></span><span style="font-size:9pt">Cette macro met à jour le dossier en cours dans la base de données et recharge toutes les rubriques du dossier.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.149</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: WAIT_CURSOR(RESTORE) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">WC<br /></span><span style="font-size:9pt">Cette macro permet de placer le curseur souris en mode attente ou normal afin de signaler une action longue.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (mode) : RESTORE ou NORMAL pour remettre le curseur en mode normal.<br /></span><span style="font-family:Fixed;font-size:9pt"> WAIT </span><span style="font-size:9pt"> pour mettre le curseur en mode attente.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.150</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.151</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_CLEF_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de clef RPPS.<br /><br /><br /><hr><br /><a name="5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"></a></span><span style="font-weight:600;text-decoration:underline">5 Un système de classement intelligent : LA VIGIE </span>:<br /><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">La vigie est un système très puissant de classeurs</span><span style="font-size:9pt"> : <br />dans lesquels il vous sera possible de classer tous les documents de MedinTux afin d'avoir une vision transversale du dossier patient ou de l'ensemble des dossiers.<br /><br /><a name="5.1_Une_règle_très_simple_pour_beaucoup_de_puissance_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.1 Une règle très simple pour beaucoup de puissance</span><span style="font-size:9pt"> : </span></p>
+<p><span style="font-size:9pt">D pour le chapitre système digestif ;<br />A pour le chapitre général et non spécifié ;<br />- pour le chapitre procédures ;<br />B pour le chapitre sang système hématopoïétique ou immunologique ;<br />H pour le chapitre oreille ;<br />K pour le chapitre cardio-vasculaire ;<br />L pour le chapitre ostéo-articulaire ;<br />N pour le chapitre neurologique ;<br />P pour le chapitre psychologique ;<br />R pour le chapitre respiratoire ;<br />S pour le chapitre peau ;<br />T pour le chapitre métabolisme nutrition endocrinien ;<br />U pour le chapitre systèmeme urinaire ;<br />W pour le chapitre grossesse, accouchement et planning familial ;<br />X pour le chapitre système génital féminin et sein ;<br />Y pour le chapitre système génital masculin et sein ;<br />Z pour le chapitre social ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt"> (filtre d'affichage des rubriques de la Cisp) : ce filtre facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600">SINTCD</span><span style="font-size:9pt"> ) est une suite de caractères pouvant être les suivants selon les rubriques que l'on désire afficher :<br />S pour la rubrique SYMPTÔMES ET PLAINTES ;<br />I pour la rubrique INFECTIONS ;<br />N pour la rubrique NÉOPLASIES ;<br />T pour la rubrique TRAUMATISMES ;<br />C pour la rubrique ANOMALIES CONGÉNITALES ;<br />D pour la rubrique AUTRES DIAGNOSTICS ;<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(template d'affichage d'une ligne de Cisp) : <br />ce paramètre est facultatif (alors par défaut il est égal à </span><span style="font-style:italic;font-size:9pt;font-weight:600"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> code Cisp = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE:: </span><span style="font-style:italic;font-size:9pt;font-weight:600">;</span><span style="font-size:9pt"> )<br />La mention </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt"> sera remplacée par le libellé Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CODE::</span><span style="font-size:9pt"> par le code Cisp, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_CHAPITRE::</span><span style="font-size:9pt"> par le chapitre Cisp ce ce code, </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-style:italic;font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">par le commentaire.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> : Dans le cas d'un code composé CISP-CIMX </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_LIBELLE::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cim10 associé et séléctionné </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#00007f">::CISP_COMMENT::</span><span style="font-size:9pt;font-weight:600"> sera celui du code Cisp correspondant.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> </span><span style="font-size:9pt"> <br /></span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 4</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(masquage et affichage des comboBox des choix de rubriques et chapitres) : <br />ce paramètre est facultatif et alors il est égal à : </span><span style="font-size:9pt;font-weight:600">CU</span><span style="font-size:9pt"> <br />Si le caractère </span><span style="font-size:9pt;font-weight:600">C</span><span style="font-size:9pt"> est présent alors la comboBox de choix des chapitres est affichée.</span><span style="font-family:Fixed;font-size:9pt"><br /></span><span style="font-size:9pt">Si le caractère </span><span style="font-size:9pt;font-weight:600">U</span><span style="font-size:9pt"> est présent alors la comboBox de choix des rubriques est affichée.<br /><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 1</span><span style="font-size:9pt"> : <br /><br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">, no)}}<br /><br />(notez le caractère # permettant de conserver les attributs html du texte) affichera la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-1.png ><span style="font-size:9pt"><br /><br />et après confirmation insèrera à la position du curseur texte les éléments suivants : <br /><br /></span><span style="font-style:italic;font-size:9pt"> </span><span style="font-size:9pt">autre battement cardiaque irrégulier </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K05 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">douleur cardiaque </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> </span><span style="font-style:italic;font-size:9pt">= </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K01 </span><span style="font-style:italic;font-size:9pt"><br /> </span><span style="font-size:9pt">limitation de la fonction ou incapacité (k) </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-style:italic;font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K28 </span><br /><br /><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 2</span><span style="font-size:9pt"> : <br /></span><br /><span style="font-size:9pt">{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}<br />{{::#INSERT_CISP(K,S,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::CISP_LIBELLE:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt"> , </span><span style="font-size:9pt;font-weight:600;color:#00007f">CU</span><span style="font-size:9pt;color:#00aa00">)</span><span style="font-size:9pt">}}<br /><br />afficheront la boîte de dialogue suivante :<br /><br /></span><img src=CispMacroExemple-2.png ><br /><span style="font-size:9pt"><br /></span><span style="font-style:italic;font-size:9pt;text-decoration:underline">Exemple 3</span><span style="font-size:9pt"> : <br />{{::#INSERT_CISP(K,INTCD,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::CISP_CHAPITRE:: ::CISP_LIBELLE:: ::CISP_COMMENT:: </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">::CISP_CODE::</span><span style="font-size:9pt">)}}</span><br /><span style="font-size:9pt"><br />affichera la boîte de dialogue suivante :<br /></span><img src=CispMacroExemple-3.png ><br /><br /><span style="font-size:9pt">et après confirmation insèrera à la position du curseur texte les éléments suivants :<br /><br /> cardio-vasculaire CIMX : bradycardie SAI CISP : arythmie cardiaque non classé ailleurs </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K80 =I49</span><span style="font-size:9pt"><br /> cardio-vasculaire CIMX : séquelles d'infarctus cérébral CISP : accident vasculaire cérébral </span><span style="font-size:9pt;font-weight:600">code Cisp</span><span style="font-size:9pt"> = </span><span style="font-style:italic;font-size:9pt;font-weight:600;color:#aa0000">K90 =I63</span><span style="font-size:9pt"><br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.147</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: RESOLVE (valeur, operateur, valeur , operateur, valeur, ........ ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variantes pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: <br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VAR_CALC<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RESULT<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RES<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">RS<br /></span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">VC<br /></span><span style="font-size:9pt">Cette macro que nous attendions tous, permet de faire du calcul entre plusieurs arguments.<br /><br />Exemple : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5 )}}</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Exemple équivalent au précédent : </span><span style="font-family:Fixed;font-style:italic;font-size:8pt">{{:: Resolve( {{VAR=Wells_1}}, + ,{{VAR=Wells_2}}, + ,{{VAR=Wells_3}}, + ,{{VAR=Wells_4}}, + ,{{VAR=Wells_5}} )}}<br /></span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (valeur) : première valeur du calcul.<br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le contenu de la variable dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 2</span><span style="font-size:9pt;font-weight:600"> </span><span style="font-size:9pt">(opérateur) : </span><span style="font-family:Fixed;font-size:9pt">opérateur à appliquer entre deux valeurs<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">+</span><span style="font-family:Fixed;font-size:9pt"> addition</span> <br /><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">-</span><span style="font-family:Fixed;font-size:9pt"> soustraction<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">*</span><span style="font-family:Fixed;font-size:9pt"> multiplication<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">/</span><span style="font-family:Fixed;font-size:9pt"> division flottante<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">:</span><span style="font-family:Fixed;font-size:9pt"> division entière<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">%</span><span style="font-family:Fixed;font-size:9pt"> pourcentage<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">?</span><span style="font-family:Fixed;font-size:9pt"> modulo<br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">x</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /> </span><span style="font-family:Fixed;font-size:9pt;font-weight:600">X</span><span style="font-family:Fixed;font-size:9pt"> multiplication entière <br /><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 3</span><span style="font-size:9pt"> (valeur) : deuxième valeur du calcul. première valeur du calcul.<br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">ASTUCE BENIE DES DIEUX</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">si le nom de l'argument commence par </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"> alors <br /></span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">il sera pris le </span><span style="font-size:9pt;font-weight:600">contenu de la variable</span><span style="font-size:9pt"> dont le nom succède au </span><span style="font-size:9pt;font-weight:600">$</span><span style="font-size:9pt"><br /></span><img src=gnome-warning.png ><span style="font-size:9pt;font-weight:600;text-decoration:underline">IMPORTANT</span><span style="font-size:9pt;font-weight:600"> :</span><span style="font-family:Fixed;font-size:9pt"> </span><span style="font-size:9pt">Il n'y a pas de limite au nombre d'arguments séparés par un opérateur.<br /><br /></span><span style="font-family:Fixed;font-style:italic;font-size:8pt;text-decoration:underline">Exemple</span><span style="font-family:Fixed;font-style:italic;font-size:8pt"> : <br />{{\<br />{{:: SET_VAR(Wells_1, {{:: Extract(*,Cancer dans le score de Wells :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_2, {{:: Extract(*,Paralysie ou immobilisation plâtrée récente :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_3, {{:: Extract(*,Alitement supérieur à trois jours ou chirugie inférieure à 4 semaines :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_4, {{:: Extract(*,Douleur à la palpation du trajet des veines profondes :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_5, {{:: Extract(*,Tuméfaction de la cuisse et ou du mollet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_6, {{:: Extract(*,Tuméfaction du mollet sup à 3 cm de différence entre les deux côtés :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_7, {{:: Extract(*,Oedème prenant le godet :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_8, {{:: Extract(*,Veines superficielles dilatées :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(Wells_9, {{:: Extract(*,Autres diagnostics alternatifs au moins aussi probables :,EOL,,,N)}} )}}\<br />{{:: SET_VAR(resultat_W1,{{:: Resolve( $Wells_1, + ,$Wells_2, + ,$Wells_3, + ,$Wells_4, + ,$Wells_5, + , $Wells_6, + , $Wells_7, + , $Wells_8, + , $Wells_9 )}} )}}\<br />}} </span><span style="font-family:Fixed;font-style:italic;font-size:8pt;font-weight:600">Résultat du score de Wells : {{VAR=resultat_W1}}</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.148</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{VALIDER_DOSSIER }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: </span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ZAB<br /></span><span style="font-size:9pt">Cette macro met à jour le dossier en cours dans la base de données et recharge toutes les rubriques du dossier.<br /><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.149</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: WAIT_CURSOR (RESTORE) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro </span><span style="font-size:9pt;font-weight:600;color:#aa0000">: </span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">WC<br /></span><span style="font-size:9pt">Cette macro permet de placer le curseur souris en mode attente ou normal afin de signaler une action longue.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (mode) : RESTORE ou NORMAL pour remettre le curseur en mode normal.<br /></span><span style="font-family:Fixed;font-size:9pt"> WAIT </span><span style="font-size:9pt"> pour mettre le curseur en mode attente.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.150</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.151</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{USER_CLEF_RPPS}}<br /></span><span style="font-size:9pt">retourne le numéro de clef RPPS.<br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.152</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_DOC_DATE_DEB ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">SET_DATE_DOC<br /></span><span style="font-size:9pt">Cette macro positionne la date du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à positionner le format doit être </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss</span><span style="font-size:9pt"><br /><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.153</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: SET_DOC_DATE_FIN ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt">Cette macro positionne la date de fin du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à positionner le format doit être </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss<br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.154</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: GET_DOC_DATE_FIN ( dd-MM-yyyy hh:mm:ss ) }}<br /></span><span style="font-size:9pt">Cette macro retourne la date de fin du document.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> (facultatif) le format avec lequel la date doit être retournée exemple : </span><span style="font-size:9pt;font-weight:600">dd-MM-yyyy hh:mm:ss<br /></span><span style="font-size:9pt">Si absent se sera le format </span><span style="font-size:9pt;font-weight:600">ISO</span><span style="font-size:9pt"> qui sera utilisé : </span><span style="font-size:9pt;font-weight:600">yyyy-MM-dd hh:mm:ss<br /></span><span style="font-size:9pt"><br /><hr></span><span style="font-size:9pt;font-weight:600">4.5.3.155</span><span style="font-size:9pt"> |==> </span><span style="font-size:9pt;font-weight:600;color:#aa0000">{{:: IS_DATE_VALID ( </span><span style="font-size:8pt;font-weight:600;color:#aa0000">12-12-1990 08:30:45</span><span style="font-size:9pt;font-weight:600;color:#aa0000"> ) }}<br /></span><span style="font-size:9pt;text-decoration:underline">Variante pour le nom de la macro</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600;color:#aa0000">ISDV<br /></span><span style="font-size:9pt">Cette macro retourne si une date est valide 1 sinon 0.<br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">Paramètre N° 1</span><span style="font-size:9pt"> date à tester.</span><span style="font-size:9pt;font-weight:600;color:#aa0000"><br /></span><span style="font-size:9pt">Le format de la date devra être </span><span style="font-size:9pt;font-weight:600">ISO</span><span style="font-size:9pt"> : </span><span style="font-size:9pt;font-weight:600">yyyy-MM-dd hh:mm:ss<br /></span><span style="font-size:9pt"><br /><br /><hr><br /><a name="5_Un_système_de_classement_intelligent_,_LA_VIGIE_,"></a></span><span style="font-weight:600;text-decoration:underline">5 Un système de classement intelligent : LA VIGIE </span>:<br /><img src=zix-arrow-right.png ><a href="index.html#Retour au menu principal">Retour au menu principal</a><span style="font-size:9pt"><br /><br /><br /></span><span style="font-size:9pt;text-decoration:underline">La vigie est un système très puissant de classeurs</span><span style="font-size:9pt"> : <br />dans lesquels il vous sera possible de classer tous les documents de MedinTux afin d'avoir une vision transversale du dossier patient ou de l'ensemble des dossiers.<br /><br /><a name="5.1_Une_règle_très_simple_pour_beaucoup_de_puissance_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.1 Une règle très simple pour beaucoup de puissance</span><span style="font-size:9pt"> : </span></p>
<ul type="disc"><div><img src=bulletcyan01.png ><span style="font-size:9pt">Tout document MedinTux (Observation, prescription etc..) peut se placer dans la Vigie,<br />comme fils d'un autre document, et comme père d'un autre document (et il est alors classeur).<br /><br /></span><img src=Vigie-FilsEtPere-00.png ><span style="font-size:9pt"><br /><br />ci-dessus nous voyons que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est le fils de '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'<br /></span><span style="font-size:9pt"><br /></span><img src=bulletcyan01.png ><span style="font-size:9pt">Dès qu'un document est père d'un fils, il devient </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt">, car il en contient d'autres.<br />Ci-dessus nous voyons que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est un classeur contenant : </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt">.<br /><br /><img src=bulletcyan01.png >Un fils peut avoir plusieurs pères (et être classé dans deux classeurs différents).<br /><br /><img src=Vigie-DoubleFils.png ><br />Nous voyons dans l'exemple ci-dessus que </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Photo à l'âge de 67 ans</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> est classé et présent dans, <br />le </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt"> : </span><span style="font-style:italic;font-size:9pt">'</span><span style="font-style:italic;font-size:9pt;color:#00007f">Administratif_Social/Fiche Administrative</span><span style="font-style:italic;font-size:9pt">'</span><span style="font-size:9pt"> et <br />le </span><span style="font-size:9pt;font-weight:600">classeur</span><span style="font-size:9pt"> : '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Dermatologie</span><span style="font-size:9pt">' car il est intéressant d'avoir la photo du patient dans la fiche administrative<br />d'ailleurs la voici :</span><img src=Vigie-PhotoDuPatient.png ><span style="font-size:9pt"><br />et du fait de cette curieuse lésion cutanée</span><img src=Vigie-PhotoDuPatient-Inside.png ><span style="font-size:9pt">que présente ce patient sur l'abdomen, il est impératif qu'elle soit aussi dans le classeur : '</span><span style="font-style:italic;font-size:9pt;color:#00007f">Dermatologie</span><span style="font-size:9pt">'<br /><br /><img src=bulletcyan01.png >Enfin ! Un fils ne peut pas être parent de son père (on n'a jamais vu ça).</span></div></ul>
<p><span style="font-size:9pt;font-weight:600"><br /></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2 Vue générale et description</span><span style="font-size:9pt"> : <br /><br /><a name="5.2.1_Placement_et_dispositon_de_la_vigie_,"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2.1 Placement et disposition de la vigie</span><span style="font-size:9pt;text-decoration:underline"> </span><span style="font-size:9pt">:<br />° Il est possible de la faire </span><span style="font-size:9pt;font-weight:600">apparaître et disparaître</span><span style="font-size:9pt"> à tout moment à l'aide de la touche </span><span style="font-size:9pt;font-weight:600">F4</span><span style="font-size:9pt"> ou de l'appui et clic sur le bouton : </span><img src=Vigie-Activer-F4-00.png ><br /><br /><span style="font-size:9pt">° La Vigie est un composant pouvant se placer n'importe où dans l'interface de MedinTux, dans les espaces de stockages latéraux, supérieurs, inférieurs de MedinTux, les mêmes espaces que le Glossaire, la Vue Rapide, les barre d'outils divers, etc.<br /><br />° Il vous est possible de la déplacer où vous le souhaitez, et d'enregistrer la disposition de votre espace de travail ainsi que toute la configuration de la Vigie (filtres etc..) ,dans le profil vous concernant, en cliquant sur l'option de menu </span><span style="font-size:9pt;font-weight:600">Fichier->Enregistrer les profils</span><span style="font-size:9pt">.<br /><br /></span><img src=Vigie-EnregistrerPofils.png >Vaccinations<br /><span style="font-size:9pt"><br />(voir organisation de l'espace de travail) afin de toujours retrouver cette organisation.<br /><br /><a name="5.2.2_La_vigie_se_divise_en_deux_parties"></a></span><span style="font-size:9pt;font-weight:600;text-decoration:underline">5.2.2 La vigie se divise en deux parties</span><span style="font-size:9pt"> : <br />° La partie haute </span><span style="font-size:9pt;font-weight:600">le</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">filtrage</span><span style="font-size:9pt"> (encadrée en rouge) comportant tous les éléments permettant de la piloter, de la paramétrer et la commander.<br />° La partie basse avec </span><span style="font-size:9pt;font-weight:600">la</span><span style="font-size:9pt"> </span><span style="font-size:9pt;font-weight:600">liste hiérarchique des classeurs et documents</span><span style="font-size:9pt"> la composant.</span></p>
<p><img src=Vigie-VueGénérale-02.png ></p>
QString driver, baseToConnect, sqlUserName, sqlPass, hostName, port, qstr;
QString baseCfg;
m_NUM_VERSION = NUM_VERSION;
- m_pQSplashScreen = new C_SplashScreen(Theme::getIcon("splash_Manager.png"));
+#ifdef Q_WS_X11
+ m_pQSplashScreen = new C_SplashScreen(Theme::getIcon("splash_Manager.png"));
+#endif
+#ifdef Q_WS_MAC
+ m_pQSplashScreen = new C_SplashScreen(Theme::getIcon("splash_Manager.png"));
+#endif
+#ifdef Q_WS_WIN
+ m_pQSplashScreen = new C_SplashScreen(Theme::getIcon("splash_Manager.png"));
+#endif
+
if (m_pQSplashScreen)
{ m_pQSplashScreen->show();
m_pQSplashScreen->showMessage(QObject::tr("Initialising connexions ........."),
hostName = "";
port = "3306";
}
- if (m_pQSplashScreen) m_pQSplashScreen->showMessage( QObject::tr("%1::%2;;%3::%4::%5").arg(driver,baseToConnect,sqlUserName,hostName,port),
+ if (m_pQSplashScreen)
+ { m_pQSplashScreen->showMessage( QObject::tr("%1::%2;;%3::%4::%5").arg(driver,baseToConnect,sqlUserName,hostName,port),
Qt::AlignCenter | Qt::AlignCenter, Qt::black); //This line represents the alignment of text, color and position
- processEvents(); //This is used to accept a click on the screen so that user can cancel the screen
+ processEvents(); //This is used to accept a click on the screen so that user can cancel the screen
+ }
//SLEEP(5);
//if (m_IsNomadeActif)
{changeAllModuleConnectionParam(driver, baseToConnect, sqlUserName, sqlPass, hostName, port);
message( "| Manager is a MedinTux software by Data Medical Design |" )
message( "=============================================================" )
include(../../MedinTuxTools-QT4/qtsingleapplication/src/qtsingleapplication.pri)
-mac { LIBS += -L/usr/X11/lib
- }
-unix:!macx: LIBS += -lX11
+unix:LIBS += -lX11
+# win32:OBJECTS_DIR = $${SRC_DIR}/obj/win32
+mac:LIBS += -L/usr/X11/lib
SOURCES += main.cpp \
CApp.cpp \
* of our connected database. A way is to see if table selection is possible. Its not very fast ...
* \return tablesList
*/
- QStringList tablesList();
+ QStringList tablesList();
- QSqlDatabase database();
+ QSqlDatabase database();
//............ utilities .............................
QString isThisValueLikeInTable( const QString &tableName, const QString &fieldToTest, const QString &test_value, const QString fieldToRetrieve = "" , const QString &wand = "" );
QStringList isThisValueLikeInTable_ToList(const QString &tableName, const QString &fieldToTest, const QString &test_value, const QString fieldToRetrieve = "" , const QString &wand = "");
* http://www.cecill.info/ *
* as published by : *
* *
- * Commissariat à l'Energie Atomique *
+ * Commissariat a l'Energie Atomique *
* - CEA, *
- * 31-33 rue de la Fédération, 75752 PARIS cedex 15. *
+ * 31-33 rue de la Federation, 75752 PARIS cedex 15. *
* FRANCE *
* Centre National de la Recherche Scientifique *
* - CNRS, *
--- /dev/null
+ /*********************************************************************************
+ * *
+ * ...............................................................................*
+ * Project : MedinTux (typographie made in france) *
+ * Copyright : (C) 2004-2005-2006-2007-2008-2009-2010 and for the eternity *
+ * by : Sevin Roland from MedinTux project *
+ * E-Mail : roland-sevin@medintux.org *
+ * Web site : www.medintux.org *
+ * ...............................................................................*
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the CeCILL Version 1 du 21/06/2004 *
+ * License (GPL compatible) *
+ * http://www.cecill.info/ *
+ * as published by : *
+ * *
+ * Commissariat a l'Energie Atomique *
+ * - CEA, *
+ * 31-33 rue de la Federation, 75752 PARIS cedex 15. *
+ * FRANCE *
+ * Centre National de la Recherche Scientifique *
+ * - CNRS, *
+ * 3 rue Michel-Ange, 75794 Paris cedex 16. *
+ * FRANCE *
+ * Institut National de Recherche en Informatique et en Automatique *
+ * - INRIA, *
+ * Domaine de Voluceau, Rocquencourt, BP 105, 78153 *
+ * FRANCE *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+ * CeCILL License (GPL compatible) for more details. *
+ * *
+ **********************************************************************************/
+
+#include "C_QTabWidget.h"
+#include "../Theme/ThemePopup.h"
+#include <QMapIterator>
+#include <QMenu>
+
+//--------------------------------- C_QTabWidget -----------------------------------------------------------------------
+C_QTabWidget::C_QTabWidget(QWidget *parent) :
+ QTabWidget(parent)
+{
+ connect( this, SIGNAL(tabCloseRequested (int )) , this, SLOT (Slot_CloseRequested( int )) );
+}
+
+//--------------------------------- activeTabWidgetByObjectName -----------------------------------------------------------------------
+// ici la clef est le titre du tab (on recherche l'objet par son titre dans un menu)
+QWidget * C_QTabWidget::activeTabWidgetByObjectName( const QString & widget_page_object_name)
+{
+ //............ rechercher le widget de la page ....................
+ // dans la liste des removed
+ QWidget *pTab_QWidgetToRetrieve = 0;
+ QMapIterator<QString, QWidget *> it (m_removedObject) ;
+ while ( it.hasNext() )
+ { it.next();
+ QWidget *pTab_QWidget = it.value();
+ if ( pTab_QWidget->objectName() == widget_page_object_name )
+ { pTab_QWidgetToRetrieve = pTab_QWidget;
+ break;
+ }
+ } // while (it.hasNext())
+ if ( pTab_QWidgetToRetrieve==0 ) return 0;
+ //............. si trouve l'ajouter au QTabWidget ...........
+ QString key = it.key(); // la clef est le titre de l'objet dans la QTabWidget et non son objectName()
+ addTab( pTab_QWidgetToRetrieve, key );
+ //............. l'enlever de la liste des removed ...........
+ m_removedObject.remove( key );
+ return pTab_QWidgetToRetrieve;
+}
+//------------------------------------ setCurrentItem --------------------------------------------------
+QWidget * C_QTabWidget::setCurrentItem ( const QString &pageName )
+{ QWidget *pQWidget = tabWidgetByTabObjectName(pageName);
+ if (pQWidget==0) return 0;
+ setCurrentWidget ( pQWidget );
+ return pQWidget;
+}
+
+//------------------------------------ removedList --------------------------------------------------
+QStringList C_QTabWidget::removedList()
+{ QStringList list;
+ QMapIterator<QString, QWidget*> it(m_removedObject);
+ while (it.hasNext())
+ { it.next();
+ list << it.key();
+ }
+ return list;
+}
+
+//--------------------------------- doPageChoiceMenu -----------------------------------------------------------------------
+void C_QTabWidget::doPageChoiceMenu( QWidget * parent )
+{ int nbToFind = 0;
+ //........ parser la QMap des removed pour creer le menu ................
+ // des rubriques a activer
+ QMenu *pQMenu = new QMenu(parent); if (pQMenu==0) return;
+
+ QMapIterator<QString, QWidget*> it (m_removedObject);
+ while (it.hasNext())
+ { it.next();
+ ThemePopup::addOptionMenu(pQMenu, tr(" %1 - Activer : %2").arg(it.key(), it.key()));
+ ++nbToFind;
+ }
+
+ //........ actionner le menu ................
+ if (nbToFind)
+ { QAction *QAction = pQMenu->exec(this->cursor().pos());
+ if (QAction)
+ { QString key = QAction->data().toString();
+ QWidget *pTab_QWidget = m_removedObject[key];
+ if (pTab_QWidget)
+ { addTab(pTab_QWidget, key);
+ m_removedObject.remove(key);
+ setCurrentWidget(pTab_QWidget);
+ }
+ }
+ }
+ delete pQMenu;
+}
+
+//--------------------------------- Slot_tabWidget_Main_CloseRequested -----------------------------------------------------------------------
+void C_QTabWidget::Slot_CloseRequested( int index)
+{ if ( count () <= 1) return; // laisser au moins un onglet
+ if (index < 0) return;
+ QWidget *pTab_QWidget = widget(index);
+ if (pTab_QWidget==0) return;
+ m_removedObject.insert( tabText ( index ), pTab_QWidget );
+ removeTab (index );
+}
+//------------------------------------ tabWidgetByTabText --------------------------------------------------
+QWidget * C_QTabWidget::tabWidgetByTabText( const QString &text, int *index /* = 0 */)
+{int nb = count();
+ for (int i=0; i<nb; ++i)
+ {if (tabText(i)==text)
+ {if (index) *index = i;
+ return widget(i);
+ }
+ }
+ if (index) *index = -1;
+ return 0;
+}
+
+//------------------------------------ tabWidgetByTabObjectName --------------------------------------------------
+QWidget * C_QTabWidget::tabWidgetByTabObjectName(const QString &name, int *index /* = 0 */)
+{int nb = count();
+ for (int i=0; i<nb; ++i)
+ {QWidget *pTab_QWidget = widget(i);
+ if (pTab_QWidget->objectName()==name)
+ { if (index) *index = i;
+ return pTab_QWidget;
+ }
+ }
+ return 0;
+}
+
+//------------------------------------ tabWidgetIndexByTabObjectName --------------------------------------------------
+int C_QTabWidget::tabWidgetIndexByTabObjectName(const QString &name)
+{int nb = count();
+ for (int i=0; i<nb; ++i)
+ {QWidget *pTab_QWidget = widget(i);
+ if (pTab_QWidget->objectName()==name) return i;
+ }
+ return -1;
+}
--- /dev/null
+ /*********************************************************************************
+ * *
+ * ...............................................................................*
+ * Project : MedinTux (typographie made in france) *
+ * Copyright : (C) 2004-2005-2006-2007-2008-2009-2010 and for the eternity *
+ * by : Sevin Roland from MedinTux project *
+ * E-Mail : roland-sevin@medintux.org *
+ * Web site : www.medintux.org *
+ * ...............................................................................*
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the CeCILL Version 1 du 21/06/2004 *
+ * License (GPL compatible) *
+ * http://www.cecill.info/ *
+ * as published by : *
+ * *
+ * Commissariat a l'Energie Atomique *
+ * - CEA, *
+ * 31-33 rue de la Federation, 75752 PARIS cedex 15. *
+ * FRANCE *
+ * Centre National de la Recherche Scientifique *
+ * - CNRS, *
+ * 3 rue Michel-Ange, 75794 Paris cedex 16. *
+ * FRANCE *
+ * Institut National de Recherche en Informatique et en Automatique *
+ * - INRIA, *
+ * Domaine de Voluceau, Rocquencourt, BP 105, 78153 *
+ * FRANCE *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+ * CeCILL License (GPL compatible) for more details. *
+ * *
+ **********************************************************************************/
+
+#ifndef C_QTABWIDGET_H
+#define C_QTABWIDGET_H
+
+#include <QTabWidget>
+#include <QMap>
+
+class C_QTabWidget : public QTabWidget
+{
+ Q_OBJECT
+public:
+ explicit C_QTabWidget(QWidget *parent = 0);
+ QWidget * activeTabWidgetByObjectName( const QString & widget_page_object_name);
+ QWidget * tabWidgetByTabObjectName( const QString &name, int *index = 0);
+ int tabWidgetIndexByTabObjectName( const QString &name);
+ QWidget * tabWidgetByTabText(const QString &text, int *index = 0);
+ void doPageChoiceMenu( QWidget * parent );
+ QWidget * setCurrentItem ( const QString &pageName );
+ QStringList removedList();
+signals:
+
+public slots:
+ void Slot_CloseRequested( int index);
+private:
+ QMap <QString, QWidget *> m_removedObject;
+
+};
+
+#endif // C_QTABWIDGET_H
--- /dev/null
+/********************************* C_QToolBox.cpp ********************************
+* *
+* ...............................................................................*
+* Project : MedinTux (typographie made in france) *
+* Copyright : (C) 2004-2005-2006-2007-2008-2009-2010 and for the eternity *
+* by : Sevin Roland from MedinTux project *
+* E-Mail : roland-sevin@medintux.org *
+* Web site : www.medintux.org *
+* ...............................................................................*
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the CeCILL Version 1 du 21/06/2004 *
+* License (GPL compatible) *
+* http://www.cecill.info/ *
+* as published by : *
+* *
+* Commissariat a l'Energie Atomique *
+* - CEA, *
+* 31-33 rue de la Federation, 75752 PARIS cedex 15. *
+* FRANCE *
+* Centre National de la Recherche Scientifique *
+* - CNRS, *
+* 3 rue Michel-Ange, 75794 Paris cedex 16. *
+* FRANCE *
+* Institut National de Recherche en Informatique et en Automatique *
+* - INRIA, *
+* Domaine de Voluceau, Rocquencourt, BP 105, 78153 *
+* FRANCE *
+* *
+* This program is distributed in the hope that it will be useful, *
+* but WITHOUT ANY WARRANTY; without even the implied warranty of *
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+* CeCILL License (GPL compatible) for more details. *
+* *
+**********************************************************************************/
+#include "C_QToolBox.h"
+#include <QMapIterator>
+//--------------------------------- C_QToolBox -----------------------------------------------------------------------
+C_QToolBox::C_QToolBox(QWidget *parent) :
+ QToolBox(parent)
+{
+}
+
+//--------------------------------- removeItem -----------------------------------------------------------------------
+void C_QToolBox::removeItem ( int index )
+{ removeItem (widget ( index ), index );
+}
+
+//--------------------------------- removeItem -----------------------------------------------------------------------
+QWidget * C_QToolBox::removeItem (QWidget *pTab_QWidgetToRemove, int index )
+{ if (pTab_QWidgetToRemove==0 ) return 0;
+ pTab_QWidgetToRemove->hide();
+ //........ recuperer le titre ..............................
+ QString title = itemText ( index );
+ //............ inserer dans la liste des absents ...........
+ // (pouvoir le retrouver par la suite)
+ m_removedObject.insert(pTab_QWidgetToRemove, title);
+ //............ le vierer de la pQToolBox ...................
+ QToolBox::removeItem ( index );
+ return pTab_QWidgetToRemove;
+}
+
+//--------------------------------- unactiveItemByObjectName -----------------------------------------------------------------------
+QWidget * C_QToolBox::unactiveItemByObjectName(const QString & widget_page_object_name)
+{//.......... rechercher l'objet et on index dans la QToolBox par son nom d'objet ...................
+ int index = -1;
+ QWidget *pTab_QWidgetToRemove = toolWidgetByTabObjectName(widget_page_object_name, &index);
+ return removeItem (pTab_QWidgetToRemove, index );
+}
+
+//--------------------------------- activeItemByObjectName -----------------------------------------------------------------------
+// LA CLEF est l'objet lui meme : on mape l'objet avec son titre
+// ici la clef est l'objet (on recherche le titre du tab de la toolBox par l'objet)
+QWidget * C_QToolBox::activeItemByObjectName(const QString & widget_page_object_name)
+{
+ //............ rechercher le widget de la page ....................
+ // dans la liste des removed
+ QWidget *pTab_QWidgetToRetrieve = 0;
+ QMapIterator< QWidget *, QString> it (m_removedObject) ;
+ while ( it.hasNext() )
+ { it.next();
+ QWidget *pTab_QWidget = it.key();
+ if ( pTab_QWidget->objectName() == widget_page_object_name )
+ { pTab_QWidgetToRetrieve = pTab_QWidget;
+ break;
+ }
+ } // while (it.hasNext())
+ if ( pTab_QWidgetToRetrieve==0 ) return 0;
+ //............. si trouve l'ajouter au QToolBox ...........
+ QString title = it.value(); // la clef est l'objet (on recherche le titre du tab de la toolBox par l'objet)
+ addItem ( pTab_QWidgetToRetrieve, title );
+ //............. et l'enlever de la liste des removed ...........
+ m_removedObject.remove( pTab_QWidgetToRetrieve );
+ pTab_QWidgetToRetrieve->show();
+ return pTab_QWidgetToRetrieve;
+}
+//------------------------------------ setCurrentItem --------------------------------------------------
+QWidget * C_QToolBox::setCurrentItem ( const QString &pageName )
+{ QWidget *pQWidget = toolWidgetByTabObjectName(pageName);
+ if (pQWidget==0) return 0;
+ setCurrentWidget ( pQWidget );
+ return pQWidget;
+}
+
+//------------------------------------ setItemIcon --------------------------------------------------
+void C_QToolBox::setItemIcon(const QString pageName, const QPixmap &pixmap)
+{ int index = -1;
+ toolWidgetByTabObjectName(pageName, &index );
+ if (index==-1) return;
+ QToolBox::setItemIcon (index, pixmap);
+}
+//------------------------------------ setItemIcon --------------------------------------------------
+void C_QToolBox::setItemIcon(int index, const QPixmap &pixmap)
+{ if ( index == -1) return;
+ QToolBox::setItemIcon (index, pixmap);
+}
+//------------------------------------ toolWidgetByTabObjectName --------------------------------------------------
+QWidget * C_QToolBox::toolWidgetByTabObjectName(const QString &name, int *index /* = 0 */)
+{int nb = count();
+ for (int i=0; i<nb; ++i)
+ {QWidget *pTab_QWidget = widget(i);
+ if (pTab_QWidget->objectName()==name)
+ { if (index) *index = i;
+ return pTab_QWidget;
+ }
+ }
+ return 0;
+}
+//------------------------------------ toolWidgetIndexByTabObjectName --------------------------------------------------
+int C_QToolBox::toolWidgetIndexByTabObjectName(const QString &name)
+{int nb = count();
+ for (int i=0; i<nb; ++i)
+ {QWidget *pTab_QWidget = widget(i);
+ if (pTab_QWidget->objectName()==name) return i;
+ }
+ return -1;
+}
+//------------------------------------ removedList --------------------------------------------------
+QStringList C_QToolBox::removedList()
+{ QStringList list;
+ QMapIterator<QWidget*,QString> it(m_removedObject);
+ while (it.hasNext())
+ { it.next();
+ list << it.value();
+ }
+ return list;
+}
+
--- /dev/null
+/********************************* C_QToolBox.h **********************************
+* *
+* ...............................................................................*
+* Project : MedinTux (typographie made in france) *
+* Copyright : (C) 2004-2005-2006-2007-2008-2009-2010 and for the eternity *
+* by : Sevin Roland from MedinTux project *
+* E-Mail : roland-sevin@medintux.org *
+* Web site : www.medintux.org *
+* ...............................................................................*
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the CeCILL Version 1 du 21/06/2004 *
+* License (GPL compatible) *
+* http://www.cecill.info/ *
+* as published by : *
+* *
+* Commissariat a l'Energie Atomique *
+* - CEA, *
+* 31-33 rue de la Federation, 75752 PARIS cedex 15. *
+* FRANCE *
+* Centre National de la Recherche Scientifique *
+* - CNRS, *
+* 3 rue Michel-Ange, 75794 Paris cedex 16. *
+* FRANCE *
+* Institut National de Recherche en Informatique et en Automatique *
+* - INRIA, *
+* Domaine de Voluceau, Rocquencourt, BP 105, 78153 *
+* FRANCE *
+* *
+* This program is distributed in the hope that it will be useful, *
+* but WITHOUT ANY WARRANTY; without even the implied warranty of *
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+* CeCILL License (GPL compatible) for more details. *
+* *
+**********************************************************************************/
+#ifndef C_QTOOLBOX_H
+#define C_QTOOLBOX_H
+
+#include <QToolBox>
+#include <QMap>
+
+class C_QToolBox : public QToolBox
+{
+ Q_OBJECT
+public:
+ explicit C_QToolBox(QWidget *parent = 0);
+ void removeItem ( int index );
+ QWidget * removeItem (QWidget *pTab_QWidgetToRemove, int index );
+ QWidget * unactiveItemByObjectName(const QString & widget_page_object_name);
+ QWidget * activeItemByObjectName (const QString & widget_page_object_name);
+ QWidget * toolWidgetByTabObjectName(const QString &name, int *index = 0 );
+ void setItemIcon(const QString pageName, const QPixmap &pixmap);
+ void setItemIcon(int index, const QPixmap &pixmap);
+ QWidget * setCurrentItem ( const QString &pageName );
+ int toolWidgetIndexByTabObjectName(const QString &name);
+ QStringList removedList();
+signals:
+
+public slots:
+
+private:
+ QMap<QWidget *, QString> m_removedObject;
+};
+
+#endif // C_QTOOLBOX_H
**********************************************************************************/
#include <QCursor>
#include <QMenu>
+#include <QDebug>
#include "ThemePopup.h"
//--------------------------------- ThemePopup -----------------------------------------------------
}
}
//--------------------------------- ThemePopup -----------------------------------------------------
+// une option de sous menu <ceci est une option>
+// un indentifiant specifique =1=
+// une icone #nom de l'icone#
ThemePopup::ThemePopup(QStringList &list, QWidget * parent/*=0*/ , const QString & style /*=""*/, const QString& sep /*= "|"*/, int toMask /*= 0*/ )
: QMenu(parent)
-{if (style.length()) setStyleSheet(style);
+{QStringList subList;
+ //......... relever les listes de sous menus .......................................
+ QMap<QString, QStringList> subPopupMap;
+ for ( QStringList::Iterator it =list.begin(); it != list.end(); ++it )
+ {QString option = *(it);
+ QString nameSub = "";
+ if (option.startsWith('<'))
+ {int i = option.indexOf('>');
+ if (i==-1) continue;
+ nameSub = option.mid(1,i-1);
+ option = option.mid(i+1);
+ subList = subPopupMap[nameSub];
+ subList.append(option);
+ subPopupMap[nameSub]=subList;
+ }
+ }
+ if (style.length()) setStyleSheet(style);
if (Theme::getPath()!="")
{ QFont f = QMenu::font();
int size = Theme::getFontSize_Popups();
// gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true
for ( QStringList::Iterator it =list.begin(); it != list.end(); ++it )
- { QString toInsert = *(it);
- QAction *pQAction = 0;
- QString identifiant = "";
- if (sep.length()) // si chaque item de la liste est composee de plusieurs termes separes par un separateur
+ { QString nameSub = "";
+ QString toInsert = *(it);
+ QAction *pQAction = 0;
+ QString identifiant = getIconIdentifiantOption(toInsert);
+ QIcon icon = getIconFromOption(toInsert);
+
+ if (toInsert.startsWith('<')) continue; // c'est une sous option donc ne pas inclure ici
+ //.... c'est une entree de sous menu la creer ............
+ if (toInsert.startsWith('>'))
+ {int i = toInsert.indexOf('<');
+ if (i==-1) continue;
+ nameSub = toInsert.mid(1,i-1);
+ toInsert = toInsert.mid(i+1);
+ subList = subPopupMap[nameSub];
+ if (subList.size()<=0) continue;
+
+ ThemePopup *subPopup = new ThemePopup(subList, this );
+ pQAction = addMenu ( subPopup );
+ subPopup->setTitle(toInsert);
+ pQAction->setText(toInsert);
+ pQAction->setIcon(icon);
+ if ( identifiant.length() ) pQAction->setData ( identifiant );
+ continue;
+ }
+
+ if (sep.length()) // si chaque item de la liste est compose de plusieurs termes separes par un separateur
{if (toMask > 0) // si l'on doit masquer les champs situes apres toMask
{int i = 0;
int pos = 0;
};
if (pos != -1) toInsert = toInsert.left(pos);
}
- identifiant = *(it);
toInsert = toInsert.replace(sep," "); // on ne va pas afficher les separateurs dans le menu
}
- if (toInsert[0]=='=')
- {int pc = toInsert.indexOf('=',1);
- if (pc != -1)
- {identifiant = toInsert.mid(1,pc-1);
- toInsert = toInsert.mid(pc+1);
- }
- }
- if (toInsert[0]=='$') setTitle(toInsert.mid(1));
- else if (toInsert.left(4) == "----")
- {pQAction = addSeparator();
- }
- else if (toInsert[0]=='#')
- {int pc = toInsert.indexOf('#',1);
- if (pc != -1)
- {pQAction = addAction(Theme::getIconSet(toInsert.mid(1,pc-1)), toInsert.mid(pc+1));
- }
- else pQAction = addAction( toInsert );
- }
- else {pQAction = addAction( toInsert );
+ if (toInsert[0]=='$') setTitle(toInsert.mid(1));
+ else if (toInsert.left(4) == "----") pQAction = addSeparator();
+ else
+ { pQAction = addAction( icon, toInsert );
+ if ( identifiant.length() )
+ { pQAction->setData ( identifiant );
}
- if (pQAction && identifiant.length()) pQAction->setData ( identifiant );
+ }
}
}
-
+//--------------------------------- getIconFromOption -----------------------------------------------------
+QIcon ThemePopup::getIconFromOption(QString & optionText)
+{ QIcon retIcon;
+ QString iconName = "";
+ int deb = optionText.indexOf('#');
+ if (deb == -1) return retIcon;
+ int end = optionText.indexOf('#',deb+1);
+ if (end == -1) return retIcon;
+ iconName = optionText.mid(deb+1, end-deb-1);
+ retIcon = Theme::getIconSet(iconName);
+ optionText = optionText.remove(deb,end+1-deb);
+ return retIcon;
+}
+//--------------------------------- getIconIdentifiantOption -----------------------------------------------------
+QString ThemePopup::getIconIdentifiantOption(QString & optionText)
+{ QString identifiant = "";
+ int deb = optionText.indexOf('=');
+ if (deb == -1) return identifiant;
+ int end = optionText.indexOf('=',deb+1);
+ if (end == -1) return identifiant;
+ identifiant = optionText.mid(deb+1, end-deb-1);
+ optionText = optionText.remove(deb,end+1-deb);
+ return identifiant;
+}
//--------------------------------- DoPopupList -----------------------------------------------------
QString ThemePopup::DoPopupList(const QString & style/*=""*/)
{
* Project : MedinTux (typographie made in france) *
* Copyright : (C) 2004-2005-2006-2007-2008-2009-2010 and for the eternity *
* by : Sevin Roland from MedinTux project *
- * from Eric MAEKER <eric.maeker.fr> original code *
* E-Mail : roland-sevin@medintux.org *
* Web site : www.medintux.org *
* ...............................................................................*
* http://www.cecill.info/ *
* as published by : *
* *
- * Commissariat à l'Energie Atomique *
+ * Commissariat a l'Energie Atomique *
* - CEA, *
- * 31-33 rue de la Fédération, 75752 PARIS cedex 15. *
+ * 31-33 rue de la Federation, 75752 PARIS cedex 15. *
* FRANCE *
* Centre National de la Recherche Scientifique *
* - CNRS, *
/** \class ThemePopup
* \brief Reimplementation du constructeur de QPopupMenu pour permettre la mise en place du theme de popup.
- * Cette sera utile lors du passe e Qt4 car si toutes les applis utilisent ThemePopup a la place de QPopupMenu , une seule classe sera a reecrire.
+ * Cette sera utile lors du passe e Qt4 car si toutes les applis utilisent ThemePopup a la place de QPopupMenu , une seule classe sera a reecrire.
@author Eric MAEKER <eric.maeker@free.fr>
@author Roland Sevin <roland-sevin@medintux.org>
ThemePopup(QStringList &list, QWidget * parent = 0, const QString & style="", const QString& sep = "|", int toMask = 0);
static void addOptionMenu(QMenu* pQMenu, const QString &optionsTitle);
QString DoPopupList(const QString & style="");
+ static QIcon getIconFromOption(QString & optionText);
+ static QString getIconIdentifiantOption(QString & optionText);
};
#endif
return 1;
}
-
-//-------------------------------- customProductsTableName [static] ------------------------------------------------------
-/*! \brief create custom drugs list table name from userName and listName
- * \param QString userName the user name for this custom list.
- * \param QString listName the name for this custom list.
- * \param QString prefix to name this table.
- * \return QString wich is table name
- */
-QString C_BDM_Api::customProductsTableName(const QString &userName, const QString &listName, const QString &prefix /* = "perso_drugslist" */)
-{return prefix+"_"+listName+"_"+userName;
-}
-
-//-------------------------------- createCustomProductsList ------------------------------------------------------
-/*! \brief create custom drugs list
- * \param QString userName the user name for this custom list.
- * \param QString listName the name for this custom list.
- * \return 1/all is ok 0/list not created
- */
-int C_BDM_Api::createCustomProductsList(const QString &userName, const QString &listName)
-{
- if ( createTable("CREATE TABLE `" + customProductsTableName(userName,listName) + "` ("
- "`"+m_BDM_DRUGLIST_PK +"` BIGINT NOT NULL AUTO_INCREMENT,"
- "`"+m_BDM_DRUGLIST_OWNER +"` VARCHAR(40) ,"
- "`"+m_BDM_DRUGLIST_LANG +"` VARCHAR(4) ,"
- "`"+m_BDM_DRUGLIST_ID +"` VARCHAR(40) ,"
- "`"+m_BDM_DRUGLIST_TYPE_ID +"` VARCHAR(8) ,"
- "`"+m_BDM_DRUGLIST_ATC +"` VARCHAR(7) ,"
- "`"+m_BDM_DRUGLIST_LIBELLE +"` VARCHAR(128),"
- "`"+m_BDM_DRUGLIST_DCI_1 +"` VARCHAR(128),"
- "`"+m_BDM_DRUGLIST_DCI_2 +"` VARCHAR(128),"
- "`"+m_BDM_DRUGLIST_DCI_3 +"` VARCHAR(128),"
- "`"+m_BDM_DRUGLIST_UCD +"` VARCHAR(7) ,"
- "`"+m_BDM_DRUGLIST_UCD_PRICE +"` CHAR(15) ,"
- "`"+m_BDM_DRUGLIST_GENERIQUE +"` VARCHAR(1) ,"
- "`"+m_BDM_DRUGLIST_STATUT +"` VARCHAR(100) ,"
- "`"+m_BDM_DRUGLIST_SPEC_FK +"` BIGINT ,"
- "PRIMARY KEY (`"+m_BDM_DRUGLIST_PK+"`)"
- ")"
- )==0) return 0;
- return 1;
-}
//-------------------------------- createCustomMonographieTable ------------------------------------------------------
/*! \brief create custom monographie table
* \return 1/all is ok 0/list not created
{ outSQL_error( queryInsert, "ERREUR : C_BDM_Api::add_Monographie_to_CustomMonographie() queryInsert", prepare, __FILE__, __LINE__);
return 0;
}
- }
+ }
return 1;
}
//-------------------------------- update_CustomMonographie --------------------------------------------
return true;
}
+//-------------------------------- customProductsTableName [static] ------------------------------------------------------
+/*! \brief create custom drugs list table name from userName and listName
+ * \param QString userName the user name for this custom list.
+ * \param QString listName the name for this custom list.
+ * \param QString prefix to name this table.
+ * \return QString wich is table name
+ */
+// le PB : le nommage des tables sous W ne respecte pas forcement les Maj/Min
+// lorsque l'on cree une table MachinTrucBIDULE il sera cree machintrucbidule.
+// Lors du listage des tables ce sera machintrucbidule qui sera retourne
+// donc pour contourner ce delice incertain que nous offre W TOUT SERA EN MINUSCULE
+QString C_BDM_Api::customProductsTableName(const QString &userName, const QString &listName, const QString &prefix /* = "perso_drugslist" */)
+{return (prefix+"_"+listName+"_"+userName).toLower();
+}
+
+//-------------------------------- createCustomProductsList ------------------------------------------------------
+/*! \brief create custom drugs list
+ * \param QString userName the user name for this custom list.
+ * \param QString listName the name for this custom list.
+ * \return 1/all is ok 0/list not created
+ */
+// le PB : le nommage des tables sous W ne respecte pas forcement les Maj/Min
+// lorsque l'on cree une table MachinTrucBIDULE il sera cree machintrucbidule.
+// Lors du listage des tables ce sera machintrucbidule qui sera retourne
+// donc pour contourner ce delice incertain que nous offre W TOUT SERA EN MINUSCULE
+int C_BDM_Api::createCustomProductsList(const QString &userName, const QString &listName)
+{
+ if ( createTable("CREATE TABLE `" + customProductsTableName(userName,listName) + "` ("
+ "`"+m_BDM_DRUGLIST_PK +"` BIGINT NOT NULL AUTO_INCREMENT,"
+ "`"+m_BDM_DRUGLIST_OWNER +"` VARCHAR(40) ,"
+ "`"+m_BDM_DRUGLIST_LANG +"` VARCHAR(4) ,"
+ "`"+m_BDM_DRUGLIST_ID +"` VARCHAR(40) ,"
+ "`"+m_BDM_DRUGLIST_TYPE_ID +"` VARCHAR(8) ,"
+ "`"+m_BDM_DRUGLIST_ATC +"` VARCHAR(7) ,"
+ "`"+m_BDM_DRUGLIST_LIBELLE +"` VARCHAR(128),"
+ "`"+m_BDM_DRUGLIST_DCI_1 +"` VARCHAR(128),"
+ "`"+m_BDM_DRUGLIST_DCI_2 +"` VARCHAR(128),"
+ "`"+m_BDM_DRUGLIST_DCI_3 +"` VARCHAR(128),"
+ "`"+m_BDM_DRUGLIST_UCD +"` VARCHAR(7) ,"
+ "`"+m_BDM_DRUGLIST_UCD_PRICE +"` CHAR(15) ,"
+ "`"+m_BDM_DRUGLIST_GENERIQUE +"` VARCHAR(1) ,"
+ "`"+m_BDM_DRUGLIST_STATUT +"` VARCHAR(100) ,"
+ "`"+m_BDM_DRUGLIST_SPEC_FK +"` BIGINT ,"
+ "PRIMARY KEY (`"+m_BDM_DRUGLIST_PK+"`)"
+ ")"
+ )==0) return 0;
+ return 1;
+}
+
//-------------------------------- deleteCustomProductsList ------------------------------------------------------
/*! \brief delete custom drugs list
* \param QString userName the user name of this custom list.
* \param QString listName the name of this custom list.
* \return 1/all is ok 0/list not deleted
*/
-int C_BDM_Api::deleteCustomProductsList(const QString &_userName, const QString &listName)
+// le PB : le nommage des tables sous W ne respecte pas forcement les Maj/Min
+// lorsque l'on cree une table MachinTrucBIDULE il sera cree machintrucbidule.
+// Lors du listage des tables ce sera machintrucbidule qui sera retourne
+// donc pour contourner ce delice incertain que nous offre W TOUT SERA EN MINUSCULE
+int C_BDM_Api::deleteCustomProductsList(const QString &userName, const QString &listName)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
return dropTable( customProductsTableName(userName,listName) );
}
* \param QString userName the user name
* \return QStringList of custom drugs list for this user
*/
+// le PB : le nommage des tables sous W ne respecte pas forcement les Maj/Min
+// lorsque l'on cree une table MachinTrucBIDULE il sera cree machintrucbidule.
+// Lors du listage des tables ce sera machintrucbidule qui sera retourne
+// donc pour contourner ce delice incertain que nous offre W TOUT SERA EN MINUSCULE
QStringList C_BDM_Api::getListCustomProductsList(const QString &_userName)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
+ QString userName = _userName.toLower();
+ QString tableName = "";
QStringList tableList = database().tables(QSql::Tables );
QStringList retList;
for (int i=0; i<tableList.size();++i)
- {
- #ifdef Q_WS_WIN
- QString tableName = tableList[i].toLower();
- #else
- QString tableName = tableList[i];
- #endif
- if (tableName.startsWith("perso_drugslist_") && tableName.endsWith(userName))
- { QString nameToDisplay = CGestIni::CutStrLeft(tableName.mid(16), "_"+userName);
+ {tableName = tableList[i];
+ if ( tableName.startsWith("perso_drugslist_") && tableName.endsWith(userName) )
+ { int posToCut = tableName.indexOf("_"+userName);
+ QString nameToDisplay = tableList[i].left(posToCut);
+ nameToDisplay = nameToDisplay.mid(16,1).toUpper()+ nameToDisplay.mid(17); // pour faire plus jouli on met la premiere lettre en Maj
if (retList.indexOf(nameToDisplay) == -1 && isThisTableExist(tableName)) retList.append(nameToDisplay);
}
}
*/
int C_BDM_Api::add_Product_to_CustomProductsList(const QString &_userName, const QString &listName, const QList < C_BDM_DrugListRecord > &drugsList)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
if (drugsList.size()==0)
{ outMessage( QObject::tr("ERREUR : C_BDM_Api::add_Product_to_CustomProductsList() empty drugs list"), __FILE__, __LINE__); return 0;
}
{ outMessage( QObject::tr("ERREUR : C_BDM_Api::add_Product_to_CustomProductsList() database can not be opened"), __FILE__, __LINE__); return 0;
}
//......................... on renseigne la liste ...................................
- QString prepare = (" INSERT INTO "+customProductsTableName(userName,listName) +"( "
+ QString prepare = (" INSERT INTO "+customProductsTableName(_userName,listName) +"( "
"`"+m_BDM_DRUGLIST_OWNER +"`," // 0
"`"+m_BDM_DRUGLIST_LANG +"`," // 1
"`"+m_BDM_DRUGLIST_ID +"`," // 2
* \param const C_BDM_DrugListRecord &drugListRecord product to remove
* \return true/all is ok false/product not deleted
*/
-bool C_BDM_Api::del_Product_from_CustomProductsList(const QString &_userName, const QString &listName, const C_BDM_DrugListRecord &drugListRecord)
+bool C_BDM_Api::del_Product_from_CustomProductsList(const QString &userName, const QString &listName, const C_BDM_DrugListRecord &drugListRecord)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
QSqlQuery query( database() );
QString requete = " DELETE FROM " + customProductsTableName(userName,listName) +
" WHERE " + m_BDM_DRUGLIST_ID + "='" + drugListRecord.id() + "' "+
*/
QString C_BDM_Api::makeSelectCustomProductsListQuery(const QString &_userName, const QString &listName, const QString &text, C_BDM_PluginI::flags filterFlag)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
+
QString requete = " SELECT "
"`"+m_BDM_DRUGLIST_OWNER +"`," // 0
"`"+m_BDM_DRUGLIST_LANG +"`," // 1
"`"+m_BDM_DRUGLIST_GENERIQUE +"`," // 11
"`"+m_BDM_DRUGLIST_STATUT +"`," // 12
"`"+m_BDM_DRUGLIST_SPEC_FK +"` " // 13
- " FROM " + customProductsTableName(userName,listName) ;
+ " FROM " + customProductsTableName(_userName,listName) ;
if (filterFlag&C_BDM_PluginI::cip_list)
{requete += QString(" WHERE %1 IN (%2) ").arg(m_BDM_DRUGLIST_ID, text); // liste de cip de la forme 'cip1','cip2','cip3'
const QList < C_BDM_DrugListRecord > C_BDM_Api::selectCustomProductsList(const QString &_userName, const QString &listName,
const QString &text, C_BDM_PluginI::flags filterFlag /* = = C_BDM_PluginI::all_filter */ )
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
QList < C_BDM_DrugListRecord > productsList;
if (!database().isOpen() && database().open()== FALSE)
{ outMessage( QObject::tr("ERREUR : C_BDM_Api::selectCustomProductsList() database can not be opened"), __FILE__, __LINE__); return productsList;
}
- QString requete = makeSelectCustomProductsListQuery(userName, listName, text, filterFlag);
+ QString requete = makeSelectCustomProductsListQuery( _userName, listName, text, filterFlag );
QSqlQuery query (requete , database() );
outSQL_error( query, "ERREUR : C_BDM_Api::selectCustomProductsList()", requete, __FILE__, __LINE__);
- if (query.isActive() )
+
+ if ( query.isActive() )
{while (query.next())
{QString prix = "00000000" + query.value(10).toString(); prix = prix.right(6); prix.insert(4,',');
productsList.append( C_BDM_DrugListRecord(query.value(2).toString(),
class QSqlQuery;
class C_PatientCtx;
-
+typedef struct { int m_ge;
+ int m_cip;
+ int m_id_1;
+ int m_id_2;
+ QString m_level;
+ QString m_product;
+ QString m_drugName;
+ QString m_document;
+ int m_cip2;
+ } INTER_STRUCT;
//=================== C_CompositionItem ===================================
/*! \class C_CompositionItem
}
//-------------------------------- setProgressWidget ------------------------------------------------------
void C_BDM_DatasempPlugin::setProgressWidget ( QProgressBar *pQProgressBar )
-{setProgressWidget(pQProgressBar);
+{//setProgressWidget(pQProgressBar);
+ C_BaseCommon::setProgressWidget(pQProgressBar);
}
//-------------------------------- dataSourceVersion ------------------------------------------------------
#include "../../MedinTuxTools-QT4/CGestIni.h"
#include "../../MedinTuxTools-QT4/medicabase/C_InterResultPair.h"
-typedef struct { int m_ge;
- int m_cip;
- int m_id_1;
- int m_id_2;
- QString m_level;
- QString m_product;
- QString m_drugName;
- QString m_document;
- int m_cip2;
- } INTER_STRUCT;
+
class QDomElement;
//===================================== C_BDM_DatasempPlugin ==============================
--- /dev/null
+
+#include "C_BDM_GenericPlugin.h"
+#include <QDir>
+#include <QSqlDatabase>
+
+//-------------------------------- C_BDM_GenericPlugin ------------------------------------------------------
+
+C_BDM_GenericPlugin::C_BDM_GenericPlugin(const QString &confDatas, const QString &prefixLabel, QObject *parent /* =0 */, QTextEdit *logWidget /* =0 */, QProgressBar *pQProgressBar /*=0*/ )
+: C_BaseCommon(parent) , C_BDM_PluginI()
+{ m_dataSourceVersion = "No database drugs"; // TODO en attendant le numero provenant de la BD datasemp
+ m_pluginName = "C_BDM_GenericPlugin"; // TODO change this name
+
+ if (logWidget) { C_Log::setLogWidget(logWidget);
+ }
+ if (pQProgressBar) { C_BaseCommon::setProgressWidget(pQProgressBar);
+ }
+ if ( init (confDatas, prefixLabel) == 0 )
+ { outMessage( C_BaseCommon::getLastError() );
+ }
+}
+
+//-------------------------------- ~C_BDM_GenericPlugin ------------------------------------------------------
+C_BDM_GenericPlugin::~C_BDM_GenericPlugin()
+{if (m_pathAppli.length()) m_pathAppli = "";
+}
+
+//-------------------------------- init ------------------------------------------------------
+int C_BDM_GenericPlugin::init ( const QString &confData , const QString &prefixLabel)
+{ QString errMess = "";
+ m_pathAppli = CGestIni::Param_ReadUniqueParam(confData.toAscii(),"BDM_Configuration", "PathAppli");
+ m_pathIni = CGestIni::Param_ReadUniqueParam(confData.toAscii(),"BDM_Configuration", "PathIni");
+ setInitialisedSate(0);
+ if (m_pathAppli.length()==0)
+ {setLastError (tr("%1::init() BDM_Configuration/PathAppli is empty").arg(plugin_name()));
+ return 0;
+ }
+ if (!QFile::exists ( m_pathAppli ))
+ {setLastError (tr("%1::init() BDM_Configuration/PathAppli don't exists").arg(plugin_name()));
+ return 0;
+ }
+ if (m_pathIni.length()==0)
+ {setLastError (tr("%1::init() BDM_Configuration/PathIni is empty").arg(plugin_name()));
+ return 0;
+ }
+ if (QDir::isRelativePath ( m_pathIni )) m_pathIni = m_pathIni.prepend(m_pathAppli);
+ m_pathIni = QDir::cleanPath ( m_pathIni );
+ if (!QFile::exists ( m_pathIni ))
+ {setLastError (tr("%1::init() BDM_Configuration/PathIni don't exists").arg(plugin_name()));
+ return 0;
+ }
+ m_datasIni = CGestIni::Param_UpdateFromDisk(m_pathIni);
+ if (m_datasIni.length()==0)
+ {setLastError (tr("%1::init() m_datasIni is empty").arg(plugin_name()));
+ return 0;
+ }
+ //............ ICI se fait la connexion a la base Commerciale du plugin............................................................
+ // ce qui lui permettra par la suite d'acceder aux requetes SQL qui lui sont propres
+ // pour cela dans le m_datasIni devrait se retrouver les informations suivantes :
+ //
+ // [Connexion_Datasemp]
+ // ^^^^^^^^
+ // |_______ nom du plugin tel que delivre par plugin_name()
+ //
+ // Parametres = QMYSQL3 , DatasempTest , root , , localhost , 3306
+ // ^
+ // |_____________ nom de la base de donnee de la base commerciale
+ //
+ // TimeToReconnect = 3600000
+ // ^
+ // |_____________ temps en microsecondes avant de lancer une requete sql de reconnexion
+ //
+ // PathImageSource = ../../drtux/bin/Ressources/ImgVidalDgl
+ // ^
+ // |_____________ chemin des images pour afficher la monographie
+
+ QString driver; // nom du driver: "QODBC3" "QMYSQL3" "QPSQL7"
+ QString dataBaseToConnect; // nom de la base: si QODBC3 -> nom de la source de donnees (userDSN)
+ QString user; // = "root"
+ QString password; // = ""
+ QString hostname; // = "localhost"
+ QString port; // = "3306"
+ QString section = "Connexion_"+plugin_name();
+ QString timeToReconnect = "";
+
+ if (CGestIni::Param_ReadParam( m_datasIni.toAscii(), section.toAscii(), "Parametres", &driver, &dataBaseToConnect, &user, &password, &hostname, &port) !=0 ) // zero = pas d'erreur
+ { setLastError (tr("%1::init() error in dbi_init_database()\n"
+ "CGestIni::Param_ReadParam() may be : key 'Parametres' omitted in section '%2'").arg(plugin_name(),"Connexion_"+plugin_name()));
+ return 0;
+ }
+ if (CGestIni::Param_ReadParam( m_datasIni.toAscii(), section.toAscii(), "TimeToReconnect", &timeToReconnect) !=0 ) // zero = pas d'erreur
+ { timeToReconnect = DB_TIME_TO_RECONNECT;
+ }
+ if ( ! BaseConnect( prefixLabel + plugin_name() , driver, dataBaseToConnect, user, password, hostname, port.toInt(), timeToReconnect.toInt(), &errMess ) )
+ { setLastError (tr("%1::init() error in BDM connexion BaseConnect()\n%2").arg(plugin_name(), errMess));
+ return 0;
+ }
+ if (dbi_init_database("dbi_"+plugin_name(), prefixLabel, "GB", this)==0)
+ { setLastError (tr("%1::init() error in dbi_init_database()\n").arg(plugin_name()));
+ return 0;
+ }
+ setInitialisedSate(1);
+ return 1;
+}
+
+//-------------------------------- setLogWidget ------------------------------------------------------
+void C_BDM_GenericPlugin::setLogWidget ( QTextEdit *logWidget )
+{C_Log::setLogWidget(logWidget);
+}
+//-------------------------------- setProgressWidget ------------------------------------------------------
+void C_BDM_GenericPlugin::setProgressWidget ( QProgressBar *pQProgressBar )
+{C_BaseCommon::setProgressWidget(pQProgressBar);
+}
+
+//-------------------------------- progressWidget ------------------------------------------------------
+QProgressBar* C_BDM_GenericPlugin::progressWidget()
+{ return C_BaseCommon::progressWidget();
+}
+//-------------------------------- dataSourceVersion ------------------------------------------------------
+QString C_BDM_GenericPlugin::dataSourceVersion()
+{ return m_dataSourceVersion;
+}
+
+//-------------------------------- lang ------------------------------------------------------
+QString C_BDM_GenericPlugin::lang()
+{ return "fr";
+}
+//-------------------------------- owner ------------------------------------------------------
+QString C_BDM_GenericPlugin::owner()
+{ return "OWN";
+}
+//-------------------------------- getLastError ------------------------------------------------------
+QString C_BDM_GenericPlugin::getLastError()
+{return C_BaseCommon::getLastError();
+}
+//-------------------------------- is_plugin_HAS_certified ------------------------------------------------------
+/*! \brief return if plugin is HAS certified
+ * \return return HAS certified status
+ */
+bool C_BDM_GenericPlugin::is_plugin_HAS_certified()
+{ return false;
+}
+//-------------------------------- plugin_name ------------------------------------------------------
+/*! \brief return active plugin name
+ * \return return active plugin name
+ */
+QString C_BDM_GenericPlugin::plugin_name()
+{ return m_pluginName ;
+}
+
+//---------------------------------------- get_database -------------------------------------------------------
+/*! \brief return active database. This facility is to do extended SQL querys which are not in API
+ * \return database
+ */
+QSqlDatabase C_BDM_GenericPlugin::get_database()
+{ return database();
+}
+
+//-------------------------------- plugin_image_source ------------------------------------------------------
+/*! \brief return image source url for monographies
+ * \return return image source url for monographies
+ */
+QString C_BDM_GenericPlugin::plugin_image_source()
+{ QString pathFile = CGestIni::Param_ReadUniqueParam(m_datasIni.toAscii(),QString("Connexion_"+plugin_name()).toAscii(), "PathImageSource");
+ if ( QDir::isRelativePath ( pathFile ) ) pathFile = QDir::cleanPath ( pathFile.prepend(m_pathAppli) );
+ if (!pathFile.endsWith("/")) pathFile += "/";
+ return pathFile;
+}
+//-------------------------------- getCompositionFromCIP ------------------------------------------------------
+/*! \brief return drug composition.
+ * \param const QString& cip drug cip identification .
+ * \return QList<C_InterResultPair> result list where
+ * C_CompositionItem.name() is the composant name (DCI)
+ * C_CompositionItem.amount() is the quantity
+ * C_CompositionItem.unit() is the quantity unit
+ * C_CompositionItem.unit_plural() is the accorded quantity unit if more than one
+ */
+QList<C_CompositionItem> C_BDM_GenericPlugin::getCompositionFromCIP(const QString &cip)
+{ Q_UNUSED(cip);
+ QList <C_CompositionItem> result;
+ return result;
+}
+//-------------------------------- get_DCI_list_FromCIP ------------------------------------------------------
+/*! \brief return drug composition.
+ * \param const QString& cip drug cip identification .
+ * \return QStringList result list with dci composants
+ */
+QStringList C_BDM_GenericPlugin::get_DCI_list_FromCIP(const QString &cip)
+{ Q_UNUSED(cip);
+ QStringList retList;
+ return retList;
+}
+
+//--------------------------- get_CIS_RCP_From_CIP -----------------------------------------------------------
+/*! \brief return ANSM (ex afssaps) CIS ans RCP code from CIP code, to use in html request with ANSM (ex afssaps) web site.
+ * \param const QString cip is drug cip code.
+ * \param QString *rcp is pointer on QString to return RCP result if not zero .
+ * \return CIS code string
+ */
+QString C_BDM_GenericPlugin::get_CIS_and_RCP_From_CIP(const QString &cip, QString *rcp /* =0 */)
+{ Q_UNUSED(cip);
+ Q_UNUSED(rcp);
+ return "";
+}
+
+//-------------------------------- isStupefiant ------------------------------------------------------
+/*! \brief return if the product identified par Id is a stupefiant
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return 1 is stupefiant
+ */
+int C_BDM_GenericPlugin::isStupefiant ( const QString &cip )
+{ Q_UNUSED(cip);
+ return 0;
+}
+
+//-------------------------------- code_ATC_To_Name ------------------------------------------------------
+/*! \brief return if ATC libelle from code ATC
+ * \param const QString &code code ATC .
+ * \return QString return libelle
+ */
+QString C_BDM_GenericPlugin::code_ATC_To_Name(const QString &code)
+{ Q_UNUSED(code);
+ return "";
+}
+
+//-------------------------------- getDrugRouteFromCIP ------------------------------------------------------
+/*! \brief return the drug route from cip.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with the drug route
+ */
+QString C_BDM_GenericPlugin::getDrugRouteFromCIP ( const QString &cip)
+{ Q_UNUSED(cip);
+ return "";
+}
+
+//-------------------------------- getPosologiesFromCIP ------------------------------------------------------
+/*! \brief return posologies list as posologie grammar QString
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param C_PatientCtx *pC_PatientCtx physiopathological patient state for best selection
+ * \return QStringList with grammar QString list
+ */
+QStringList C_BDM_GenericPlugin::getPosologiesFromCIP ( C_PatientCtx *pC_PatientCtx, const QString &cip )
+{ Q_UNUSED(cip);
+ Q_UNUSED(pC_PatientCtx);
+ return QStringList();
+}
+
+//-------------------------------- getInteractionCim10 ------------------------------------------------------
+/*! \brief return physiopath interactions from patient and drug.
+ * \param const QString& cip drug cip identification .
+ * \param const QStringList &cim10List cim10 pathologies list .
+ * \param QString drugName (default empty) the drug name.
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+QList<C_InterResultPair> C_BDM_GenericPlugin::getInteractionCim10(const QString &cip, const QStringList &cim10List , QString drugName /* = "" */ )
+{
+ Q_UNUSED(cip);
+ Q_UNUSED(cim10List);
+ Q_UNUSED(drugName);
+ QList<C_InterResultPair> interResultPair;
+ return interResultPair;
+}
+
+//-------------------------------- getInteractionRedundancy ------------------------------------------------------
+/*! \brief return redundancy composition in a cip list of drugs.
+ * \param cipList QStringList &cipList drugs cip list .
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+QList<C_InterResultPair> C_BDM_GenericPlugin::getInteractionRedundancy( const QStringList &cipList)
+{
+ Q_UNUSED(cipList);
+ QList<C_InterResultPair> interResultPair;
+ return interResultPair;
+}
+
+//-------------------------------- getInteractionDoseMinMax_fromCIP ------------------------------------------------------
+/*! \brief test compatibility with maximum and minimun authorized dose and duration from a drug and patient context.
+ * \param C_PatientCtx *pC_PatientCtx
+ * \param const QString &grammar prescription for this drug
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+QList<C_InterResultPair> C_BDM_GenericPlugin::getInteractionDoseMinMax_fromCIP( C_PatientCtx *pC_PatientCtx, const QString &grammar)
+{
+ Q_UNUSED(pC_PatientCtx);
+ Q_UNUSED(grammar);
+ QList<C_InterResultPair> interResultPair;
+ return interResultPair;
+}
+//-------------------------------- getInteractionPairFromCipList ------------------------------------------------------
+/*! \brief return interactions xml results from a cip list.
+ * \param const QStringList &cipList drugs CIP codes list to test.
+ * \param QString drugName (default empty) the drug name.
+ * \return result interaction pair list
+ */
+QList<C_InterResultPair> C_BDM_GenericPlugin::getInteractionPairFromCipList ( const QStringList &cipList)
+{
+ Q_UNUSED(cipList);
+ QList<C_InterResultPair> interResultPair;
+ return interResultPair;
+}
+
+//-------------------------------- getInteractionAgeSexePoidsSportVigil ------------------------------------------------------
+/*! \brief return physiopath interactions from patient and drug.
+ * \param const QString& cip drug cip identification .
+ * \param const QString &age patient age .
+ * \param const QString &sexe patient sexe F-M-I.
+ * \param const QString &poids patient poids .
+ * \param const QString &taille patient size .
+ * \param const QString &amenorrhÈe number in weeks
+ * \param const QString &clairance in ml/min
+ * \param int allaitement in number of days
+ * \param bool sport if true particular attention for doping drugs is required .
+ * \param bool vigil if true particular attention for drugs which vigilance alteration is required .
+ * \param QString drugName (default empty) the drug name.
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+QList<C_InterResultPair> C_BDM_GenericPlugin::getInteractionAgeSexePoidsSportVigil( const QString &cip,
+ const QString &age ,
+ const QString &sexe,
+ const QString &poids,
+ const QString &taille,
+ const QString &amenorrhee,
+ const QString &clairance,
+ int allaitement,
+ bool sport /* = true */ ,
+ bool vigil /* = true */ ,
+ QString drugName /* = "" */ )
+{
+ Q_UNUSED(cip);
+ Q_UNUSED(age);
+ Q_UNUSED(sexe);
+ Q_UNUSED(poids);
+ Q_UNUSED(taille);
+ Q_UNUSED(amenorrhee);
+ Q_UNUSED(clairance);
+ Q_UNUSED(allaitement);
+ Q_UNUSED(sport);
+ Q_UNUSED(vigil);
+ Q_UNUSED(drugName);
+ QList<C_InterResultPair> interResultPair;
+ return interResultPair;
+}
+
+//....................... classification ATC .....................................
+int C_BDM_GenericPlugin::nextATC_Code(QString &codeAtc, QString &libelle)
+{ Q_UNUSED(codeAtc);
+ Q_UNUSED(libelle);
+ return 0;
+}
+
+//.................. liste des medicaments ................
+long C_BDM_GenericPlugin::drugsList_Count()
+{ return 0;
+}
+
+int C_BDM_GenericPlugin::getDrugList_Start()
+{ return 0;
+}
+
+//------------------------------ getIndicationsFromCIP ------------------------------------------
+int C_BDM_GenericPlugin::getDrugList_NextRecord(C_BDM_DrugListRecord &rC_BDM_DrugListRecord)
+{ Q_UNUSED(rC_BDM_DrugListRecord);
+ return 0;
+}
+
+//------------------------------ getIndicationsFromCIP ------------------------------------------
+/*! \brief select indications informations for a drug.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param const QString &filter filter wanted datas a combination | of this flags
+ * C_BDM_PluginI::ASMR we want indications with ASMR level (if exists)
+ * C_BDM_PluginI::SMR we want indications with SMR level (if exists)
+ * C_BDM_PluginI::CIM we want coded CIMX indications
+ * C_BDM_PluginI::BDM we want specifics database coded indications
+ * C_BDM_PluginI::ALL_TYPE we want all coded indications
+ * \return QList <C_BDM_IndicationRecord> indications result list
+ */
+QList <C_BDM_IndicationRecord> C_BDM_GenericPlugin::getIndicationsFromCIP( const QString &cip, int filter )
+{
+ Q_UNUSED(cip);
+ Q_UNUSED(filter);
+ QList <C_BDM_IndicationRecord> indicationRecord;
+ return indicationRecord;
+}
+
+//------------------------------ getCIPFromIndication ------------------------------------------
+/*! \brief select indications informations for a drug.
+ * \param const QString &code indication code of the drugs from wich wee want datas.
+ * \param const QString &codeType type of the indication code. (TH_I CIM CISP DS_A DS_S DS_I)
+ * \return QStringList cip result list
+ */
+QStringList C_BDM_GenericPlugin::getCIPFromIndication( const QString &code, const QString &codeType )
+{
+ Q_UNUSED(code);
+ Q_UNUSED(codeType);
+ return QStringList();
+}
+
+//------------------------------ getMonographieFromCIP ------------------------------------------
+/*! \brief select monographie for a drug.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param bool dataMustBeReadInCache if TRUE datas are read in internal cache else there are computed and after placed in cache.
+ * \return QString contains monographie
+ */
+QString C_BDM_GenericPlugin::getMonographieFromCIP ( const QString &cip , bool dataMustBeReadInCache /* = TRUE */ )
+{
+ Q_UNUSED(cip);
+ Q_UNUSED(dataMustBeReadInCache);
+ return "";
+}
+
+//-------------------------------- getPriseUnitFormFromCIP ------------------------------------------------------
+/*! \brief return the prise unit form from cip. (comprimes, suppositoires sachets,ampoules,doses kg, cuilleres √ caf√© etc...)
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with unit form
+ */
+QString C_BDM_GenericPlugin::getPriseUnitFormFromCIP ( const QString &cip , const QString &commercialName /* = 0 */)
+{
+ Q_UNUSED(cip);
+ Q_UNUSED(commercialName);
+ return "";
+
+}
+
+//-------------------------------- getFormeFromCIP ------------------------------------------------------
+/*! \brief return drug presentation form from cip. (comprimes, suppositoires sachets,ampoules, suspension buvable etc...)
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with presentation form
+ */
+QString C_BDM_GenericPlugin::getFormeFromCIP ( const QString &cip)
+{
+ Q_UNUSED(cip);
+ return "";
+}
+
+//-------------------------------- plugin_icon ------------------------------------------------------
+/*! \brief return active plugin_icon
+ * \return return active plugin_icon
+ */
+QPixmap C_BDM_GenericPlugin::plugin_icon()
+{/* XPM */
+
+ static char * dossier_rouge_xpm[] = {
+ "20 20 197 2",
+ " c None",
+ ". c #9E5C5C",
+ "+ c #C59494",
+ "@ c #9B5D5D",
+ "# c #B37070",
+ "$ c #C17E7E",
+ "% c #D09191",
+ "& c #D89595",
+ "* c #D99696",
+ "= c #DA9C9C",
+ "- c #DC9C9C",
+ "; c #E19F9F",
+ "> c #E69797",
+ ", c #8E3F3F",
+ "' c #E89C9C",
+ ") c #E39393",
+ "! c #E39292",
+ "~ c #E19191",
+ "{ c #E09090",
+ "] c #E29090",
+ "^ c #DB8B8B",
+ "/ c #D29595",
+ "( c #DC9696",
+ "_ c #DB9292",
+ ": c #DA8787",
+ "< c #E28787",
+ "[ c #934444",
+ "} c #E38989",
+ "| c #DB8181",
+ "1 c #DB8282",
+ "2 c #DC8484",
+ "3 c #C87878",
+ "4 c #A26262",
+ "5 c #D18F8F",
+ "6 c #DD9191",
+ "7 c #DA8383",
+ "8 c #E07C7C",
+ "9 c #8F3B3B",
+ "0 c #E28181",
+ "a c #DB7979",
+ "b c #DB7A7A",
+ "c c #DD7B7B",
+ "d c #925151",
+ "e c #7F4747",
+ "f c #DD9292",
+ "g c #DB9393",
+ "h c #DB7C7C",
+ "i c #DE7070",
+ "j c #8D3333",
+ "k c #E37878",
+ "l c #DB7171",
+ "m c #DC7373",
+ "n c #944C4C",
+ "o c #834646",
+ "p c #DA7272",
+ "q c #DE6666",
+ "r c #8B2E2E",
+ "s c #E36F6F",
+ "t c #DB6868",
+ "u c #DB6969",
+ "v c #DC6A6A",
+ "w c #944646",
+ "x c #834141",
+ "y c #D28E8E",
+ "z c #DB8E8E",
+ "A c #DA6868",
+ "B c #DE5B5B",
+ "C c #E26666",
+ "D c #DB5F5F",
+ "E c #DB6060",
+ "F c #DC6161",
+ "G c #934040",
+ "H c #843C3C",
+ "I c #DD9393",
+ "J c #DB8787",
+ "K c #DA5E5E",
+ "L c #DE5050",
+ "M c #E15C5C",
+ "N c #DB5656",
+ "O c #DB5757",
+ "P c #DC5757",
+ "Q c #933A3A",
+ "R c #843838",
+ "S c #DB7E7E",
+ "T c #DB5353",
+ "U c #DD4545",
+ "V c #E15454",
+ "W c #DB4E4E",
+ "X c #DB4F4F",
+ "Y c #DC4F4F",
+ "Z c #933434",
+ "` c #843434",
+ " . c #DB7575",
+ ".. c #DA4A4A",
+ "+. c #DE3B3B",
+ "@. c #E14B4B",
+ "#. c #DB4545",
+ "$. c #DB4646",
+ "%. c #DC4646",
+ "&. c #932E2E",
+ "*. c #842F2F",
+ "=. c #D38E8E",
+ "-. c #DD8D8D",
+ ";. c #DB6A6A",
+ ">. c #DB4040",
+ ",. c #DD3131",
+ "'. c #E54141",
+ "). c #DB3C3C",
+ "!. c #DB3D3D",
+ "~. c #DC3D3D",
+ "{. c #932828",
+ "]. c #842929",
+ "^. c #D59393",
+ "/. c #DD8787",
+ "(. c #DB3636",
+ "_. c #DC2626",
+ ":. c #B73D3D",
+ "<. c #E03232",
+ "[. c #DB3333",
+ "}. c #DB3434",
+ "|. c #912222",
+ "1. c #801B1B",
+ "2. c #AB6262",
+ "3. c #DF8686",
+ "4. c #DB5555",
+ "5. c #DB2D2D",
+ "6. c #DC1D1D",
+ "7. c #EC8484",
+ "8. c #DC2D2D",
+ "9. c #DB2A2A",
+ "0. c #DB2B2B",
+ "a. c #DD2C2C",
+ "b. c #9E2020",
+ "c. c #801515",
+ "d. c #8F3535",
+ "e. c #DD7F7F",
+ "f. c #DB4A4A",
+ "g. c #DB2222",
+ "h. c #DC1515",
+ "i. c #2A1313",
+ "j. c #EAACAC",
+ "k. c #DD2626",
+ "l. c #DB2121",
+ "m. c #DB2323",
+ "n. c #DE2424",
+ "o. c #CC2121",
+ "p. c #821010",
+ "q. c #913434",
+ "r. c #DE7676",
+ "s. c #DB1818",
+ "t. c #DB0F0F",
+ "u. c #291313",
+ "v. c #E9A3A3",
+ "w. c #DD1D1D",
+ "x. c #DB1919",
+ "y. c #DB1A1A",
+ "z. c #DD1A1A",
+ "A. c #D01919",
+ "B. c #840C0C",
+ "C. c #902F2F",
+ "D. c #DD6D6D",
+ "E. c #DB0707",
+ "F. c #ED9292",
+ "G. c #281313",
+ "H. c #EBA19F",
+ "I. c #DD1414",
+ "J. c #DB1010",
+ "K. c #DB1111",
+ "L. c #DD1111",
+ "M. c #D10C0C",
+ "N. c #880202",
+ "O. c #952A2A",
+ "P. c #DD6565",
+ "Q. c #D90202",
+ "R. c #DF2626",
+ "S. c #2B1413",
+ "T. c #DD9BAA",
+ "U. c #DC0808",
+ "V. c #DA0000",
+ "W. c #D90000",
+ "X. c #DB0202",
+ "Y. c #DB2020",
+ "Z. c #7E2020",
+ "`. c #733535",
+ " + c #DE5C5C",
+ ".+ c #D91111",
+ "++ c #E03131",
+ "@+ c #1B0F0F",
+ "#+ c #B45C65",
+ "$+ c #DF0808",
+ "%+ c #E12A2A",
+ "&+ c #E65454",
+ "*+ c #EC7A7A",
+ "=+ c #2C1C1C",
+ "-+ c #E24848",
+ ";+ c #E24646",
+ ">+ c #E68989",
+ " . + ",
+ " @ # $ % & * = - ; > ",
+ " , ' ) ! ~ { ] ^ / ( _ : < ",
+ " [ } | 1 1 2 3 4 5 6 _ 7 8 ",
+ " 9 0 a a b c d e 5 f g h i ",
+ " j k l l l m n o 5 f _ p q ",
+ " r s t t u v w x y f z A B ",
+ " C D D E F G H y I J K L ",
+ " M N N O P Q R y I S T U ",
+ " V W W X Y Z ` y 6 ...+. ",
+ " @.#.#.$.%.&.*.=.-.;.>.,. ",
+ " '.).).!.~.{.].^./.D (._. ",
+ " :.<.[.}.}.}.|.1.2.3.4.5.6. ",
+ " 7.8.9.0.0.a.b.c.d.e.f.g.h. ",
+ " i.j.k.l.g.m.n.o.p.q.r.>.s.t. ",
+ " u.v.w.s.x.y.z.A.B.C.D.(.t.E.F. ",
+ " G.H.I.J.K.K.L.M.N.O.P.0.Q.R. ",
+ " S.T.U.V.W.W.X.Y.Z.`. +.+++ ",
+ " @+#+$+%+&+*+ =+-+;+ ",
+ " >+ "};
+
+ return QPixmap(dossier_rouge_xpm);
+}
+
--- /dev/null
+#ifndef C_BDM_BaseModelePlugin_H
+#define C_BDM_BaseModelePlugin_H
+
+#include "../C_BaseCommon.h"
+#include "../../MedinTuxTools-QT4/medicabase/C_BDM_Api.h"
+#include "../../MedinTuxTools-QT4/CGestIni.h"
+#include "../../MedinTuxTools-QT4/medicabase/C_InterResultPair.h"
+#include <QObject>
+
+class C_BDM_GenericPlugin : public C_BaseCommon , public C_BDM_PluginI
+{
+ Q_OBJECT
+
+public:
+ explicit C_BDM_GenericPlugin(const QString &confData, const QString &prefixLabel, QObject *parent = 0, QTextEdit *logWidget=0, QProgressBar *pQProgressBar=0);
+ ~C_BDM_GenericPlugin();
+ //------------------ INTERFACE VIRTUELLE -----------------
+ int init ( const QString &confData , const QString &prefixLabel);
+ void setLogWidget ( QTextEdit *logWidget );
+ void setProgressWidget ( QProgressBar *pQProgressBar );
+ QProgressBar* progressWidget();
+ QString dataSourceVersion();
+ QString lang();
+ QString owner();
+ QString getLastError();
+
+ //-------------------------------- is_plugin_HAS_certified ------------------------------------------------------
+ /*! \brief return if plugin is HAS certified
+ * \return return HAS certified status
+ */
+ bool is_plugin_HAS_certified();
+ //-------------------------------- plugin_name ------------------------------------------------------
+ /*! \brief return active plugin name
+ * \return return active plugin name
+ */
+ QString plugin_name();
+ //-------------------------------- plugin_icon ------------------------------------------------------
+ /*! \brief return active plugin_icon
+ * \return return active plugin_icon
+ */
+ QPixmap plugin_icon();
+ //---------------------------------------- get_database -------------------------------------------------------
+ /*! \brief return active database. This facility is to do extended SQL querys which are not in API
+ * \return database
+ */
+ QSqlDatabase get_database();
+ //-------------------------------- plugin_image_source ------------------------------------------------------
+ /*! \brief return image source url for monographies
+ * \return return image source url for monographies
+ */
+ QString plugin_image_source();
+ //-------------------------------- getCompositionFromCIP ------------------------------------------------------
+ /*! \brief return drug composition.
+ * \param const QString& cip drug cip identification .
+ * \return QList<C_InterResultPair> result list where
+ * C_CompositionItem.name() is the composant name (DCI)
+ * C_CompositionItem.amount() is the quantity
+ * C_CompositionItem.unit() is the quantity unit
+ * C_CompositionItem.unit_plural() is the accorded quantity unit if more than one
+ */
+ QList<C_CompositionItem> getCompositionFromCIP(const QString &cip);
+ //-------------------------------- get_DCI_list_FromCIP ------------------------------------------------------
+ /*! \brief return drug composition.
+ * \param const QString& cip drug cip identification .
+ * \return QStringList result list with dci composants
+ */
+ QStringList get_DCI_list_FromCIP(const QString &cip);
+ //--------------------------- get_CIS_RCP_From_CIP -----------------------------------------------------------
+ /*! \brief return ANSM (ex afssaps) CIS ans RCP code from CIP code, to use in html request with ANSM (ex afssaps) web site.
+ * \param const QString cip is drug cip code.
+ * \param QString *rcp is pointer on QString to return RCP result if not zero .
+ * \return CIS code string
+ */
+ QString get_CIS_and_RCP_From_CIP(const QString &cip, QString *rcp =0 );
+ //-------------------------------- isStupefiant ------------------------------------------------------
+ /*! \brief return if the product identified par Id is a stupefiant
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return 1 is stupefiant
+ */
+ int isStupefiant ( const QString &cip );
+ //-------------------------------- code_ATC_To_Name ------------------------------------------------------
+ /*! \brief return if ATC libelle from code ATC
+ * \param const QString &code code ATC .
+ * \return QString return libelle
+ */
+ QString code_ATC_To_Name(const QString &code);
+ //-------------------------------- getDrugRouteFromCIP ------------------------------------------------------
+ /*! \brief return the drug route from cip.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with the drug route
+ */
+ QString getDrugRouteFromCIP ( const QString &cip);
+ //-------------------------------- getPosologiesFromCIP ------------------------------------------------------
+ /*! \brief return posologies list as posologie grammar QString
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param C_PatientCtx *pC_PatientCtx physiopathological patient state for best selection
+ * \return QStringList with grammar QString list
+ */
+ QStringList getPosologiesFromCIP ( C_PatientCtx *pC_PatientCtx, const QString &cip );
+ //-------------------------------- getInteractionCim10 ------------------------------------------------------
+ /*! \brief return physiopath interactions from patient and drug.
+ * \param const QString& cip drug cip identification .
+ * \param const QStringList &cim10List cim10 pathologies list .
+ * \param QString drugName (default empty) the drug name.
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+ QList<C_InterResultPair> getInteractionCim10(const QString &cip, const QStringList &cim10List , QString drugName = "" );
+ //-------------------------------- getInteractionRedundancy ------------------------------------------------------
+ /*! \brief return redundancy composition in a cip list of drugs.
+ * \param cipList QStringList &cipList drugs cip list .
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+ QList<C_InterResultPair> getInteractionRedundancy( const QStringList &cipList);
+ //-------------------------------- getInteractionDoseMinMax_fromCIP ------------------------------------------------------
+ /*! \brief test compatibility with maximum and minimun authorized dose and duration from a drug and patient context.
+ * \param C_PatientCtx *pC_PatientCtx
+ * \param const QString &grammar prescription for this drug
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+ QList<C_InterResultPair> getInteractionDoseMinMax_fromCIP( C_PatientCtx *pC_PatientCtx, const QString &grammar);
+
+ //-------------------------------- getInteractionPairFromCipList ------------------------------------------------------
+ /*! \brief return interactions xml results from a cip list.
+ * \param const QStringList &cipList drugs CIP codes list to test.
+ * \param QString drugName (default empty) the drug name.
+ * \return result interaction pair list
+ */
+ QList<C_InterResultPair> getInteractionPairFromCipList ( const QStringList &cipList);
+
+ //-------------------------------- getInteractionAgeSexePoidsSportVigil ------------------------------------------------------
+ /*! \brief return physiopath interactions from patient and drug.
+ * \param const QString& cip drug cip identification .
+ * \param const QString &age patient age .
+ * \param const QString &sexe patient sexe F-M-I.
+ * \param const QString &poids patient poids .
+ * \param const QString &taille patient size .
+ * \param const QString &amenorrhÈe number in weeks
+ * \param const QString &clairance in ml/min
+ * \param int allaitement in number of days
+ * \param bool sport if true particular attention for doping drugs is required .
+ * \param bool vigil if true particular attention for drugs which vigilance alteration is required .
+ * \param QString drugName (default empty) the drug name.
+ * \return QList<C_InterResultPair> result interaction pair list
+ */
+ QList<C_InterResultPair> getInteractionAgeSexePoidsSportVigil( const QString &cip,
+ const QString &age ,
+ const QString &sexe,
+ const QString &poids,
+ const QString &taille,
+ const QString &amenorrhee,
+ const QString &clairance,
+ int allaitement,
+ bool sport = true,
+ bool vigil = true,
+ QString drugName = "" );
+
+ //....................... classification ATC .....................................
+ int nextATC_Code(QString &codeAtc, QString &libelle);
+
+ //.................. liste des medicaments ................
+ long drugsList_Count();
+ int getDrugList_Start();
+ int getDrugList_NextRecord(C_BDM_DrugListRecord &rC_BDM_DrugListRecord);
+
+ //------------------------------ getIndicationsFromCIP ------------------------------------------
+ /*! \brief select indications informations for a drug.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param const QString &filter filter wanted datas a combination | of this flags
+ * C_BDM_PluginI::ASMR we want indications with ASMR level (if exists)
+ * C_BDM_PluginI::SMR we want indications with SMR level (if exists)
+ * C_BDM_PluginI::CIM we want coded CIMX indications
+ * C_BDM_PluginI::BDM we want specifics database coded indications
+ * C_BDM_PluginI::ALL_TYPE we want all coded indications
+ * \return QList <C_BDM_IndicationRecord> indications result list
+ */
+ QList <C_BDM_IndicationRecord> getIndicationsFromCIP( const QString &cip, int filter );
+ //------------------------------ getCIPFromIndication ------------------------------------------
+ /*! \brief select indications informations for a drug.
+ * \param const QString &code indication code of the drugs from wich wee want datas.
+ * \param const QString &codeType type of the indication code. (TH_I CIM CISP DS_A DS_S DS_I)
+ * \return QStringList cip result list
+ */
+ QStringList getCIPFromIndication( const QString &code, const QString &codeType );
+ //------------------------------ getMonographieFromCIP ------------------------------------------
+ /*! \brief select monographie for a drug.
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \param bool dataMustBeReadInCache if TRUE datas are read in internal cache else there are computed and after placed in cache.
+ * \return QString contains monographie
+ */
+ QString getMonographieFromCIP ( const QString &cip , bool dataMustBeReadInCache /* = TRUE */ );
+ //-------------------------------- getPriseUnitFormFromCIP ------------------------------------------------------
+ /*! \brief return the prise unit form from cip. (comprimes, suppositoires sachets,ampoules,doses kg, cuilleres √ caf√© etc...)
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with unit form
+ */
+ QString getPriseUnitFormFromCIP ( const QString &cip , const QString &commercialName /* = 0 */);
+ //-------------------------------- getFormeFromCIP ------------------------------------------------------
+ /*! \brief return drug presentation form from cip. (comprimes, suppositoires sachets,ampoules, suspension buvable etc...)
+ * \param const QString &cip code CIP of the drug from wich wee want datas.
+ * \return QString with presentation form
+ */
+ QString getFormeFromCIP ( const QString &cip) ;
+
+private:
+ QString m_dataSourceVersion;
+ QString m_pluginName;
+ QString m_pathAppli;
+ QString m_pathIni;
+ QString m_datasIni;
+
+signals:
+public slots:
+
+};
+
+
+#endif // C_BDM_BaseModelePlugin_H
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body style="font-size:10pt;font-family:Arial">
-<p><span style="font-family:Monospace;font-size:8pt">========================================================================================================== <br />Modif RS DrTux du 20-08-2011 Version 2.14.001<br />--------------------------------------------------------------------------------------------------------- <br />- </span><span style="font-family:Monospace;font-size:8pt;text-decoration:underline">FONCTIONNALITES</span><span style="font-family:Monospace;font-size:8pt"> : <br /> - Première version utilisant le APropos de la suite MedinTux<br /></span></p>
+<html><head><meta name="qrichtext" content="charset=utf-8" /></head><body style="font-size:10pt;font-family:Arial">
+<p><span style="font-family:Monospace;font-size:8pt">========================================================================================================== <br />Modif RS DrTux du 15-08-2014 Version 2.16.000<br />--------------------------------------------------------------------------------------------------------- <br />- </span><span style="font-family:Monospace;font-size:8pt;text-decoration:underline">FONCTIONNALITES</span><span style="font-family:Monospace;font-size:8pt"> : <br /> - choix du meta tag lors enregistrement<br />========================================================================================================== <br />Modif RS DrTux du 20-08-2011 Version 2.14.001<br />--------------------------------------------------------------------------------------------------------- <br />- </span><span style="font-family:Monospace;font-size:8pt;text-decoration:underline">FONCTIONNALITES</span><span style="font-family:Monospace;font-size:8pt"> : <br /> - Première version utilisant le APropos de la suite MedinTux</span></p>
</body></html>
#include "../../MedinTuxTools/CGenTools.h"
#include "../../MedinTuxTools/CGestIni.h"
#include "../../MedinTuxTools/Theme.h"
+#include "../../MedinTuxTools/ThemePopup.h"
// "Si Dieu existe, j'espère qu'il a une bonne excuse." -+- W. Allen -+-
extern QString GlobalPathAppli;
-static char NUM_VERSION[] = "==##@@==2.14.001==@@##==";
+static char NUM_VERSION[] = "==##@@==2.16.000==@@##==";
//------------------------------------------------------- QLightPad -------------------------------------
QLightPad::QLightPad( QWidget *parent, const char *name , int argc, char ** argv)
: QMainWindow( parent, name )
connect( a, SIGNAL( activated() ), this, SLOT( fileSave() ) );
a->addTo( tb );
a->addTo( menu );
+ a = new QAction( tr( "Positionner l'entête meta" ), QPixmap(GlobalPathAppli +"QLightPadSys/ImageSaveMeta.png" ), tr( "Positionner l'entête meta..." ), CTRL + Key_S, this, "fileSaveMeta" );
+ connect( a, SIGNAL( activated() ), this, SLOT( fileSaveMeta() ) );
+ a->addTo( tb );
+ a->addTo( menu );
+
a = new QAction( tr( "Enregistrer Sous" ), tr( "&Enregistrer Sous..." ), 0, this, "fileSaveAs" );
connect( a, SIGNAL( activated() ), this, SLOT( fileSaveAs() ) );
a->addTo( menu );
if (!edit) return;
fileSave(edit, edit->m_Filter);
}
+//------------------------------------------------------- fileSaveMeta -------------------------------------
+void QLightPad::fileSaveMeta()
+{MyEditText *edit = currentEditor();
+ if (!edit) return;
+ QString metaTags = CGestIni::Param_UpdateFromDisk(GlobalPathAppli +"QLightPadSys/metaTags.txt").remove("\r");
+ QStringList metaList = QStringList::split ("\n", metaTags, FALSE );
+ QStringList popList;
+ //............ reperer utf8 ou pas ........................
+ QString txt (edit->text());
+ edit->m_IsUTF8 = CGestIni::IsUtf8( txt );
+ //........... creer la liste en fonction .................
+ for (int i=0; i<(int)metaList.size(); ++i)
+ { QString item = metaList[i];
+ if (edit->m_IsUTF8)
+ {if (item.startsWith("utf-8|")) popList.append(item.mid(6));
+ }
+ else
+ {if (item.startsWith("latin1|")) popList.append(item.mid(7));
+ }
+ }
+ //.............. actionner le popup ...................
+ ThemePopup *pPopup = new ThemePopup(popList, this, "lePopup");
+ if (pPopup==0) return;
+ QString option = pPopup->DoPopupList();
+ if (option.length()==0) return;
+ fileSave(edit, option);
+}
//------------------------------------------------------- fileSave -------------------------------------
-void QLightPad::fileSave(MyEditText *edit, QString /*filter*/)
+void QLightPad::fileSave(MyEditText *edit, const QString &metaTag)
{
if ( !edit ) return;
QString fn;
CHtmlTools::setTextDefaultAtribut(txt, "text", edit->m_DefaultTextColor);
CHtmlTools::setTextDefaultAtribut(txt, "bgcolor", edit->m_DefaultBackgroundColor);
QString codec = ts.codec()->name();
- if (codec.lower() == "utf-8")
+ if (metaTag.length())
+ {txt.replace("meta name=\"qrichtext\" content=\"1\"",metaTag);
+ if (codec.lower() == "utf-8") m_tabWidget->setTabIconSet ( edit, QIconSet (QPixmap(GlobalPathAppli +"QLightPadSys/LedUTF8.png" )) ) ;
+ else m_tabWidget->setTabIconSet ( edit, QIconSet (QPixmap("")) ) ;
+ }
+ else if (codec.lower() == "utf-8")
{txt.replace("meta name=\"qrichtext\" content=\"1\"","meta name=\"qrichtext\" content=\"charset=utf-8\"");
edit->m_IsUTF8 = 1;
m_tabWidget->setTabIconSet ( edit, QIconSet (QPixmap(GlobalPathAppli +"QLightPadSys/LedUTF8.png" )) ) ;
# PROP Output_Dir "Release"\r
# PROP Intermediate_Dir "Release"\r
# PROP Target_Dir ""\r
-# ADD CPP -MD /W3 /I "..\src" /I "$(QTDIR)\include" /I "..\..\MedinTuxTools" /I "../../MedinTuxTools" /I "..\..\drtux\src" /I "../../drtux/src" /I "." /I "moc" /I "C:\Qt3\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D FOR_MEDINTUX /D QT_DLL /D QT_THREAD_SUPPORT /D "QT_NO_DEBUG" /FD /c -nologo -Zm200 -GX -O1 \r
+# ADD CPP -MD /W3 /I "..\src" /I "$(QTDIR)\include" /I "ui" /I "." /I "..\..\MedinTuxTools" /I "..\..\drtux\src" /I "." /I "moc" /I "C:\Qt3\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D UNICODE /D FOR_MEDINTUX /D QLIGHTPAD /D QT_DLL /D QT_THREAD_SUPPORT /D "QT_NO_DEBUG" /FD /c -nologo -Zm200 -GX -O1 \r
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
# ADD RSC /l 0x409 /d "NDEBUG"\r
BSC32=bscmake.exe\r
# PROP Output_Dir "Debug"\r
# PROP Intermediate_Dir "obj"\r
# PROP Target_Dir ""\r
-# ADD CPP -MDd /W3 /GZ /ZI /Od /I "..\src" /I "$(QTDIR)\include" /I "..\..\MedinTuxTools" /I "../../MedinTuxTools" /I "..\..\drtux\src" /I "../../drtux/src" /I "." /I "moc" /I "C:\Qt3\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D FOR_MEDINTUX /D QT_DLL /D QT_THREAD_SUPPORT /FD /c -nologo -Zm200 -GX -Zi \r
+# ADD CPP -MDd /W3 /GZ /ZI /Od /I "..\src" /I "$(QTDIR)\include" /I "ui" /I "." /I "..\..\MedinTuxTools" /I "..\..\drtux\src" /I "." /I "moc" /I "C:\Qt3\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D UNICODE /D FOR_MEDINTUX /D QLIGHTPAD /D QT_DLL /D QT_THREAD_SUPPORT /FD /c -nologo -Zm200 -GX -Zi \r
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
# ADD RSC /l 0x409 /d "_DEBUG"\r
BSC32=bscmake.exe\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\drtux\src\C_DlgListFieldMngr.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=main.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\drtux\src\C_DlgListFieldMngr.h\r
+\r
+USERDEP_=""$(QTDIR)\bin\moc.exe""\r
+\r
+!IF "$(CFG)" == " - Win32 Release"\r
+\r
+# Begin Custom Build - Moc'ing ..\..\drtux\src\C_DlgListFieldMngr.h...\r
+InputPath=.\..\..\drtux\src\C_DlgListFieldMngr.h\r
+\r
+\r
+BuildCmds= \\r
+ $(QTDIR)\bin\moc ..\..\drtux\src\C_DlgListFieldMngr.h -o moc\moc_C_DlgListFieldMngr.cpp \\r
+\r
+"moc\moc_C_DlgListFieldMngr.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+ $(BuildCmds)\r
+\r
+# End Custom Build\r
+\r
+!ELSEIF "$(CFG)" == " - Win32 Debug"\r
+\r
+# Begin Custom Build - Moc'ing ..\..\drtux\src\C_DlgListFieldMngr.h...\r
+InputPath=.\..\..\drtux\src\C_DlgListFieldMngr.h\r
+\r
+\r
+BuildCmds= \\r
+ $(QTDIR)\bin\moc ..\..\drtux\src\C_DlgListFieldMngr.h -o moc\moc_C_DlgListFieldMngr.cpp \\r
+\r
+"moc\moc_C_DlgListFieldMngr.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
+ $(BuildCmds)\r
+\r
+# End Custom Build\r
+\r
+!ENDIF \r
+\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\MedinTuxTools\CGenTools.h\r
\r
# End Source File\r
InputPath=.\DLG_InsertLink.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertLink.ui -o DLG_InsertLink.h \\r
- $(QTDIR)\bin\uic DLG_InsertLink.ui -i DLG_InsertLink.h -o DLG_InsertLink.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertLink.h -o moc\moc_DLG_InsertLink.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertLink.ui -o ui\DLG_InsertLink.h \\r
+ $(QTDIR)\bin\uic DLG_InsertLink.ui -i DLG_InsertLink.h -o ui\DLG_InsertLink.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertLink.h -o moc\moc_DLG_InsertLink.cpp \\r
\r
-"DLG_InsertLink.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertLink.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_InsertLink.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertLink.ui -o DLG_InsertLink.h \\r
- $(QTDIR)\bin\uic DLG_InsertLink.ui -i DLG_InsertLink.h -o DLG_InsertLink.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertLink.h -o moc\moc_DLG_InsertLink.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertLink.ui -o ui\DLG_InsertLink.h \\r
+ $(QTDIR)\bin\uic DLG_InsertLink.ui -i DLG_InsertLink.h -o ui\DLG_InsertLink.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertLink.h -o moc\moc_DLG_InsertLink.cpp \\r
\r
-"DLG_InsertLink.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertLink.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertLink.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_InsertAncre.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertAncre.ui -o DLG_InsertAncre.h \\r
- $(QTDIR)\bin\uic DLG_InsertAncre.ui -i DLG_InsertAncre.h -o DLG_InsertAncre.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertAncre.h -o moc\moc_DLG_InsertAncre.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertAncre.ui -o ui\DLG_InsertAncre.h \\r
+ $(QTDIR)\bin\uic DLG_InsertAncre.ui -i DLG_InsertAncre.h -o ui\DLG_InsertAncre.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertAncre.h -o moc\moc_DLG_InsertAncre.cpp \\r
\r
-"DLG_InsertAncre.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertAncre.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_InsertAncre.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertAncre.ui -o DLG_InsertAncre.h \\r
- $(QTDIR)\bin\uic DLG_InsertAncre.ui -i DLG_InsertAncre.h -o DLG_InsertAncre.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertAncre.h -o moc\moc_DLG_InsertAncre.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertAncre.ui -o ui\DLG_InsertAncre.h \\r
+ $(QTDIR)\bin\uic DLG_InsertAncre.ui -i DLG_InsertAncre.h -o ui\DLG_InsertAncre.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertAncre.h -o moc\moc_DLG_InsertAncre.cpp \\r
\r
-"DLG_InsertAncre.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertAncre.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertAncre.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_InsertEmail.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertEmail.ui -o DLG_InsertEmail.h \\r
- $(QTDIR)\bin\uic DLG_InsertEmail.ui -i DLG_InsertEmail.h -o DLG_InsertEmail.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertEmail.h -o moc\moc_DLG_InsertEmail.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertEmail.ui -o ui\DLG_InsertEmail.h \\r
+ $(QTDIR)\bin\uic DLG_InsertEmail.ui -i DLG_InsertEmail.h -o ui\DLG_InsertEmail.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertEmail.h -o moc\moc_DLG_InsertEmail.cpp \\r
\r
-"DLG_InsertEmail.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertEmail.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_InsertEmail.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_InsertEmail.ui -o DLG_InsertEmail.h \\r
- $(QTDIR)\bin\uic DLG_InsertEmail.ui -i DLG_InsertEmail.h -o DLG_InsertEmail.cpp \\r
- $(QTDIR)\bin\moc DLG_InsertEmail.h -o moc\moc_DLG_InsertEmail.cpp \\r
+ $(QTDIR)\bin\uic DLG_InsertEmail.ui -o ui\DLG_InsertEmail.h \\r
+ $(QTDIR)\bin\uic DLG_InsertEmail.ui -i DLG_InsertEmail.h -o ui\DLG_InsertEmail.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertEmail.h -o moc\moc_DLG_InsertEmail.cpp \\r
\r
-"DLG_InsertEmail.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertEmail.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertEmail.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_Browser.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_Browser.ui -o DLG_Browser.h \\r
- $(QTDIR)\bin\uic DLG_Browser.ui -i DLG_Browser.h -o DLG_Browser.cpp \\r
- $(QTDIR)\bin\moc DLG_Browser.h -o moc\moc_DLG_Browser.cpp \\r
+ $(QTDIR)\bin\uic DLG_Browser.ui -o ui\DLG_Browser.h \\r
+ $(QTDIR)\bin\uic DLG_Browser.ui -i DLG_Browser.h -o ui\DLG_Browser.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_Browser.h -o moc\moc_DLG_Browser.cpp \\r
\r
-"DLG_Browser.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_Browser.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_Browser.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_Browser.ui -o DLG_Browser.h \\r
- $(QTDIR)\bin\uic DLG_Browser.ui -i DLG_Browser.h -o DLG_Browser.cpp \\r
- $(QTDIR)\bin\moc DLG_Browser.h -o moc\moc_DLG_Browser.cpp \\r
+ $(QTDIR)\bin\uic DLG_Browser.ui -o ui\DLG_Browser.h \\r
+ $(QTDIR)\bin\uic DLG_Browser.ui -i DLG_Browser.h -o ui\DLG_Browser.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_Browser.h -o moc\moc_DLG_Browser.cpp \\r
\r
-"DLG_Browser.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_Browser.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_Browser.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_BodyAttributs.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_BodyAttributs.ui -o DLG_BodyAttributs.h \\r
- $(QTDIR)\bin\uic DLG_BodyAttributs.ui -i DLG_BodyAttributs.h -o DLG_BodyAttributs.cpp \\r
- $(QTDIR)\bin\moc DLG_BodyAttributs.h -o moc\moc_DLG_BodyAttributs.cpp \\r
+ $(QTDIR)\bin\uic DLG_BodyAttributs.ui -o ui\DLG_BodyAttributs.h \\r
+ $(QTDIR)\bin\uic DLG_BodyAttributs.ui -i DLG_BodyAttributs.h -o ui\DLG_BodyAttributs.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_BodyAttributs.h -o moc\moc_DLG_BodyAttributs.cpp \\r
\r
-"DLG_BodyAttributs.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_BodyAttributs.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_BodyAttributs.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_BodyAttributs.ui -o DLG_BodyAttributs.h \\r
- $(QTDIR)\bin\uic DLG_BodyAttributs.ui -i DLG_BodyAttributs.h -o DLG_BodyAttributs.cpp \\r
- $(QTDIR)\bin\moc DLG_BodyAttributs.h -o moc\moc_DLG_BodyAttributs.cpp \\r
+ $(QTDIR)\bin\uic DLG_BodyAttributs.ui -o ui\DLG_BodyAttributs.h \\r
+ $(QTDIR)\bin\uic DLG_BodyAttributs.ui -i DLG_BodyAttributs.h -o ui\DLG_BodyAttributs.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_BodyAttributs.h -o moc\moc_DLG_BodyAttributs.cpp \\r
\r
-"DLG_BodyAttributs.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_BodyAttributs.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_BodyAttributs.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_SaveRequest.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_SaveRequest.ui -o DLG_SaveRequest.h \\r
- $(QTDIR)\bin\uic DLG_SaveRequest.ui -i DLG_SaveRequest.h -o DLG_SaveRequest.cpp \\r
- $(QTDIR)\bin\moc DLG_SaveRequest.h -o moc\moc_DLG_SaveRequest.cpp \\r
+ $(QTDIR)\bin\uic DLG_SaveRequest.ui -o ui\DLG_SaveRequest.h \\r
+ $(QTDIR)\bin\uic DLG_SaveRequest.ui -i DLG_SaveRequest.h -o ui\DLG_SaveRequest.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_SaveRequest.h -o moc\moc_DLG_SaveRequest.cpp \\r
\r
-"DLG_SaveRequest.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_SaveRequest.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_SaveRequest.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_SaveRequest.ui -o DLG_SaveRequest.h \\r
- $(QTDIR)\bin\uic DLG_SaveRequest.ui -i DLG_SaveRequest.h -o DLG_SaveRequest.cpp \\r
- $(QTDIR)\bin\moc DLG_SaveRequest.h -o moc\moc_DLG_SaveRequest.cpp \\r
+ $(QTDIR)\bin\uic DLG_SaveRequest.ui -o ui\DLG_SaveRequest.h \\r
+ $(QTDIR)\bin\uic DLG_SaveRequest.ui -i DLG_SaveRequest.h -o ui\DLG_SaveRequest.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_SaveRequest.h -o moc\moc_DLG_SaveRequest.cpp \\r
\r
-"DLG_SaveRequest.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_SaveRequest.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_SaveRequest.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DLG_InsertList.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -o ..\..\MedinTuxTools\DLG_InsertList.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -i DLG_InsertList.h -o ..\..\MedinTuxTools\DLG_InsertList.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DLG_InsertList.h -o moc\moc_DLG_InsertList.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -o ui\DLG_InsertList.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -i DLG_InsertList.h -o ui\DLG_InsertList.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertList.h -o moc\moc_DLG_InsertList.cpp \\r
\r
-"..\..\MedinTuxTools\DLG_InsertList.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertList.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DLG_InsertList.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -o ..\..\MedinTuxTools\DLG_InsertList.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -i DLG_InsertList.h -o ..\..\MedinTuxTools\DLG_InsertList.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DLG_InsertList.h -o moc\moc_DLG_InsertList.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -o ui\DLG_InsertList.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DLG_InsertList.ui -i DLG_InsertList.h -o ui\DLG_InsertList.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_InsertList.h -o moc\moc_DLG_InsertList.cpp \\r
\r
-"..\..\MedinTuxTools\DLG_InsertList.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertList.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_InsertList.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgListOff_Listes.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -o ..\..\MedinTuxTools\DlgListOff_Listes.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -i DlgListOff_Listes.h -o ..\..\MedinTuxTools\DlgListOff_Listes.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgListOff_Listes.h -o moc\moc_DlgListOff_Listes.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -o ui\DlgListOff_Listes.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -i DlgListOff_Listes.h -o ui\DlgListOff_Listes.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgListOff_Listes.h -o moc\moc_DlgListOff_Listes.cpp \\r
\r
-"..\..\MedinTuxTools\DlgListOff_Listes.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListOff_Listes.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgListOff_Listes.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -o ..\..\MedinTuxTools\DlgListOff_Listes.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -i DlgListOff_Listes.h -o ..\..\MedinTuxTools\DlgListOff_Listes.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgListOff_Listes.h -o moc\moc_DlgListOff_Listes.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -o ui\DlgListOff_Listes.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgListOff_Listes.ui -i DlgListOff_Listes.h -o ui\DlgListOff_Listes.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgListOff_Listes.h -o moc\moc_DlgListOff_Listes.cpp \\r
\r
-"..\..\MedinTuxTools\DlgListOff_Listes.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListOff_Listes.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgListOff_Listes.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgGetString.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -o ..\..\MedinTuxTools\DlgGetString.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -i DlgGetString.h -o ..\..\MedinTuxTools\DlgGetString.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgGetString.h -o moc\moc_DlgGetString.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -o ui\DlgGetString.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -i DlgGetString.h -o ui\DlgGetString.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgGetString.h -o moc\moc_DlgGetString.cpp \\r
\r
-"..\..\MedinTuxTools\DlgGetString.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgGetString.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgGetString.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -o ..\..\MedinTuxTools\DlgGetString.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -i DlgGetString.h -o ..\..\MedinTuxTools\DlgGetString.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgGetString.h -o moc\moc_DlgGetString.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -o ui\DlgGetString.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgGetString.ui -i DlgGetString.h -o ui\DlgGetString.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgGetString.h -o moc\moc_DlgGetString.cpp \\r
\r
-"..\..\MedinTuxTools\DlgGetString.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgGetString.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgGetString.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgMyMessageBox.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -o ..\..\MedinTuxTools\DlgMyMessageBox.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -i DlgMyMessageBox.h -o ..\..\MedinTuxTools\DlgMyMessageBox.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgMyMessageBox.h -o moc\moc_DlgMyMessageBox.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -o ui\DlgMyMessageBox.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -i DlgMyMessageBox.h -o ui\DlgMyMessageBox.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgMyMessageBox.h -o moc\moc_DlgMyMessageBox.cpp \\r
\r
-"..\..\MedinTuxTools\DlgMyMessageBox.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgMyMessageBox.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\MedinTuxTools\DlgMyMessageBox.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -o ..\..\MedinTuxTools\DlgMyMessageBox.h \\r
- $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -i DlgMyMessageBox.h -o ..\..\MedinTuxTools\DlgMyMessageBox.cpp \\r
- $(QTDIR)\bin\moc ..\..\MedinTuxTools\DlgMyMessageBox.h -o moc\moc_DlgMyMessageBox.cpp \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -o ui\DlgMyMessageBox.h \\r
+ $(QTDIR)\bin\uic ..\..\MedinTuxTools\DlgMyMessageBox.ui -i DlgMyMessageBox.h -o ui\DlgMyMessageBox.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgMyMessageBox.h -o moc\moc_DlgMyMessageBox.cpp \\r
\r
-"..\..\MedinTuxTools\DlgMyMessageBox.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgMyMessageBox.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\MedinTuxTools\DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgMyMessageBox.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\drtux\src\DlgListFieldMngr.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -o ..\..\drtux\src\DlgListFieldMngr.h \\r
- $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -i DlgListFieldMngr.h -o ..\..\drtux\src\DlgListFieldMngr.cpp \\r
- $(QTDIR)\bin\moc ..\..\drtux\src\DlgListFieldMngr.h -o moc\moc_DlgListFieldMngr.cpp \\r
+ $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -o ui\DlgListFieldMngr.h \\r
+ $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -i DlgListFieldMngr.h -o ui\DlgListFieldMngr.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgListFieldMngr.h -o moc\moc_DlgListFieldMngr.cpp \\r
\r
-"..\..\drtux\src\DlgListFieldMngr.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListFieldMngr.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\drtux\src\DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\..\..\drtux\src\DlgListFieldMngr.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -o ..\..\drtux\src\DlgListFieldMngr.h \\r
- $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -i DlgListFieldMngr.h -o ..\..\drtux\src\DlgListFieldMngr.cpp \\r
- $(QTDIR)\bin\moc ..\..\drtux\src\DlgListFieldMngr.h -o moc\moc_DlgListFieldMngr.cpp \\r
+ $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -o ui\DlgListFieldMngr.h \\r
+ $(QTDIR)\bin\uic ..\..\drtux\src\DlgListFieldMngr.ui -i DlgListFieldMngr.h -o ui\DlgListFieldMngr.cpp \\r
+ $(QTDIR)\bin\moc ui\DlgListFieldMngr.h -o moc\moc_DlgListFieldMngr.cpp \\r
\r
-"..\..\drtux\src\DlgListFieldMngr.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListFieldMngr.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"..\..\drtux\src\DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DlgListFieldMngr.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_A_propos.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_A_propos.ui -o DLG_A_propos.h \\r
- $(QTDIR)\bin\uic DLG_A_propos.ui -i DLG_A_propos.h -o DLG_A_propos.cpp \\r
- $(QTDIR)\bin\moc DLG_A_propos.h -o moc\moc_DLG_A_propos.cpp \\r
+ $(QTDIR)\bin\uic DLG_A_propos.ui -o ui\DLG_A_propos.h \\r
+ $(QTDIR)\bin\uic DLG_A_propos.ui -i DLG_A_propos.h -o ui\DLG_A_propos.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_A_propos.h -o moc\moc_DLG_A_propos.cpp \\r
\r
-"DLG_A_propos.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_A_propos.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
InputPath=.\DLG_A_propos.ui\r
\r
BuildCmds= \\r
- $(QTDIR)\bin\uic DLG_A_propos.ui -o DLG_A_propos.h \\r
- $(QTDIR)\bin\uic DLG_A_propos.ui -i DLG_A_propos.h -o DLG_A_propos.cpp \\r
- $(QTDIR)\bin\moc DLG_A_propos.h -o moc\moc_DLG_A_propos.cpp \\r
+ $(QTDIR)\bin\uic DLG_A_propos.ui -o ui\DLG_A_propos.h \\r
+ $(QTDIR)\bin\uic DLG_A_propos.ui -i DLG_A_propos.h -o ui\DLG_A_propos.cpp \\r
+ $(QTDIR)\bin\moc ui\DLG_A_propos.h -o moc\moc_DLG_A_propos.cpp \\r
\r
-"DLG_A_propos.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_A_propos.h" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
-"DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
+"ui\DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
$(BuildCmds)\r
\r
"moc\moc_DLG_A_propos.cpp" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=moc\moc_C_DlgListFieldMngr.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=moc\moc_CCoolPopup.cpp\r
# End Source File\r
# Begin Source File\r
\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertLink.cpp\r
+SOURCE=ui\DLG_InsertLink.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertAncre.cpp\r
+SOURCE=ui\DLG_InsertAncre.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertEmail.cpp\r
+SOURCE=ui\DLG_InsertEmail.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_Browser.cpp\r
+SOURCE=ui\DLG_Browser.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_BodyAttributs.cpp\r
+SOURCE=ui\DLG_BodyAttributs.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_SaveRequest.cpp\r
+SOURCE=ui\DLG_SaveRequest.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DLG_InsertList.cpp\r
+SOURCE=ui\DLG_InsertList.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgListOff_Listes.cpp\r
+SOURCE=ui\DlgListOff_Listes.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgGetString.cpp\r
+SOURCE=ui\DlgGetString.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgMyMessageBox.cpp\r
+SOURCE=ui\DlgMyMessageBox.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\drtux\src\DlgListFieldMngr.cpp\r
+SOURCE=ui\DlgListFieldMngr.cpp\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_A_propos.cpp\r
+SOURCE=ui\DLG_A_propos.cpp\r
# End Source File\r
\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertLink.h\r
+SOURCE=ui\DLG_InsertLink.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertAncre.h\r
+SOURCE=ui\DLG_InsertAncre.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_InsertEmail.h\r
+SOURCE=ui\DLG_InsertEmail.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_Browser.h\r
+SOURCE=ui\DLG_Browser.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_BodyAttributs.h\r
+SOURCE=ui\DLG_BodyAttributs.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_SaveRequest.h\r
+SOURCE=ui\DLG_SaveRequest.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DLG_InsertList.h\r
+SOURCE=ui\DLG_InsertList.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgListOff_Listes.h\r
+SOURCE=ui\DlgListOff_Listes.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgGetString.h\r
+SOURCE=ui\DlgGetString.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\MedinTuxTools\DlgMyMessageBox.h\r
+SOURCE=ui\DlgMyMessageBox.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\drtux\src\DlgListFieldMngr.h\r
+SOURCE=ui\DlgListFieldMngr.h\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=DLG_A_propos.h\r
+SOURCE=ui\DLG_A_propos.h\r
# End Source File\r
\r
\r
MyEditText *currentEditor() const;\r
int closeEditor(MyEditText *edit, int saveRequest = CSaveRequest::SaveCurrentRequest);\r
void doConnections( QTextEdit *e );\r
- void fileSave(MyEditText *edit, QString filter="");\r
+ void fileSave(MyEditText *edit, const QString &metaTag="");\r
void tryToStopAPropos();\r
private slots:\r
void fileNew();\r
void fileOpen();\r
void fileSave();\r
+ void fileSaveMeta();\r
void fileSaveAs();\r
void filePrint();\r
void fileClose();\r
message(Qt version: $$[QT_VERSION])
include(../../MedinTuxTools-QT4/qtsingleapplication/src/qtsingleapplication.pri)
-mac { LIBS += -L/usr/X11/lib
- }
+unix:LIBS += -lX11
+# win32:OBJECTS_DIR = $${SRC_DIR}/obj/win32
+mac:LIBS += -L/usr/X11/lib
-unix:!macx: LIBS += -lX11
ROOT_PROJECT = $$PWD/../
SRC_DIR = $${ROOT_PROJECT}/src/
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=".\calendrier.dsp" - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: "check_dus"=".\check_dus.dsp" - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=".\compta-plugins.dsp" - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
+++ /dev/null
-# Microsoft Developer Studio Project File - Name=" - Win32 Debug" - Package Owner=<4>\r
-# Microsoft Developer Studio Generated Build File, Format Version 6.00\r
-# ** DO NOT EDIT **\r
-\r
-# TARGTYPE "Win32 (x86) Application" 0x0101\r
-\r
-CFG= - Win32 Release\r
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
-!MESSAGE use the Export Makefile command and run\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "comptabilite.mak".\r
-!MESSAGE \r
-!MESSAGE You can specify a configuration when running NMAKE\r
-!MESSAGE by defining the macro CFG on the command line. For example:\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "comptabilite.mak" CFG=" - Win32 Release"\r
-!MESSAGE \r
-!MESSAGE Possible choices for configuration are:\r
-!MESSAGE \r
-!MESSAGE " - Win32 Release" (based on "Win32 (x86) Application")\r
-!MESSAGE " - Win32 Debug" (based on "Win32 (x86) Application")\r
-!MESSAGE \r
-\r
-# Begin Project\r
-# PROP AllowPerConfigDependencies 0\r
-# PROP Scc_ProjName ""\r
-# PROP Scc_LocalPath ""\r
-CPP=cl.exe\r
-MTL=midl.exe\r
-RSC=rc.exe\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "Release"\r
-# PROP BASE Intermediate_Dir "obj"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 0\r
-# PROP Output_Dir "Release"\r
-# PROP Intermediate_Dir "obj"\r
-# PROP Target_Dir ""\r
-# ADD CPP /nologo /MD /W3 /GR /GX /O1 /I "$(QTDIR)\include" /I "ui" /I "g_ui" /I "." /I "moc" /I "C:\Qt\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "UNICODE" /D "QT_DLL" /D "QT_THREAD_SUPPORT" /D "QT_NO_DEBUG" /FD -Zm200 /c\r
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
-# ADD BASE RSC /l 0x40c\r
-# ADD RSC /l 0x409 /d "NDEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 /machine:IX86\r
-# ADD LINK32 "qt-mt334.lib" "qtmain.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "imm32.lib" "winmm.lib" "wsock32.lib" "winspool.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "imm32.lib" "winmm.lib" "wsock32.lib" "winspool.lib" "opengl32.lib" "glu32.lib" "delayimp.lib" delayimp.lib /nologo /subsystem:windows /machine:IX86 /libpath:"$(QTDIR)\lib" /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 1\r
-# PROP BASE Output_Dir "Debug"\r
-# PROP BASE Intermediate_Dir "Debug"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 1\r
-# PROP Output_Dir "Debug"\r
-# PROP Intermediate_Dir "Debug"\r
-# PROP Target_Dir ""\r
-# ADD CPP /nologo /MDd /W3 /GR /GX /Zi /Od /I "$(QTDIR)\include" /I "ui" /I "g_ui" /I "." /I "moc" /I "C:\Qt\3.3.4\mkspecs\win32-msvc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "UNICODE" /D "QT_DLL" /D "QT_THREAD_SUPPORT" /FD /GZ -Zm200 /c\r
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
-# ADD BASE RSC /l 0x40c\r
-# ADD RSC /l 0x409 /d "_DEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 /machine:IX86\r
-# ADD LINK32 "qt-mt334.lib" "qtmain.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "imm32.lib" "winmm.lib" "wsock32.lib" "winspool.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "imm32.lib" "winmm.lib" "wsock32.lib" "winspool.lib" "opengl32.lib" "glu32.lib" "delayimp.lib" /nologo /subsystem:windows /debug /machine:IX86 /pdbtype:sept /libpath:"$(QTDIR)\lib"\r
-\r
-!ENDIF \r
-\r
-# Begin Target\r
-\r
-# Name " - Win32 Release"\r
-# Name " - Win32 Debug"\r
-# Begin Group "Source Files"\r
-\r
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\acte_modif.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\acte_selection.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Actes_ui.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\banque_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CApp.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=..\..\MedinTuxTools\CGestIni.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Actes.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Cmu.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Daf.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Depots.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Honoraires.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Livres.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Mouvements.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Param.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Releve.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cmu_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=compta.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ComptaMoteurBase.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cpts_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\daf_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Depots.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\depots_validation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=EspecesCalculator.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\filtre_hono.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=FirstUse.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormFirstUse.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormLinkTux.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormListMenu.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormPlugins.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormSelectionUser.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_visualisation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\immobilisations_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Listes.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\livres.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=main.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_ui.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_visualisation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\param_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Tools.cpp\r
-# End Source File\r
-# End Group\r
-# Begin Group "Header Files"\r
-\r
-# PROP Default_Filter "h;hpp;hxx;hm;inl"\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\acte_selection.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Actes_ui.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__ACTES=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing Actes_ui.h...\r
-InputPath=Actes_ui.h\r
-\r
-"moc\moc_Actes_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc Actes_ui.h -o moc\moc_Actes_ui.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__ACTES=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing Actes_ui.h...\r
-InputPath=Actes_ui.h\r
-\r
-"moc\moc_Actes_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc Actes_ui.h -o moc\moc_Actes_ui.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CApp.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CAPP_=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CApp.h...\r
-InputPath=CApp.h\r
-\r
-"moc\moc_CApp.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CApp.h -o moc\moc_CApp.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CAPP_=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CApp.h...\r
-InputPath=CApp.h\r
-\r
-"moc\moc_CApp.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CApp.h -o moc\moc_CApp.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=..\..\MedinTuxTools\CGestIni.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Actes.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Actes.h...\r
-InputPath=CMDI_Actes.h\r
-\r
-"moc\moc_CMDI_Actes.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Actes.h -o moc\moc_CMDI_Actes.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Actes.h...\r
-InputPath=CMDI_Actes.h\r
-\r
-"moc\moc_CMDI_Actes.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Actes.h -o moc\moc_CMDI_Actes.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Cmu.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_C=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Cmu.h...\r
-InputPath=CMDI_Cmu.h\r
-\r
-"moc\moc_CMDI_Cmu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Cmu.h -o moc\moc_CMDI_Cmu.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_C=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Cmu.h...\r
-InputPath=CMDI_Cmu.h\r
-\r
-"moc\moc_CMDI_Cmu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Cmu.h -o moc\moc_CMDI_Cmu.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Daf.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_D=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Daf.h...\r
-InputPath=CMDI_Daf.h\r
-\r
-"moc\moc_CMDI_Daf.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Daf.h -o moc\moc_CMDI_Daf.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_D=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Daf.h...\r
-InputPath=CMDI_Daf.h\r
-\r
-"moc\moc_CMDI_Daf.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Daf.h -o moc\moc_CMDI_Daf.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Depots.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_DE=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Depots.h...\r
-InputPath=CMDI_Depots.h\r
-\r
-"moc\moc_CMDI_Depots.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Depots.h -o moc\moc_CMDI_Depots.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_DE=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Depots.h...\r
-InputPath=CMDI_Depots.h\r
-\r
-"moc\moc_CMDI_Depots.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Depots.h -o moc\moc_CMDI_Depots.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Generic.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_G=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Generic.h...\r
-InputPath=CMDI_Generic.h\r
-\r
-"moc\moc_CMDI_Generic.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Generic.h -o moc\moc_CMDI_Generic.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_G=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Generic.h...\r
-InputPath=CMDI_Generic.h\r
-\r
-"moc\moc_CMDI_Generic.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Generic.h -o moc\moc_CMDI_Generic.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Honoraires.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_H=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Honoraires.h...\r
-InputPath=CMDI_Honoraires.h\r
-\r
-"moc\moc_CMDI_Honoraires.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Honoraires.h -o moc\moc_CMDI_Honoraires.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_H=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Honoraires.h...\r
-InputPath=CMDI_Honoraires.h\r
-\r
-"moc\moc_CMDI_Honoraires.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Honoraires.h -o moc\moc_CMDI_Honoraires.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Livres.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_L=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Livres.h...\r
-InputPath=CMDI_Livres.h\r
-\r
-"moc\moc_CMDI_Livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Livres.h -o moc\moc_CMDI_Livres.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_L=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Livres.h...\r
-InputPath=CMDI_Livres.h\r
-\r
-"moc\moc_CMDI_Livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Livres.h -o moc\moc_CMDI_Livres.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Mouvements.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_M=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Mouvements.h...\r
-InputPath=CMDI_Mouvements.h\r
-\r
-"moc\moc_CMDI_Mouvements.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Mouvements.h -o moc\moc_CMDI_Mouvements.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_M=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Mouvements.h...\r
-InputPath=CMDI_Mouvements.h\r
-\r
-"moc\moc_CMDI_Mouvements.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Mouvements.h -o moc\moc_CMDI_Mouvements.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Param.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_P=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Param.h...\r
-InputPath=CMDI_Param.h\r
-\r
-"moc\moc_CMDI_Param.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Param.h -o moc\moc_CMDI_Param.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_P=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Param.h...\r
-InputPath=CMDI_Param.h\r
-\r
-"moc\moc_CMDI_Param.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Param.h -o moc\moc_CMDI_Param.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=CMDI_Releve.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMDI_R=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Releve.h...\r
-InputPath=CMDI_Releve.h\r
-\r
-"moc\moc_CMDI_Releve.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Releve.h -o moc\moc_CMDI_Releve.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMDI_R=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing CMDI_Releve.h...\r
-InputPath=CMDI_Releve.h\r
-\r
-"moc\moc_CMDI_Releve.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc CMDI_Releve.h -o moc\moc_CMDI_Releve.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cmu_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=compta.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__COMPT=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing compta.h...\r
-InputPath=compta.h\r
-\r
-"moc\moc_compta.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc compta.h -o moc\moc_compta.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__COMPT=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing compta.h...\r
-InputPath=compta.h\r
-\r
-"moc\moc_compta.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc compta.h -o moc\moc_compta.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ComptaMoteurBase.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cpts_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\daf_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Defines.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Depots.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__DEPOT=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing Depots.h...\r
-InputPath=Depots.h\r
-\r
-"moc\moc_Depots.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc Depots.h -o moc\moc_Depots.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__DEPOT=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing Depots.h...\r
-InputPath=Depots.h\r
-\r
-"moc\moc_Depots.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc Depots.h -o moc\moc_Depots.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\depots_validation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=EspecesCalculator.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__ESPEC=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing EspecesCalculator.h...\r
-InputPath=EspecesCalculator.h\r
-\r
-"moc\moc_EspecesCalculator.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc EspecesCalculator.h -o moc\moc_EspecesCalculator.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__ESPEC=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing EspecesCalculator.h...\r
-InputPath=EspecesCalculator.h\r
-\r
-"moc\moc_EspecesCalculator.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc EspecesCalculator.h -o moc\moc_EspecesCalculator.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\filtre_hono.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=FirstUse.h\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FIRST=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing FirstUse.h...\r
-InputPath=FirstUse.h\r
-\r
-"moc\moc_FirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc FirstUse.h -o moc\moc_FirstUse.cpp\r
-\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FIRST=""$(QTDIR)\bin\moc.exe"" \r
-# Begin Custom Build - Moc'ing FirstUse.h...\r
-InputPath=FirstUse.h\r
-\r
-"moc\moc_FirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(QTDIR)\bin\moc FirstUse.h -o moc\moc_FirstUse.cpp\r
-\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormFirstUse.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormLinkTux.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormListMenu.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormPlugins.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormSelectionUser.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_view.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_visualisation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=icones.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\immobilisations_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Listes.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\livres.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_add.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_ui.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_visualisation.ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=Tools.h\r
-# End Source File\r
-# End Group\r
-# Begin Group "Resource Files"\r
-\r
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"\r
-# End Group\r
-# Begin Group "Forms"\r
-\r
-# PROP Default_Filter "ui"\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\a_propos.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__A_PRO="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\a_propos.ui...\r
-InputPath=g_ui\a_propos.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\a_propos.ui -o ui\a_propos.h \\r
- $(QTDIR)\bin\uic g_ui\a_propos.ui -i a_propos.h -o ui\a_propos.cpp \\r
- $(QTDIR)\bin\moc ui\a_propos.h -o moc\moc_a_propos.cpp \\r
- \r
-\r
-"ui\a_propos.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\a_propos.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_a_propos.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__A_PRO="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\a_propos.ui...\r
-InputPath=g_ui\a_propos.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\a_propos.ui -o ui\a_propos.h \\r
- $(QTDIR)\bin\uic g_ui\a_propos.ui -i a_propos.h -o ui\a_propos.cpp \\r
- $(QTDIR)\bin\moc ui\a_propos.h -o moc\moc_a_propos.cpp \\r
- \r
-\r
-"ui\a_propos.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\a_propos.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_a_propos.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\acte_modif.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__ACTE_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\acte_modif.ui...\r
-InputPath=g_ui\acte_modif.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\acte_modif.ui -o ui\acte_modif.h \\r
- $(QTDIR)\bin\uic g_ui\acte_modif.ui -i acte_modif.h -o ui\acte_modif.cpp \\r
- $(QTDIR)\bin\moc ui\acte_modif.h -o moc\moc_acte_modif.cpp \\r
- \r
-\r
-"ui\acte_modif.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\acte_modif.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_acte_modif.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__ACTE_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\acte_modif.ui...\r
-InputPath=g_ui\acte_modif.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\acte_modif.ui -o ui\acte_modif.h \\r
- $(QTDIR)\bin\uic g_ui\acte_modif.ui -i acte_modif.h -o ui\acte_modif.cpp \\r
- $(QTDIR)\bin\moc ui\acte_modif.h -o moc\moc_acte_modif.cpp \\r
- \r
-\r
-"ui\acte_modif.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\acte_modif.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_acte_modif.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\acte_selection.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__ACTE_S="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\acte_selection.ui...\r
-InputPath=g_ui\acte_selection.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\acte_selection.ui -o ui\acte_selection.h \\r
- $(QTDIR)\bin\uic g_ui\acte_selection.ui -i acte_selection.h -o ui\acte_selection.cpp \\r
- $(QTDIR)\bin\moc ui\acte_selection.h -o moc\moc_acte_selection.cpp \\r
- \r
-\r
-"ui\acte_selection.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\acte_selection.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_acte_selection.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__ACTE_S="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\acte_selection.ui...\r
-InputPath=g_ui\acte_selection.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\acte_selection.ui -o ui\acte_selection.h \\r
- $(QTDIR)\bin\uic g_ui\acte_selection.ui -i acte_selection.h -o ui\acte_selection.cpp \\r
- $(QTDIR)\bin\moc ui\acte_selection.h -o moc\moc_acte_selection.cpp \\r
- \r
-\r
-"ui\acte_selection.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\acte_selection.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_acte_selection.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\banque_view.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__BANQU="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\banque_view.ui...\r
-InputPath=g_ui\banque_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\banque_view.ui -o ui\banque_view.h \\r
- $(QTDIR)\bin\uic g_ui\banque_view.ui -i banque_view.h -o ui\banque_view.cpp \\r
- $(QTDIR)\bin\moc ui\banque_view.h -o moc\moc_banque_view.cpp \\r
- \r
-\r
-"ui\banque_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\banque_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_banque_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__BANQU="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\banque_view.ui...\r
-InputPath=g_ui\banque_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\banque_view.ui -o ui\banque_view.h \\r
- $(QTDIR)\bin\uic g_ui\banque_view.ui -i banque_view.h -o ui\banque_view.cpp \\r
- $(QTDIR)\bin\moc ui\banque_view.h -o moc\moc_banque_view.cpp \\r
- \r
-\r
-"ui\banque_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\banque_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_banque_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cmu_view.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CMU_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\cmu_view.ui...\r
-InputPath=g_ui\cmu_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\cmu_view.ui -o ui\cmu_view.h \\r
- $(QTDIR)\bin\uic g_ui\cmu_view.ui -i cmu_view.h -o ui\cmu_view.cpp \\r
- $(QTDIR)\bin\moc ui\cmu_view.h -o moc\moc_cmu_view.cpp \\r
- \r
-\r
-"ui\cmu_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\cmu_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_cmu_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CMU_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\cmu_view.ui...\r
-InputPath=g_ui\cmu_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\cmu_view.ui -o ui\cmu_view.h \\r
- $(QTDIR)\bin\uic g_ui\cmu_view.ui -i cmu_view.h -o ui\cmu_view.cpp \\r
- $(QTDIR)\bin\moc ui\cmu_view.h -o moc\moc_cmu_view.cpp \\r
- \r
-\r
-"ui\cmu_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\cmu_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_cmu_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\cpts_add.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__CPTS_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\cpts_add.ui...\r
-InputPath=g_ui\cpts_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\cpts_add.ui -o ui\cpts_add.h \\r
- $(QTDIR)\bin\uic g_ui\cpts_add.ui -i cpts_add.h -o ui\cpts_add.cpp \\r
- $(QTDIR)\bin\moc ui\cpts_add.h -o moc\moc_cpts_add.cpp \\r
- \r
-\r
-"ui\cpts_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\cpts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_cpts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__CPTS_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\cpts_add.ui...\r
-InputPath=g_ui\cpts_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\cpts_add.ui -o ui\cpts_add.h \\r
- $(QTDIR)\bin\uic g_ui\cpts_add.ui -i cpts_add.h -o ui\cpts_add.cpp \\r
- $(QTDIR)\bin\moc ui\cpts_add.h -o moc\moc_cpts_add.cpp \\r
- \r
-\r
-"ui\cpts_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\cpts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_cpts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\daf_view.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__DAF_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\daf_view.ui...\r
-InputPath=g_ui\daf_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\daf_view.ui -o ui\daf_view.h \\r
- $(QTDIR)\bin\uic g_ui\daf_view.ui -i daf_view.h -o ui\daf_view.cpp \\r
- $(QTDIR)\bin\moc ui\daf_view.h -o moc\moc_daf_view.cpp \\r
- \r
-\r
-"ui\daf_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\daf_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_daf_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__DAF_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\daf_view.ui...\r
-InputPath=g_ui\daf_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\daf_view.ui -o ui\daf_view.h \\r
- $(QTDIR)\bin\uic g_ui\daf_view.ui -i daf_view.h -o ui\daf_view.cpp \\r
- $(QTDIR)\bin\moc ui\daf_view.h -o moc\moc_daf_view.cpp \\r
- \r
-\r
-"ui\daf_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\daf_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_daf_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\depots_validation.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__DEPOTS="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\depots_validation.ui...\r
-InputPath=g_ui\depots_validation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\depots_validation.ui -o ui\depots_validation.h \\r
- $(QTDIR)\bin\uic g_ui\depots_validation.ui -i depots_validation.h -o ui\depots_validation.cpp \\r
- $(QTDIR)\bin\moc ui\depots_validation.h -o moc\moc_depots_validation.cpp \\r
- \r
-\r
-"ui\depots_validation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\depots_validation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_depots_validation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__DEPOTS="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\depots_validation.ui...\r
-InputPath=g_ui\depots_validation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\depots_validation.ui -o ui\depots_validation.h \\r
- $(QTDIR)\bin\uic g_ui\depots_validation.ui -i depots_validation.h -o ui\depots_validation.cpp \\r
- $(QTDIR)\bin\moc ui\depots_validation.h -o moc\moc_depots_validation.cpp \\r
- \r
-\r
-"ui\depots_validation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\depots_validation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_depots_validation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\Dlg_LoginPass_Medintux.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__DLG_L="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\Dlg_LoginPass_Medintux.ui...\r
-InputPath=g_ui\Dlg_LoginPass_Medintux.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\Dlg_LoginPass_Medintux.ui -o ui\Dlg_LoginPass_Medintux.h \\r
- $(QTDIR)\bin\uic g_ui\Dlg_LoginPass_Medintux.ui -i Dlg_LoginPass_Medintux.h -o ui\Dlg_LoginPass_Medintux.cpp \\r
- $(QTDIR)\bin\moc ui\Dlg_LoginPass_Medintux.h -o moc\moc_Dlg_LoginPass_Medintux.cpp \\r
- \r
-\r
-"ui\Dlg_LoginPass_Medintux.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\Dlg_LoginPass_Medintux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_Dlg_LoginPass_Medintux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__DLG_L="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\Dlg_LoginPass_Medintux.ui...\r
-InputPath=g_ui\Dlg_LoginPass_Medintux.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\Dlg_LoginPass_Medintux.ui -o ui\Dlg_LoginPass_Medintux.h \\r
- $(QTDIR)\bin\uic g_ui\Dlg_LoginPass_Medintux.ui -i Dlg_LoginPass_Medintux.h -o ui\Dlg_LoginPass_Medintux.cpp \\r
- $(QTDIR)\bin\moc ui\Dlg_LoginPass_Medintux.h -o moc\moc_Dlg_LoginPass_Medintux.cpp \\r
- \r
-\r
-"ui\Dlg_LoginPass_Medintux.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\Dlg_LoginPass_Medintux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_Dlg_LoginPass_Medintux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\filtre_hono.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FILTR="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\filtre_hono.ui...\r
-InputPath=g_ui\filtre_hono.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\filtre_hono.ui -o ui\filtre_hono.h \\r
- $(QTDIR)\bin\uic g_ui\filtre_hono.ui -i filtre_hono.h -o ui\filtre_hono.cpp \\r
- $(QTDIR)\bin\moc ui\filtre_hono.h -o moc\moc_filtre_hono.cpp \\r
- \r
-\r
-"ui\filtre_hono.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\filtre_hono.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_filtre_hono.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FILTR="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\filtre_hono.ui...\r
-InputPath=g_ui\filtre_hono.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\filtre_hono.ui -o ui\filtre_hono.h \\r
- $(QTDIR)\bin\uic g_ui\filtre_hono.ui -i filtre_hono.h -o ui\filtre_hono.cpp \\r
- $(QTDIR)\bin\moc ui\filtre_hono.h -o moc\moc_filtre_hono.cpp \\r
- \r
-\r
-"ui\filtre_hono.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\filtre_hono.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_filtre_hono.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormFirstUse.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FORMF="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormFirstUse.ui...\r
-InputPath=g_ui\FormFirstUse.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormFirstUse.ui -o ui\FormFirstUse.h \\r
- $(QTDIR)\bin\uic g_ui\FormFirstUse.ui -i FormFirstUse.h -o ui\FormFirstUse.cpp \\r
- $(QTDIR)\bin\moc ui\FormFirstUse.h -o moc\moc_FormFirstUse.cpp \\r
- \r
-\r
-"ui\FormFirstUse.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormFirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormFirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FORMF="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormFirstUse.ui...\r
-InputPath=g_ui\FormFirstUse.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormFirstUse.ui -o ui\FormFirstUse.h \\r
- $(QTDIR)\bin\uic g_ui\FormFirstUse.ui -i FormFirstUse.h -o ui\FormFirstUse.cpp \\r
- $(QTDIR)\bin\moc ui\FormFirstUse.h -o moc\moc_FormFirstUse.cpp \\r
- \r
-\r
-"ui\FormFirstUse.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormFirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormFirstUse.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormLinkTux.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FORML="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormLinkTux.ui...\r
-InputPath=g_ui\FormLinkTux.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormLinkTux.ui -o ui\FormLinkTux.h \\r
- $(QTDIR)\bin\uic g_ui\FormLinkTux.ui -i FormLinkTux.h -o ui\FormLinkTux.cpp \\r
- $(QTDIR)\bin\moc ui\FormLinkTux.h -o moc\moc_FormLinkTux.cpp \\r
- \r
-\r
-"ui\FormLinkTux.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormLinkTux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormLinkTux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FORML="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormLinkTux.ui...\r
-InputPath=g_ui\FormLinkTux.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormLinkTux.ui -o ui\FormLinkTux.h \\r
- $(QTDIR)\bin\uic g_ui\FormLinkTux.ui -i FormLinkTux.h -o ui\FormLinkTux.cpp \\r
- $(QTDIR)\bin\moc ui\FormLinkTux.h -o moc\moc_FormLinkTux.cpp \\r
- \r
-\r
-"ui\FormLinkTux.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormLinkTux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormLinkTux.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormListMenu.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FORMLI="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormListMenu.ui...\r
-InputPath=g_ui\FormListMenu.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormListMenu.ui -o ui\FormListMenu.h \\r
- $(QTDIR)\bin\uic g_ui\FormListMenu.ui -i FormListMenu.h -o ui\FormListMenu.cpp \\r
- $(QTDIR)\bin\moc ui\FormListMenu.h -o moc\moc_FormListMenu.cpp \\r
- \r
-\r
-"ui\FormListMenu.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormListMenu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormListMenu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FORMLI="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormListMenu.ui...\r
-InputPath=g_ui\FormListMenu.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormListMenu.ui -o ui\FormListMenu.h \\r
- $(QTDIR)\bin\uic g_ui\FormListMenu.ui -i FormListMenu.h -o ui\FormListMenu.cpp \\r
- $(QTDIR)\bin\moc ui\FormListMenu.h -o moc\moc_FormListMenu.cpp \\r
- \r
-\r
-"ui\FormListMenu.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormListMenu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormListMenu.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormPlugins.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FORMP="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormPlugins.ui...\r
-InputPath=g_ui\FormPlugins.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormPlugins.ui -o ui\FormPlugins.h \\r
- $(QTDIR)\bin\uic g_ui\FormPlugins.ui -i FormPlugins.h -o ui\FormPlugins.cpp \\r
- $(QTDIR)\bin\moc ui\FormPlugins.h -o moc\moc_FormPlugins.cpp \\r
- \r
-\r
-"ui\FormPlugins.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormPlugins.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormPlugins.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FORMP="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormPlugins.ui...\r
-InputPath=g_ui\FormPlugins.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormPlugins.ui -o ui\FormPlugins.h \\r
- $(QTDIR)\bin\uic g_ui\FormPlugins.ui -i FormPlugins.h -o ui\FormPlugins.cpp \\r
- $(QTDIR)\bin\moc ui\FormPlugins.h -o moc\moc_FormPlugins.cpp \\r
- \r
-\r
-"ui\FormPlugins.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormPlugins.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormPlugins.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\FormSelectionUser.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__FORMS="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormSelectionUser.ui...\r
-InputPath=g_ui\FormSelectionUser.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormSelectionUser.ui -o ui\FormSelectionUser.h \\r
- $(QTDIR)\bin\uic g_ui\FormSelectionUser.ui -i FormSelectionUser.h -o ui\FormSelectionUser.cpp \\r
- $(QTDIR)\bin\moc ui\FormSelectionUser.h -o moc\moc_FormSelectionUser.cpp \\r
- \r
-\r
-"ui\FormSelectionUser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormSelectionUser.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormSelectionUser.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__FORMS="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\FormSelectionUser.ui...\r
-InputPath=g_ui\FormSelectionUser.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\FormSelectionUser.ui -o ui\FormSelectionUser.h \\r
- $(QTDIR)\bin\uic g_ui\FormSelectionUser.ui -i FormSelectionUser.h -o ui\FormSelectionUser.cpp \\r
- $(QTDIR)\bin\moc ui\FormSelectionUser.h -o moc\moc_FormSelectionUser.cpp \\r
- \r
-\r
-"ui\FormSelectionUser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\FormSelectionUser.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_FormSelectionUser.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_view.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__HONO_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\hono_view.ui...\r
-InputPath=g_ui\hono_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\hono_view.ui -o ui\hono_view.h \\r
- $(QTDIR)\bin\uic g_ui\hono_view.ui -i hono_view.h -o ui\hono_view.cpp \\r
- $(QTDIR)\bin\moc ui\hono_view.h -o moc\moc_hono_view.cpp \\r
- \r
-\r
-"ui\hono_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\hono_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_hono_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__HONO_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\hono_view.ui...\r
-InputPath=g_ui\hono_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\hono_view.ui -o ui\hono_view.h \\r
- $(QTDIR)\bin\uic g_ui\hono_view.ui -i hono_view.h -o ui\hono_view.cpp \\r
- $(QTDIR)\bin\moc ui\hono_view.h -o moc\moc_hono_view.cpp \\r
- \r
-\r
-"ui\hono_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\hono_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_hono_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\hono_visualisation.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__HONO_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\hono_visualisation.ui...\r
-InputPath=g_ui\hono_visualisation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\hono_visualisation.ui -o ui\hono_visualisation.h \\r
- $(QTDIR)\bin\uic g_ui\hono_visualisation.ui -i hono_visualisation.h -o ui\hono_visualisation.cpp \\r
- $(QTDIR)\bin\moc ui\hono_visualisation.h -o moc\moc_hono_visualisation.cpp \\r
- \r
-\r
-"ui\hono_visualisation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\hono_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_hono_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__HONO_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\hono_visualisation.ui...\r
-InputPath=g_ui\hono_visualisation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\hono_visualisation.ui -o ui\hono_visualisation.h \\r
- $(QTDIR)\bin\uic g_ui\hono_visualisation.ui -i hono_visualisation.h -o ui\hono_visualisation.cpp \\r
- $(QTDIR)\bin\moc ui\hono_visualisation.h -o moc\moc_hono_visualisation.cpp \\r
- \r
-\r
-"ui\hono_visualisation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\hono_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_hono_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\immobilisations_add.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__IMMOB="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\immobilisations_add.ui...\r
-InputPath=g_ui\immobilisations_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\immobilisations_add.ui -o ui\immobilisations_add.h \\r
- $(QTDIR)\bin\uic g_ui\immobilisations_add.ui -i immobilisations_add.h -o ui\immobilisations_add.cpp \\r
- $(QTDIR)\bin\moc ui\immobilisations_add.h -o moc\moc_immobilisations_add.cpp \\r
- \r
-\r
-"ui\immobilisations_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\immobilisations_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_immobilisations_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__IMMOB="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\immobilisations_add.ui...\r
-InputPath=g_ui\immobilisations_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\immobilisations_add.ui -o ui\immobilisations_add.h \\r
- $(QTDIR)\bin\uic g_ui\immobilisations_add.ui -i immobilisations_add.h -o ui\immobilisations_add.cpp \\r
- $(QTDIR)\bin\moc ui\immobilisations_add.h -o moc\moc_immobilisations_add.cpp \\r
- \r
-\r
-"ui\immobilisations_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\immobilisations_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_immobilisations_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\livres.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__LIVRE="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\livres.ui...\r
-InputPath=g_ui\livres.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\livres.ui -o ui\livres.h \\r
- $(QTDIR)\bin\uic g_ui\livres.ui -i livres.h -o ui\livres.cpp \\r
- $(QTDIR)\bin\moc ui\livres.h -o moc\moc_livres.cpp \\r
- \r
-\r
-"ui\livres.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__LIVRE="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\livres.ui...\r
-InputPath=g_ui\livres.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\livres.ui -o ui\livres.h \\r
- $(QTDIR)\bin\uic g_ui\livres.ui -i livres.h -o ui\livres.cpp \\r
- $(QTDIR)\bin\moc ui\livres.h -o moc\moc_livres.cpp \\r
- \r
-\r
-"ui\livres.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_livres.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_add.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__MVTS_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_add.ui...\r
-InputPath=g_ui\mvts_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_add.ui -o ui\mvts_add.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_add.ui -i mvts_add.h -o ui\mvts_add.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_add.h -o moc\moc_mvts_add.cpp \\r
- \r
-\r
-"ui\mvts_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__MVTS_="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_add.ui...\r
-InputPath=g_ui\mvts_add.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_add.ui -o ui\mvts_add.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_add.ui -i mvts_add.h -o ui\mvts_add.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_add.h -o moc\moc_mvts_add.cpp \\r
- \r
-\r
-"ui\mvts_add.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_add.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_ui.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__MVTS_U="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_ui.ui...\r
-InputPath=g_ui\mvts_ui.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_ui.ui -o ui\mvts_ui.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_ui.ui -i mvts_ui.h -o ui\mvts_ui.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_ui.h -o moc\moc_mvts_ui.cpp \\r
- \r
-\r
-"ui\mvts_ui.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__MVTS_U="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_ui.ui...\r
-InputPath=g_ui\mvts_ui.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_ui.ui -o ui\mvts_ui.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_ui.ui -i mvts_ui.h -o ui\mvts_ui.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_ui.h -o moc\moc_mvts_ui.cpp \\r
- \r
-\r
-"ui\mvts_ui.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_ui.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\mvts_visualisation.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__MVTS_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_visualisation.ui...\r
-InputPath=g_ui\mvts_visualisation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_visualisation.ui -o ui\mvts_visualisation.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_visualisation.ui -i mvts_visualisation.h -o ui\mvts_visualisation.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_visualisation.h -o moc\moc_mvts_visualisation.cpp \\r
- \r
-\r
-"ui\mvts_visualisation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__MVTS_V="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\mvts_visualisation.ui...\r
-InputPath=g_ui\mvts_visualisation.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\mvts_visualisation.ui -o ui\mvts_visualisation.h \\r
- $(QTDIR)\bin\uic g_ui\mvts_visualisation.ui -i mvts_visualisation.h -o ui\mvts_visualisation.cpp \\r
- $(QTDIR)\bin\moc ui\mvts_visualisation.h -o moc\moc_mvts_visualisation.cpp \\r
- \r
-\r
-"ui\mvts_visualisation.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\mvts_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_mvts_visualisation.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=g_ui\param_view.ui\r
-\r
-!IF "$(CFG)" == " - Win32 Release"\r
-\r
-USERDEP__PARAM="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\param_view.ui...\r
-InputPath=g_ui\param_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\param_view.ui -o ui\param_view.h \\r
- $(QTDIR)\bin\uic g_ui\param_view.ui -i param_view.h -o ui\param_view.cpp \\r
- $(QTDIR)\bin\moc ui\param_view.h -o moc\moc_param_view.cpp \\r
- \r
-\r
-"ui\param_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\param_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_param_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF "$(CFG)" == " - Win32 Debug"\r
-\r
-USERDEP__PARAM="$(QTDIR)\bin\moc.exe" "$(QTDIR)\bin\uic.exe" \r
-# Begin Custom Build - Uic'ing g_ui\param_view.ui...\r
-InputPath=g_ui\param_view.ui\r
-\r
-BuildCmds= \\r
- $(QTDIR)\bin\uic g_ui\param_view.ui -o ui\param_view.h \\r
- $(QTDIR)\bin\uic g_ui\param_view.ui -i param_view.h -o ui\param_view.cpp \\r
- $(QTDIR)\bin\moc ui\param_view.h -o moc\moc_param_view.cpp \\r
- \r
-\r
-"ui\param_view.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"ui\param_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-\r
-"moc\moc_param_view.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
- $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# End Group\r
-# Begin Group "Translations"\r
-\r
-# PROP Default_Filter "ts"\r
-# Begin Source File\r
-\r
-SOURCE=fr.ts\r
-# End Source File\r
-# End Group\r
-# Begin Group "Generated"\r
-\r
-# PROP Default_Filter ""\r
-# Begin Source File\r
-\r
-SOURCE=ui\a_propos.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\a_propos.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\acte_modif.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\acte_modif.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\acte_selection.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\acte_selection.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\banque_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\banque_view.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\cmu_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\cmu_view.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\cpts_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\cpts_add.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\daf_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\daf_view.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\depots_validation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\depots_validation.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\Dlg_LoginPass_Medintux.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\Dlg_LoginPass_Medintux.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\filtre_hono.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\filtre_hono.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormFirstUse.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormFirstUse.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormLinkTux.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormLinkTux.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormListMenu.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormListMenu.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormPlugins.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormPlugins.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormSelectionUser.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\FormSelectionUser.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\hono_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\hono_view.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\hono_visualisation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\hono_visualisation.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\immobilisations_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\immobilisations_add.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\livres.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\livres.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_a_propos.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_acte_modif.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_acte_selection.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_Actes_ui.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_banque_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CApp.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Actes.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Cmu.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Daf.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Depots.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Generic.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Honoraires.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Livres.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Mouvements.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Param.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_CMDI_Releve.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_cmu_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_compta.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_cpts_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_daf_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_Depots.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_depots_validation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_Dlg_LoginPass_Medintux.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_EspecesCalculator.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_filtre_hono.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FirstUse.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FormFirstUse.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FormLinkTux.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FormListMenu.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FormPlugins.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_FormSelectionUser.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_hono_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_hono_visualisation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_immobilisations_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_livres.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_mvts_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_mvts_ui.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_mvts_visualisation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=moc\moc_param_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_add.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_add.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_ui.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_ui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_visualisation.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\mvts_visualisation.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\param_view.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=ui\param_view.h\r
-# End Source File\r
-# End Group\r
-# End Target\r
-# End Project\r
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=.\comptabilite.dsp - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
--- /dev/null
+# Doxyfile 1.5.1-KDevelop
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME = drtux
+PROJECT_NUMBER = 0.1
+OUTPUT_DIRECTORY =
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+USE_WINDOWS_ENCODING = NO
+BRIEF_MEMBER_DESC = YES
+REPEAT_BRIEF = YES
+ABBREVIATE_BRIEF = "The $name class" \
+ "The $name widget" \
+ "The $name file" \
+ is \
+ provides \
+ specifies \
+ contains \
+ represents \
+ a \
+ an \
+ the
+ALWAYS_DETAILED_SEC = NO
+INLINE_INHERITED_MEMB = NO
+FULL_PATH_NAMES = YES
+STRIP_FROM_PATH = /home/ro/
+STRIP_FROM_INC_PATH =
+SHORT_NAMES = NO
+JAVADOC_AUTOBRIEF = NO
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP = NO
+INHERIT_DOCS = YES
+SEPARATE_MEMBER_PAGES = NO
+TAB_SIZE = 8
+ALIASES =
+OPTIMIZE_OUTPUT_FOR_C = NO
+OPTIMIZE_OUTPUT_JAVA = NO
+BUILTIN_STL_SUPPORT = NO
+DISTRIBUTE_GROUP_DOC = NO
+SUBGROUPING = YES
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+EXTRACT_ALL = NO
+EXTRACT_PRIVATE = NO
+EXTRACT_STATIC = NO
+EXTRACT_LOCAL_CLASSES = YES
+EXTRACT_LOCAL_METHODS = NO
+HIDE_UNDOC_MEMBERS = NO
+HIDE_UNDOC_CLASSES = NO
+HIDE_FRIEND_COMPOUNDS = NO
+HIDE_IN_BODY_DOCS = NO
+INTERNAL_DOCS = NO
+CASE_SENSE_NAMES = YES
+HIDE_SCOPE_NAMES = NO
+SHOW_INCLUDE_FILES = YES
+INLINE_INFO = YES
+SORT_MEMBER_DOCS = YES
+SORT_BRIEF_DOCS = NO
+SORT_BY_SCOPE_NAME = NO
+GENERATE_TODOLIST = YES
+GENERATE_TESTLIST = YES
+GENERATE_BUGLIST = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS =
+MAX_INITIALIZER_LINES = 30
+SHOW_USED_FILES = YES
+SHOW_DIRECTORIES = NO
+FILE_VERSION_FILTER =
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+WARN_IF_UNDOCUMENTED = YES
+WARN_IF_DOC_ERROR = YES
+WARN_NO_PARAMDOC = NO
+WARN_FORMAT = "$file:$line: $text"
+WARN_LOGFILE =
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT = /mnt/hgfs/Documents/medintux/Programmes/drtux
+FILE_PATTERNS = *.c \
+ *.cc \
+ *.cxx \
+ *.cpp \
+ *.c++ \
+ *.d \
+ *.java \
+ *.ii \
+ *.ixx \
+ *.ipp \
+ *.i++ \
+ *.inl \
+ *.h \
+ *.hh \
+ *.hxx \
+ *.hpp \
+ *.h++ \
+ *.idl \
+ *.odl \
+ *.cs \
+ *.php \
+ *.php3 \
+ *.inc \
+ *.m \
+ *.mm \
+ *.dox \
+ *.py \
+ *.C \
+ *.CC \
+ *.C++ \
+ *.II \
+ *.I++ \
+ *.H \
+ *.HH \
+ *.H++ \
+ *.CS \
+ *.PHP \
+ *.PHP3 \
+ *.M \
+ *.MM \
+ *.PY \
+ *.C \
+ *.H \
+ *.tlh \
+ *.diff \
+ *.patch \
+ *.moc \
+ *.xpm \
+ *.dox
+RECURSIVE = yes
+EXCLUDE =
+EXCLUDE_SYMLINKS = NO
+EXCLUDE_PATTERNS =
+EXAMPLE_PATH =
+EXAMPLE_PATTERNS = *
+EXAMPLE_RECURSIVE = NO
+IMAGE_PATH =
+INPUT_FILTER =
+FILTER_PATTERNS =
+FILTER_SOURCE_FILES = NO
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER = NO
+INLINE_SOURCES = NO
+STRIP_CODE_COMMENTS = YES
+REFERENCED_BY_RELATION = YES
+REFERENCES_RELATION = YES
+REFERENCES_LINK_SOURCE = YES
+USE_HTAGS = NO
+VERBATIM_HEADERS = YES
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX = NO
+COLS_IN_ALPHA_INDEX = 5
+IGNORE_PREFIX =
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = html
+HTML_FILE_EXTENSION = .html
+HTML_HEADER =
+HTML_FOOTER =
+HTML_STYLESHEET =
+HTML_ALIGN_MEMBERS = YES
+GENERATE_HTMLHELP = NO
+CHM_FILE =
+HHC_LOCATION =
+GENERATE_CHI = NO
+BINARY_TOC = NO
+TOC_EXPAND = NO
+DISABLE_INDEX = NO
+ENUM_VALUES_PER_LINE = 4
+GENERATE_TREEVIEW = NO
+TREEVIEW_WIDTH = 250
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+GENERATE_LATEX = YES
+LATEX_OUTPUT = latex
+LATEX_CMD_NAME = latex
+MAKEINDEX_CMD_NAME = makeindex
+COMPACT_LATEX = NO
+PAPER_TYPE = a4wide
+EXTRA_PACKAGES =
+LATEX_HEADER =
+PDF_HYPERLINKS = NO
+USE_PDFLATEX = NO
+LATEX_BATCHMODE = NO
+LATEX_HIDE_INDICES = NO
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+RTF_OUTPUT = rtf
+COMPACT_RTF = NO
+RTF_HYPERLINKS = NO
+RTF_STYLESHEET_FILE =
+RTF_EXTENSIONS_FILE =
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+GENERATE_MAN = NO
+MAN_OUTPUT = man
+MAN_EXTENSION = .3
+MAN_LINKS = NO
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+GENERATE_XML = yes
+XML_OUTPUT = xml
+XML_SCHEMA =
+XML_DTD =
+XML_PROGRAMLISTING = YES
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+GENERATE_AUTOGEN_DEF = NO
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+GENERATE_PERLMOD = NO
+PERLMOD_LATEX = NO
+PERLMOD_PRETTY = YES
+PERLMOD_MAKEVAR_PREFIX =
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+ENABLE_PREPROCESSING = YES
+MACRO_EXPANSION = NO
+EXPAND_ONLY_PREDEF = NO
+SEARCH_INCLUDES = YES
+INCLUDE_PATH =
+INCLUDE_FILE_PATTERNS =
+PREDEFINED =
+EXPAND_AS_DEFINED =
+SKIP_FUNCTION_MACROS = YES
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references
+#---------------------------------------------------------------------------
+TAGFILES =
+GENERATE_TAGFILE = drtux.tag
+ALLEXTERNALS = NO
+EXTERNAL_GROUPS = YES
+PERL_PATH = /usr/bin/perl
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS = YES
+HIDE_UNDOC_RELATIONS = YES
+HAVE_DOT = NO
+CLASS_GRAPH = YES
+COLLABORATION_GRAPH = YES
+GROUP_GRAPHS = YES
+UML_LOOK = NO
+TEMPLATE_RELATIONS = NO
+INCLUDE_GRAPH = YES
+INCLUDED_BY_GRAPH = YES
+CALL_GRAPH = NO
+CALLER_GRAPH = NO
+GRAPHICAL_HIERARCHY = YES
+DIRECTORY_GRAPH = YES
+DOT_IMAGE_FORMAT = png
+DOT_PATH =
+DOTFILE_DIRS =
+MAX_DOT_GRAPH_WIDTH = 1024
+MAX_DOT_GRAPH_HEIGHT = 1024
+MAX_DOT_GRAPH_DEPTH = 1000
+DOT_TRANSPARENT = NO
+DOT_MULTI_TARGETS = NO
+GENERATE_LEGEND = YES
+DOT_CLEANUP = YES
+#---------------------------------------------------------------------------
+# Configuration::additions related to the search engine
+#---------------------------------------------------------------------------
+SEARCHENGINE = NO
*/
CApp* G_pCApp = 0; // contiendra l'instance globale de l'application
-static char NUM_VERSION[] = "==##@@==2.16.004==@@##==";
+static char NUM_VERSION[] = "==##@@==2.16.005==@@##==";
//--------------------------------------------- CApp -------------------------------------------------------------------
CApp::~CApp()
{
QCString serialize(int withXmlHead)
{QString xmlHead = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" standalone=\"yes\" ?>";
if (!withXmlHead) xmlHead = "";
- return QCString( xmlHead) +
+ return QCString( xmlHead) +
"\n<CRubEvntPair>" +
"\n <m_Pere>" +QCString( m_Pere ) + "</m_Pere>"
"\n <m_PkDoc>" +QCString( m_PkDoc ) + "</m_PkDoc>"
return QTime( h, m, s, ms );
}
+// -------------------- IS_DATE_VALID -------------------------------------------
+/*! \brief non documente */
+QString C_TokenInterpret::IS_DATE_VALID(QStringList &arg_list)
+{if (arg_list.count()<=0) return TR("::IS_DATE_VALID() 1er argument manquant");
+ QDateTime dt = QDateTime::fromString ( arg_list[0], Qt::ISODate );
+ if ( dt.isValid () ) return "1";
+ else return "0";
+}
+
// -------------------- GET_DOC_DATE_FIN -------------------------------------------
/*! \brief non documente */
-QString C_TokenInterpret::GET_DOC_DATE_FIN(QStringList &)
- {if (G_mCDC->m_pCRubCurrentRecord)
- {return G_mCDC->m_pCRubCurrentRecord->m_Fin;
- }
- return QString("");
- }
+QString C_TokenInterpret::GET_DOC_DATE_FIN(QStringList &arg_list)
+{ if (G_mCDC->m_pCRubCurrentRecord==0) return "";
+ QDateTime dt = QDateTime::fromString ( G_mCDC->m_pCRubCurrentRecord->m_Fin, Qt::ISODate );
+ if ( ! dt.isValid () ) return "";
+ if ( arg_list.count() ) return dt.toString(arg_list[0].stripWhiteSpace());
+ return dt.toString("yyyy-MM-dd hh:mm:ss");
+}
+
//-------------------------- GET_DOC_PROP_0 -------------------------------------------
/*! \brief non documente */
QString C_TokenInterpret::GET_DOC_PROP_0(QStringList &)
QString dstFile = G_pCApp->resolvePath(arg_list[1].stripWhiteSpace()); // nom de du fichier image de remplacement
CGestIni::Param_UpdateFromDisk(srcFile, str);
for (int i=2; i<nb; ++i)
- {by = arg_list[i].stripWhiteSpace(); // nom de la variable ou nom d'un fichier (n'ayons peur de rien)
- //if (value.startsWith("$File"))
- // {value = G_pCApp->resolvePath(value.mid(5));
- // value = CGestIni::Param_UpdateFromDisk(value);
- // }
- //else
- {toReplace = QString("{{%1}}").arg(by); // ce qu'il y a a remplacer dans le fichier est le nom de la variable encadre de {{}}
- by = (*G_mCDC->m_pVariables)[by]; // la valeur est le contenu de la variable
- }
- str.replace(toReplace,by);
+ { by = arg_list[i].stripWhiteSpace(); // nom de la variable ou nom d'un fichier (n'ayons peur de rien)
+ toReplace = QString("{{%1}}").arg(by); // ce qu'il y a a remplacer dans le fichier est le nom de la variable encadre de {{}}
+ by = (*G_mCDC->m_pVariables)[by]; // la valeur est le contenu de la variable
+ str.replace(toReplace,by);
}
CGestIni::Param_UpdateToDisk(dstFile, str);
return QString("");
/*! \brief non documente */
QString C_TokenInterpret::RUBRIQUE_SHOW(QStringList &arg_list)
{int nb = arg_list.count();
- if (nb<1) return TR("::RUBRIQUE_SHOW() rubrique name omited"); //{{GET LAST IMAGE NAME}}
- if (G_pCApp->m_pDrTux==0) return TR("::RUBRIQUE_SHOW() G_pCApp->m_pDrTux==0 ");
+ if (nb<1) return TR("::RUBRIQUE_SHOW() rubrique name omited"); //{{GET LAST IMAGE NAME}}
+ if (G_pCApp->m_pDrTux==0) return TR("::RUBRIQUE_SHOW() G_pCApp->m_pDrTux==0 ");
QString rubrique = arg_list[0].stripWhiteSpace();
QString val = "t";
else
{if (pCMDI_Generic==0) G_pCApp->m_pDrTux->OnActiverOrCreateRubrique(rubrique);
pCMDI_Generic = (CMDI_Generic*) G_pCApp->m_pDrTux->IsExistRubrique(rubrique);
- if (pCMDI_Generic==0) return TR("::RUBRIQUE_SHOW() la rubrique de destination: \"") + rubrique + TR("\" n'a pu être cree");
+ if (pCMDI_Generic==0) return TR("::RUBRIQUE_SHOW() la rubrique de destination: \"") + rubrique + TR("\" n'a pu être cree");
pCMDI_Generic->hide();
}
return QString("");
}
+//-------------------------- SET_DOC_DATE_DEB -------------------------------------------
+/*! \brief non documente */
+QString C_TokenInterpret::SET_DOC_DATE_DEB(QStringList &arg_list)
+{ if (G_mCDC->m_isJustForWatch==CDevilCrucible::JustForWatch) return QString("");
+ int nb = arg_list.count();
+ if (nb<1) return TR("::SET_DOC_DATE_DEB() date omited");
+
+ QString date = arg_list[0].stripWhiteSpace();
+ QDateTime dt = QDateTime::fromString ( date, Qt::ISODate );
+
+ if ( !dt.isValid () ) return TR("::SET_DOC_DATE_DEB() invalid date '%1' ").arg(date);
+
+ if (G_mCDC->m_pCRubCurrentRecord)
+ { G_mCDC->m_pCRubCurrentRecord->m_Date = date;
+ if (G_pCApp->m_pDrTux==0) {G_pCApp->CouCou(TR("Erreur VALIDER_DOSSIER() : DrTux non initialise"));return QString::null;}
+ G_pCApp->m_pDrTux-> initAllRubriquesComboWithRubList();
+ }
+ return QString("");
+}
//-------------------------- SET_DOC_DATE_FIN -------------------------------------------
/*! \brief non documente */
}
return QString::null;
}
+
//-------------------------- DATE_DOCUMENT -------------------------------------------
/*! \brief non documente */
QString C_TokenInterpret::DATE_DOCUMENT(QStringList &arg_list)
if (format.length()==0) return TR("Syntax error in DATE DOCUMENT format date missed after 'FORMAT'");
//int id = GetIDCurrentDoc(typ_doc.toLong());
CRubRecord *pCRubRecord;
- if (doc_typ.upper() == "THIS") pCRubRecord = G_mCDC->m_pCRubCurrentRecord;
- else pCRubRecord = GetIDCurrentDoc(doc_typ);
+ if (doc_typ=='*' ||doc_typ.upper() == "THIS") pCRubRecord = G_mCDC->m_pCRubCurrentRecord;
+ else pCRubRecord = GetIDCurrentDoc(doc_typ);
if (pCRubRecord==0) return TR("Syntax error in DATE DOCUMENT Document type : '") + doc_typ + "' not found";
QDateTime qdt = pCRubRecord->getDateTime(); // QDate::fromString ( pCRubRecord->m_Date, Qt::ISODate ); // pCRubRecord->getDateTime()
return qdt.toString (format);
//-------------------------- TITRE_PATIENT -------------------------------------------
/*! \brief non documente */
QString C_TokenInterpret::TITRE_PATIENT(QStringList &)
- {QString resolvToken = G_mCDC->m_pMB->GetFieldValue(G_mCDC->m_pMB->m_DOSS_IDENT_TBL_NAME, G_mCDC->m_pMB->m_DOSS_IDENT_TITRE,
- G_mCDC->m_pMB->m_DOSS_IDENT_REF_PK , G_mCDC->m_IdentPrimKey);
+ {QString resolvToken = "";
+ // QString resolvToken = G_mCDC->m_pMB->GetFieldValue(G_mCDC->m_pMB->m_DOSS_IDENT_TBL_NAME, G_mCDC->m_pMB->m_DOSS_IDENT_TITRE,
+ // G_mCDC->m_pMB->m_DOSS_IDENT_REF_PK , G_mCDC->m_IdentPrimKey);
if (resolvToken=="")
{QVariant qvar;
G_mCDC->m_pMB->GetFieldValue(G_mCDC->m_pMB->m_DOSS_IDENT_TBL_NAME, G_mCDC->m_pMB->m_DOSS_IDENT_NSS,
static QString REPLACE_IN_FILE (QStringList &arg_list);
static QString RUBRIQUE_SHOW (QStringList &arg_list);
static QString SET_DOC_DATE_FIN (QStringList &arg_list);
+ static QString SET_DOC_DATE_DEB (QStringList &arg_list);
static QString SET_DOC_PROP_0 (QStringList &arg_list);
static QString SET_DOC_PROP_1 (QStringList &arg_list);
static QString SET_DOC_PROP_2 (QStringList &arg_list);
static QString INTERVENANT (QStringList &arg_list);
static QString INCLUDE (QStringList &arg_list);
static QString INCLUDE (QStringList &arg_list, QString &path);
+ static QString IS_DATE_VALID (QStringList &arg_list);
static QString MESSAGE_ALERT (QStringList &arg_list);
static QString MESSAGE_POPUP (QStringList &arg_list);
static QString NOM_MEDECIN (QStringList &arg_list);
{"INSERT_IMAGE", C_TokenInterpret::INSERT_IMAGE},
{"INTERVENANT", C_TokenInterpret::INTERVENANT},
{"INTITULE", C_TokenInterpret::INTITULE},
- {"IO", C_TokenInterpret::INDEX_OF}
+ {"IO", C_TokenInterpret::INDEX_OF},
+ {"ISDV", C_TokenInterpret::IS_DATE_VALID},
+ {"IS_DATE_VALID", C_TokenInterpret::IS_DATE_VALID}
};
static KEY_MACRO G_MacroTab_J[ ] = {{"J_NOP", C_TokenInterpret::NOP}};
static KEY_MACRO G_MacroTab_K[ ] = {{"K_NOP", C_TokenInterpret::NOP}};
};
static KEY_MACRO G_MacroTab_S[ ] = {{"SAVE_CURRENT_DOC", C_TokenInterpret::SAVE_CURRENT_DOC},
{"SAVE_LAST_IMAGE_NAME", C_TokenInterpret::SAVE_LAST_IMAGE_NAME},
+ {"SET_DATE_DOC", C_TokenInterpret::SET_DOC_DATE_DEB},
{"SET_DOC_DATE_FIN", C_TokenInterpret::SET_DOC_DATE_FIN},
+ {"SET_DOC_DATE_DEB", C_TokenInterpret::SET_DOC_DATE_DEB},
{"SET_DOC_PROP_0", C_TokenInterpret::SET_DOC_PROP_0},
{"SET_DOC_PROP_1", C_TokenInterpret::SET_DOC_PROP_1},
{"SET_DOC_PROP_2", C_TokenInterpret::SET_DOC_PROP_2},
if ( dlg->exec() == QDialog::Accepted )
{ //................... remettre a jour le comboBox ................................
-// pCPrtQListBoxItem->SetType((*it).m_Date);
pCPrtQListBoxItem->SetDate((*it).m_Date);
pCPrtQListBoxItem->setText((*it).m_Date.left(10) + " " +(*it).m_Libelle );
//................... mettre le document en modified (en replacant les data ds rubrique liste) ......................
CGestIni::Param_UpdateToDisk(G_pCApp->m_PathAppli+"RecordLog.log", G_pCApp->m_pCMoteurBase->m_debugStr);
*/
}
+//------------------------------ initAllRubriquesComboWithRubList ------------------------------------------------------------
+// si pour une raison ou une autre il faut mettre a jour la liste des combo box de chaque fenetre
+// exemple la date d'une rubrique est modifiee par une macro donc ll'ordre
+//
+void DrTux::initAllRubriquesComboWithRubList()
+{ //.............. réinitialiser les affichages des rubriques ...................
+ QString pk = "";
+ int i = 0;
+ QWidgetList windowsList = m_pQWorkSpaceRub->windowList();
+ CPrtQListBoxItem *pCPrtQListBoxItem = 0;
+ QMap<int,QString>::Iterator mit;
+ QMap <int, QString> map_activeRubTypeAndPk;
+
+ // Dock_Menu a-t-il qq chose à sauvegarder ?
+ if (m_pForm_Menu) m_pForm_Menu->checkItemToSave();
+ //.............. mettre à jour la liste des rubriques avec le contenu des éditeurs ...................
+ for ( i = 0; i < int(windowsList.count()); ++i )
+ { CMDI_Generic *pCMDI_Generic = (CMDI_Generic*) windowsList.at(i);
+ pCPrtQListBoxItem = pCMDI_Generic->GetCurrentDocItem();
+ if ( pCPrtQListBoxItem ) // si c'est un enregistrement de rubrique active
+ // if ( (id = pCMDI_Generic->GetCurrent_RubList_ID()) !=-1)
+ { //............. on mape le type de la rubrique avec le pk des rubriques actives .....................
+ // les Pk peuvent etre provisoires et seront changes lors de l'enregistement par les vrais
+ if (pCPrtQListBoxItem) map_activeRubTypeAndPk[pCMDI_Generic->GetType()] = pCPrtQListBoxItem->GetUser(); // OUI c'est le boxon le Pk est dans le user de CPrtQListBoxItem.
+ pCMDI_Generic->IfModified_SaveInRubList();
+ }
+ }
+ //.................... recharger les combo de chaque rubrique ..................................................
+ //
+ for ( i = 0; i < int(windowsList.count()); ++i )
+ { QString pkToActivate = "";
+ CMDI_Generic *pCMDI_Generic = (CMDI_Generic*) windowsList.at(i);
+ //....... chercher si le Pk actif de cette rubrique dans la liste construite..............................
+ // et relevee plus haut de la map liant le type de rubrique avec le pk de l'enregistrement actif
+ mit = map_activeRubTypeAndPk.find(pCMDI_Generic->GetType());
+ //....... un record est identifie comme actif si : ....................
+ // son type fait partie des type de rubriques actives
+ // le Pk (provisoire ou pas) associe a cette rubrique active
+ // est le meme que le record
+ if ( mit != map_activeRubTypeAndPk.end() )
+ { pk = mit.data ();
+ if (pk!="-1") pkToActivate = pk; // si ne satisfait pas aux conditions on ne retient pas ce record comme celui actif dans une rubrique
+ }
+ pCMDI_Generic->reinitComboBoxWithRubList(&m_RubList, pkToActivate);
+ }
+}
//------------------------------ RubListMakeWhithNewDoss ------------------------------------------------------------
void DrTux::RubListMakeWhithNewDoss()
{m_RubList.clear(); // effacer la liste
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=.\drtux.dsp - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
void ExeScript(QString &text);
QString On_CustomAction(QString& script, C_UserQAction *pQAction);
void OnChangePathGlossaire(QString & dir);
+ void initAllRubriquesComboWithRubList();
void connectAllCustomQAction();
//........................ creation des fenêtres MDI ......................................
// dans l'espace rubrique: m_pQWorkSpaceRub
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=.\gest_user.dsp - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:12px; font-weight:400; font-style:normal;">
+</style></head><body style=" font-family:'Lucida Grande'; font-size:11pt; font-weight:400; font-style:normal;">
<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;">
<tr>
<td style="border: none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">192.168.0.13</span></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-size:9pt;">00:0C:29:C5:0A:06</span></p>
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#000000;">Adresse du fichier de configuration</span><span style=" font-family:'courier'; font-size:9pt; color:#000000;"> </span><span style=" font-size:9pt; color:#000000;">: /mnt/hgfs/Documents/medintux/Programmes/medicatux/bin/medicatux.ini</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">====================================== Données du poste de travail =======================================<br /></span><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse IP</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">192.168.0.3</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt;">Adresse mac</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">:</span><span style=" font-family:'courier'; font-size:9pt;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt;">70:CD:60:F0:F2:F1</span></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">Adresse du fichier de configuration</span><span style=" font-family:'courier'; font-size:9pt; color:#000000;"> </span><span style=" font-family:'Sans Serif'; font-size:9pt; color:#000000;">: /Users/rolandsevin/Documents/medintux/Programmes/medicatux/bin/medicatux.ini</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">========================================================================================================== <br />Modif RS Manager du 21-02-2013 Version 2.15.000</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;">- </span><span style=" font-family:'courier'; font-size:9pt; text-decoration: underline;">FONCTIONNALITES</span><span style=" font-family:'courier'; font-size:9pt;"> : </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'courier'; font-size:9pt;"> ° Version béta non exploitable . <br />========================================================================================================== <br /></span></p></td></tr></table></body></html>
\ No newline at end of file
dose-kg|dose-kg|doses-kg|f
comprimé orodispersible|comprimé orodispersible|comprimés orodispersibles|m
comprimé effervescent|comprimé effervescent|comprimés effervescents|m
-cuillère à soupe|cuillère à soupe|cuillères à soupe|f
\ No newline at end of file
+cuillère à soupe|cuillère à soupe|cuillères à soupe|f
+dose|dose|doses|f
\ No newline at end of file
<version>1</version>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>4663542</m_id>
+ <m_id>7799957</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>VELPEAU Gilet orthopédique épaule T3</m_commercialName>
+ <m_commercialName>ALGOSTERIL Compr stérile 10x10cm B/16</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>9952989</m_id>
+ <m_id>7328910</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>URGOTUL LITE BORDER Pans hydrocellulaire 10x20cm B/10</m_commercialName>
+ <m_commercialName>ARGILETZ Argile verte surfine Pdr B/1kg</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>6299307</m_id>
+ <m_id>3149978</m_id>
+ <m_id_type>CIP</m_id_type>
+ <m_commercialName>BETADINE DERM 10% S a loc Fl/125ml</m_commercialName>
+ <m_dci_1Name>POVIDONE IODÉE</m_dci_1Name>
+ <m_dci_2Name></m_dci_2Name>
+ <m_dci_3Name></m_dci_3Name>
+ <m_owner>DS</m_owner>
+ <m_lang>fr</m_lang>
+ <m_ucd></m_ucd>
+ <m_ucd_price>000,,00</m_ucd_price>
+ <m_atc>D08AG02</m_atc>
+ <m_generique>R</m_generique>
+ <m_statut>VH</m_statut>
+ </C_BDM_DrugListRecord>
+ <C_BDM_DrugListRecord>
+ <version>1</version>
+ <m_id>4555203</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>NYLEX Bde extensible stérile 10cmx4m</m_commercialName>
+ <m_commercialName>ELASTOPLAST Bde adhésive élastique 3cmx2,5m</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>4555203</m_id>
+ <m_id>6299307</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>ELASTOPLAST Bde adhésive élastique 3cmx2,5m</m_commercialName>
+ <m_commercialName>NYLEX Bde extensible stérile 10cmx4m</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>3149978</m_id>
- <m_id_type>CIP</m_id_type>
- <m_commercialName>BETADINE DERM 10% S a loc Fl/125ml</m_commercialName>
- <m_dci_1Name>POVIDONE IODÉE</m_dci_1Name>
+ <m_id>80D5B9A0-76C8-084C-BBA5-7E789696DF9D</m_id>
+ <m_id_type>FRT</m_id_type>
+ <m_commercialName>Sparadrap industriel</m_commercialName>
+ <m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
- <m_owner>DS</m_owner>
+ <m_owner>OW</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
<m_ucd_price>0000,00</m_ucd_price>
- <m_atc>D08AG02</m_atc>
- <m_generique>R</m_generique>
+ <m_atc></m_atc>
+ <m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>7328910</m_id>
+ <m_id>9952989</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>ARGILETZ Argile verte surfine Pdr B/1kg</m_commercialName>
+ <m_commercialName>URGOTUL LITE BORDER Pans hydrocellulaire 10x20cm B/10</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
</C_BDM_DrugListRecord>
<C_BDM_DrugListRecord>
<version>1</version>
- <m_id>7799957</m_id>
+ <m_id>4663542</m_id>
<m_id_type>cip</m_id_type>
- <m_commercialName>ALGOSTERIL Compr stérile 10x10cm B/16</m_commercialName>
+ <m_commercialName>VELPEAU Gilet orthopédique épaule T3</m_commercialName>
<m_dci_1Name></m_dci_1Name>
<m_dci_2Name></m_dci_2Name>
<m_dci_3Name></m_dci_3Name>
<m_owner>DS_A</m_owner>
<m_lang>fr</m_lang>
<m_ucd></m_ucd>
- <m_ucd_price>0000,00</m_ucd_price>
+ <m_ucd_price>000,,00</m_ucd_price>
<m_atc></m_atc>
<m_generique></m_generique>
<m_statut>VH</m_statut>
#include "../../MedinTuxTools-QT4/C_DragQTreeWidget/C_DragQTreeWidget.h"
#include "../../MedinTuxTools-QT4/medicabase/C_BaseMedica.h"
#include "../../MedinTuxTools-QT4/medicabase/C_BDM_TheriaquePlugin.h"
+#include "../../MedinTuxTools-QT4/medicabase/C_BDM_GenericPlugin.h"
#include "../../MedinTuxTools-QT4/medicabase/C_BDM_DatasempPlugin.h"
#include "../../MedinTuxTools-QT4/medicabase/C_Frm_Prescription.h"
#include "../../MedinTuxTools-QT4/medicabase/C_PatientCtx.h"
m_pGUI->pushButton_CustomListMenu->setIcon( Theme::getIcon("medicatux/menu_left.png") ) ;
m_pGUI->pushButton_CustomListMenu->setFlat(true);
- m_pGUI->toolBox_ListesProduits->setItemIcon ( toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_CustomList"), Theme::getIcon("medicatux/toolbox_custom.png") );
- m_pGUI->toolBox_ListesProduits->setItemIcon ( toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Favoris"), Theme::getIcon("medicatux/toolbox_withposo.png") );
- m_pGUI->toolBox_ListesProduits->setItemIcon ( toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Historique"), Theme::getIcon("medicatux/toolbox_historique.png") );
- m_pGUI->toolBox_ListesProduits->setItemIcon ( toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Accessoires"), Theme::getIcon("medicatux/toolbox_accessoires.png") );
+ m_pGUI->toolBox_ListesProduits->setItemIcon ( "page_CustomList", Theme::getIcon("medicatux/toolbox_custom.png") );
+ m_pGUI->toolBox_ListesProduits->setItemIcon ( "page_Favoris", Theme::getIcon("medicatux/toolbox_withposo.png") );
+ m_pGUI->toolBox_ListesProduits->setItemIcon ( "page_Historique", Theme::getIcon("medicatux/toolbox_historique.png") );
+ // m_pGUI->toolBox_ListesProduits->setItemIcon ( "page_Accessoires", Theme::getIcon("medicatux/toolbox_accessoires.png") );
//..........//////// navigateur internet ////////....................
QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptCanOpenWindows,TRUE);
m_webView_Info->settings()->setAttribute( QWebSettings::JavascriptEnabled, true);
m_webView_Info->settings()->setLocalStoragePath ( CApp::pCApp()->pathAppli()+"/Ressources/HtmlCache/" );
m_pGUI->gridLayout_5->addWidget(m_webView_Info, 0, 0, 1, 1);
-
+ //........... liste des plugins .............................................
+ m_pGUI->comboBox_choixBase->addItems(CApp::pCApp()->getParamList("DBM_connectors","name",1));
//..........//////// barre de menus ////////....................
m_pGUI->pushButton_RetrySite->setIcon ( Theme::getIcon(CApp::pCApp()->applicationName()+"/RelancerModele.png") ) ;
m_pGUI->pushButton_UpdateCache->setIcon ( Theme::getIcon(CApp::pCApp()->applicationName()+"/UpdateInBase.png") ) ;
m_pGUI->treeWidget_Favoris->setMimeType("text/medintux_prd_drag");
m_pGUI->treeWidget_Favoris->setSortingEnabled(true);
m_pGUI->treeWidget_Favoris->setAlternatingRowColors ( TRUE );
+ m_pGUI->treeWidget_Favoris->setSelectionMode(QAbstractItemView::ExtendedSelection);
m_pGUI->treeWidget_CustomDrugsList->setMimeType("text/medintux_prd_drag");
m_pGUI->treeWidget_CustomDrugsList->setSortingEnabled(true);
//............................... le systeme de gestion des onglets ...........................................................
m_Button_TabCorner = new CMyColorButton(QApplication::palette ( this ).color(this->backgroundRole()), Theme::getIcon("medicatux/tabSet.png"), QRect(QRect(0,0,16,16)));
+ connect( m_Button_TabCorner, SIGNAL(clicked ( bool )), this, SLOT(Slot_m_Button_TabCorner_clicked(bool)) );
m_pGUI->tabWidget_HAS_Infos->setCornerWidget ( m_Button_TabCorner);
connect( m_pGUI->tabWidget_HAS_Infos, SIGNAL(currentChanged (int )) , this, SLOT(Slot_tabWidget_Main_currentChanged( int )) );
- connect( m_pGUI->tabWidget_HAS_Infos, SIGNAL(tabCloseRequested (int )) , this, SLOT(Slot_tabWidget_Main_CloseRequested( int )) );
- connect( m_Button_TabCorner, SIGNAL(clicked ( bool )), this, SLOT(Slot_m_Button_TabCorner_clicked(bool)) );
+
//............................... le systeme des listes de classification ...........................................................
connect( m_pGUI->toolBox_classifications, SIGNAL(currentChanged ( int )), this, SLOT(Slot_toolBox_classifications_currentChanged(int)) );
connect( m_pGUI->toolBox_ListesProduits, SIGNAL(currentChanged ( int )), this, SLOT(Slot_toolBox_ListesProduits_currentChanged(int)) );
{ QWidget *pQWidget = m_pGUI->toolBox_classifications->widget ( index );
QString name = pQWidget->objectName();
QString id = "";
- // if ( name == "page_ATC" && m_pGUI->treeWidget_ATC->topLevelItemCount()==0)
- // { m_pC_BDM_Api->fill_ATC_treeWidget(m_pGUI->treeWidget_ATC);
- // }
QTreeWidget *pQTreeWidget = currrentProductListTreeWidget();
if ( pQTreeWidget == 0 ) return;
QTreeWidgetItem *pQTreeWidgetItem = pQTreeWidget->currentItem();
//--------------------------------- Slot_m_Button_TabCorner_clicked -----------------------------------------------------------------------
void C_MW_Prescription::Slot_m_Button_TabCorner_clicked(bool)
-{ int nbToFind = 0;
- //........ parser la QMap des removed pour creer le menu ................
- // des rubriques a activer
- QMenu *pQMenu = new QMenu(this);
- QMapIterator<QString, QWidget*> it(m_RemovedTabWidgets);
- while (it.hasNext())
- { it.next();
- ThemePopup::addOptionMenu(pQMenu, tr(" %1 - Activer : %2").arg(it.key(), it.key()));
- ++nbToFind;
- }
-
- //........ actionner le menu ................
- if (nbToFind)
- { QAction *QAction = pQMenu->exec(this->cursor().pos());
- if (QAction)
- { QString key = QAction->data().toString();
- QWidget *pTab_QWidget = m_RemovedTabWidgets[key];
- if (pTab_QWidget)
- { m_pGUI->tabWidget_HAS_Infos->addTab(pTab_QWidget, key);
- m_RemovedTabWidgets.remove(key);
- m_pGUI->tabWidget_HAS_Infos->setCurrentWidget(pTab_QWidget);
- }
- }
- }
-}
-//--------------------------------- activeTabWidgetByObjectName -----------------------------------------------------------------------
-QWidget * C_MW_Prescription::activeTabWidgetByObjectName(QTabWidget * pQTabWidget, const QString & widget_page_object_name)
-{
- //............ rechercher le widget de la page ....................
- // dans la liste des removed
- QWidget *pTab_QWidgetToRetrieve = 0;
- QMapIterator<QString, QWidget *> it (m_RemovedTabWidgets) ;
- while ( it.hasNext() )
- { it.next();
- QWidget *pTab_QWidget = it.value();
- if ( pTab_QWidget->objectName() == widget_page_object_name )
- { pTab_QWidgetToRetrieve = pTab_QWidget;
- break;
- }
- } // while (it.hasNext())
- if ( pTab_QWidgetToRetrieve==0 ) return 0;
- //............. si trouve l'ajouter au QTabWidget ...........
- QString key = it.key(); // la clef est le titre de l'objet dans la QTabWidget et non son objectName()
- pQTabWidget->addTab( pTab_QWidgetToRetrieve, key );
- //............. l'enlever de la liste des removed ...........
- m_RemovedTabWidgets.remove( key );
- return pTab_QWidgetToRetrieve;
-}
-
-//--------------------------------- Slot_tabWidget_Main_CloseRequested -----------------------------------------------------------------------
-void C_MW_Prescription::Slot_tabWidget_Main_CloseRequested( int index)
-{ if ( m_pGUI->tabWidget_HAS_Infos->count () <= 1) return; // laisser au moins un onglet
- QWidget *pTab_QWidget = m_pGUI->tabWidget_HAS_Infos->widget(index);
- m_RemovedTabWidgets.insert(m_pGUI->tabWidget_HAS_Infos->tabText ( index ), pTab_QWidget);
- m_pGUI->tabWidget_HAS_Infos->removeTab (index );
+{ m_pGUI->tabWidget_HAS_Infos->doPageChoiceMenu( this );
}
//--------------------------------- currrentProductListTreeWidget -----------------------------------------------------------------------
{ QString mask = CGestIni::Param_UpdateFromDisk(CApp::pCApp()->pathAppli()+"/Ressources/OrdoMask/OrdoMask.xml");
m_pGUI->textEdit_ordonnance->setText(ordoToHtml(mask));
}
-
}
//--------------------------------- prescriptionToXML ----------------------------------------------------------------------------
optionList << "=3=#medicatux/monographie.png#" + tr("show monographie for this product");
optionList << "-----------";
if (pageName == "page_CustomList")
- { optionList << "=4=#medicatux/objectDel.png#" + tr("Remove selected items from '%1'.").arg(listName);
+ { optionList << "=4=#medicatux/objectDel.png#" + tr("Remove selected items from custom drugs list '%1'.").arg(listName);
}
- else
- { optionList << "=2=#medicatux/sequenceadd.png#" + tr("Add this item to '%1'.").arg(listName);
+ if (m_pGUI->comboBox_customList->count())
+ { optionList << ">customDrugsList<"+tr("#medicatux/sequenceadd.png#Add this item to custom drugs list"); // menu d'appel du sous menu
+ for (int id=0; id<m_pGUI->comboBox_customList->count();++id) // options du sous menu
+ { QString item = m_pGUI->comboBox_customList->itemText(id); // nom de la custom drugs list
+ optionList << "<customDrugsList>=_"+item+"="+ item; // l'identification de l'option (entre deux signes =) est : _ suivi du nom de la liste
+ }
}
}
if (pageName == "page_CustomList")
{ optionList << "-----------";
- optionList << "=5=#medicatux/edit.png#" + tr("create new free item for '%1'.").arg(listName);
+ optionList << "=5=#medicatux/edit.png#" + tr("create new free item for custom drugs list '%1'.").arg(listName);
if (pQTreeWidget->selectedItems().size())
optionList << "=6=#medicatux/export_list.png#" + tr("Export selected items from '%1'.").arg(listName);
optionList << "=7=#medicatux/import_list.png#" + tr("Import items for '%1'.").arg(listName);
optionList << "-----------";
- optionList << "=8=#medicatux/create_list.png#" + tr("Create a new list.");
- optionList << "=9=#medicatux/remove_list.png#" + tr("Remove '%1'.").arg(listName);
+ optionList << "=8=#medicatux/create_list.png#" + tr("Create a new custom drugs list.");
+ optionList << "=9=#medicatux/remove_list.png#" + tr("Remove custom drugs list '%1'.").arg(listName);
}
if (optionList.size()==0) return;
optionList << "-----------";
- optionList << "=180=#medicatux/QuitterMenu.png#" + tr("Quit this menu.");
-
+ optionList << "=0=#medicatux/QuitterMenu.png#" + tr("Quit this menu.");
+ //........................ si commence par _ alors une liste custom ..............................
+ // a ete cliquee
QString option = ThemePopup(optionList,this, " border: 1px solid #8f8f91; border-radius: 6px; font-size: 11px;").DoPopupList();
+ if (option.startsWith('_') && pQTreeWidgetItem)
+ { QList < C_BDM_DrugListRecord > drugsList = makeDrugsListRecords_From_QTreeWidgetProducts(pQTreeWidget, 1);
+ add_Product_to_CustomProductsList(userName, option.mid(1), drugsList);
+ return;
+ }
switch(option.toInt())
{ case 1: //...... Add this product to current prescription ......
{ QList<QTreeWidgetItem *> itemsList = pQTreeWidget->selectedItems();
{treeWidget_Produits_itemDoubleClicked ( itemsList.at(i) , 0 );
}
} break;
- case 2: //...... Add this item to this list ......
- { QList < C_BDM_DrugListRecord > drugsList;
- if (pQTreeWidgetItem->text( COL_ORG )=="DS_A") drugsList << C_BDM_DrugListRecord_From_QTreeWidgetProductsItem (pQTreeWidgetItem);
- else drugsList = m_pC_BDM_Api->selectProductsList ( pQTreeWidgetItem->text( COL_ID ), C_BDM_PluginI::cip_filter, 1); // aller chercher dans liste des medocs un enregistremet correspondant au cip
- add_Product_to_CustomProductsList(userName, listName, drugsList);
- } break;
case 3: //...... show monographie for this product ......
{ show_ProductMonographie(C_BDM_DrugListRecord_From_QTreeWidgetProductsItem (pQTreeWidgetItem));
} break;
{ QString productsStr = "<font size=7pts color=#ff0000><b>";
for ( i=0; i<nb; ++i )
{ productsStr += "<br /> '" + drugsList.at(i).commercialName() + "'";
- } // endif (drugsList.size())
+ }
productsStr += "<br /></b></font>";
message = tr("Remove all the following %1 selected products.<br />"
"from <font color=#0000ff><b>'%2'</b></font> drugs list .Do you want this?").arg(productsStr, listName);
if (ret==QMessageBox::Apply)
{ for (i=0; i<nb; ++i)
{ m_pC_BDM_Api->del_Product_from_CustomProductsList(userName, listName, drugsList.at(i));
- } // endif (drugsList.size())
+ }
changeCurrentCustomList(userName, listName); // on recharge la liste
} // endif (ret==QMessageBox::Apply)
} break;
}
}
-//--------------------------------------- add_Product_to_CustomProductsList( -------------------------------------------------------
+//--------------------------------------- add_Product_to_CustomProductsList -------------------------------------------------------
int C_MW_Prescription::add_Product_to_CustomProductsList(const QString &userName, const QString &listName, QList < C_BDM_DrugListRecord > &drugsList)
-{
+{//............ activer eventuellement la liste ..........................
+ if (m_pGUI->comboBox_customList->currentText() != listName) Slot_comboBox_customList_activated(listName);
//............ ajouter la liste de drogue en base ........................
if ( m_pC_BDM_Api->add_Product_to_CustomProductsList(userName, listName, drugsList) )
{ //.......... ajouter les nouveaux a la treewidget ......................
QList < QTreeWidgetItem* > itemsList;
if ( fill_treeWidget_ProductsFromDrugList(m_pGUI->treeWidget_CustomDrugsList, drugsList, &itemsList))
{
- m_pGUI->toolBox_ListesProduits->setCurrentIndex ( toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_CustomList"));
+ m_pGUI->toolBox_ListesProduits->setCurrentItem ( "page_CustomList");
//............. selectionner les nouveaux arrivants ....................
for (int i = 0; i < itemsList.size(); ++i)
{ QTreeWidgetItem *item = itemsList.at(i);
}
pQWIdget = m_pGUI->toolBox_classifications->currentWidget();
- if (pQWIdget == toolWidgetByTabObjectName(m_pGUI->toolBox_classifications, "page_Indications"))
+ if (pQWIdget == m_pGUI->toolBox_classifications->toolWidgetByTabObjectName("page_Indications"))
{ fillTreeWidgetIndications( cip );
}
- else if (pQWIdget == toolWidgetByTabObjectName(m_pGUI->toolBox_classifications, "page_Composition"))
+ else if (pQWIdget == m_pGUI->toolBox_classifications->toolWidgetByTabObjectName( "page_Composition"))
{ fillTreeWidgetComposition(cip);
}
- else if (pQWIdget == toolWidgetByTabObjectName(m_pGUI->toolBox_classifications, "page_ATC"))
+ else if (pQWIdget == m_pGUI->toolBox_classifications->toolWidgetByTabObjectName( "page_ATC"))
{ QString atc = pQTreeWidgetItem->text(COL_ATC);
if (atc.length()==0 && cip.length() && m_pC_BDM_Api) atc = m_pC_BDM_Api->ATC_from_CIP(cip);
setListATC_onCode ( atc);
//------------------------------------ treeWidget_Produits_itemDoubleClicked --------------------------------------------------
void C_MW_Prescription::treeWidget_Produits_itemDoubleClicked ( QTreeWidgetItem *pQTreeWidgetItem , int )
{ if (pQTreeWidgetItem==0) return;
- QWidget *pTab_QWidget = tabWidgetByTabObjectName( m_pGUI->tabWidget_HAS_Infos, "tab_Prescription");
- if ( pTab_QWidget == 0 ) pTab_QWidget = activeTabWidgetByObjectName( m_pGUI->tabWidget_HAS_Infos, "tab_Prescription");
+ QWidget *pTab_QWidget = m_pGUI->tabWidget_HAS_Infos->tabWidgetByTabObjectName( "tab_Prescription");
+ if ( pTab_QWidget == 0 ) pTab_QWidget = m_pGUI->tabWidget_HAS_Infos->activeTabWidgetByObjectName( "tab_Prescription");
if ( pTab_QWidget == 0 ) return;
m_pGUI->tabWidget_HAS_Infos->setCurrentWidget ( pTab_QWidget );
Slot_add_product_In_C_Frm_Prescription(pQTreeWidgetItem);
//--------------------------------------- setCustomDrugListComboOn_ListName -------------------------------------------------------
void C_MW_Prescription::setCustomDrugListComboOn_ListName(const QString &_userName, const QString &listName)
{int index = m_pGUI->comboBox_customList->findText ( listName );
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
if (index != -1)
- {changeCurrentCustomList(userName, listName);
+ {changeCurrentCustomList(_userName, listName);
m_pGUI->comboBox_customList->setCurrentIndex(index);
- index = toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_CustomList");
+ index = m_pGUI->toolBox_ListesProduits->toolWidgetIndexByTabObjectName("page_CustomList");
m_pGUI->toolBox_ListesProduits->setItemText ( index, tr("Products list for %1").arg(listName) );
}
}
//--------------------------------------- changeCurrentCustomList -------------------------------------------------------
void C_MW_Prescription::changeCurrentCustomList(const QString &_userName, const QString &listName)
{
-#ifdef Q_WS_MAC
- QString userName = _userName;
-#endif
-#ifdef Q_WS_WIN
- QString userName = _userName.toLower();
-#endif
-#ifdef Q_WS_X11
- QString userName = _userName;
-#endif
- QList < C_BDM_DrugListRecord > drugsList = m_pC_BDM_Api->selectCustomProductsList(userName, listName,"", C_BDM_PluginI::no_filter);
+
+ QList < C_BDM_DrugListRecord > drugsList = m_pC_BDM_Api->selectCustomProductsList(_userName, listName,"", C_BDM_PluginI::no_filter);
m_pGUI->treeWidget_CustomDrugsList->clear();
fill_treeWidget_ProductsFromDrugList(m_pGUI->treeWidget_CustomDrugsList, drugsList);
}
{ listName = customList.at(0);
CApp::pCApp()->writeParam((CApp::pCApp()->applicationName() +"_TabManager").toAscii(), "Custom Products List", listName.toAscii());
}
- setCustomDrugListComboOn_ListName( userName, listName);
+ setCustomDrugListComboOn_ListName( _userName, listName);
}
}
//--------------------------------------- fillTreeWidgetComposition -------------------------------------------------------
void C_MW_Prescription::fillTreeWidgetComposition(const QString &cip)
-{QWidget *pQWidget = toolWidgetByTabObjectName(m_pGUI->toolBox_classifications, "page_Composition");
+{QWidget *pQWidget = m_pGUI->toolBox_classifications->toolWidgetByTabObjectName( "page_Composition");
if ( pQWidget != m_pGUI->toolBox_classifications->currentWidget () ) return; // si pas la page courante cela ne la concerne pas
if ( m_pC_BDM_Api==0 ) return;
if (! m_pC_BDM_Api->isValid() ) return;
m_pGUI->treeWidget_Produits->clear();
int nb = fill_treeWidget_ProductsFromDrugList(m_pGUI->treeWidget_Produits, drugsList);
if ( nb )
- { QWidget *pQWidget = toolWidgetByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Produits");
- if (pQWidget) m_pGUI->toolBox_ListesProduits->setCurrentWidget ( pQWidget );
+ { m_pGUI->toolBox_ListesProduits->setCurrentItem ( "page_Produits" );
}
m_pGUI->label_ListMedoc->setText(tr("%1 sur %2 produit(s)").arg(QString::number(nb),QString::number(m_pC_BDM_Api->drugsList_Size())));
m_pC_BDM_Api->outMessage(tr("Plugin '%1' Slot_treeWidget_Composition_itemClicked() en : %2").arg(m_pC_BDM_Api->plugin_name(), QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
m_pGUI->treeWidget_Produits->clear();
int nb = fill_treeWidget_ProductsFromDrugList(m_pGUI->treeWidget_Produits, drugsList);
if (nb)
- { QWidget *pQWidget = toolWidgetByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Produits");
- if (pQWidget) m_pGUI->toolBox_ListesProduits->setCurrentWidget ( pQWidget );
+ { m_pGUI->toolBox_ListesProduits->setCurrentItem ( "page_Produits" );
}
m_pGUI->label_ListMedoc->setText(tr("%1 sur %2 produit(s)").arg(QString::number(nb),QString::number(m_pC_BDM_Api->drugsList_Size())));
m_pC_BDM_Api->outMessage(tr("Plugin '%1' Slot_treeWidget_Indications_itemClicked() fill treeWidget_Produits en : %2").arg(m_pC_BDM_Api->plugin_name(), QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
m_pGUI->treeWidget_Indications->header()->showSection(4);
// setFontFromIniFile(); deja fait lors creation C_Frm_Prescription
- /*
- //....... config polices .....................
- QString pixSize = "11";
- QString family = "Arial";
- QFont initialFnt = this->font();
-#ifdef Q_WS_MAC
- QString section = "medicatux MacFontParam";
-#endif
-#ifdef Q_WS_WIN
- QString section = "medicatux WinFontParam";
-#endif
-#ifdef Q_WS_X11
- QString section = "medicatux LinFontParam";
-#endif
- if (CApp::pCApp()->readParam(section.toAscii(), "posologieEditor", &pixSize, &family)==QString::null) // zero = pas d'erreur
- { initialFnt.setPixelSize(pixSize.toInt());
- initialFnt.setFamily(family);
- if (m_pC_Frm_Prescription) m_pC_Frm_Prescription->setFont(initialFnt);
- }
- if (CApp::pCApp()->readParam(section.toAscii(), "interface", &pixSize, &family)==QString::null) // zero = pas d'erreur
- { initialFnt.setPixelSize(pixSize.toInt());
- initialFnt.setFamily(family);
- this->setFont(initialFnt);
- }
- */
- /* marche po ??!!
- if (CApp::pCApp()->readParam("medicatux geometry", "list products header", &val1)==QString::null) // zero = pas d'erreur
- {QHeaderView *pQHeaderView = m_pGUI->treeWidget_Produits->header ();
- QByteArray ba = QByteArray::fromBase64(val1.toAscii());
- if (pQHeaderView->restoreState(ba))
- {pQHeaderView->updateGeometry();
- }
- }
- */
+
setMainTabWidgetConfig();
}
//--------------------------------- setFontFromIniFile -----------------------------------------------------------------------
int index = -1;
QStringList list = CApp::pCApp()->getParamList( section , "inactiveTab", 1);
for (int i = 0; i<list.size(); ++i)
- { QWidget *pTab_QWidget = tabWidgetByTabText(m_pGUI->tabWidget_HAS_Infos, list[i], &index);
- if (pTab_QWidget)
- { m_RemovedTabWidgets.insert(list[i], pTab_QWidget);
- m_pGUI->tabWidget_HAS_Infos->removeTab (index );
- }
+ { m_pGUI->tabWidget_HAS_Infos->tabWidgetByTabText(list[i], &index);
+ m_pGUI->tabWidget_HAS_Infos->Slot_CloseRequested(index);
}
+
//............. activer l'onglet par defaut ..............................................................
// attention : la c'est l'objectName qui est stocke
- index = tabWidgetIndexByTabObjectName(m_pGUI->tabWidget_HAS_Infos, defaultTab);
- if (index != -1) m_pGUI->tabWidget_HAS_Infos->setCurrentIndex ( index );
+ m_pGUI->tabWidget_HAS_Infos->setCurrentItem ( defaultTab );
//............. activer la liste des produits par defaut ..............................................................
// attention : la c'est l'objectName qui est stocke
- index = toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, defaultProductsList);
- if (index != -1) m_pGUI->toolBox_ListesProduits->setCurrentIndex ( index );
+ m_pGUI->toolBox_ListesProduits->setCurrentItem ( defaultProductsList );
//............. activer la liste des classifications par defaut ..............................................................
// attention : la c'est l'objectName qui est stocke
- index = toolWidgetIndexByTabObjectName(m_pGUI->toolBox_classifications, defaultClassificationList);
- if (index != -1) m_pGUI->toolBox_classifications->setCurrentIndex ( index );
+ m_pGUI->toolBox_classifications->setCurrentItem ( defaultClassificationList );
//............. activer la combo accessoires ..............................................................
index = m_pGUI->comboBox_FamillesProduits->findText(defaultAccessoryList);
if (index != -1) { m_pGUI->comboBox_FamillesProduits->setCurrentIndex(index);
//--------------------------------- writeMainTabWidgetConfig -----------------------------------------------------------------------
void C_MW_Prescription::writeMainTabWidgetConfig()
-{ QStringList list;
- QMapIterator<QString, QWidget*> it(m_RemovedTabWidgets);
- while (it.hasNext())
- { it.next();
- list << it.key();
- }
+{ QStringList list = m_pGUI->tabWidget_HAS_Infos->removedList();
QByteArray section = (CApp::pCApp()->applicationName() +"_TabManager").toAscii();
QWidget *pQWidget = m_pGUI->toolBox_ListesProduits->currentWidget();
if (pQWidget)
* \return C_BDM_PluginI * pointer on plugin or zero if error
*/
-C_BDM_PluginI *C_MW_Prescription::set_BDM_Plugin(const QString &_namePlugin) // theriaque datasemp
+C_BDM_PluginI *C_MW_Prescription::set_BDM_Plugin(const QString &_namePlugin) // theriaque datasemp C_BDM_GENERICPLUGIN
{ QTime debTime = QTime::currentTime();
QTime debGTime = QTime::currentTime();
QString namePlugin = _namePlugin.toUpper().trimmed();
QMap<QString, C_BDM_PluginI*>::const_iterator it = CApp::pCApp()->m_pC_BDM_PluginI_Map.find(namePlugin);
//.............. si non trouve on initialise le plugin ...............................
if (it == CApp::pCApp()->m_pC_BDM_PluginI_Map.constEnd() ) // si pas trouve le creer et le rajouter a la liste
- { QString confData = QString("[BDM_Configuration]\n"
+ {
+ QString confData = QString("[BDM_Configuration]\n"
" PathAppli = %2\n"
" PathIni = %3\n").arg( CApp::pCApp()->pathAppli() , CApp::pCApp()->pathIni());
if (namePlugin=="THERIAQUE")
pC_BDM_PluginI = new C_BDM_TheriaquePlugin(confData, "MAIN_", 0, m_pGUI->textEdit_Monitor, m_pQProgressBar);
m_pC_BDM_Api->outMessage(tr("Database '%1' creation en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
}
+
+ else if (namePlugin=="C_BDM_GENERICPLUGIN")
+ { debTime = QTime::currentTime();
+ pC_BDM_PluginI = new C_BDM_GenericPlugin(confData, "MAIN_", 0, m_pGUI->textEdit_Monitor, m_pQProgressBar);
+ m_pC_BDM_Api->outMessage(tr("Database '%1' creation en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
+ }
+
else if (namePlugin=="DATASEMP")
{ debTime = QTime::currentTime();
pC_BDM_PluginI = new C_BDM_DatasempPlugin(confData, "MAIN_", 0, m_pGUI->textEdit_Monitor, m_pQProgressBar);
{pC_BDM_PluginI = it.value();
}
- //....................... activer ce plugin dans tous les objets qui en dependent ..................
+ //....................... activer ce plugin dans tous les objets qui en depcomboBox_choixBaseendent ..................
if ( pC_BDM_PluginI && pC_BDM_PluginI->isInitialised() && m_pC_BDM_Api)
{
m_pC_BDM_Api->connectToDataSource( pC_BDM_PluginI ); // donner au controleur le plugin
CApp::pCApp()->set_BDM_Plugin(pC_BDM_PluginI); // set_BDM_Plugin est defini dans C_Macro.h dont CApp est derive
m_pC_BDM_Api->addOwner(pC_BDM_PluginI->owner()); // n'est rajoute que si n'existe pas
- int indexPage = toolWidgetIndexByTabObjectName(m_pGUI->toolBox_ListesProduits, "page_Produits");
- m_pGUI->toolBox_ListesProduits->setItemText ( indexPage, tr("Products %1").arg(_namePlugin) );
- m_pGUI->toolBox_ListesProduits->setItemIcon ( indexPage, m_pC_BDM_Api->plugin_icon() );
- debTime = QTime::currentTime();
- //......... remplissage des listes ......................
- //QString objName = m_pGUI->toolBox_classifications->currentWidget()->objectName();
- //if (objName=="page_ATC" )
- { m_pC_BDM_Api->fill_ATC_treeWidget(m_pGUI->treeWidget_ATC);
- m_pC_BDM_Api->outMessage(tr("Database '%1' fill_ATC_treeWidget() en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
+ if (m_pC_BDM_Api->drugsList_Size()==0) // cas du plugin generique (pas de base medicamenteuse)
+ { m_pGUI->toolBox_ListesProduits->unactiveItemByObjectName("page_Accessoires");
+ m_pGUI->toolBox_ListesProduits->unactiveItemByObjectName("page_Produits");
+ m_pGUI->toolBox_classifications->unactiveItemByObjectName("page_Composition");
+ m_pGUI->toolBox_classifications->unactiveItemByObjectName("page_ATC");
+ }
+ else
+ { m_pGUI->toolBox_ListesProduits->activeItemByObjectName("page_Produits");
+ m_pGUI->toolBox_classifications->activeItemByObjectName("page_Composition");
+ m_pGUI->toolBox_classifications->activeItemByObjectName("page_ATC");
+ if (namePlugin=="DATASEMP")
+ { m_pGUI->toolBox_ListesProduits->activeItemByObjectName("page_Accessoires");
+ m_pGUI->toolBox_ListesProduits->setItemIcon ( "page_Accessoires", Theme::getIcon("medicatux/toolbox_accessoires.png") ); // pourquoi pert il son icone ??
+ }
+ else
+ { m_pGUI->toolBox_ListesProduits->unactiveItemByObjectName("page_Accessoires");
+ }
+ int indexPage = m_pGUI->toolBox_ListesProduits->toolWidgetIndexByTabObjectName("page_Produits");
+ m_pGUI->toolBox_ListesProduits->setItemText ( indexPage, tr("Products %1").arg(_namePlugin) );
+ m_pGUI->toolBox_ListesProduits->setItemIcon ( indexPage, m_pC_BDM_Api->plugin_icon() );
+ debTime = QTime::currentTime();
+ //......... remplissage des listes ......................
+ m_pC_BDM_Api->fill_ATC_treeWidget(m_pGUI->treeWidget_ATC); // ATC doit toujours etre remplie
+ m_pC_BDM_Api->outMessage(tr("Database '%1' fill_ATC_treeWidget() en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
}
- fill_only_showed_treeWidgets( m_pGUI->toolBox_ListesProduits->currentWidget()->objectName() );
debTime = QTime::currentTime();
-
- m_pC_BDM_Api->outMessage(tr("Database '%1' Slot_lineEdit_DrugsSearch_textChanged() en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
- m_pC_BDM_Api->outMessage(tr("Database '%1' connect\303\251e en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debGTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
+ fill_only_showed_treeWidgets( m_pGUI->toolBox_ListesProduits->currentWidget()->objectName() );
+ m_pC_BDM_Api->outMessage(tr("Database '%1' Slot_lineEdit_DrugsSearch_textChanged() en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
QString section = "medicatux data source";
CApp::pCApp()->writeParam(section.toAscii(), "name", namePlugin.toAscii());
if (m_pC_Frm_Prescription)
{ m_pC_Frm_Prescription->Slot_evaluateAllInteractions();
m_pC_Frm_Prescription->set_Thread_DBM_Plugin( namePlugin );
}
+ m_pC_BDM_Api->outMessage(tr("Database '%1' connect\303\251e en : %2").arg(namePlugin, QTime (0, 0, 0, 0 ).addMSecs(debGTime.msecsTo(QTime::currentTime())).toString("mm:ss:zzz") ));
}
else
{pC_BDM_PluginI = 0;
item->setText(7,lifeEventList.at(i).dateFin());
m_pGUI->treeWidget_ATCD->addTopLevelItem(item);
}
- //............... placer la liste des pathologies du patient dans les indications .................
- //fillTreeWidgetIndicationsFromPatientContext();
}
//------------------------ Slot_retranslateUi ---------------------------------------
void C_MW_Prescription::Slot_retranslateUi()
}
}
-//------------------------------------ C_MW_Prescription -------------------------------
+//------------------------------------ Slot_onQuit -------------------------------
void C_MW_Prescription::Slot_onQuit()
{ m_webView_Mono->stop();
m_runMacroForAll = 0;
void C_MW_Prescription::Slot_treeWidget_ATC_itemClicked ( QTreeWidgetItem *pQTreeWidgetItem , int )
{if (pQTreeWidgetItem==0) return;
if (m_pC_BDM_Api==0) return;
- QWidget *pTab_QWidget = toolWidgetByTabObjectName( m_pGUI->toolBox_ListesProduits, "page_Produits"); // zero si retire
+ QWidget *pTab_QWidget = m_pGUI->toolBox_ListesProduits->toolWidgetByTabObjectName("page_Produits"); // zero si retire
if ( pTab_QWidget == 0 ) return;
m_pGUI->toolBox_ListesProduits->setCurrentWidget ( pTab_QWidget );
int nb = m_pC_BDM_Api->selectProductsList(m_pGUI->treeWidget_Produits, pQTreeWidgetItem->text(1), C_BDM_PluginI::atc_filter , 20000 /* m_drugListMax */);
//------------------------------------ show_ProductMonographie --------------------------------------------------
void C_MW_Prescription::show_ProductMonographie(const C_BDM_DrugListRecord & drugListRecord)
{
- QWidget *pTab_QWidget = tabWidgetByTabObjectName( m_pGUI->tabWidget_HAS_Infos, "tab_Monographie"); // zero si retire
- if ( pTab_QWidget == 0 ) pTab_QWidget = activeTabWidgetByObjectName( m_pGUI->tabWidget_HAS_Infos, "tab_Monographie"); // aller chercher dans la liste des retires
+ QWidget *pTab_QWidget = m_pGUI->tabWidget_HAS_Infos->tabWidgetByTabObjectName("tab_Monographie"); // zero si retire
+ if ( pTab_QWidget == 0 ) pTab_QWidget = m_pGUI->tabWidget_HAS_Infos->activeTabWidgetByObjectName("tab_Monographie"); // aller chercher dans la liste des retires
if ( pTab_QWidget == 0 ) return;
m_pGUI->tabWidget_HAS_Infos->setCurrentWidget ( pTab_QWidget );
int i = 0;
m_last_drugListRecord = drugListRecord;
}
-//------------------------------------ toolWidgetByTabObjectName --------------------------------------------------
-QWidget * C_MW_Prescription::toolWidgetByTabObjectName( QToolBox *pQTabWidget, const QString &name)
-{int nb = pQTabWidget->count();
- for (int i=0; i<nb; ++i)
- {QWidget *pTab_QWidget = pQTabWidget->widget(i);
- if (pTab_QWidget->objectName()==name) return pTab_QWidget;
- }
- return 0;
-}
-//------------------------------------ toolWidgetIndexByTabObjectName --------------------------------------------------
-int C_MW_Prescription::toolWidgetIndexByTabObjectName(QToolBox* pQTabWidget, const QString &name)
-{int nb = pQTabWidget->count();
- for (int i=0; i<nb; ++i)
- {QWidget *pTab_QWidget = pQTabWidget->widget(i);
- if (pTab_QWidget->objectName()==name) return i;
- }
- return -1;
-}
-//------------------------------------ tabWidgetByTabText --------------------------------------------------
-QWidget * C_MW_Prescription::tabWidgetByTabText(QTabWidget* pQTabWidget, const QString &text, int *index /* = 0 */)
-{int nb = pQTabWidget->count();
- for (int i=0; i<nb; ++i)
- {if (pQTabWidget->tabText(i)==text)
- {if (index) *index = i;
- return pQTabWidget->widget(i);
- }
- }
- return 0;
-}
-//------------------------------------ tabWidgetByTabObjectName --------------------------------------------------
-QWidget * C_MW_Prescription::tabWidgetByTabObjectName(QTabWidget* pQTabWidget, const QString &name)
-{int nb = pQTabWidget->count();
- for (int i=0; i<nb; ++i)
- {QWidget *pTab_QWidget = pQTabWidget->widget(i);
- if (pTab_QWidget->objectName()==name) return pTab_QWidget;
- }
- return 0;
-}
-//------------------------------------ tabWidgetIndexByTabObjectName --------------------------------------------------
-int C_MW_Prescription::tabWidgetIndexByTabObjectName(QTabWidget* pQTabWidget, const QString &name)
-{int nb = pQTabWidget->count();
- for (int i=0; i<nb; ++i)
- {QWidget *pTab_QWidget = pQTabWidget->widget(i);
- if (pTab_QWidget->objectName()==name) return i;
- }
- return -1;
-}
-
//------------------------------------ initDrugListFilter --------------------------------------------------
void C_MW_Prescription::initDrugListFilter()
{ if (m_pC_BDM_Api==0) return;
void setCustomDrugListComboOn_ListName(const QString &userName, const QString &listName);
void changeCurrentCustomList(const QString &userName, const QString &listName);
- QWidget *activeTabWidgetByObjectName(QTabWidget * pQTabWidget, const QString & widget_page_object_name);
- QWidget *toolWidgetByTabObjectName(QToolBox* pQTabWidget, const QString &name);
- int toolWidgetIndexByTabObjectName(QToolBox* pQTabWidget, const QString &name);
- QWidget *tabWidgetByTabObjectName(QTabWidget* pQTabWidget, const QString &name);
- int tabWidgetIndexByTabObjectName(QTabWidget* pQTabWidget, const QString &name);
- QWidget *tabWidgetByTabText(QTabWidget* pQTabWidget, const QString &text, int *index = 0);
+ // QWidget *activeTabWidgetByObjectName (QTabWidget * pQTabWidget, const QString & widget_page_object_name, QMap<QString, QWidget *> &removedObject); // ici la clef est le titre du tab (on recherche l'objet par son titre dans un menu)
+
+ // QWidget *toolWidgetByTabObjectName(QToolBox* pQTabWidget, const QString &name, int *index = 0 );
+ // int toolWidgetIndexByTabObjectName(QToolBox* pQTabWidget, const QString &name);
+ //QWidget *tabWidgetByTabObjectName(QTabWidget* pQTabWidget, const QString &name);
+ //int tabWidgetIndexByTabObjectName(QTabWidget* pQTabWidget, const QString &name);
+ //QWidget *tabWidgetByTabText(QTabWidget* pQTabWidget, const QString &text, int *index = 0);
void save_treeWidgetState (const QString &sufix, QTreeWidget *pQTreeWidget);
void restore_treeWidgetState (const QString &sufix, QTreeWidget *pQTreeWidget);
void show_ProductMonographie (const C_BDM_DrugListRecord & drugListRecord);
QProcess *m_Apropos_Proc;
C_BDM_DrugListRecord m_last_drugListRecord;
CMyColorButton *m_Button_TabCorner;
- QMap <QString, QWidget *> m_RemovedTabWidgets;
+
public slots:
void Slot_onQuit();
void Slot_toolBox_ListesProduits_currentChanged(int index);
void Slot_tabWidget_Main_currentChanged( int index);
- void Slot_tabWidget_Main_CloseRequested( int index);
+ // void Slot_tabWidget_Main_CloseRequested( int index);
void Slot_m_Button_TabCorner_clicked(bool);
void Slot_comboBox_FamillesProduits_activated( int );
<rect>
<x>0</x>
<y>0</y>
- <width>1018</width>
+ <width>1044</width>
<height>653</height>
</rect>
</property>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_4">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
- <widget class="QToolBox" name="toolBox_classifications">
+ <widget class="C_QToolBox" name="toolBox_classifications">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="currentIndex">
- <number>2</number>
+ <number>0</number>
</property>
<property name="tabSpacing">
<number>0</number>
<rect>
<x>0</x>
<y>0</y>
- <width>144</width>
+ <width>163</width>
<height>568</height>
</rect>
</property>
<string>Classification ATC</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<x>0</x>
<y>0</y>
<width>195</width>
- <height>568</height>
+ <height>121</height>
</rect>
</property>
<attribute name="label">
<string>Indications</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_17">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="7" column="0" colspan="2">
<rect>
<x>0</x>
<y>0</y>
- <width>144</width>
- <height>568</height>
+ <width>98</width>
+ <height>78</height>
</rect>
</property>
<attribute name="label">
<string>Composition</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_31">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
</layout>
</widget>
</widget>
- <widget class="QToolBox" name="toolBox_ListesProduits">
+ <widget class="C_QToolBox" name="toolBox_ListesProduits">
<property name="acceptDrops">
<bool>false</bool>
</property>
<number>1</number>
</property>
<property name="currentIndex">
- <number>4</number>
+ <number>2</number>
</property>
<property name="tabSpacing">
<number>0</number>
<x>0</x>
<y>0</y>
<width>213</width>
- <height>526</height>
+ <height>511</height>
</rect>
</property>
<attribute name="label">
<string>Produits</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_8">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<rect>
<x>0</x>
<y>0</y>
- <width>151</width>
- <height>526</height>
+ <width>128</width>
+ <height>155</height>
</rect>
</property>
<attribute name="label">
<rect>
<x>0</x>
<y>0</y>
- <width>191</width>
- <height>526</height>
+ <width>190</width>
+ <height>511</height>
</rect>
</property>
<attribute name="label">
- <string>Accessoires && cie</string>
+ <string>Accessoires</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<rect>
<x>0</x>
<y>0</y>
- <width>151</width>
- <height>526</height>
+ <width>98</width>
+ <height>110</height>
</rect>
</property>
<attribute name="label">
<string>Produits avec posologies</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_11">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<rect>
<x>0</x>
<y>0</y>
- <width>151</width>
- <height>526</height>
+ <width>144</width>
+ <height>142</height>
</rect>
</property>
<attribute name="label">
<string>Historique patient</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_13">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0" colspan="2">
</widget>
</widget>
</widget>
- <widget class="QTabWidget" name="tabWidget_HAS_Infos">
+ <widget class="C_QTabWidget" name="tabWidget_HAS_Infos">
<property name="currentIndex">
- <number>3</number>
+ <number>5</number>
</property>
<property name="elideMode">
<enum>Qt::ElideRight</enum>
<string>Bibliographie</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_15">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0" colspan="2">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout_10">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
<property name="horizontalSpacing">
<number>2</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
+ <property name="margin">
+ <number>0</number>
+ </property>
<item row="0" column="2">
<widget class="QPushButton" name="pushButton_Print">
<property name="toolTip">
<string>Monographie</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<string>Ordonnance</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_16">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<string>Prescription</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_19">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<property name="spacing">
<string>Préférences</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<string>Paramètres généraux</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_26">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="lineEdit_pathImagesMonographie">
- <property name="text">
- <string>../../drtux/bin/Ressources/ImgVidalDgl</string>
- </property>
- </widget>
- </item>
<item row="2" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_16">
- <property name="text">
- <string>Répertoire des images de la monographie :</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QPushButton" name="pushButton_FindMonoPath">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- </widget>
- </item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEdit_DrugListLimit">
<property name="text">
<string>Bases de données thérapeutiques</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_27">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="2" column="0" colspan="2">
</property>
</widget>
</item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_16">
+ <property name="text">
+ <string>Répertoire des images de la monographie :</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1" colspan="4">
+ <widget class="QLineEdit" name="lineEdit_pathImagesMonographie">
+ <property name="text">
+ <string>../../drtux/bin/Ressources/ImgVidalDgl</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="5">
+ <widget class="QPushButton" name="pushButton_FindMonoPath">
+ <property name="minimumSize">
+ <size>
+ <width>22</width>
+ <height>22</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>22</width>
+ <height>22</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
<item row="0" column="1">
- <widget class="QComboBox" name="comboBox_choixBase">
- <item>
- <property name="text">
- <string>Datasemp</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Theriaque</string>
- </property>
- </item>
- </widget>
+ <widget class="QComboBox" name="comboBox_choixBase"/>
</item>
<item row="1" column="0" colspan="2">
<widget class="Line" name="line">
</widget>
</widget>
</item>
- <item row="1" column="0">
+ <item row="2" column="0">
<layout class="QGridLayout" name="gridLayout_6">
- <item row="0" column="0">
- <widget class="QLabel" name="label_4">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>20</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string>Messages généraux de l'application</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="2">
+ <item row="3" column="0" colspan="2">
<widget class="QTextEdit" name="textEdit_Monitor">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
</property>
</widget>
</item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>20</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="text">
+ <string>Messages généraux de l'application</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
</layout>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
- <header>QtWebKitWidgets/QWebView</header>
+ <header>QtWebKit/QWebView</header>
</customwidget>
<customwidget>
<class>C_QLineEdit</class>
<extends>QTreeWidget</extends>
<header>../../../MedinTuxTools-QT4/C_DragQTreeWidget/C_DragQTreeWidget.h</header>
</customwidget>
+ <customwidget>
+ <class>C_QToolBox</class>
+ <extends>QToolBox</extends>
+ <header>../../../MedinTuxTools-QT4/C_QToolBox/C_QToolBox.h</header>
+ <container>1</container>
+ </customwidget>
+ <customwidget>
+ <class>C_QTabWidget</class>
+ <extends>QTabWidget</extends>
+ <header>../../../MedinTuxTools-QT4/C_QTabWidget/C_QTabWidget.h</header>
+ <container>1</container>
+ </customwidget>
</customwidgets>
<resources/>
<connections/>
C_MW_Prescription.cpp \
CApp.cpp \
../../MedinTuxTools-QT4/C_PopupDial/C_PopupDial.cpp \
+ ../../MedinTuxTools-QT4/C_QToolBox/C_QToolBox.cpp \
../../MedinTuxTools-QT4/uuid/C_MyUuid.cpp \
../../MedinTuxTools-QT4/Theme/Theme.cpp \
../../MedinTuxTools-QT4/Theme/ThemePopup.cpp \
../../MedinTuxTools-QT4/medicabase/C_Theriaque_DBVar.cpp \
../../MedinTuxTools-QT4/medicabase/C_BDM_TheriaquePlugin.cpp \
../../MedinTuxTools-QT4/medicabase/C_BDM_DatasempPlugin.cpp \
+ ../../MedinTuxTools-QT4/medicabase/C_BDM_GenericPlugin.cpp \
../../MedinTuxTools-QT4/medicabase/C_BDM_ApiVar.cpp \
../../MedinTuxTools-QT4/univers/C_Universal_Ident.cpp \
../../MedinTuxTools-QT4/univers/C_DateTools.cpp \
../../MedinTuxTools-QT4/medicabase/C_PopupDial_IndicationChoice.cpp \
../../MedinTuxTools-QT4/medicabase/C_LevelItemDelegate.cpp \
../../MedinTuxTools-QT4/medicabase/C_Dlg_NotesInfos.cpp \
- ../../MedinTuxTools-QT4/medicabase/C_BDM_Control.cpp
+ ../../MedinTuxTools-QT4/medicabase/C_BDM_Control.cpp \
+ ../../MedinTuxTools-QT4/C_QTabWidget/C_QTabWidget.cpp
HEADERS += C_MW_Prescription.h \
CApp.h \
../../MedinTuxTools-QT4/C_PopupDial/C_PopupDial.h \
+ ../../MedinTuxTools-QT4/C_QToolBox/C_QToolBox.h \
../../MedinTuxTools-QT4/uuid/C_MyUuid.h \
../../MedinTuxTools-QT4/Theme/Theme.h \
../../MedinTuxTools-QT4/Theme/ThemePopup.h \
../../MedinTuxTools-QT4/medicabase/C_Theriaque_DBVar.h \
../../MedinTuxTools-QT4/medicabase/C_BDM_TheriaquePlugin.h \
../../MedinTuxTools-QT4/medicabase/C_BDM_DatasempPlugin.h \
+ ../../MedinTuxTools-QT4/medicabase/C_BDM_GenericPlugin.h \
../../MedinTuxTools-QT4/medicabase/C_BDM_ApiVar.h \
../../MedinTuxTools-QT4/univers/C_Universal_Ident.h \
../../MedinTuxTools-QT4/univers/C_DateTools.h \
../../MedinTuxTools-QT4/medicabase/C_LevelItemDelegate.h \
../../MedinTuxTools-QT4/medicabase/C_Dlg_NotesInfos.h \
../../MedinTuxTools-QT4/medicabase/C_WordGenrePair.h \
- ../../MedinTuxTools-QT4/medicabase/C_BDM_Control.h
+ ../../MedinTuxTools-QT4/medicabase/C_BDM_Control.h \
+ ../../MedinTuxTools-QT4/C_QTabWidget/C_QTabWidget.h
FORMS += C_MW_Prescription.ui \
../../MedinTuxTools-QT4/C_Login/C_Dlg_Login.ui \
../../MedinTuxTools-QT4/medicabase/C_PopupDialCorpoFact.ui \
+++ /dev/null
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: " - Win32 Debug"=".\mise_a_jour.dsp" - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
mise_a_jour.exe MSDEV ../../comptabilite/check_dus/check_dus.dsp check_dus.exe\r
cd ../../comptabilite/check_dus\r
msdev %MODULE%.dsp\r
-\r
+msdev %MODULE%.dsp /MAKE "%MODULE% \96 Win32 Release" /REBUILD\r
\r
set MODULE=comptabilite\r
cd ../../comptabilite/compta\r
erase %MODULE%.dsw\r
erase %MODULE%.dsp\r
-%QMAKE% -t vcapp -o %MODULE%.dsp compta.pro\r
+%QMAKE% -t vcapp -o %MODULE%.dsp %MODULE%.pro\r
cd ../../mise_a_jour/bin\r
mise_a_jour.exe MSDEV ../../comptabilite/compta/comptabilite.dsp comptabilite.exe\r
cd ../../comptabilite/compta\r
cd ../../mise_a_jour/bin\r
mise_a_jour.exe MSDEV ../../%MODULE%/src/%MODULE%.dsp %MODULE%.exe\r
cd ../../%MODULE%/src\r
-msdev %MODULE%.dsp\r
+msdev %MODULE%.dsp /MAKE /CLEAN\r
+msdev %MODULE%.dsp /MAKE ALL\r
+\r
+\r
\r
set MODULE=ccamview\r
cd ../../%MODULE%/src\r
cd ../../mise_a_jour/bin\r
mise_a_jour.exe MSDEV ../../%MODULE%/src/%MODULE%.dsp %MODULE%.exe\r
cd ../../%MODULE%/src\r
-msdev %MODULE%.dsp\r
+msdev %MODULE%.dsp /MAKE /CLEAN\r
+msdev %MODULE%.dsp /MAKE ALL\r
\r
\r
set MODULE=qmedicabase\r
textLabel_MacOS->hide();
#ifdef Q_WS_WIN
/*if (QFile::exists("C:/MedinTuxRo.txt")) pushButtonMakeSQL->hide(); */ // pas de bash sous W
- pushButton_compilation->hide();
- comboBox_Executables->hide();
+ //pushButton_compilation->hide();
+ //comboBox_Executables->hide();
textLabel_RootField->hide();
lineEdit_RootPass->hide();
comboBox_PortLecteur->hide();
lineEdit_SesamPath->setText("C:\\");
- lineEdit_BinaryPath->setText("C:\\WINDOWS");
- pushButton_Qt4Sdk->hide();
- lineEdit_Qt4Sdk->hide();
- lineEdit_Qt3->hide();
- pushButton_Qt3->hide();
+ lineEdit_BinaryPath->setText("C:\\WINDOWS");\r
+ lineEdit_Qt3->setText(tryToFindQt3());
+ lineEdit_Qt4Sdk->setText(tryToFindSdkQt4());\r
+ //pushButton_Qt4Sdk->hide();
+ //lineEdit_Qt4Sdk->hide();
+ //lineEdit_Qt3->hide();
+ //pushButton_Qt3->hide();
textLabel_WindPathField->setText(tr("Répertoire WINDOWS "));
- tabWidget_Instal->removePage(m_pTabQWidgetCompil);
+ //tabWidget_Instal->removePage(m_pTabQWidgetCompil);
// textLabel_MacOS->setText(m_SousAppleSeMettreEnModeAdmin); // pour tester sous W
// textLabel_MacOS->show(); // pour tester sous W
#endif
//----------------------------------------- pushButton_Qt4Sdk_clicked ---------------------------------------------
void C_DlgMainDialog::pushButton_Qt4Sdk_clicked()
{QString optDir = QFileDialog::getExistingDirectory (lineEdit_Qt4Sdk->text(), this, "findqt4sdk", tr("Chercher le répertoire du Sdk QT4") ) ;
- if (optDir.length()) lineEdit_Qt4Sdk->setText(optDir);
+#ifdef Q_WS_WIN\r
+ if (optDir.length() && QFile::exists(optDir + "/bin/qmake")) \r
+#else\r
+ if (optDir.length() && QFile::exists(optDir + "/bin/qmake.exe")) \r
+#endif\r
+\r
+ { lineEdit_Qt4Sdk->setText(optDir);\r
+#ifdef Q_WS_WIN\r
+ QString key = "WinQt4Dir";\r
+#endif\r
+#ifdef Q_WS_X11\r
+ QString key = "X11Qt4Dir";\r
+#endif\r
+#ifdef Q_OS_MACX\r
+ QString key = "MacQt4Dir";\r
+#endif\r
+ CGestIni::Param_WriteParam( &G_pCApp->m_ParamData, "Compilation", key ,optDir);\r
+ }\r
+ else\r
+ {QMessageBox::information( this, tr( "MedinTux demande votre attention" ),\r
+ tr( "Ce chemin '%1' n'est pas celui de Qt. \n"\r
+ "La compilation avec celui-ci est impossible.").arg(optDir) ,\r
+ tr( "&ok"), 0, 0, 1, 1 \r
+ ) ;\r
+ }
}
//----------------------------------------- pushButton_Qt3_clicked ---------------------------------------------
void C_DlgMainDialog::pushButton_Qt3_clicked()
-{QString optDir = QFileDialog::getExistingDirectory (lineEdit_Qt3->text(), this, "findqt3", tr("Chercher le répertoire de QT3") ) ;
- if (optDir.length()) lineEdit_Qt3->setText(optDir);
+{QString optDir = QFileDialog::getExistingDirectory (lineEdit_Qt3->text(), this, "findqt3", tr("Chercher le répertoire de QT3") ) ;\r
+#ifdef Q_WS_WIN\r
+ if (optDir.length() && QFile::exists(optDir + "/bin/qmake")) \r
+#else\r
+ if (optDir.length() && QFile::exists(optDir + "/bin/qmake.exe")) \r
+#endif\r
+\r
+ { lineEdit_Qt3->setText(optDir);\r
+#ifdef Q_WS_WIN\r
+ QString key = "WinQt3Dir";\r
+#endif\r
+#ifdef Q_WS_X11\r
+ QString key = "X11Qt3Dir";\r
+#endif\r
+#ifdef Q_OS_MACX\r
+ QString key = "MacQt3Dir";\r
+#endif\r
+ CGestIni::Param_WriteParam( &G_pCApp->m_ParamData, "Compilation", key ,optDir);\r
+ }\r
+ else\r
+ {QMessageBox::information( this, tr( "MedinTux demande votre attention" ),\r
+ tr( "Ce chemin '%1' n'est pas celui de Qt. \n"\r
+ "La compilation avec celui-ci est impossible.").arg(optDir) ,\r
+ tr( "&ok"), 0, 0, 1, 1 \r
+ ) ;\r
+ }
}
//----------------------------------------- keepOnlyNumber ---------------------------------------------
{main_path = qDir.path() + "/comptabilite/check_dus";
}
else if ( target=="comptabilite" )
- {main_path = qDir.path() + "/comptabilite/compta";
+ {main_path = qDir.path() + "/comptabilite/comptabilite";
}
else
{main_path = qDir.path() + QDir::separator() + target + QDir::separator() +"src";
}
//----------------------------------------- tryToFindQt3 ---------------------------------------------
QString C_DlgMainDialog::tryToFindQt3()
-{
+{\r
+#ifdef Q_WS_WIN\r
+ QString qt3Path = "";\r
+ if ( ! (CGestIni::Param_ReadParam(G_pCApp->m_ParamData, "Compilation", "WinQt3Dir", &qt3Path) !=0 // zero = pas d'erreur\r
+ && QFile::exists(qt3Path + "/bin/qmake.exe")\r
+ ) \r
+ )\r
+ {qt3Path = "C:/Qt3/3.3.4";\r
+ }\r
+ return qt3Path;\r
+#endif\r
+
#ifdef Q_OS_MACX
QString ret = QString::null;
if (QFile::exists(QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt/bin/qmake"))) ret = QDir::cleanDirPath(G_pCApp->m_PathAppli+"../../Qt");
else if (QFile::exists("/usr/lib/qt3/bin/qmake")) ret = "/usr/lib/qt3";
- return ret;
-#else
+ return ret;\r
+#endif\r
+
+#ifdef Q_WS_X11
QString ret = QString::null;
QString toTest = QDir::cleanDirPath(G_pCApp->m_PathAppli + "../../../qt3_l64");
if (QFile::exists(toTest+"/bin/qmake")) return toTest;
//----------------------------------------- tryToFindSdkQt4 ---------------------------------------------
QString C_DlgMainDialog::tryToFindSdkQt4()
-{
+{\r
+\r
+#ifdef Q_WS_WIN\r
+ QString qt4Path = "";\r
+ if ( ! (CGestIni::Param_ReadParam(G_pCApp->m_ParamData, "Compilation", "WinQt4Dir", &qt4Path) !=0 // zero = pas d'erreur\r
+ && QFile::exists(qt4Path + "/bin/qmake.exe")\r
+ ) \r
+ )\r
+ {qt4Path = "C:/Qt4/qt";\r
+ }\r
+ return qt4Path;\r
+#endif\r
+
#ifdef Q_OS_MACX
QStringList listOptDir = CGestIni::listDirectory("/usr/local/Trolltech", "", "Qt-", "|", FALSE, TRUE);
int lastIndex = -1;
}
}
if (lastIndex != -1) return listOptDir[lastIndex].prepend("/usr/local/Trolltech/");
- else return QString::null;
-#else
+ else return QString::null;\r
+#endif\r
+
+#ifdef Q_WS_X11
//............ rechercher bon path qt ...................................
QString prefix = QDir::cleanDirPath(G_pCApp->m_PathAppli + "../../../qt4_l64");
QString sufix = "";
#endif
#ifdef Q_WS_WIN
- bool isQT4Here = false;
+ bool isQT4Here = QFile::exists(sdkDir+"bin/qmake.exe");
os = "Windows";
#endif
//.................... corriger les versions des UI du module en cours .....................
QDir::setCurrent ( path );
- if ( (target == "QFseVitale"||target == "qgetdatasemp") && IsSesamVersionExist() )
+ if ( (target == "QFseVitale") && IsSesamVersionExist() )
{if (isQT3) G_pCApp->RemoveAllDesignerVersion(getTargetSrcPath("QFseVitale"));
}
else
m_CurrentCompil = target;
if (isQT3)
{ QApplication::setOverrideCursor( QCursor( Qt::WaitCursor ) );
- toLog( tr ("<br>============= Compilation de <font color=#ffa800><b> '%1' </b></font> sur <font color=#00e5e8><b>%2</b></font> <font color=#ff0000><b>(librairie QT3)</b></font> en cours ... =============").arg(target,os));
+ toLog( tr ("<br>============= Compilation de <font color=#ffa800><b> '%1' </b></font> sur <font color=#00e5e8><b>%2</b></font> <font color=#ff0000><b>(librairie QT3)</b></font> en cours ... =============").arg(target,os));\r
+ #ifdef Q_WS_WIN\r
+ QString qtdir = lineEdit_Qt3->text().stripWhiteSpace();\r
+ QString disk = G_pCApp->m_PathAppli.left(2);\r
+ script = QString ("echo \"================= compilation de %4 ===========================\"\r\n"\r
+ "%1\r\n"\r
+ "cd %2\r\n"\r
+ "set QMAKE=%3\\bin\\qmake\r\n"\r
+ "set QMAKESPEC=win32-msvc\r\n"\r
+ "set MODULE=%4\r\n").arg(disk,G_pCApp->m_PathAppli,qtdir, target);\r
+\r
+ script += "cd ../../%MODULE%/src\r\n"\r
+ "echo \"================= se plaver dans %MODULE%/src ===========================\"\r\n"\r
+ "erase %MODULE%.dsw\r\n"\r
+ "erase %MODULE%.dsp\r\n"\r
+ "if exist %MODULE%.pro %QMAKE% -t vcapp -o %MODULE%.dsp %MODULE%.pro\r\n"\r
+ "if exist src.pro %QMAKE% -t vcapp -o %MODULE%.dsp src.pro\r\n"\r
+ "cd ../../mise_a_jour/bin\r\n"\r
+ "mise_a_jour.exe MSDEV ../../%MODULE%/src/%MODULE%.dsp %MODULE%.exe\r\n"\r
+ "cd ../../%MODULE%/src\r\n"\r
+ "msdev %MODULE%.dsp /MAKE /CLEAN\r\n"\r
+ "msdev %MODULE%.dsp /MAKE ALL\r\n"; \r
+ #endif\r
+
#ifdef Q_WS_MAC
- QString qtdir = lineEdit_Qt3->text().stripWhiteSpace();
+ QString qtdir = lineEdit_Qt3->text().stripWhiteSpace();\r
script = "#! /bin/sh\n"
"#----- DEB FOR MAC --------\n"
" QTDIR=\"";
"export DYLD_LIBRARY_PATH\n"
"export INCLUDE\n"
"cd '"+G_pCApp->m_PathAppli+"'\n"
- "./MakeAllMac.sh '" + m_CurrentCompil + "' '" + lineEdit_Qt3->text() + "'";
- qDebug(script);
- #else
+ "./MakeAllMac.sh '" + m_CurrentCompil + "' '" + lineEdit_Qt3->text() + "'";\r
+ #endif
+ #ifdef Q_WS_X11
QString qtdir = lineEdit_Qt3->text().stripWhiteSpace();
script = "#! /bin/sh\n"
"#----- DEB FOR LINUX --------\n"
script = "#! /bin/sh\n "
"./MakeAllMac.sh '" + m_CurrentCompil + "' '" + lineEdit_Qt3->text() + "'";
*/
- #endif
+ #endif\r
+ #ifdef Q_WS_WIN\r
+ CGestIni::Param_UpdateToDisk(G_pCApp->m_PathAppli+"makeModuleQt3.bat", script);\r
+ system(G_pCApp->m_PathAppli+"makeModuleQt3.bat");\r
+ updateExit();\r
+ //m_proc = new QProcess(this); if (m_proc == 0 ) return;\r
+ \r
+ //m_proc->addArgument("cmd"); // QProcess::startDetached (QString ("cmd /c start ") + scriptToDo ); //START.EXE /B /MIN leScriptAmasquer.CMD\r
+ //m_proc->addArgument(QString ("cmd /c start ") + script); \r
+ //m_proc->start(); \r
+ //pushButton_compilation->setText(tr("&Interrompre la compilation des exécutables en cours"));\r
+ //m_MakeExeRun = MAKE_EXE_RUN;\r
+ #else \r
CGestIni::Param_UpdateToDisk(G_pCApp->m_PathAppli+"makeModule.sh", script);
execute(G_pCApp->m_PathAppli + "makeModule.sh");
pushButton_compilation->setText(tr("&Interrompre la compilation des exécutables en cours"));
- m_MakeExeRun = MAKE_EXE_RUN;
+ m_MakeExeRun = MAKE_EXE_RUN;\r
+ #endif
}
else if (QFile::exists(modulePath + "src/"+target+".pro"))
{if (isQT4Here)
//toLog( tr ("<br> Remove <font color=#ff0000><b>QT4</b></font> de<font color=#ffa800><b> %1 </b></font>en cours ...").arg(modulePath+"src/makeQT4Module.sh"));
QApplication::setOverrideCursor( QCursor( Qt::WaitCursor ) );
QDir::setCurrent ( modulePath + "src" );
- #ifdef Q_WS_MAC
+ #ifdef Q_WS_WIN\r
+ #endif\r
+ #ifdef Q_WS_MAC
script = "#!/bin/bash\n"
"LD_LIBRARY_PATH={{sdkDir}}lib\n"
"PATH={{sdkDir}}bin:/usr/bin:/bin:/usr/X11R6/bin/:\n"
if (target=="guinch") script += "strip ../../Manager/bin/{{target}}.app/Contents/MacOS/{{target}}\n"; // sous mac pas de -s pour strip
else script += "strip ../../{{target}}/bin/{{target}}.app/Contents/MacOS/{{target}}\n";
script.replace("{{sdkDir}}",sdkDir);
- script.replace("{{target}}",target);
- #else
+ script.replace("{{target}}",target);\r
+ #endif\r
+ #ifdef Q_WS_X11
script = "#!/bin/bash\n"
"LD_LIBRARY_PATH={{sdkDir}}lib/qtcreator:\n"
"PATH={{sdkDir}}bin:/usr/bin:/bin:/usr/X11R6/bin/:\n"
script.replace("{{sdkDir}}",sdkDir);
script.replace("{{target}}",target);
- #endif
-
+ #endif
+ #ifdef Q_WS_WIN\r
+ #else
CGestIni::Param_UpdateToDisk(modulePath+"src/makeQT4Module.sh", script);
execute(modulePath+"src/makeQT4Module.sh", modulePath+"src/");
// QFile::remove ( modulePath+"src/makeQT4Module.sh" );
pushButton_compilation->setText(tr("&Interrompre la compilation des ex\303\251cutables en cours"));
- m_MakeExeRun = MAKE_EXE_RUN;
+ m_MakeExeRun = MAKE_EXE_RUN;\r
+ #endif
}
else
{toLog( tr ("<br>============= Compilation <font color=#ff0000><b>QT4</b></font> de<font color=#ffa800><b> %1 </b></font>Avort\303\251e (sdk QT4 Absent) ... =============").arg(target));
//............... la formation du path est alambiquee pour .....................
// pouvoir etre juste aussi bien qaund set_bases demarre de .app que de MacOS
if (exe_name.left(6)=="guinch")
- {path = G_pCApp->m_PathAppli +"../../Manager/bin/guinch";
- path = QDir::cleanDirPath(path);
+ { path = G_pCApp->m_PathAppli +"../../Manager/bin/guinch";
+ path = QDir::cleanDirPath(path);
#ifdef Q_OS_MACX
- path += ".app/Contents/MacOS/guinch";
+ path += ".app/Contents/MacOS/guinch";
+#endif\r
+#ifdef Q_WS_WIN\r
+ path += ".exe";\r
#endif
}
- else if ("compta-plugins")
- {path = G_pCApp->m_PathAppli +"../../comptabilite/bin/compta-plugins";
- path = QDir::cleanDirPath(path);
+ else if (exe_name.left(14) == "compta-plugins")
+ { path = G_pCApp->m_PathAppli +"../../comptabilite/bin/compta-plugins";
+ path = QDir::cleanDirPath(path);
#ifdef Q_OS_MACX
- path += ".app/Contents/MacOS/compta-plugins";
+ path += ".app/Contents/MacOS/compta-plugins";
+#endif\r
+#ifdef Q_WS_WIN\r
+ path += ".exe";\r
#endif
- }
- else if ("check_dus.app")
- {path = G_pCApp->m_PathAppli +"../../comptabilite/bin/check_dus.app";
- path = QDir::cleanDirPath(path);
+ }
+ else if (exe_name.left(9) == "check_dus")
+ { path = G_pCApp->m_PathAppli +"../../comptabilite/bin/check_dus";
+ path = QDir::cleanDirPath(path);
#ifdef Q_OS_MACX
- path += ".app/Contents/MacOS/check_dus.app";
+ path += ".app/Contents/MacOS/check_dus";
+#endif\r
+#ifdef Q_WS_WIN\r
+ path += ".exe";\r
#endif
- }
+ }
else
- {path = CGestIni::Construct_Name_Exe(exe_name, folder);
- pos = path.find(exe_name);
- if (pos==-1) return FALSE;
- path = G_pCApp->m_PathAppli +"../../" + path.mid(pos);
- path = QDir::cleanDirPath(path);
+ { path = CGestIni::Construct_Name_Exe(exe_name, folder);
+ pos = path.find(exe_name);
+ if (pos==-1) return FALSE;
+ path = G_pCApp->m_PathAppli +"../../" + path.mid(pos);
+ path = QDir::cleanDirPath(path);
}
if ( ! QFile::exists (path) )
- {toLog( tr("Cet exécutable <font color=#ff0000><b>'%1'</b></font> n'existe pas ").arg(exe_name) );
- return FALSE;
+ { toLog( tr("Cet exécutable <font color=#ff0000><b>'%1'</b></font> n'existe pas ").arg(exe_name) );
+ return FALSE;
}
toLog( tr("Cet exécutable <font color=#ffa800><b>'%1'</b></font> existe déjà ").arg(exe_name) );
return TRUE;
void C_DlgMainDialog::execute(const QString &command, const QString curDir /*=""*/)
{ if (curDir.length()==0) QDir::setCurrent ( G_pCApp->m_PathAppli );
else QDir::setCurrent ( curDir );
- m_proc = new QProcess(this); if (m_proc == 0 ) return;
+ m_proc = new QProcess(this); if (m_proc == 0 ) return;\r
+#ifdef Q_WS_WIN\r
+ m_proc->addArgument(QString("cmd /c start %1").arg(command)); // QProcess::startDetached (QString ("cmd /c start ") + scriptToDo ); //START.EXE /B /MIN leScriptAmasquer.CMD\r
+ //m_proc->addArgument("/c start");\r
+ //m_proc->addArgument(command); \r
+#else
m_proc->addArgument("bash");
m_proc->addArgument(command);
- //connect(m_proc, SIGNAL(processExited ()), this, SLOT(EndCompilation()));
+ //connect(m_proc, SIGNAL(processExited ()), this, SLOT(EndCompilation()));\r
+#endif
connect(m_proc, SIGNAL(readyReadStderr()), this, SLOT(updateError()));
connect(m_proc, SIGNAL(readyReadStdout()), this, SLOT(updateText()));
connect(m_proc, SIGNAL(processExited()), this, SLOT(updateExit()));
//----------------------------------------- updateExit --------------------------------------------------------------------
void C_DlgMainDialog::updateExit()
-{
- if (m_proc->normalExit()) {
+{\r
+ #ifdef Q_WS_WIN\r
+ pushButton_SetBases->show();\r
+ comboBox_Executables->show();\r
+ comboBox_Bases->show();\r
+ pushButton_LancerDrTux->show();\r
+ progressBar_Load->show();\r
+ QApplication::restoreOverrideCursor(); \r
+ #else
+ if (m_proc->normalExit()) \r
+ {
QDateTime dtEnd= QDateTime::currentDateTime();
long s = m_dtDebComp.secsTo (dtEnd);
int pos = toWriteOnDisk.find(toFind);
if (pos != -1) toWriteOnDisk = toWriteOnDisk.mid(pos);
CGestIni::Param_UpdateToDisk(G_pCApp->m_PathAppli+"Compilation_"+m_CurrentCompil+".log", toWriteOnDisk);
- m_MakeExeRun = MAKE_EXE_NOTRUN;
+ m_MakeExeRun = MAKE_EXE_NOTRUN;\r
+
//............. strip de l'executable ....................
QDir::setCurrent ( G_pCApp->m_PathAppli );
QString script = "#! /bin/sh\r\n ./stripall.sh " + m_CurrentCompil;
comboBox_Bases->show();
pushButton_LancerDrTux->show();
progressBar_Load->show();
- }
+ }\r
+#endif
}
//----------------------------------------- pushButton_SetBases_clicked --------------------------------------------------------------------
void C_DlgMainDialog::pushButton_SetBases_clicked()
+++ /dev/null
-#############################################################################
-# Makefile for building: ../bin/set_bases
-# Generated by qmake (1.07a) (Qt 3.3.8b) on: Sun Oct 6 21:44:05 2013
-# Project: src.pro
-# Template: app
-# Command: $(QMAKE) -o Makefile src.pro
-#############################################################################
-
-####### Compiler, tools and options
-
-CC = gcc
-CXX = g++
-LEX = flex
-YACC = yacc
-CFLAGS = -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-CXXFLAGS = -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-LEXFLAGS =
-YACCFLAGS= -d
-INCPATH = -I/usr/lib/qt3/mkspecs/linux-g++ -I. -I$(QTDIR)/include -I/usr/include -Iui/ -I. -I../../MedinTuxTools -Imoc/
-LINK = g++
-LFLAGS =
-LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/lib -lqt-mt -lXext -lX11 -lm -lpthread
-AR = ar cqs
-RANLIB =
-MOC = $(QTDIR)/bin/moc
-UIC = $(QTDIR)/bin/uic
-QMAKE = qmake
-TAR = tar -cf
-GZIP = gzip -9f
-COPY = cp -f
-COPY_FILE= $(COPY)
-COPY_DIR = $(COPY) -r
-INSTALL_FILE= $(COPY_FILE)
-INSTALL_DIR = $(COPY_DIR)
-DEL_FILE = rm -f
-SYMLINK = ln -sf
-DEL_DIR = rmdir
-MOVE = mv -f
-CHK_DIR_EXISTS= test -d
-MKDIR = mkdir -p
-
-####### Output directory
-
-OBJECTS_DIR = obj/
-
-####### Files
-
-HEADERS = ../../MedinTuxTools/C_Zlib/C_Zlib.h \
- ../../MedinTuxTools/C_Zlib/deflate.h \
- ../../MedinTuxTools/C_Zlib/inftrees.h \
- ../../MedinTuxTools/C_Zlib/zconf.h \
- ../../MedinTuxTools/C_Zlib/zconf.in.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../MedinTuxTools/CMedicaBase.h \
- ../../MedinTuxTools/CHtmlTools.h \
- ../../MedinTuxTools/CGenTools.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../MedinTuxTools/CPrtQListBoxItem.h \
- ../../MedinTuxTools/ThemePopup.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CPrtQListViewItem.h \
- CSetupBase.h \
- CApp.h \
- ../../MedinTuxTools/CW_EditText.h \
- CUpdateThread.h \
- CIndexMakeThread.h \
- C_DlgMainDialog.h
-SOURCES = main.cpp \
- ../../MedinTuxTools/C_Zlib/C_Zlib.cpp \
- ../../MedinTuxTools/C_Zlib/adler32.c \
- ../../MedinTuxTools/C_Zlib/compress.c \
- ../../MedinTuxTools/C_Zlib/crc32.c \
- ../../MedinTuxTools/C_Zlib/deflate.c \
- ../../MedinTuxTools/C_Zlib/gzio.c \
- ../../MedinTuxTools/C_Zlib/infback.c \
- ../../MedinTuxTools/C_Zlib/inffast.c \
- ../../MedinTuxTools/C_Zlib/inflate.c \
- ../../MedinTuxTools/C_Zlib/inftrees.c \
- ../../MedinTuxTools/C_Zlib/trees.c \
- ../../MedinTuxTools/C_Zlib/uncompr.c \
- ../../MedinTuxTools/C_Zlib/zutil.c \
- ../../MedinTuxTools/CGestIni.cpp \
- ../../MedinTuxTools/CMedicaBase.cpp \
- ../../MedinTuxTools/CHtmlTools.cpp \
- ../../MedinTuxTools/CGenTools.cpp \
- ../../drtux/src/CMoteur_Base.cpp \
- ../../MedinTuxTools/CPrtQListBoxItem.cpp \
- ../../MedinTuxTools/CPrtQListViewItem.cpp \
- ../../MedinTuxTools/ThemePopup.cpp \
- ../../MedinTuxTools/Theme.cpp \
- CSetupBase.cpp \
- CApp.cpp \
- ../../MedinTuxTools/CW_EditText.cpp \
- CUpdateThread.cpp \
- CIndexMakeThread.cpp \
- C_DlgMainDialog.cpp
-OBJECTS = obj/main.o \
- obj/C_Zlib.o \
- obj/adler32.o \
- obj/compress.o \
- obj/crc32.o \
- obj/deflate.o \
- obj/gzio.o \
- obj/infback.o \
- obj/inffast.o \
- obj/inflate.o \
- obj/inftrees.o \
- obj/trees.o \
- obj/uncompr.o \
- obj/zutil.o \
- obj/CGestIni.o \
- obj/CMedicaBase.o \
- obj/CHtmlTools.o \
- obj/CGenTools.o \
- obj/CMoteur_Base.o \
- obj/CPrtQListBoxItem.o \
- obj/CPrtQListViewItem.o \
- obj/ThemePopup.o \
- obj/Theme.o \
- obj/CSetupBase.o \
- obj/CApp.o \
- obj/CW_EditText.o \
- obj/CUpdateThread.o \
- obj/CIndexMakeThread.o \
- obj/C_DlgMainDialog.o \
- obj/Dlg_MainDialog.o \
- obj/DlgGetString.o \
- obj/DlgMyMessageBox.o
-FORMS = Dlg_MainDialog.ui \
- ../../MedinTuxTools/DlgGetString.ui \
- ../../MedinTuxTools/DlgMyMessageBox.ui
-UICDECLS = ui/Dlg_MainDialog.h \
- ui/DlgGetString.h \
- ui/DlgMyMessageBox.h
-UICIMPLS = ui/Dlg_MainDialog.cpp \
- ui/DlgGetString.cpp \
- ui/DlgMyMessageBox.cpp
-SRCMOC = moc/moc_CMoteur_Base.cpp \
- moc/moc_ThemePopup.cpp \
- moc/moc_CPrtQListViewItem.cpp \
- moc/moc_CApp.cpp \
- moc/moc_CW_EditText.cpp \
- moc/moc_C_DlgMainDialog.cpp \
- moc/moc_Dlg_MainDialog.cpp \
- moc/moc_DlgGetString.cpp \
- moc/moc_DlgMyMessageBox.cpp
-OBJMOC = obj/moc_CMoteur_Base.o \
- obj/moc_ThemePopup.o \
- obj/moc_CPrtQListViewItem.o \
- obj/moc_CApp.o \
- obj/moc_CW_EditText.o \
- obj/moc_C_DlgMainDialog.o \
- obj/moc_Dlg_MainDialog.o \
- obj/moc_DlgGetString.o \
- obj/moc_DlgMyMessageBox.o
-DIST = src.pro
-QMAKE_TARGET = set_bases
-DESTDIR = ../bin/
-TARGET = ../bin/set_bases
-
-first: all
-####### Implicit rules
-
-.SUFFIXES: .c .o .cpp .cc .cxx .C
-
-.cpp.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
-
-.cc.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
-
-.cxx.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
-
-.C.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
-
-.c.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
-
-####### Build rules
-
-all: Makefile $(TARGET)
-
-$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
- test -d ../bin/ || mkdir -p ../bin/
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
-
-mocables: $(SRCMOC)
-uicables: $(UICDECLS) $(UICIMPLS)
-
-$(MOC):
- ( cd $(QTDIR)/src/moc && $(MAKE) )
-
-Makefile: src.pro /usr/lib/qt3/mkspecs/linux-g++/qmake.conf /usr/lib/qt3/lib/libqt-mt.prl
- $(QMAKE) -o Makefile src.pro
-qmake:
- @$(QMAKE) -o Makefile src.pro
-
-dist:
- @mkdir -p obj/set_bases && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) obj/set_bases/ && $(COPY_FILE) --parents set_bases_fr.ts obj/set_bases/ && $(COPY_FILE) --parents ../../MedinTuxTools/DlgGetString.ui.h ../../MedinTuxTools/DlgMyMessageBox.ui.h obj/set_bases/ && ( cd `dirname obj/set_bases` && $(TAR) set_bases.tar set_bases && $(GZIP) set_bases.tar ) && $(MOVE) `dirname obj/set_bases`/set_bases.tar.gz . && $(DEL_FILE) -r obj/set_bases
-
-mocclean:
- -$(DEL_FILE) $(OBJMOC)
- -$(DEL_FILE) $(SRCMOC)
-
-uiclean:
- -$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
-
-yaccclean:
-lexclean:
-clean: mocclean uiclean
- -$(DEL_FILE) $(OBJECTS)
- -$(DEL_FILE) *~ core *.core
-
-
-####### Sub-libraries
-
-distclean: clean
- -$(DEL_FILE) ../bin/$(TARGET) $(TARGET)
-
-
-FORCE:
-
-####### Compile
-
-obj/main.o: main.cpp CApp.h \
- C_DlgMainDialog.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CMedinTuxApp.h \
- ../../MedinTuxTools/CMedicaBase.h \
- ../../MedinTuxTools/CGestIni.h \
- CSetupBase.h \
- CW_EditText.h \
- ui/Dlg_MainDialog.h \
- CUpdateThread.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/main.o main.cpp
-
-obj/C_Zlib.o: ../../MedinTuxTools/C_Zlib/C_Zlib.cpp ../../MedinTuxTools/C_Zlib/C_Zlib.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/C_Zlib.o ../../MedinTuxTools/C_Zlib/C_Zlib.cpp
-
-obj/adler32.o: ../../MedinTuxTools/C_Zlib/adler32.c ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/adler32.o ../../MedinTuxTools/C_Zlib/adler32.c
-
-obj/compress.o: ../../MedinTuxTools/C_Zlib/compress.c ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/compress.o ../../MedinTuxTools/C_Zlib/compress.c
-
-obj/crc32.o: ../../MedinTuxTools/C_Zlib/crc32.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/crc32.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/crc32.o ../../MedinTuxTools/C_Zlib/crc32.c
-
-obj/deflate.o: ../../MedinTuxTools/C_Zlib/deflate.c ../../MedinTuxTools/C_Zlib/deflate.h \
- ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/deflate.o ../../MedinTuxTools/C_Zlib/deflate.c
-
-obj/gzio.o: ../../MedinTuxTools/C_Zlib/gzio.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/gzio.o ../../MedinTuxTools/C_Zlib/gzio.c
-
-obj/infback.o: ../../MedinTuxTools/C_Zlib/infback.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/inftrees.h \
- ../../MedinTuxTools/C_Zlib/inflate.h \
- ../../MedinTuxTools/C_Zlib/inffast.h \
- ../../MedinTuxTools/C_Zlib/inffixed.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/infback.o ../../MedinTuxTools/C_Zlib/infback.c
-
-obj/inffast.o: ../../MedinTuxTools/C_Zlib/inffast.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/inftrees.h \
- ../../MedinTuxTools/C_Zlib/inflate.h \
- ../../MedinTuxTools/C_Zlib/inffast.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/inffast.o ../../MedinTuxTools/C_Zlib/inffast.c
-
-obj/inflate.o: ../../MedinTuxTools/C_Zlib/inflate.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/inftrees.h \
- ../../MedinTuxTools/C_Zlib/inflate.h \
- ../../MedinTuxTools/C_Zlib/inffast.h \
- ../../MedinTuxTools/C_Zlib/inffixed.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/inflate.o ../../MedinTuxTools/C_Zlib/inflate.c
-
-obj/inftrees.o: ../../MedinTuxTools/C_Zlib/inftrees.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/inftrees.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/inftrees.o ../../MedinTuxTools/C_Zlib/inftrees.c
-
-obj/trees.o: ../../MedinTuxTools/C_Zlib/trees.c ../../MedinTuxTools/C_Zlib/deflate.h \
- ../../MedinTuxTools/C_Zlib/trees.h \
- ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/trees.o ../../MedinTuxTools/C_Zlib/trees.c
-
-obj/uncompr.o: ../../MedinTuxTools/C_Zlib/uncompr.c ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/uncompr.o ../../MedinTuxTools/C_Zlib/uncompr.c
-
-obj/zutil.o: ../../MedinTuxTools/C_Zlib/zutil.c ../../MedinTuxTools/C_Zlib/zutil.h \
- ../../MedinTuxTools/C_Zlib/zlib.h \
- ../../MedinTuxTools/C_Zlib/zconf.h
- $(CC) -c $(CFLAGS) $(INCPATH) -o obj/zutil.o ../../MedinTuxTools/C_Zlib/zutil.c
-
-obj/CGestIni.o: ../../MedinTuxTools/CGestIni.cpp ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CGestIni.o ../../MedinTuxTools/CGestIni.cpp
-
-obj/CMedicaBase.o: ../../MedinTuxTools/CMedicaBase.cpp ../../MedinTuxTools/CMedicaBase.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../MedinTuxTools/CPrtQListBoxItem.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CMedicaBase.o ../../MedinTuxTools/CMedicaBase.cpp
-
-obj/CHtmlTools.o: ../../MedinTuxTools/CHtmlTools.cpp ../../MedinTuxTools/CHtmlTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CHtmlTools.o ../../MedinTuxTools/CHtmlTools.cpp
-
-obj/CGenTools.o: ../../MedinTuxTools/CGenTools.cpp ui/DlgMyMessageBox.h \
- ui/DlgGetString.h \
- ../../MedinTuxTools/CHtmlTools.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../MedinTuxTools/CGenTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CGenTools.o ../../MedinTuxTools/CGenTools.cpp
-
-obj/CMoteur_Base.o: ../../drtux/src/CMoteur_Base.cpp ../../MedinTuxTools/CHtmlTools.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/Global.h \
- ../../MedinTuxTools/CPrtQListBoxItem.h \
- ../../MedinTuxTools/CPrtQListViewItem.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h \
- ../../MedinTuxTools/Theme.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CMoteur_Base.o ../../drtux/src/CMoteur_Base.cpp
-
-obj/CPrtQListBoxItem.o: ../../MedinTuxTools/CPrtQListBoxItem.cpp ../../MedinTuxTools/CPrtQListBoxItem.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CPrtQListBoxItem.o ../../MedinTuxTools/CPrtQListBoxItem.cpp
-
-obj/CPrtQListViewItem.o: ../../MedinTuxTools/CPrtQListViewItem.cpp ../../MedinTuxTools/CPrtQListViewItem.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CPrtQListViewItem.o ../../MedinTuxTools/CPrtQListViewItem.cpp
-
-obj/ThemePopup.o: ../../MedinTuxTools/ThemePopup.cpp ../../MedinTuxTools/ThemePopup.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/ThemePopup.o ../../MedinTuxTools/ThemePopup.cpp
-
-obj/Theme.o: ../../MedinTuxTools/Theme.cpp ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Theme.o ../../MedinTuxTools/Theme.cpp
-
-obj/CSetupBase.o: CSetupBase.cpp CSetupBase.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CSetupBase.o CSetupBase.cpp
-
-obj/CApp.o: CApp.cpp CApp.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CMedinTuxApp.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CSetupBase.h \
- CW_EditText.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CApp.o CApp.cpp
-
-obj/CW_EditText.o: ../../MedinTuxTools/CW_EditText.cpp ../../MedinTuxTools/CW_EditText.h \
- ../../MedinTuxTools/CHtmlTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CW_EditText.o ../../MedinTuxTools/CW_EditText.cpp
-
-obj/CUpdateThread.o: CUpdateThread.cpp CUpdateThread.h \
- CApp.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CMedinTuxApp.h \
- ../../MedinTuxTools/CMedicaBase.h \
- ../../MedinTuxTools/CGestIni.h \
- CSetupBase.h \
- CW_EditText.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CUpdateThread.o CUpdateThread.cpp
-
-obj/CIndexMakeThread.o: CIndexMakeThread.cpp CIndexMakeThread.h \
- ../../MedinTuxTools/CMedicaBase.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/CIndexMakeThread.o CIndexMakeThread.cpp
-
-obj/C_DlgMainDialog.o: C_DlgMainDialog.cpp C_DlgMainDialog.h \
- CApp.h \
- ../../MedinTuxTools/CHtmlTools.h \
- ../../MedinTuxTools/CW_EditText.h \
- ../../MedinTuxTools/C_Huffman.h \
- ../../MedinTuxTools/C_Zlib/C_Zlib.h \
- ../../MedinTuxTools/CGestIni.h \
- ui/Dlg_MainDialog.h \
- CUpdateThread.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h \
- ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CMedinTuxApp.h \
- CSetupBase.h \
- CW_EditText.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/C_DlgMainDialog.o C_DlgMainDialog.cpp
-
-ui/Dlg_MainDialog.h: Dlg_MainDialog.ui ../../MedinTuxTools/CW_EditText.h \
- CUpdateThread.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(UIC) Dlg_MainDialog.ui -o ui/Dlg_MainDialog.h
-
-ui/Dlg_MainDialog.cpp: ui/Dlg_MainDialog.h Dlg_MainDialog.ui ../../MedinTuxTools/CW_EditText.h \
- CUpdateThread.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(UIC) Dlg_MainDialog.ui -i Dlg_MainDialog.h -o ui/Dlg_MainDialog.cpp
-
-ui/DlgGetString.h: ../../MedinTuxTools/DlgGetString.ui
- $(UIC) ../../MedinTuxTools/DlgGetString.ui -o ui/DlgGetString.h
-
-ui/DlgGetString.cpp: ui/DlgGetString.h ../../MedinTuxTools/DlgGetString.ui ../../MedinTuxTools/DlgGetString.ui.h
- $(UIC) ../../MedinTuxTools/DlgGetString.ui -i DlgGetString.h -o ui/DlgGetString.cpp
-
-ui/DlgMyMessageBox.h: ../../MedinTuxTools/DlgMyMessageBox.ui
- $(UIC) ../../MedinTuxTools/DlgMyMessageBox.ui -o ui/DlgMyMessageBox.h
-
-ui/DlgMyMessageBox.cpp: ui/DlgMyMessageBox.h ../../MedinTuxTools/DlgMyMessageBox.ui ../../MedinTuxTools/DlgMyMessageBox.ui.h
- $(UIC) ../../MedinTuxTools/DlgMyMessageBox.ui -i DlgMyMessageBox.h -o ui/DlgMyMessageBox.cpp
-
-obj/Dlg_MainDialog.o: ui/Dlg_MainDialog.cpp CApp.h \
- ../../MedinTuxTools/CHtmlTools.h \
- ui/Dlg_MainDialog.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/Dlg_MainDialog.o ui/Dlg_MainDialog.cpp
-
-obj/DlgGetString.o: ui/DlgGetString.cpp ../../MedinTuxTools/DlgGetString.ui.h \
- ui/DlgGetString.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/DlgGetString.o ui/DlgGetString.cpp
-
-obj/DlgMyMessageBox.o: ui/DlgMyMessageBox.cpp ../../MedinTuxTools/DlgMyMessageBox.ui.h \
- ui/DlgMyMessageBox.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/DlgMyMessageBox.o ui/DlgMyMessageBox.cpp
-
-obj/moc_CMoteur_Base.o: moc/moc_CMoteur_Base.cpp ../../drtux/src/CMoteur_Base.h ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_CMoteur_Base.o moc/moc_CMoteur_Base.cpp
-
-obj/moc_ThemePopup.o: moc/moc_ThemePopup.cpp ../../MedinTuxTools/ThemePopup.h ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_ThemePopup.o moc/moc_ThemePopup.cpp
-
-obj/moc_CPrtQListViewItem.o: moc/moc_CPrtQListViewItem.cpp ../../MedinTuxTools/CPrtQListViewItem.h ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CGestIni.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_CPrtQListViewItem.o moc/moc_CPrtQListViewItem.cpp
-
-obj/moc_CApp.o: moc/moc_CApp.cpp CApp.h ../../MedinTuxTools/Theme.h \
- ../../MedinTuxTools/CMedinTuxApp.h \
- ../../MedinTuxTools/CMedicaBase.h \
- ../../MedinTuxTools/CGestIni.h \
- CSetupBase.h \
- CW_EditText.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_CApp.o moc/moc_CApp.cpp
-
-obj/moc_CW_EditText.o: moc/moc_CW_EditText.cpp ../../MedinTuxTools/CW_EditText.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_CW_EditText.o moc/moc_CW_EditText.cpp
-
-obj/moc_C_DlgMainDialog.o: moc/moc_C_DlgMainDialog.cpp C_DlgMainDialog.h ui/Dlg_MainDialog.h \
- CUpdateThread.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_C_DlgMainDialog.o moc/moc_C_DlgMainDialog.cpp
-
-obj/moc_Dlg_MainDialog.o: moc/moc_Dlg_MainDialog.cpp ui/Dlg_MainDialog.h CUpdateThread.h \
- ../../MedinTuxTools/CMedicaBase.h \
- CIndexMakeThread.h \
- ../../drtux/src/CMoteur_Base.h \
- ../../drtux/src/structureparser.h \
- ../../drtux/src/CRubList.h \
- ../../MedinTuxTools/CGestIni.h \
- ../../drtux/src/Rubriques.h \
- ../../MedinTuxTools/CGenTools.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_Dlg_MainDialog.o moc/moc_Dlg_MainDialog.cpp
-
-obj/moc_DlgGetString.o: moc/moc_DlgGetString.cpp ui/DlgGetString.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_DlgGetString.o moc/moc_DlgGetString.cpp
-
-obj/moc_DlgMyMessageBox.o: moc/moc_DlgMyMessageBox.cpp ui/DlgMyMessageBox.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_DlgMyMessageBox.o moc/moc_DlgMyMessageBox.cpp
-
-moc/moc_CMoteur_Base.cpp: $(MOC) ../../drtux/src/CMoteur_Base.h
- $(MOC) ../../drtux/src/CMoteur_Base.h -o moc/moc_CMoteur_Base.cpp
-
-moc/moc_ThemePopup.cpp: $(MOC) ../../MedinTuxTools/ThemePopup.h
- $(MOC) ../../MedinTuxTools/ThemePopup.h -o moc/moc_ThemePopup.cpp
-
-moc/moc_CPrtQListViewItem.cpp: $(MOC) ../../MedinTuxTools/CPrtQListViewItem.h
- $(MOC) ../../MedinTuxTools/CPrtQListViewItem.h -o moc/moc_CPrtQListViewItem.cpp
-
-moc/moc_CApp.cpp: $(MOC) CApp.h
- $(MOC) CApp.h -o moc/moc_CApp.cpp
-
-moc/moc_CW_EditText.cpp: $(MOC) ../../MedinTuxTools/CW_EditText.h
- $(MOC) ../../MedinTuxTools/CW_EditText.h -o moc/moc_CW_EditText.cpp
-
-moc/moc_C_DlgMainDialog.cpp: $(MOC) C_DlgMainDialog.h
- $(MOC) C_DlgMainDialog.h -o moc/moc_C_DlgMainDialog.cpp
-
-moc/moc_Dlg_MainDialog.cpp: $(MOC) ui/Dlg_MainDialog.h
- $(MOC) ui/Dlg_MainDialog.h -o moc/moc_Dlg_MainDialog.cpp
-
-moc/moc_DlgGetString.cpp: $(MOC) ui/DlgGetString.h
- $(MOC) ui/DlgGetString.h -o moc/moc_DlgGetString.cpp
-
-moc/moc_DlgMyMessageBox.cpp: $(MOC) ui/DlgMyMessageBox.h
- $(MOC) ui/DlgMyMessageBox.h -o moc/moc_DlgMyMessageBox.cpp
-
-####### Install
-
-install:
-
-uninstall:
-