Defines

src/defaults.h File Reference

Contains TSPSG defaults. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEF_NUM_CITIES   5
 Default number of cities.
#define DEF_AUTOSIZE   true
 Default for "Automatically resize rows and columns to their contents".
#define DEF_SAVE_LAST_USED   true
 Default for "Remember last used directories".
#define DEF_USE_NATIVE_DIALOGS   true
 Default for "Use native file dialog".
#define DEF_SAVEPOS   true
 Default for "Save main window state and position".
#define DEF_USE_TRANSLUCENCY   true
 Default for "Use translucency effects in Vista/7".
#define DEF_CHECK_FOR_UPDATES   false
 Default for "Check for updates".
#define DEF_UPDATE_CHECK_INTERVAL   30
 Default update check interval (in days).
#define DEF_FRACTIONAL_ACCURACY   2
 Default for "Accuracy of the fractional values".
#define DEF_RAND_MIN   1
 Default minimum for random numbers generation.
#define DEF_RAND_MAX   10
 Default maximum for random numbers generation.
#define DEF_FRACTIONAL_RANDOM   false
 Default for "Fractional random values".
#define DEF_SYMMETRIC_MODE   false
 Default for "Symmetric tasks mode".
#define DEF_SHOW_GRAPH   true
 Default for "Show solution graph".
#define DEF_GRAPH_IMAGE_FORMAT   "png"
 Default for "Save solution graph as".
#define DEF_HQ_GRAPH   false
 Default for "Draw solution graph in higher quality".
#define DEF_SHOW_MATRIX   true
 Default for "Show solution steps' matrices for every solution step".
#define DEF_USE_SHOW_MATRIX_LIMIT   true
 Default for "Show or hide solution steps' matrices based on number of cities in the task".
#define DEF_SHOW_MATRIX_LIMIT   15
 Default for "Maximum number of cities to show solution steps' matrices".
#define DEF_SCROLL_TO_END   false
 Default for "Scroll to the end of output after solving".
#define DEF_FONT_FACE   "DejaVu LGC Sans Mono"
 Default font face.
#define DEF_FONT_SIZE   10
 Default font size.
#define DEF_TEXT_COLOR   QPalette().color(QPalette::Text)
 Default text color.
#define DEF_SELECTED_COLOR   QColor(0x008000)
 Default selected candidate color.
#define DEF_ALTERNATE_COLOR   QColor(0xA00000)
 Default alternate candidate color.

Detailed Description

Contains TSPSG defaults.

Author:
Copyright © 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
Id:
defaults.h 141 2010-10-03 12:01:00Z laleppa
URL:
http://svn.tspsg.info/svnroot/tspsg/trunk/src/defaults.h

TSPSG: TSP Solver and Generator

This file is part of TSPSG.

TSPSG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

TSPSG 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. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with TSPSG. If not, see <http://www.gnu.org/licenses/>.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines