Changeset 97 in tspsg-svn for trunk/src


Ignore:
Timestamp:
Mar 3, 2010, 12:55:23 AM (15 years ago)
Author:
laleppa
Message:

+ Added precompiled header (PCH) file: should decrease project build time.

  • Improved installation and deployment rules in .pro file.
  • Improved translucency effect under Windows Vista/7.
  • Slightly modified qtwin.h to be included into the source documentation.
  • Regenerated source documentation.
Location:
trunk/src
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src

    • Property svn:ignore set to
      pch.h.cpp
  • trunk/src/defaults.h

    r95 r97  
    11/*!
    22 * \file defaults.h
    3  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
  • trunk/src/globals.h

    r96 r97  
    11/*!
    22 * \file globals.h
    3  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
  • trunk/src/mainwindow.cpp

    r96 r97  
    380380#endif // Q_OS_WIN32
    381381
    382         dlg->resize(480, 400);
     382        dlg->resize(450, 400);
    383383        dlg->exec();
    384384
     
    890890{
    891891#ifdef Q_OS_WIN32
     892        tabWidget->setDocumentMode(enable);
    892893        QtWin::enableBlurBehindWindow(this, enable);
    893         QtWin::enableBlurBehindWindow(tabWidget, enable);
    894 
    895         if (QtWin::enableBlurBehindWindow(tabTask, enable))
    896                 tabTask->setAutoFillBackground(enable);
    897         if (QtWin::enableBlurBehindWindow(tabSolution, enable))
    898                 tabSolution->setAutoFillBackground(enable);
    899894#else
    900895        Q_UNUSED(enable);
  • trunk/src/os.h

    r90 r97  
    11/*!
    22 * \file os.h
    3  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
     
    6262 * \def OSID
    6363 * \brief The target operating system ID.
    64  * 
     64 *
    6565 * This value is used in task file metadata.
    6666 */
  • trunk/src/qtwin.h

    r92 r97  
    1 /****************************************************************************
    2 **
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 **
    5 ** Use, modification and distribution is allowed without limitation,
    6 ** warranty, liability or support of any kind.
    7 **
    8 ****************************************************************************/
     1/*!
     2 * \file qtwin.h
     3 *
     4 * \author Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies).
     5 *
     6 *  Use, modification and distribution is allowed without limitation,
     7 *  warranty, liability or support of any kind.
     8 */
    99
    1010#ifndef QTWIN_H
     
    1313#include <QColor>
    1414#include <QWidget>
    15 /**
    16   * This is a helper class for using the Desktop Window Manager
    17   * functionality on Windows 7 and Windows Vista. On other platforms
    18   * these functions will simply not do anything.
    19   */
    2015
    2116class WindowNotifier;
    2217
     18/*!
     19 *  This is a helper class for using the Desktop Window Manager
     20 *  functionality on Windows 7 and Windows Vista. On other platforms
     21 *  these functions will simply not do anything.
     22 */
    2323class QtWin
    2424{
  • trunk/src/resource.h

    r87 r97  
    11/*!
    22 * \file resource.h
    3  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
     
    99 *
    1010 *  <b>TSPSG: TSP Solver and Generator</b>
    11  * 
     11 *
    1212 *  This file is part of TSPSG.
    1313 *
  • trunk/src/version.h

    r96 r97  
    11/*!
    22 * \file version.h
    3  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
     
    2929 * \image html tspsg.png
    3030 *  <b>TSPSG: TSP Solver and Generator</b>
    31  * \author Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
     31 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    3232 *
    33  *  $Id$
    34  *  $URL$
     33 *  \b Homepage: <a href="http://tspsg.sourceforge.net/">tspsg.sourceforge.net</a>
    3534 *
    3635 *  TSPSG is free software: you can redistribute it and/or modify
     
    5150#define VERSION_H
    5251
    53 //! TSPSG version ID
    54 //#define VERSIONID "$Id$"
    55 //! Major version of current TSPSG build
    56 //#define BUILD_VERSION_MAJOR 0
    57 //! Minor version of current TSPSG build
    58 //#define BUILD_VERSION_MINOR 1
     52#ifndef BUILD_VERSION_MAJOR
     53        //! Major version of current TSPSG build
     54        #define BUILD_VERSION_MAJOR 0
     55#endif // BUILD_VERSION_MAJOR
     56#ifndef BUILD_VERSION_MINOR
     57        //! Minor version of current TSPSG build
     58        #define BUILD_VERSION_MINOR 0
     59#endif // BUILD_VERSION_MINOR
    5960/*!
    6061 * \brief TSPSG release number
     
    6667 *    - 11 --  x: <b>release</b> 1 to x-10
    6768 */
    68 //#define BUILD_RELEASE 2
     69#ifndef BUILD_RELEASE
     70        #define BUILD_RELEASE 0
     71#endif // BUILD_RELEASE
    6972
    7073/*!
     
    7376 *  This will only change on releases and will be the same as revision number.
    7477 */
    75 //#define BUILD_NUMBER 65535
     78#ifndef BUILD_NUMBER
     79        #define BUILD_NUMBER 0
     80#endif // BUILD_NUMBER
    7681
    7782/*!
     
    8388#ifndef TSPSG_RELEASE_BUILD
    8489        #define BUILD_STATUS (dev build)
    85 #else
    86         #if BUILD_RELEASE < 4
    87                 #define BUILD_STATUS (alpha)
    88         #elif BUILD_RELEASE < 8
    89                 #define BUILD_STATUS (beta)
    90         #elif BUILD_RELEASE < 11
    91                 #define BUILD_STATUS (rc)
    92 //      #else
    93 //              #define BUILD_STATUS
    94         #endif
     90#elif BUILD_RELEASE < 4
     91        #define BUILD_STATUS (alpha)
     92#elif BUILD_RELEASE < 8
     93        #define BUILD_STATUS (beta)
     94#elif BUILD_RELEASE < 11
     95        #define BUILD_STATUS (rc)
    9596#endif // TSPSG_RELEASE_BUILD
    9697
     
    102103/*!
    103104 * \def BUILD_VERSION
    104  * \brief Full version of TSPSG in the form: \c major.\c minor.\c release.\c build [ \c status].
     105 * \brief Full version of TSPSG in the form: \c major.minor.release.build [\c status].
    105106 */
    106107#ifndef BUILD_STATUS
Note: See TracChangeset for help on using the changeset viewer.