Changeset 2bbe924ad8 in tspsg for src
- Timestamp:
- May 1, 2010, 5:06:46 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 94cd045fad
- Parents:
- e3533af1cf
- git-author:
- Oleksii Serdiuk <contacts@…> (05/01/10 05:06:46)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:41:42)
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/defaults.h
re3533af1cf r2bbe924ad8 67 67 //! Default for "Show solution graph" 68 68 #define DEF_SHOW_GRAPH true 69 /*! 70 * \def DEF_GRAPH_IMAGE_FORMAT 71 * \brief Default for "Save solution graph as" 72 */ 73 #if !defined(NOSVG) && (QT_VERSION >= 0x040500) 74 #define DEF_GRAPH_IMAGE_FORMAT "svg" 75 #else 76 #define DEF_GRAPH_IMAGE_FORMAT "png" 77 #endif // NOSVG && QT_VERSION >= 0x040500 69 //! Default for "Save solution graph as" 70 #define DEF_GRAPH_IMAGE_FORMAT "png" 78 71 //! Default for "Show solution steps' matrices for every solution step" 79 72 #define DEF_SHOW_MATRIX true … … 91 84 #define DEF_FONT_FAMILY "Tahoma" 92 85 #else 93 #define DEF_FONT_FAMILY " Courier New"86 #define DEF_FONT_FAMILY "monospace" 94 87 #endif // Q_OS_WINCE_WM 95 88 /*! -
src/mainwindow.cpp
re3533af1cf r2bbe924ad8 1189 1189 { 1190 1190 this->fileName = fileName; 1191 setWindowTitle(QString("%1[*] - %2").arg(QFileInfo(fileName).completeBaseName()).arg( tr("Travelling Salesman Problem")));1191 setWindowTitle(QString("%1[*] - %2").arg(QFileInfo(fileName).completeBaseName()).arg(QApplication::applicationName())); 1192 1192 } 1193 1193 -
src/settingsdialog.cpp
re3533af1cf r2bbe924ad8 223 223 cbScrollToEnd->setChecked(settings->value("ScrollToEnd", DEF_SCROLL_TO_END).toBool()); 224 224 225 font = settings->value("Font",QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>();225 font = settings->value("Font",QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>(); 226 226 color = settings->value("Colors/Text", DEF_TEXT_COLOR).value<QColor>(); 227 227 settings->endGroup();
Note: See TracChangeset
for help on using the changeset viewer.