Skip to content
Browse files

:D, New architecture!

  • Loading branch information...
1 parent 276cbf5 commit 6836c79656109114249f65d82cb5f0c05f581a6d @nycholas committed Aug 4, 2010
Showing with 11,375 additions and 1,503 deletions.
  1. +24 −0 .gitignore
  2. +105 −682 Makefile
  3. +3 −6 README
  4. +14 −0 bin/bin.pro
  5. BIN c-project
  6. +119 −0 c-project.pri
  7. +12 −66 c-project.pro
  8. +0 −73 db/connection.h
  9. BIN doc/database/eer/c-project.mwb
  10. +156 −97 {resources/db → doc/database}/mysql/create-database.sql
  11. 0 doc/doc.pri
  12. +48 −0 doc/doc.pri.old
  13. BIN resources/db/eer/c-project.mwb
  14. +0 −3 resources/ui/.directory
  15. +0 −3 resources/ui/static/default/icons/22x22/.directory
  16. +0 −3 resources/ui/static/default/icons/32x32/.directory
  17. +0 −426 resources/ui/userform.ui
  18. +91 −0 scripts/create_crud.py
  19. +184 −0 share/c-project/Makefile.static
  20. +61 −0 share/c-project/static.pro
  21. +32 −0 share/c-project/styles/darkvim.xml
  22. +4 −0 share/c-project/styles/default.xml
  23. +35 −0 share/c-project/styles/grayscale.xml
  24. +42 −0 share/c-project/translations/README
  25. +9 −0 share/c-project/translations/extract-customwizards.xq
  26. +6 −0 share/c-project/translations/extract-mimetypes.xq
  27. +69 −0 share/c-project/translations/translations.pro
  28. +2 −0 share/share.pro
  29. +3,647 −0 src/app/.rcc/qrc_resources.cpp
  30. +226 −0 src/app/Info.plist
  31. +37 −0 src/app/app.pro
  32. +7 −0 src/app/c-project.rc
  33. +5 −5 { → src/app}/main.cpp
  34. BIN src/app/prifile.icns
  35. BIN src/app/profile.icns
  36. BIN src/app/qtcreator.icns
  37. BIN src/app/qtcreator.ico
  38. BIN src/app/winicons/c.ico
  39. BIN src/app/winicons/c128.png
  40. BIN src/app/winicons/c16.png
  41. BIN src/app/winicons/c32.png
  42. BIN src/app/winicons/c48.png
  43. BIN src/app/winicons/c64.png
  44. BIN src/app/winicons/cpp.ico
  45. BIN src/app/winicons/cpp128.png
  46. BIN src/app/winicons/cpp16.png
  47. BIN src/app/winicons/cpp32.png
  48. BIN src/app/winicons/cpp48.png
  49. BIN src/app/winicons/cpp64.png
  50. +849 −0 src/app/winicons/cppicon.svg
  51. +8 −0 src/app/winicons/createicons.sh
  52. BIN src/app/winicons/h.ico
  53. BIN src/app/winicons/h128.png
  54. BIN src/app/winicons/h16.png
  55. BIN src/app/winicons/h32.png
  56. BIN src/app/winicons/h64.png
  57. +849 −0 src/app/winicons/hicon.svg
  58. +850 −0 src/app/winicons/hicon32.svg
  59. BIN src/app/winicons/pri.ico
  60. BIN src/app/winicons/pri128.png
  61. BIN src/app/winicons/pri16.png
  62. BIN src/app/winicons/pri32.png
  63. BIN src/app/winicons/pri48.png
  64. BIN src/app/winicons/pri64.png
  65. +864 −0 src/app/winicons/priicon.svg
  66. BIN src/app/winicons/pro.ico
  67. BIN src/app/winicons/pro128.png
  68. BIN src/app/winicons/pro16.png
  69. BIN src/app/winicons/pro32.png
  70. BIN src/app/winicons/pro48.png
  71. BIN src/app/winicons/pro64.png
  72. +879 −0 src/app/winicons/proicon.svg
  73. BIN src/app/winicons/qml.ico
  74. BIN src/app/winicons/qml128.png
  75. BIN src/app/winicons/qml16.png
  76. BIN src/app/winicons/qml32.png
  77. BIN src/app/winicons/qml48.png
  78. BIN src/app/winicons/qml64.png
  79. +896 −0 src/app/winicons/qmlicon.svg
  80. BIN src/app/winicons/ui.ico
  81. BIN src/app/winicons/ui128.png
  82. BIN src/app/winicons/ui16.png
  83. BIN src/app/winicons/ui32.png
  84. BIN src/app/winicons/ui48.png
  85. BIN src/app/winicons/ui64.png
  86. +916 −0 src/app/winicons/uiicon.svg
  87. +2 −0 src/core/.directory
  88. +1 −1 {apps → src/core}/changepassword.cpp
  89. +3 −3 {apps → src/core}/changepassword.h
  90. +108 −58 {apps → src/core}/contenttypes.cpp
  91. +16 −12 {apps → src/core}/contenttypes.h
  92. +78 −40 {apps → src/core}/contenttypesform.cpp
  93. +9 −7 {apps → src/core}/contenttypesform.h
  94. +12 −13 {apps → src/core}/contenttypessearch.cpp
  95. +7 −5 {apps → src/core}/contenttypessearch.h
  96. +84 −0 src/core/core.pri
  97. +6 −0 src/core/core.pro
Sorry, we could not display the entire diff because too many files (304) changed.
View
24 .gitignore
@@ -1,9 +1,33 @@
+syntax: glob
*~
+*.a
+*.la
+*.pc
+*.core
+*.moc
*.swp
*.out
*.log
*.bak
*.so
*.o
+*.obj
+*.orig
+*.rej
+*.pbxuser
+*.mode1
+*.mode1v3
+*.qch
+*.dylib
+*_pch.h.cpp
+*_resouce.rc
+.qmake.cache
+*.prl
+tags
+ui_*.h
*.cproject
*.project
+Makefile
+Makefile.Debug
+Makefile.Release
+bin/c-project
View
787 Makefile
@@ -1,169 +1,105 @@
#############################################################################
# Makefile for building: c-project
-# Generated by qmake (2.01a) (Qt 4.6.3) on: Mon Jun 21 18:10:15 2010
+# Generated by qmake (2.01a) (Qt 4.6.3) on: Wed Aug 4 18:26:39 2010
# Project: c-project.pro
-# Template: app
+# Template: subdirs
# Command: /usr/bin/qmake -unix -o Makefile c-project.pro
#############################################################################
-####### Compiler, tools and options
-
-CC = gcc
-CXX = g++
-DEFINES = -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-CFLAGS = -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT $(DEFINES)
-CXXFLAGS = -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT $(DEFINES)
-INCPATH = -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -I. -Icommons -Iapps -I. -Iapps/widgets
-LINK = g++
-LFLAGS = -m64 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1
-LIBS = $(SUBLIBS) -L/usr/lib -lQtSql -lQtGui -lQtCore -lpthread
-AR = ar cqs
-RANLIB =
+first: make_default
+MAKEFILE = Makefile
QMAKE = /usr/bin/qmake
-TAR = tar -cf
-COMPRESS = gzip -9f
+DEL_FILE = rm -f
+CHK_DIR_EXISTS= test -d
+MKDIR = mkdir -p
COPY = cp -f
-SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
-STRIP = strip
INSTALL_FILE = install -m 644 -p
-INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
+INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
-
-####### Output directory
-
-OBJECTS_DIR = ./
-
-####### Files
-
-SOURCES = main.cpp \
- apps/changepassword.cpp \
- apps/contenttypes.cpp \
- apps/contenttypesform.cpp \
- apps/contenttypesmodel.cpp \
- apps/contenttypessearch.cpp \
- apps/group.cpp \
- apps/groupform.cpp \
- apps/groupmodel.cpp \
- apps/groupsearch.cpp \
- apps/login.cpp \
- apps/mainwindow.cpp \
- apps/permission.cpp \
- apps/permissionform.cpp \
- apps/permissionmodel.cpp \
- apps/permissionsearch.cpp \
- apps/user.cpp \
- apps/userform.cpp \
- apps/usermodel.cpp \
- apps/usersearch.cpp moc_changepassword.cpp \
- moc_contenttypes.cpp \
- moc_contenttypesform.cpp \
- moc_contenttypessearch.cpp \
- moc_group.cpp \
- moc_groupform.cpp \
- moc_groupsearch.cpp \
- moc_login.cpp \
- moc_mainwindow.cpp \
- moc_permission.cpp \
- moc_permissionform.cpp \
- moc_permissionsearch.cpp \
- moc_user.cpp \
- moc_userform.cpp \
- moc_usersearch.cpp \
- qrc_resources.cpp
-OBJECTS = main.o \
- changepassword.o \
- contenttypes.o \
- contenttypesform.o \
- contenttypesmodel.o \
- contenttypessearch.o \
- group.o \
- groupform.o \
- groupmodel.o \
- groupsearch.o \
- login.o \
- mainwindow.o \
- permission.o \
- permissionform.o \
- permissionmodel.o \
- permissionsearch.o \
- user.o \
- userform.o \
- usermodel.o \
- usersearch.o \
- moc_changepassword.o \
- moc_contenttypes.o \
- moc_contenttypesform.o \
- moc_contenttypessearch.o \
- moc_group.o \
- moc_groupform.o \
- moc_groupsearch.o \
- moc_login.o \
- moc_mainwindow.o \
- moc_permission.o \
- moc_permissionform.o \
- moc_permissionsearch.o \
- moc_user.o \
- moc_userform.o \
- moc_usersearch.o \
- qrc_resources.o
-DIST = /usr/share/qt/mkspecs/common/g++.conf \
- /usr/share/qt/mkspecs/common/unix.conf \
- /usr/share/qt/mkspecs/common/linux.conf \
- /usr/share/qt/mkspecs/qconfig.pri \
- /usr/share/qt/mkspecs/features/qt_functions.prf \
- /usr/share/qt/mkspecs/features/qt_config.prf \
- /usr/share/qt/mkspecs/features/exclusive_builds.prf \
- /usr/share/qt/mkspecs/features/default_pre.prf \
- /usr/share/qt/mkspecs/features/release.prf \
- /usr/share/qt/mkspecs/features/default_post.prf \
- /usr/share/qt/mkspecs/features/warn_on.prf \
- /usr/share/qt/mkspecs/features/qt.prf \
- /usr/share/qt/mkspecs/features/unix/thread.prf \
- /usr/share/qt/mkspecs/features/moc.prf \
- /usr/share/qt/mkspecs/features/resources.prf \
- /usr/share/qt/mkspecs/features/uic.prf \
- /usr/share/qt/mkspecs/features/yacc.prf \
- /usr/share/qt/mkspecs/features/lex.prf \
- /usr/share/qt/mkspecs/features/include_source_dir.prf \
- c-project.pro
-QMAKE_TARGET = c-project
-DESTDIR =
-TARGET = c-project
-
-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 $(TARGET)
-
-$(TARGET): apps/widgets/ui_changepassword.h apps/widgets/ui_contenttypes.h apps/widgets/ui_contenttypesform.h apps/widgets/ui_contenttypessearch.h apps/widgets/ui_group.h apps/widgets/ui_groupform.h apps/widgets/ui_groupsearch.h apps/widgets/ui_login.h apps/widgets/ui_mainwindow.h apps/widgets/ui_permission.h apps/widgets/ui_permissionform.h apps/widgets/ui_permissionsearch.h apps/widgets/ui_user.h apps/widgets/ui_userform.h apps/widgets/ui_usersearch.h $(OBJECTS)
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+SUBTARGETS = \
+ sub-src \
+ sub-share
+
+src/$(MAKEFILE):
+ @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
+ cd src/ && $(QMAKE) /home/nycholas/project/src/etegila/src/c-project/src/src.pro -unix -o $(MAKEFILE)
+sub-src-qmake_all: FORCE
+ @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
+ cd src/ && $(QMAKE) /home/nycholas/project/src/etegila/src/c-project/src/src.pro -unix -o $(MAKEFILE)
+sub-src: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE)
+sub-src-make_default-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE)
+sub-src-make_default: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE)
+sub-src-make_first-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) first
+sub-src-make_first: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) first
+sub-src-all-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) all
+sub-src-all: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) all
+sub-src-clean-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) clean
+sub-src-clean: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) clean
+sub-src-distclean-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) distclean
+sub-src-distclean: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) distclean
+sub-src-install_subtargets-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) install
+sub-src-install_subtargets: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) install
+sub-src-uninstall_subtargets-ordered: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
+sub-src-uninstall_subtargets: src/$(MAKEFILE) FORCE
+ cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
+share/$(MAKEFILE):
+ @$(CHK_DIR_EXISTS) share/ || $(MKDIR) share/
+ cd share/ && $(QMAKE) /home/nycholas/project/src/etegila/src/c-project/share/share.pro -unix -o $(MAKEFILE)
+sub-share-qmake_all: FORCE
+ @$(CHK_DIR_EXISTS) share/ || $(MKDIR) share/
+ cd share/ && $(QMAKE) /home/nycholas/project/src/etegila/src/c-project/share/share.pro -unix -o $(MAKEFILE)
+sub-share: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE)
+sub-share-make_default-ordered: share/$(MAKEFILE) sub-src-make_default-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE)
+sub-share-make_default: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE)
+sub-share-make_first-ordered: share/$(MAKEFILE) sub-src-make_first-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) first
+sub-share-make_first: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) first
+sub-share-all-ordered: share/$(MAKEFILE) sub-src-all-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) all
+sub-share-all: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) all
+sub-share-clean-ordered: share/$(MAKEFILE) sub-src-clean-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) clean
+sub-share-clean: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) clean
+sub-share-distclean-ordered: share/$(MAKEFILE) sub-src-distclean-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) distclean
+sub-share-distclean: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) distclean
+sub-share-install_subtargets-ordered: share/$(MAKEFILE) sub-src-install_subtargets-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) install
+sub-share-install_subtargets: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) install
+sub-share-uninstall_subtargets-ordered: share/$(MAKEFILE) sub-src-uninstall_subtargets-ordered FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) uninstall
+sub-share-uninstall_subtargets: share/$(MAKEFILE) FORCE
+ cd share/ && $(MAKE) -f $(MAKEFILE) uninstall
Makefile: c-project.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/share/qt/mkspecs/common/g++.conf \
/usr/share/qt/mkspecs/common/unix.conf \
@@ -173,6 +109,8 @@ Makefile: c-project.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/shar
/usr/share/qt/mkspecs/features/qt_config.prf \
/usr/share/qt/mkspecs/features/exclusive_builds.prf \
/usr/share/qt/mkspecs/features/default_pre.prf \
+ c-project.pri \
+ doc/doc.pri \
/usr/share/qt/mkspecs/features/release.prf \
/usr/share/qt/mkspecs/features/default_post.prf \
/usr/share/qt/mkspecs/features/warn_on.prf \
@@ -182,11 +120,7 @@ Makefile: c-project.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/shar
/usr/share/qt/mkspecs/features/resources.prf \
/usr/share/qt/mkspecs/features/uic.prf \
/usr/share/qt/mkspecs/features/yacc.prf \
- /usr/share/qt/mkspecs/features/lex.prf \
- /usr/share/qt/mkspecs/features/include_source_dir.prf \
- /usr/lib/libQtSql.prl \
- /usr/lib/libQtGui.prl \
- /usr/lib/libQtCore.prl
+ /usr/share/qt/mkspecs/features/lex.prf
$(QMAKE) -unix -o Makefile c-project.pro
/usr/share/qt/mkspecs/common/g++.conf:
/usr/share/qt/mkspecs/common/unix.conf:
@@ -196,6 +130,8 @@ Makefile: c-project.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/shar
/usr/share/qt/mkspecs/features/qt_config.prf:
/usr/share/qt/mkspecs/features/exclusive_builds.prf:
/usr/share/qt/mkspecs/features/default_pre.prf:
+c-project.pri:
+doc/doc.pri:
/usr/share/qt/mkspecs/features/release.prf:
/usr/share/qt/mkspecs/features/default_post.prf:
/usr/share/qt/mkspecs/features/warn_on.prf:
@@ -206,545 +142,32 @@ Makefile: c-project.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/shar
/usr/share/qt/mkspecs/features/uic.prf:
/usr/share/qt/mkspecs/features/yacc.prf:
/usr/share/qt/mkspecs/features/lex.prf:
-/usr/share/qt/mkspecs/features/include_source_dir.prf:
-/usr/lib/libQtSql.prl:
-/usr/lib/libQtGui.prl:
-/usr/lib/libQtCore.prl:
-qmake: FORCE
+qmake: qmake_all FORCE
@$(QMAKE) -unix -o Makefile c-project.pro
-dist:
- @$(CHK_DIR_EXISTS) .tmp/c-project1.0.0 || $(MKDIR) .tmp/c-project1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/c-project1.0.0/ && $(COPY_FILE) --parents apps/changepassword.h apps/contenttypes.h apps/contenttypesform.h apps/contenttypesmodel.h apps/contenttypessearch.h apps/group.h apps/groupform.h apps/groupmodel.h apps/groupsearch.h apps/login.h apps/mainwindow.h apps/permission.h apps/permissionform.h apps/permissionmodel.h apps/permissionsearch.h apps/user.h apps/userform.h apps/usermodel.h apps/usersearch.h commons/connection.h .tmp/c-project1.0.0/ && $(COPY_FILE) --parents resources/ui/resources.qrc .tmp/c-project1.0.0/ && $(COPY_FILE) --parents main.cpp apps/changepassword.cpp apps/contenttypes.cpp apps/contenttypesform.cpp apps/contenttypesmodel.cpp apps/contenttypessearch.cpp apps/group.cpp apps/groupform.cpp apps/groupmodel.cpp apps/groupsearch.cpp apps/login.cpp apps/mainwindow.cpp apps/permission.cpp apps/permissionform.cpp apps/permissionmodel.cpp apps/permissionsearch.cpp apps/user.cpp apps/userform.cpp apps/usermodel.cpp apps/usersearch.cpp .tmp/c-project1.0.0/ && $(COPY_FILE) --parents resources/ui/changepassword.ui resources/ui/contenttypes.ui resources/ui/contenttypesform.ui resources/ui/contenttypessearch.ui resources/ui/group.ui resources/ui/groupform.ui resources/ui/groupsearch.ui resources/ui/login.ui resources/ui/mainwindow.ui resources/ui/permission.ui resources/ui/permissionform.ui resources/ui/permissionsearch.ui resources/ui/user.ui resources/ui/userform.ui resources/ui/usersearch.ui .tmp/c-project1.0.0/ && (cd `dirname .tmp/c-project1.0.0` && $(TAR) c-project1.0.0.tar c-project1.0.0 && $(COMPRESS) c-project1.0.0.tar) && $(MOVE) `dirname .tmp/c-project1.0.0`/c-project1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/c-project1.0.0
-
-
-clean:compiler_clean
- -$(DEL_FILE) $(OBJECTS)
- -$(DEL_FILE) *~ core *.core
-
+qmake_all: sub-src-qmake_all sub-share-qmake_all FORCE
-####### Sub-libraries
-
-distclean: clean
- -$(DEL_FILE) $(TARGET)
+make_default: sub-src-make_default-ordered sub-share-make_default-ordered FORCE
+make_first: sub-src-make_first-ordered sub-share-make_first-ordered FORCE
+all: sub-src-all-ordered sub-share-all-ordered FORCE
+clean: sub-src-clean-ordered sub-share-clean-ordered FORCE
+distclean: sub-src-distclean-ordered sub-share-distclean-ordered FORCE
-$(DEL_FILE) Makefile
+install_subtargets: sub-src-install_subtargets-ordered sub-share-install_subtargets-ordered FORCE
+uninstall_subtargets: sub-src-uninstall_subtargets-ordered sub-share-uninstall_subtargets-ordered FORCE
-
-check: first
+sub-src-check_ordered: src/$(MAKEFILE)
+ cd src/ && $(MAKE) check
+sub-share-check_ordered: share/$(MAKEFILE) sub-src-check_ordered
+ cd share/ && $(MAKE) check
+check: sub-src-check_ordered sub-share-check_ordered
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+install: install_subtargets FORCE
-compiler_moc_header_make_all: moc_changepassword.cpp moc_contenttypes.cpp moc_contenttypesform.cpp moc_contenttypessearch.cpp moc_group.cpp moc_groupform.cpp moc_groupsearch.cpp moc_login.cpp moc_mainwindow.cpp moc_permission.cpp moc_permissionform.cpp moc_permissionsearch.cpp moc_user.cpp moc_userform.cpp moc_usersearch.cpp
-compiler_moc_header_clean:
- -$(DEL_FILE) moc_changepassword.cpp moc_contenttypes.cpp moc_contenttypesform.cpp moc_contenttypessearch.cpp moc_group.cpp moc_groupform.cpp moc_groupsearch.cpp moc_login.cpp moc_mainwindow.cpp moc_permission.cpp moc_permissionform.cpp moc_permissionsearch.cpp moc_user.cpp moc_userform.cpp moc_usersearch.cpp
-moc_changepassword.cpp: apps/widgets/ui_changepassword.h \
- apps/changepassword.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/changepassword.h -o moc_changepassword.cpp
-
-moc_contenttypes.cpp: apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h \
- apps/contenttypes.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/contenttypes.h -o moc_contenttypes.cpp
-
-moc_contenttypesform.cpp: apps/widgets/ui_contenttypesform.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/contenttypesform.h -o moc_contenttypesform.cpp
-
-moc_contenttypessearch.cpp: apps/widgets/ui_contenttypessearch.h \
- apps/contenttypessearch.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/contenttypessearch.h -o moc_contenttypessearch.cpp
-
-moc_group.cpp: apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/contenttypesmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h \
- apps/group.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/group.h -o moc_group.cpp
-
-moc_groupform.cpp: apps/widgets/ui_groupform.h \
- apps/groupmodel.h \
- apps/contenttypesmodel.h \
- apps/groupform.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/groupform.h -o moc_groupform.cpp
-
-moc_groupsearch.cpp: apps/widgets/ui_groupsearch.h \
- apps/groupsearch.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/groupsearch.h -o moc_groupsearch.cpp
-
-moc_login.cpp: apps/widgets/ui_login.h \
- apps/login.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/login.h -o moc_login.cpp
-
-moc_mainwindow.cpp: apps/widgets/ui_mainwindow.h \
- apps/login.h \
- apps/widgets/ui_login.h \
- apps/changepassword.h \
- apps/widgets/ui_changepassword.h \
- apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h \
- apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h \
- apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h \
- apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h \
- apps/mainwindow.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/mainwindow.h -o moc_mainwindow.cpp
-
-moc_permission.cpp: apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/contenttypesmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h \
- apps/permission.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/permission.h -o moc_permission.cpp
-
-moc_permissionform.cpp: apps/widgets/ui_permissionform.h \
- apps/permissionmodel.h \
- apps/contenttypesmodel.h \
- apps/permissionform.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/permissionform.h -o moc_permissionform.cpp
-
-moc_permissionsearch.cpp: apps/widgets/ui_permissionsearch.h \
- apps/permissionsearch.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/permissionsearch.h -o moc_permissionsearch.cpp
-
-moc_user.cpp: apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/contenttypesmodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h \
- apps/user.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/user.h -o moc_user.cpp
-
-moc_userform.cpp: apps/widgets/ui_userform.h \
- apps/usermodel.h \
- apps/contenttypesmodel.h \
- apps/userform.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/userform.h -o moc_userform.cpp
-
-moc_usersearch.cpp: apps/widgets/ui_usersearch.h \
- apps/usersearch.h
- /usr/bin/moc $(DEFINES) $(INCPATH) apps/usersearch.h -o moc_usersearch.cpp
-
-compiler_rcc_make_all: qrc_resources.cpp
-compiler_rcc_clean:
- -$(DEL_FILE) qrc_resources.cpp
-qrc_resources.cpp: resources/ui/resources.qrc \
- resources/ui/static/default/icons/32x32/meeting-organizer.png \
- resources/ui/static/default/icons/22x22/documentation.png \
- resources/ui/static/default/icons/22x22/page-zoom.png \
- resources/ui/static/default/icons/22x22/edit-delete.png \
- resources/ui/static/default/icons/22x22/dialog-ok-apply.png \
- resources/ui/static/default/icons/22x22/edit-redo.png \
- resources/ui/static/default/icons/22x22/irc-operator.png \
- resources/ui/static/default/icons/22x22/im-status-message-edit.png \
- resources/ui/static/default/icons/22x22/dialog-warning.png \
- resources/ui/static/default/icons/22x22/go-next-view.png \
- resources/ui/static/default/icons/22x22/edit-copy.png \
- resources/ui/static/default/icons/22x22/dialog-error.png \
- resources/ui/static/default/icons/22x22/meeting-organizer.png \
- resources/ui/static/default/icons/22x22/preferences-desktop.png \
- resources/ui/static/default/icons/22x22/resource-group.png \
- resources/ui/static/default/icons/22x22/help-contents.png \
- resources/ui/static/default/icons/22x22/go-next.png \
- resources/ui/static/default/icons/22x22/configure.png \
- resources/ui/static/default/icons/22x22/tools-report-bug.png \
- resources/ui/static/default/icons/22x22/system-log-out.png \
- resources/ui/static/default/icons/22x22/document-save.png \
- resources/ui/static/default/icons/22x22/video-display.png \
- resources/ui/static/default/icons/22x22/view-left-new.png \
- resources/ui/static/default/icons/22x22/dialog-ok.png \
- resources/ui/static/default/icons/22x22/document-save-all.png \
- resources/ui/static/default/icons/22x22/document-open-recent.png \
- resources/ui/static/default/icons/22x22/document-save-as.png \
- resources/ui/static/default/icons/22x22/edit-undo.png \
- resources/ui/static/default/icons/22x22/go-previous-view.png \
- resources/ui/static/default/icons/22x22/project-open.png \
- resources/ui/static/default/icons/22x22/edit-cut.png \
- resources/ui/static/default/icons/22x22/face-devilish.png \
- resources/ui/static/default/icons/22x22/help-about.png \
- resources/ui/static/default/icons/22x22/dialog-password.png \
- resources/ui/static/default/icons/22x22/window-close.png \
- resources/ui/static/default/icons/22x22/view-restore.png \
- resources/ui/static/default/icons/22x22/list-add-user.png \
- resources/ui/static/default/icons/22x22/dialog-information.png \
- resources/ui/static/default/icons/22x22/document-print.png \
- resources/ui/static/default/icons/22x22/go-previous.png \
- resources/ui/static/default/icons/22x22/document-new.png \
- resources/ui/static/default/icons/22x22/view-fullscreen.png \
- resources/ui/static/default/icons/22x22/view-left-close.png \
- resources/ui/static/default/icons/22x22/document-open.png \
- resources/ui/static/default/icons/22x22/dialog-cancel.png \
- resources/ui/static/default/icons/22x22/view-refresh.png \
- resources/ui/static/default/icons/22x22/document-open-remote.png \
- resources/ui/static/default/icons/22x22/application-exit.png \
- resources/ui/static/default/icons/22x22/edit-paste.png
- /usr/bin/rcc -name resources resources/ui/resources.qrc -o qrc_resources.cpp
-
-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_uic_make_all: apps/widgets/ui_changepassword.h apps/widgets/ui_contenttypes.h apps/widgets/ui_contenttypesform.h apps/widgets/ui_contenttypessearch.h apps/widgets/ui_group.h apps/widgets/ui_groupform.h apps/widgets/ui_groupsearch.h apps/widgets/ui_login.h apps/widgets/ui_mainwindow.h apps/widgets/ui_permission.h apps/widgets/ui_permissionform.h apps/widgets/ui_permissionsearch.h apps/widgets/ui_user.h apps/widgets/ui_userform.h apps/widgets/ui_usersearch.h
-compiler_uic_clean:
- -$(DEL_FILE) apps/widgets/ui_changepassword.h apps/widgets/ui_contenttypes.h apps/widgets/ui_contenttypesform.h apps/widgets/ui_contenttypessearch.h apps/widgets/ui_group.h apps/widgets/ui_groupform.h apps/widgets/ui_groupsearch.h apps/widgets/ui_login.h apps/widgets/ui_mainwindow.h apps/widgets/ui_permission.h apps/widgets/ui_permissionform.h apps/widgets/ui_permissionsearch.h apps/widgets/ui_user.h apps/widgets/ui_userform.h apps/widgets/ui_usersearch.h
-apps/widgets/ui_changepassword.h: resources/ui/changepassword.ui
- /usr/bin/uic resources/ui/changepassword.ui -o apps/widgets/ui_changepassword.h
-
-apps/widgets/ui_contenttypes.h: resources/ui/contenttypes.ui
- /usr/bin/uic resources/ui/contenttypes.ui -o apps/widgets/ui_contenttypes.h
-
-apps/widgets/ui_contenttypesform.h: resources/ui/contenttypesform.ui
- /usr/bin/uic resources/ui/contenttypesform.ui -o apps/widgets/ui_contenttypesform.h
-
-apps/widgets/ui_contenttypessearch.h: resources/ui/contenttypessearch.ui
- /usr/bin/uic resources/ui/contenttypessearch.ui -o apps/widgets/ui_contenttypessearch.h
-
-apps/widgets/ui_group.h: resources/ui/group.ui
- /usr/bin/uic resources/ui/group.ui -o apps/widgets/ui_group.h
-
-apps/widgets/ui_groupform.h: resources/ui/groupform.ui
- /usr/bin/uic resources/ui/groupform.ui -o apps/widgets/ui_groupform.h
-
-apps/widgets/ui_groupsearch.h: resources/ui/groupsearch.ui
- /usr/bin/uic resources/ui/groupsearch.ui -o apps/widgets/ui_groupsearch.h
-
-apps/widgets/ui_login.h: resources/ui/login.ui
- /usr/bin/uic resources/ui/login.ui -o apps/widgets/ui_login.h
-
-apps/widgets/ui_mainwindow.h: resources/ui/mainwindow.ui
- /usr/bin/uic resources/ui/mainwindow.ui -o apps/widgets/ui_mainwindow.h
-
-apps/widgets/ui_permission.h: resources/ui/permission.ui
- /usr/bin/uic resources/ui/permission.ui -o apps/widgets/ui_permission.h
-
-apps/widgets/ui_permissionform.h: resources/ui/permissionform.ui
- /usr/bin/uic resources/ui/permissionform.ui -o apps/widgets/ui_permissionform.h
-
-apps/widgets/ui_permissionsearch.h: resources/ui/permissionsearch.ui
- /usr/bin/uic resources/ui/permissionsearch.ui -o apps/widgets/ui_permissionsearch.h
-
-apps/widgets/ui_user.h: resources/ui/user.ui
- /usr/bin/uic resources/ui/user.ui -o apps/widgets/ui_user.h
-
-apps/widgets/ui_userform.h: resources/ui/userform.ui
- /usr/bin/uic resources/ui/userform.ui -o apps/widgets/ui_userform.h
-
-apps/widgets/ui_usersearch.h: resources/ui/usersearch.ui
- /usr/bin/uic resources/ui/usersearch.ui -o apps/widgets/ui_usersearch.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_rcc_clean compiler_uic_clean
-
-####### Compile
-
-main.o: main.cpp commons/connection.h \
- apps/mainwindow.h \
- apps/widgets/ui_mainwindow.h \
- apps/login.h \
- apps/widgets/ui_login.h \
- apps/changepassword.h \
- apps/widgets/ui_changepassword.h \
- apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h \
- apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h \
- apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h \
- apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
-
-changepassword.o: apps/changepassword.cpp apps/changepassword.h \
- apps/widgets/ui_changepassword.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o changepassword.o apps/changepassword.cpp
-
-contenttypes.o: apps/contenttypes.cpp apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contenttypes.o apps/contenttypes.cpp
-
-contenttypesform.o: apps/contenttypesform.cpp apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contenttypesform.o apps/contenttypesform.cpp
-
-contenttypesmodel.o: apps/contenttypesmodel.cpp apps/contenttypesmodel.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contenttypesmodel.o apps/contenttypesmodel.cpp
-
-contenttypessearch.o: apps/contenttypessearch.cpp apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o contenttypessearch.o apps/contenttypessearch.cpp
-
-group.o: apps/group.cpp apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/contenttypesmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o group.o apps/group.cpp
-
-groupform.o: apps/groupform.cpp apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/contenttypesmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groupform.o apps/groupform.cpp
-
-groupmodel.o: apps/groupmodel.cpp apps/groupmodel.h \
- apps/contenttypesmodel.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groupmodel.o apps/groupmodel.cpp
-
-groupsearch.o: apps/groupsearch.cpp apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/contenttypesmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groupsearch.o apps/groupsearch.cpp
-
-login.o: apps/login.cpp apps/login.h \
- apps/widgets/ui_login.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o login.o apps/login.cpp
-
-mainwindow.o: apps/mainwindow.cpp apps/mainwindow.h \
- apps/widgets/ui_mainwindow.h \
- apps/login.h \
- apps/widgets/ui_login.h \
- apps/changepassword.h \
- apps/widgets/ui_changepassword.h \
- apps/contenttypes.h \
- apps/widgets/ui_contenttypes.h \
- apps/contenttypesmodel.h \
- apps/contenttypesform.h \
- apps/widgets/ui_contenttypesform.h \
- apps/contenttypessearch.h \
- apps/widgets/ui_contenttypessearch.h \
- apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h \
- apps/group.h \
- apps/widgets/ui_group.h \
- apps/groupmodel.h \
- apps/groupform.h \
- apps/widgets/ui_groupform.h \
- apps/groupsearch.h \
- apps/widgets/ui_groupsearch.h \
- apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o apps/mainwindow.cpp
-
-permission.o: apps/permission.cpp apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/contenttypesmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o permission.o apps/permission.cpp
-
-permissionform.o: apps/permissionform.cpp apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/contenttypesmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o permissionform.o apps/permissionform.cpp
-
-permissionmodel.o: apps/permissionmodel.cpp apps/permissionmodel.h \
- apps/contenttypesmodel.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o permissionmodel.o apps/permissionmodel.cpp
-
-permissionsearch.o: apps/permissionsearch.cpp apps/permission.h \
- apps/widgets/ui_permission.h \
- apps/permissionmodel.h \
- apps/contenttypesmodel.h \
- apps/permissionform.h \
- apps/widgets/ui_permissionform.h \
- apps/permissionsearch.h \
- apps/widgets/ui_permissionsearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o permissionsearch.o apps/permissionsearch.cpp
-
-user.o: apps/user.cpp apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/contenttypesmodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o user.o apps/user.cpp
-
-userform.o: apps/userform.cpp apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/contenttypesmodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o userform.o apps/userform.cpp
-
-usermodel.o: apps/usermodel.cpp apps/usermodel.h \
- apps/contenttypesmodel.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o usermodel.o apps/usermodel.cpp
-
-usersearch.o: apps/usersearch.cpp apps/user.h \
- apps/widgets/ui_user.h \
- apps/usermodel.h \
- apps/contenttypesmodel.h \
- apps/userform.h \
- apps/widgets/ui_userform.h \
- apps/usersearch.h \
- apps/widgets/ui_usersearch.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o usersearch.o apps/usersearch.cpp
-
-moc_changepassword.o: moc_changepassword.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_changepassword.o moc_changepassword.cpp
-
-moc_contenttypes.o: moc_contenttypes.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_contenttypes.o moc_contenttypes.cpp
-
-moc_contenttypesform.o: moc_contenttypesform.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_contenttypesform.o moc_contenttypesform.cpp
-
-moc_contenttypessearch.o: moc_contenttypessearch.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_contenttypessearch.o moc_contenttypessearch.cpp
-
-moc_group.o: moc_group.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_group.o moc_group.cpp
-
-moc_groupform.o: moc_groupform.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_groupform.o moc_groupform.cpp
-
-moc_groupsearch.o: moc_groupsearch.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_groupsearch.o moc_groupsearch.cpp
-
-moc_login.o: moc_login.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_login.o moc_login.cpp
-
-moc_mainwindow.o: moc_mainwindow.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
-
-moc_permission.o: moc_permission.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_permission.o moc_permission.cpp
-
-moc_permissionform.o: moc_permissionform.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_permissionform.o moc_permissionform.cpp
-
-moc_permissionsearch.o: moc_permissionsearch.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_permissionsearch.o moc_permissionsearch.cpp
-
-moc_user.o: moc_user.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_user.o moc_user.cpp
-
-moc_userform.o: moc_userform.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_userform.o moc_userform.cpp
-
-moc_usersearch.o: moc_usersearch.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_usersearch.o moc_usersearch.cpp
-
-qrc_resources.o: qrc_resources.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_resources.o qrc_resources.cpp
-
-####### Install
-
-install: FORCE
-
-uninstall: FORCE
+uninstall: uninstall_subtargets FORCE
FORCE:
View
9 README
@@ -1,11 +1,8 @@
-== C-Project
-:D, Hello!
-
== COMPLILE
-$ mysql -u root -p << resources/db/mysql/create-database.sql
-$ qmake -project "QT += sql" "UI_DIR = apps/widgets"
+$ mysql -u root -p << doc/database/mysql/create-database.sql
+$ qmake -r
$ make
-$ ./c-project
+$ ./bin/c-project
== INFORMATION
Username: admin
View
0 apps/contenttypesmodel.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/contenttypesmodel.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/group.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupform.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupform.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupmodel.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupmodel.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupsearch.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/groupsearch.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/login.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/login.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/mainwindow.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/mainwindow.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permission.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permission.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionform.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionform.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionmodel.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionmodel.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionsearch.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/permissionsearch.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/user.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/user.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/userform.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/userform.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/usermodel.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/usermodel.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/usersearch.cpp
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 apps/usersearch.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
14 bin/bin.pro
@@ -0,0 +1,14 @@
+include(../c-project.pri)
+
+TEMPLATE = app
+TARGET = $$IDE_APP_WRAPPER
+OBJECTS_DIR =
+
+PRE_TARGETDEPS = $$PWD/c-project
+
+QMAKE_LINK = cp $$PWD/c-project $@ && : IGNORE REST
+
+QMAKE_CLEAN = $$IDE_APP_WRAPPER
+
+target.path = /bin
+INSTALLS += target
View
BIN c-project
Binary file not shown.
View
119 c-project.pri
@@ -0,0 +1,119 @@
+defineReplace(cleanPath) {
+ win32:1 ~= s|\\\\|/|g
+ contains(1, ^/.*):pfx = /
+ else:pfx =
+ segs = $$split(1, /)
+ out =
+ for(seg, segs) {
+ equals(seg, ..):out = $$member(out, 0, -2)
+ else:!equals(seg, .):out += $$seg
+ }
+ return($$join(out, /, $$pfx))
+}
+
+defineReplace(targetPath) {
+ return($$replace(1, /, $$QMAKE_DIR_SEP))
+}
+
+# For use in custom compilers which just copy files
+win32:i_flag = i
+defineReplace(stripSrcDir) {
+ win32 {
+ !contains(1, ^.:.*):1 = $$OUT_PWD/$$1
+ } else {
+ !contains(1, ^/.*):1 = $$OUT_PWD/$$1
+ }
+ out = $$cleanPath($$1)
+ out ~= s|^$$re_escape($$PWD/)||$$i_flag
+ return($$out)
+}
+
+isEmpty(TEST):CONFIG(debug, debug|release) {
+ !debug_and_release|build_pass {
+ TEST = 1
+ }
+}
+
+isEmpty(IDE_LIBRARY_BASENAME) {
+ IDE_LIBRARY_BASENAME = lib
+}
+
+DEFINES += IDE_LIBRARY_BASENAME=\\\"$$IDE_LIBRARY_BASENAME\\\"
+
+equals(TEST, 1) {
+ QT += testlib
+ DEFINES += WITH_TESTS
+}
+
+IDE_SOURCE_TREE = $$PWD
+isEmpty(IDE_BUILD_TREE) {
+ sub_dir = $$_PRO_FILE_PWD_
+ sub_dir ~= s,^$$re_escape($$PWD),,
+ IDE_BUILD_TREE = $$cleanPath($$OUT_PWD)
+ IDE_BUILD_TREE ~= s,$$re_escape($$sub_dir)$,,
+}
+IDE_APP_PATH = $$IDE_BUILD_TREE/bin
+macx {
+ IDE_APP_TARGET = "c-project"
+ IDE_LIBRARY_PATH = $$IDE_APP_PATH/$${IDE_APP_TARGET}.app/Contents/PlugIns
+ IDE_PLUGIN_PATH = $$IDE_LIBRARY_PATH
+ IDE_LIBEXEC_PATH = $$IDE_APP_PATH/$${IDE_APP_TARGET}.app/Contents/Resources
+ IDE_DATA_PATH = $$IDE_APP_PATH/$${IDE_APP_TARGET}.app/Contents/Resources
+ IDE_DOC_PATH = $$IDE_DATA_PATH/doc
+ IDE_BIN_PATH = $$IDE_APP_PATH/$${IDE_APP_TARGET}.app/Contents/MacOS
+ contains(QT_CONFIG, ppc):CONFIG += ppc x86
+ copydata = 1
+} else {
+ win32 {
+ contains(TEMPLATE, vc.*)|contains(TEMPLATE_PREFIX, vc):vcproj = 1
+ IDE_APP_TARGET = c-project
+ } else {
+ IDE_APP_WRAPPER = c-project
+ IDE_APP_TARGET = c-project
+ }
+ IDE_LIBRARY_PATH = $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/c-project
+ #IDE_PLUGIN_PATH = $$IDE_LIBRARY_PATH/plugins
+ IDE_LIBEXEC_PATH = $$IDE_APP_PATH # FIXME
+ IDE_DATA_PATH = $$IDE_BUILD_TREE/share/c-project
+ IDE_DOC_PATH = $$IDE_BUILD_TREE/share/doc/c-project
+ IDE_BIN_PATH = $$IDE_APP_PATH
+ !isEqual(IDE_SOURCE_TREE, $$IDE_BUILD_TREE):copydata = 1
+}
+
+INCLUDEPATH += \
+ $$IDE_SOURCE_TREE/src/
+
+DEPENDPATH += \
+ $$IDE_SOURCE_TREE/src/
+
+LIBS += -L$$IDE_LIBRARY_PATH
+
+#DEFINES += QT_NO_CAST_FROM_ASCII
+DEFINES += QT_NO_CAST_TO_ASCII
+!macx:DEFINES += QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION
+
+unix {
+ CONFIG(debug, debug|release):OBJECTS_DIR = $${OUT_PWD}/.obj/debug-shared
+ CONFIG(release, debug|release):OBJECTS_DIR = $${OUT_PWD}/.obj/release-shared
+
+ CONFIG(debug, debug|release):MOC_DIR = $${OUT_PWD}/.moc/debug-shared
+ CONFIG(release, debug|release):MOC_DIR = $${OUT_PWD}/.moc/release-shared
+
+ RCC_DIR = $${OUT_PWD}/.rcc
+ UI_DIR = $${OUT_PWD}/.uic
+}
+
+linux-g++-* {
+ # Bail out on non-selfcontained libraries. Just a security measure
+ # to prevent checking in code that does not compile on other platforms.
+ QMAKE_LFLAGS += -Wl,--allow-shlib-undefined -Wl,--no-undefined
+}
+
+win32-msvc* {
+ #Don't warn about sprintf, fopen etc being 'unsafe'
+ DEFINES += _CRT_SECURE_NO_WARNINGS
+}
+
+# Handle S60 support: default on Windows, conditionally built on other platforms.
+macx:SUPPORT_QT_S60 = $$(CPROJECT_WITH_S60)
+else:SUPPORT_QT_S60=1
View
78 c-project.pro
@@ -1,68 +1,14 @@
-######################################################################
-# Automatically generated by qmake (2.01a) Mon Jun 21 18:10:14 2010
-######################################################################
+#version check qt
+contains(QT_VERSION, ^4\\.[0-5]\\..*) {
+ message("Cannot build A3S with Qt version $${QT_VERSION}.")
+ error("Use at least Qt 4.6.")
+}
-QT += sql
-UI_DIR = apps/widgets
-TEMPLATE = app
-TARGET =
-DEPENDPATH += . apps commons resources/ui
-INCLUDEPATH += . commons apps
+include(c-project.pri)
+include(doc/doc.pri)
-# Input
-HEADERS += apps/changepassword.h \
- apps/contenttypes.h \
- apps/contenttypesform.h \
- apps/contenttypesmodel.h \
- apps/contenttypessearch.h \
- apps/group.h \
- apps/groupform.h \
- apps/groupmodel.h \
- apps/groupsearch.h \
- apps/login.h \
- apps/mainwindow.h \
- apps/permission.h \
- apps/permissionform.h \
- apps/permissionmodel.h \
- apps/permissionsearch.h \
- apps/user.h \
- apps/userform.h \
- apps/usermodel.h \
- apps/usersearch.h \
- commons/connection.h
-FORMS += resources/ui/changepassword.ui \
- resources/ui/contenttypes.ui \
- resources/ui/contenttypesform.ui \
- resources/ui/contenttypessearch.ui \
- resources/ui/group.ui \
- resources/ui/groupform.ui \
- resources/ui/groupsearch.ui \
- resources/ui/login.ui \
- resources/ui/mainwindow.ui \
- resources/ui/permission.ui \
- resources/ui/permissionform.ui \
- resources/ui/permissionsearch.ui \
- resources/ui/user.ui \
- resources/ui/userform.ui \
- resources/ui/usersearch.ui
-SOURCES += main.cpp \
- apps/changepassword.cpp \
- apps/contenttypes.cpp \
- apps/contenttypesform.cpp \
- apps/contenttypesmodel.cpp \
- apps/contenttypessearch.cpp \
- apps/group.cpp \
- apps/groupform.cpp \
- apps/groupmodel.cpp \
- apps/groupsearch.cpp \
- apps/login.cpp \
- apps/mainwindow.cpp \
- apps/permission.cpp \
- apps/permissionform.cpp \
- apps/permissionmodel.cpp \
- apps/permissionsearch.cpp \
- apps/user.cpp \
- apps/userform.cpp \
- apps/usermodel.cpp \
- apps/usersearch.cpp
-RESOURCES += resources/ui/resources.qrc
+TEMPLATE = subdirs
+CONFIG += ordered
+
+SUBDIRS = src share
+unix:!macx:!isEmpty(copydata):SUBDIRS += bin
View
0 commons/connection.h
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
73 db/connection.h
@@ -1,73 +0,0 @@
-/**
- * cproject - a digital registry.
- * Copyright (c) 2010, Nycholas de Oliveira e Oliveira <nycholas@gmail.com>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- * * Neither the name of the Nycholas de Oliveira e Oliveira nor the names of
- * its contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-#ifndef CONNECTION_H
-#define CONNECTION_H
-
-#include <QMessageBox>
-#include <QSqlDatabase>
-#include <QSqlError>
-#include <QSqlQuery>
-
-/**
- * Creates a QSqlDatabase connection that uses the driver referred to
- * by type. If the type is not recognized, the database connection
- * will have no functionality.
- * The currently available driver types are:
- *
- * QDB2 IBM DB2
- * QIBASE Borland InterBase Driver
- * QMYSQL MySQL Driver
- * QOCI Oracle Call Interface Driver
- * QODBC ODBC Driver (includes Microsoft SQL Server)
- * QPSQL PostgreSQL Driver
- * QSQLITE SQLite version 3 or above
- * QSQLITE2 SQLite version 2
- * QTDS Sybase Adaptive Server
- */
-static bool createConnection()
-{
- QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
- db.setHostName("localhost");
- db.setDatabaseName("cproject");
- db.setUserName("root");
- db.setPassword("1q2w3e");
- if (!db.open()) {
- QMessageBox::critical(0, qApp->tr("Cannot open database"),
- qApp->tr("Unable to establish a database connection.\n"
- "This example needs SQLite support. Please read "
- "the Qt SQL driver documentation for information how "
- "to build it.\n\n"
- "Click Cancel to exit."), QMessageBox::Cancel);
- return false;
- }
- return true;
-}
-
-#endif
View
BIN doc/database/eer/c-project.mwb
Binary file not shown.
View
253 resources/db/mysql/create-database.sql → doc/database/mysql/create-database.sql
@@ -2,49 +2,115 @@ SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
-DROP SCHEMA IF EXISTS `cproject` ;
-CREATE SCHEMA IF NOT EXISTS `cproject` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
-USE `cproject`;
+CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci ;
+CREATE SCHEMA IF NOT EXISTS `cprojectdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
+USE `mydb` ;
+USE `cprojectdb` ;
-- -----------------------------------------------------
--- Table `cproject`.`auth_group`
+-- Table `cprojectdb`.`app_content_type`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_group` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `name` VARCHAR(80) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`app_content_type` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `name` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `app_label` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `model` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
PRIMARY KEY (`id`) )
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`app_content_type`
+-- Table `cprojectdb`.`auth_user`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`app_content_type` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `name` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `app_label` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `model` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_user` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `username` VARCHAR(45) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `first_name` VARCHAR(45) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `last_name` VARCHAR(80) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `email` VARCHAR(75) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `password` VARCHAR(128) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `is_staff` TINYINT(4) NOT NULL ,
+ `is_active` TINYINT(4) NOT NULL COMMENT ' ' ,
+ `is_superuser` TINYINT(4) NOT NULL ,
+ `last_login` DATETIME NOT NULL ,
+ `date_joined` DATETIME NOT NULL ,
+ PRIMARY KEY (`id`) )
+ENGINE = InnoDB
+AUTO_INCREMENT = 2
+DEFAULT CHARACTER SET = utf8
+COLLATE = utf8_unicode_ci;
+
+
+-- -----------------------------------------------------
+-- Table `cprojectdb`.`app_log`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`app_log` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `auth_user_id` INT(11) NOT NULL ,
+ `app_content_type_id` INT(11) NULL DEFAULT NULL ,
+ `action_time` DATETIME NOT NULL ,
+ `object_id` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL DEFAULT NULL ,
+ `object_repr` VARCHAR(200) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `action_flag` SMALLINT(5) UNSIGNED NOT NULL ,
+ `change_message` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ PRIMARY KEY (`id`) ,
+ INDEX `fk_app_log_auth_user1` (`auth_user_id` ASC) ,
+ INDEX `fk_app_log_app_content_type1` (`app_content_type_id` ASC) ,
+ CONSTRAINT `fk_app_log_app_content_type1`
+ FOREIGN KEY (`app_content_type_id` )
+ REFERENCES `cprojectdb`.`app_content_type` (`id` )
+ ON DELETE NO ACTION
+ ON UPDATE NO ACTION,
+ CONSTRAINT `fk_app_log_auth_user1`
+ FOREIGN KEY (`auth_user_id` )
+ REFERENCES `cprojectdb`.`auth_user` (`id` )
+ ON DELETE NO ACTION
+ ON UPDATE NO ACTION)
+ENGINE = InnoDB
+DEFAULT CHARACTER SET = utf8
+COLLATE = utf8_unicode_ci;
+
+
+-- -----------------------------------------------------
+-- Table `cprojectdb`.`app_session`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`app_session` (
+ `session_key` VARCHAR(40) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `session_data` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
+ `expire_data` DATETIME NOT NULL ,
+ PRIMARY KEY (`session_key`) )
+ENGINE = InnoDB
+DEFAULT CHARACTER SET = utf8
+COLLATE = utf8_unicode_ci;
+
+
+-- -----------------------------------------------------
+-- Table `cprojectdb`.`auth_group`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_group` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `name` VARCHAR(80) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
PRIMARY KEY (`id`) )
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`auth_permission`
+-- Table `cprojectdb`.`auth_permission`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_permission` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `app_content_type_id` INT NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_permission` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `app_content_type_id` INT(11) NOT NULL ,
`name` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
`codename` VARCHAR(100) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
PRIMARY KEY (`id`) ,
INDEX `fk_auth_permission_app_content_type` (`app_content_type_id` ASC) ,
CONSTRAINT `fk_auth_permission_app_content_type`
FOREIGN KEY (`app_content_type_id` )
- REFERENCES `cproject`.`app_content_type` (`id` )
+ REFERENCES `cprojectdb`.`app_content_type` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
@@ -53,70 +119,73 @@ COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`auth_group_permissions`
+-- Table `cprojectdb`.`auth_group_permissions`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_group_permissions` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `auth_permission_id` INT NOT NULL ,
- `auth_group_id` INT NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_group_permissions` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `auth_permission_id` INT(11) NOT NULL ,
+ `auth_group_id` INT(11) NOT NULL ,
PRIMARY KEY (`id`) ,
INDEX `fk_auth_group_permissions_auth_permission1` (`auth_permission_id` ASC) ,
INDEX `fk_auth_group_permissions_auth_group1` (`auth_group_id` ASC) ,
- CONSTRAINT `fk_auth_group_permissions_auth_permission1`
- FOREIGN KEY (`auth_permission_id` )
- REFERENCES `cproject`.`auth_permission` (`id` )
- ON DELETE NO ACTION
- ON UPDATE NO ACTION,
CONSTRAINT `fk_auth_group_permissions_auth_group1`
FOREIGN KEY (`auth_group_id` )
- REFERENCES `cproject`.`auth_group` (`id` )
+ REFERENCES `cprojectdb`.`auth_group` (`id` )
+ ON DELETE NO ACTION
+ ON UPDATE NO ACTION,
+ CONSTRAINT `fk_auth_group_permissions_auth_permission1`
+ FOREIGN KEY (`auth_permission_id` )
+ REFERENCES `cprojectdb`.`auth_permission` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
-COLLATE = utf8_unicode_ci
-PACK_KEYS = DEFAULT;
+COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`auth_user`
+-- Table `cprojectdb`.`auth_user_groups`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_user` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `username` VARCHAR(45) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `first_name` VARCHAR(45) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `last_name` VARCHAR(80) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `email` VARCHAR(75) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `password` VARCHAR(128) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `is_staff` TINYINT NOT NULL ,
- `is_active` TINYINT NOT NULL COMMENT ' ' ,
- `is_superuser` TINYINT NOT NULL ,
- `last_login` DATETIME NOT NULL ,
- `date_joined` DATETIME NOT NULL ,
- PRIMARY KEY (`id`) )
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_user_groups` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `auth_user_id` INT(11) NOT NULL ,
+ `auth_group_id` INT(11) NOT NULL ,
+ PRIMARY KEY (`id`) ,
+ INDEX `fk_auth_user_groups_auth_user1` (`auth_user_id` ASC) ,
+ INDEX `fk_auth_user_groups_auth_group1` (`auth_group_id` ASC) ,
+ CONSTRAINT `fk_auth_user_groups_auth_group1`
+ FOREIGN KEY (`auth_group_id` )
+ REFERENCES `cprojectdb`.`auth_group` (`id` )
+ ON DELETE NO ACTION
+ ON UPDATE NO ACTION,
+ CONSTRAINT `fk_auth_user_groups_auth_user1`
+ FOREIGN KEY (`auth_user_id` )
+ REFERENCES `cprojectdb`.`auth_user` (`id` )
+ ON DELETE NO ACTION
+ ON UPDATE NO ACTION)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`auth_user_groups`
+-- Table `cprojectdb`.`auth_user_user_permissions`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_user_groups` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `auth_user_id` INT NOT NULL ,
- `auth_group_id` INT NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`auth_user_user_permissions` (
+ `id` INT(11) NOT NULL AUTO_INCREMENT ,
+ `auth_user_id` INT(11) NOT NULL ,
+ `auth_permission_id` INT(11) NOT NULL ,
PRIMARY KEY (`id`) ,
- INDEX `fk_auth_user_groups_auth_user1` (`auth_user_id` ASC) ,
- INDEX `fk_auth_user_groups_auth_group1` (`auth_group_id` ASC) ,
- CONSTRAINT `fk_auth_user_groups_auth_user1`
- FOREIGN KEY (`auth_user_id` )
- REFERENCES `cproject`.`auth_user` (`id` )
+ INDEX `fk_auth_user_user_permissions_auth_user1` (`auth_user_id` ASC) ,
+ INDEX `fk_auth_user_user_permissions_auth_permission1` (`auth_permission_id` ASC) ,
+ CONSTRAINT `fk_auth_user_user_permissions_auth_permission1`
+ FOREIGN KEY (`auth_permission_id` )
+ REFERENCES `cprojectdb`.`auth_permission` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION,
- CONSTRAINT `fk_auth_user_groups_auth_group1`
- FOREIGN KEY (`auth_group_id` )
- REFERENCES `cproject`.`auth_group` (`id` )
+ CONSTRAINT `fk_auth_user_user_permissions_auth_user1`
+ FOREIGN KEY (`auth_user_id` )
+ REFERENCES `cprojectdb`.`auth_user` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
@@ -125,41 +194,31 @@ COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`app_session`
+-- Table `cprojectdb`.`act`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`app_session` (
- `session_key` VARCHAR(40) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `session_data` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `expire_data` DATETIME NOT NULL ,
- PRIMARY KEY (`session_key`) )
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`act` (
+ `id` INT NOT NULL ,
+ `nome` VARCHAR(45) NULL ,
+ `valor` DECIMAL NULL ,
+ PRIMARY KEY (`id`) )
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`app_log`
+-- Table `cprojectdb`.`coupon`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`app_log` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `auth_user_id` INT NOT NULL ,
- `app_content_type_id` INT NULL ,
- `action_time` DATETIME NOT NULL ,
- `object_id` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NULL ,
- `object_repr` VARCHAR(200) CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- `action_flag` SMALLINT(5) UNSIGNED NOT NULL ,
- `change_message` LONGTEXT CHARACTER SET 'utf8' COLLATE 'utf8_unicode_ci' NOT NULL ,
- PRIMARY KEY (`id`) ,
- INDEX `fk_app_log_auth_user1` (`auth_user_id` ASC) ,
- INDEX `fk_app_log_app_content_type1` (`app_content_type_id` ASC) ,
- CONSTRAINT `fk_app_log_auth_user1`
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`coupon` (
+ `id` INT NOT NULL ,
+ `valor` VARCHAR(45) NULL ,
+ `datetime` TIMESTAMP NULL DEFAULT now() ,
+ `auth_user_id` INT(11) NOT NULL ,
+ PRIMARY KEY (`id`, `auth_user_id`) ,
+ INDEX `fk_cupom_auth_user1` (`auth_user_id` ASC) ,
+ CONSTRAINT `fk_cupom_auth_user1`
FOREIGN KEY (`auth_user_id` )
- REFERENCES `cproject`.`auth_user` (`id` )
- ON DELETE NO ACTION
- ON UPDATE NO ACTION,
- CONSTRAINT `fk_app_log_app_content_type1`
- FOREIGN KEY (`app_content_type_id` )
- REFERENCES `cproject`.`app_content_type` (`id` )
+ REFERENCES `cprojectdb`.`auth_user` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
@@ -168,23 +227,23 @@ COLLATE = utf8_unicode_ci;
-- -----------------------------------------------------
--- Table `cproject`.`auth_user_user_permissions`
+-- Table `cprojectdb`.`act_coupon`
-- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `cproject`.`auth_user_user_permissions` (
- `id` INT NOT NULL AUTO_INCREMENT ,
- `auth_user_id` INT NOT NULL ,
- `auth_permission_id` INT NOT NULL ,
+CREATE TABLE IF NOT EXISTS `cprojectdb`.`act_coupon` (
+ `id` INT NOT NULL ,
+ `act_id` INT NOT NULL ,
+ `coupon_id` INT NOT NULL ,
PRIMARY KEY (`id`) ,
- INDEX `fk_auth_user_user_permissions_auth_user1` (`auth_user_id` ASC) ,
- INDEX `fk_auth_user_user_permissions_auth_permission1` (`auth_permission_id` ASC) ,
- CONSTRAINT `fk_auth_user_user_permissions_auth_user1`
- FOREIGN KEY (`auth_user_id` )
- REFERENCES `cproject`.`auth_user` (`id` )
+ INDEX `fk_cupom_atos_atos1` (`act_id` ASC) ,
+ INDEX `fk_cupom_atos_cupom1` (`coupon_id` ASC) ,
+ CONSTRAINT `fk_cupom_atos_atos1`
+ FOREIGN KEY (`act_id` )
+ REFERENCES `cprojectdb`.`act` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION,
- CONSTRAINT `fk_auth_user_user_permissions_auth_permission1`
- FOREIGN KEY (`auth_permission_id` )
- REFERENCES `cproject`.`auth_permission` (`id` )
+ CONSTRAINT `fk_cupom_atos_cupom1`
+ FOREIGN KEY (`coupon_id` )
+ REFERENCES `cprojectdb`.`coupon` (`id` )
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
View
0 doc/doc.pri
No changes.
View
48 doc/doc.pri.old
@@ -0,0 +1,48 @@
+QDOC_BIN = $$targetPath($$[QT_INSTALL_BINS]/qdoc3)
+HELPGENERATOR = $$targetPath($$[QT_INSTALL_BINS]/qhelpgenerator)
+
+equals(QMAKE_DIR_SEP, /) { # unix, mingw+msys
+ QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html $$QDOC_BIN
+} else:win32-g++* { # just mingw
+ # The lack of spaces in front of the && is necessary!
+ QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$QDOC_BIN
+} else { # nmake
+ QDOC = set SRCDIR=$$PWD $$escape_expand(\\n\\t) \
+ set OUTDIR=$$OUT_PWD/doc/html $$escape_expand(\\n\\t) \
+ $$QDOC_BIN
+}
+
+QHP_FILE = $$OUT_PWD/doc/html/qtcreator.qhp
+QCH_FILE = $$IDE_DOC_PATH/qtcreator.qch
+
+HELP_DEP_FILES = $$PWD/qtcreator.qdoc \
+ $$PWD/addressbook-sdk.qdoc \
+ $$PWD/qt-defines.qdocconf \
+ $$PWD/qt-html-templates.qdocconf \
+ $$PWD/qtcreator.qdocconf \
+ $$PWD/qtcreator-online.qdocconf
+
+html_docs.commands = $$QDOC $$PWD/qtcreator.qdocconf
+html_docs.depends += $$HELP_DEP_FILES
+html_docs.files = $$QHP_FILE
+
+html_docs_online.commands = $$QDOC $$PWD/qtcreator-online.qdocconf
+html_docs_online.depends += $$HELP_DEP_FILES
+
+qch_docs.commands = $$HELPGENERATOR -o \"$$QCH_FILE\" $$QHP_FILE
+qch_docs.depends += html_docs
+qch_docs.files = $$QCH_FILE
+
+unix:!macx {
+ qch_docs.path = /share/doc/qtcreator
+ qch_docs.CONFIG += no_check_exist
+ INSTALLS += qch_docs
+}
+
+docs_online.depends = html_docs_online
+docs.depends = qch_docs
+QMAKE_EXTRA_TARGETS += html_docs html_docs_online qch_docs docs docs_online
+
+OTHER_FILES = $$HELP_DEP_FILES \
+ $$PWD/api/qtcreator-api.qdoc \
+ $$PWD/api/qtcreator-api.qdocconf
View
BIN resources/db/eer/c-project.mwb
Binary file not shown.
View
3 resources/ui/.directory
@@ -1,3 +0,0 @@
-[Dolphin]
-Timestamp=2010,6,20,15,55,17
-ViewMode=1
View
0 resources/ui/changepassword.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/contenttypes.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/contenttypesform.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/contenttypessearch.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/group.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/groupform.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/groupsearch.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/login.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/mainwindow.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/permission.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/permissionform.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/permissionsearch.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
0 resources/ui/resources.qrc
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
3 resources/ui/static/default/icons/22x22/.directory
@@ -1,3 +0,0 @@
-[Dolphin]
-ShowPreview=true
-Timestamp=2010,6,20,14,11,32
View
0 resources/ui/static/default/icons/22x22/application-exit.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/configure.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-cancel.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-error.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-information.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-ok-apply.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-ok.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-password.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/dialog-warning.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-new.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-open-recent.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-open-remote.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-open.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-print.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-save-all.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-save-as.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/document-save.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/documentation.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-copy.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-cut.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-delete.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-paste.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-redo.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/edit-undo.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/face-devilish.png
Deleted file not rendered
View
0 resources/ui/static/default/icons/22x22/go-next-view.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/go-next.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/go-previous-view.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/go-previous.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/help-about.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/help-contents.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/im-status-message-edit.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/irc-operator.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/list-add-user.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/meeting-organizer.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/page-zoom.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/preferences-desktop.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/project-open.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/resource-group.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/system-log-out.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/system-shutdown.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/tools-report-bug.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/video-display.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/view-fullscreen.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/view-left-close.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/view-left-new.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/view-refresh.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/view-restore.png
Diff not rendered.
View
0 resources/ui/static/default/icons/22x22/window-close.png
Diff not rendered.
View
3 resources/ui/static/default/icons/32x32/.directory
@@ -1,3 +0,0 @@
-[Dolphin]
-ShowPreview=true
-Timestamp=2010,6,20,14,15,25
View
0 resources/ui/static/default/icons/32x32/meeting-organizer.png
Diff not rendered.
View
0 resources/ui/user.ui
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
426 resources/ui/userform.ui
@@ -1,426 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>UserForm</class>
- <widget class="QDialog" name="UserForm">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>842</width>
- <height>803</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>User :: Form</string>
- </property>
- <property name="windowIcon">
- <iconset resource="../../../crud-2/resources/ui/resources.qrc">
- <normaloff>:/default/static/default/icons/22x22/face-devilish.png</normaloff>:/default/static/default/icons/22x22/face-devilish.png</iconset>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLabel" name="titleLabel">
- <property name="styleSheet">
- <string notr="true">color: rgb(85, 85, 127);
-font: 75 14pt &quot;DejaVu Sans Mono&quot;;</string>
- </property>
- <property name="text">
- <string>Add user</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="statusLabel">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QFrame" name="frame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QGroupBox" name="formGroupBox">
- <property name="title">
- <string>&amp;User details</string>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="nameLabel">
- <property name="text">
- <string>Username:</string>
- </property>
- <property name="buddy">
- <cstring>nameLineEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="nameLineEdit"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="passwordLabel">
- <property name="text">
- <string>Password:</string>
- </property>
- <property name="buddy">
- <cstring>passwordLineEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="passwordLineEdit">
- <property name="echoMode">
- <enum>QLineEdit::Password</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0">