diff --git a/Valentina.pro b/Valentina.pro index a12136129..69b157700 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -39,6 +39,7 @@ RCC_DIR = rcc # files created uic UI_DIR = uic +include(src/src.pri) include(src/container/container.pri) include(src/dialogs/dialogs.pri) include(src/exception/exception.pri) @@ -47,24 +48,13 @@ include(src/tools/tools.pri) include(src/widgets/widgets.pri) include(src/xml/xml.pri) -SOURCES += src/main.cpp \ - src/mainwindow.cpp \ - src/tablewindow.cpp \ - src/stable.cpp - -HEADERS += src/mainwindow.h \ - src/options.h \ - src/tablewindow.h \ - src/stable.h \ - src/version.h - -FORMS += src/mainwindow.ui \ - src/tablewindow.ui - RESOURCES += \ share/resources/icon.qrc \ share/resources/cursor.qrc +OTHER_FILES += share/resources/valentina.rc \ + share/resources/icon/64x64/icon64x64.ico + TRANSLATIONS += share/translations/valentina_ru.ts \ share/translations/valentina_uk.ts @@ -113,3 +103,5 @@ message(Data files: $$[QT_INSTALL_DATA]) message(Translation files: $$[QT_INSTALL_TRANSLATIONS]) message(Settings: $$[QT_INSTALL_SETTINGS]) message(Examples: $$[QT_INSTALL_EXAMPLES]) + +win32:RC_FILE = share/resources/valentina.rc diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile index f17ebac22..8f5c380a7 100644 --- a/doc/doxygen/Doxyfile +++ b/doc/doxygen/Doxyfile @@ -34,27 +34,27 @@ PROJECT_NAME = "Valentina" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = +PROJECT_NUMBER = 0.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer # a quick idea about the purpose of the project. Keep the description short. -PROJECT_BRIEF = +PROJECT_BRIEF = "Pattern making program." # With the PROJECT_LOGO tag one can specify an logo or icon that is # included in the documentation. The maximum height of the logo should not # exceed 55 pixels and the maximum width should not exceed 200 pixels. # Doxygen will copy the logo to the output directory. -PROJECT_LOGO = +PROJECT_LOGO = doc/doxygen/logo.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = +OUTPUT_DIRECTORY = doc/ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output @@ -63,7 +63,7 @@ OUTPUT_DIRECTORY = # source files, where putting all generated files in the same directory would # otherwise cause performance problems for the file system. -CREATE_SUBDIRS = NO +CREATE_SUBDIRS = YES # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this diff --git a/doc/doxygen/logo.png b/doc/doxygen/logo.png new file mode 100644 index 000000000..7614a27ea Binary files /dev/null and b/doc/doxygen/logo.png differ diff --git a/scripts/makedoc.sh b/scripts/makedoc.sh new file mode 100755 index 000000000..a81f00073 --- /dev/null +++ b/scripts/makedoc.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Script generate developer documentation for progect. +# Output directory doc/ +# Run from root directory of project +doxygen doc/doxygen/Doxyfile diff --git a/share/resources/icon/64x64/icon64x64.ico b/share/resources/icon/64x64/icon64x64.ico new file mode 100644 index 000000000..bddb86f9c Binary files /dev/null and b/share/resources/icon/64x64/icon64x64.ico differ diff --git a/share/resources/valentina.rc b/share/resources/valentina.rc new file mode 100644 index 000000000..2ab63e289 --- /dev/null +++ b/share/resources/valentina.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "icon/64x64/icon64x64.ico" diff --git a/src/src.pri b/src/src.pri new file mode 100644 index 000000000..68200a263 --- /dev/null +++ b/src/src.pri @@ -0,0 +1,13 @@ +SOURCES += src/main.cpp \ + src/mainwindow.cpp \ + src/tablewindow.cpp \ + src/stable.cpp + +HEADERS += src/mainwindow.h \ + src/options.h \ + src/tablewindow.h \ + src/stable.h \ + src/version.h + +FORMS += src/mainwindow.ui \ + src/tablewindow.ui