Changeset 628500a5d6 in tspsg
- Timestamp:
- Mar 31, 2013, 9:25:38 PM (12 years ago)
- Branches:
- 0.1.4.170-beta2-bb10
- Children:
- c039ebbe82
- Parents:
- ccdffe3a5f
- git-author:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:25:38)
- git-committer:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:46:09)
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/defaults.h
rccdffe3a5f r628500a5d6 87 87 #define DEF_EMBED_GRAPH_INTO_HTML false 88 88 //! Default solution graph size in centimeters (HQ size is this size * HQ_FACTOR) 89 #define DEF_GRAPH_WIDTH 4.5 89 #ifdef Q_OS_BLACKBERRY 90 # define DEF_GRAPH_WIDTH 2.5 91 #else 92 # define DEF_GRAPH_WIDTH 4.5 93 #endif 90 94 //! Default for "Show solution steps' matrices for every solution step" 91 95 #define DEF_SHOW_MATRIX true … … 104 108 #ifdef Q_WS_S60 105 109 # define DEF_FONT_SIZE 8 110 #elif defined(Q_OS_BLACKBERRY) 111 # define DEF_FONT_SIZE 7 106 112 #else 107 113 # define DEF_FONT_SIZE 10 108 114 #endif // Q_WS_S60 109 115 //! Default text color 110 #define DEF_TEXT_COLOR QPalette().color(QPalette::Text) 116 #ifdef Q_OS_BLACKBERRY 117 # define DEF_TEXT_COLOR Qt::black 118 #else 119 # define DEF_TEXT_COLOR QPalette().color(QPalette::Text) 120 #endif 111 121 //! Default selected candidate color 112 122 #define DEF_SELECTED_COLOR QColor(0x008000) -
src/mainwindow.cpp
rccdffe3a5f r628500a5d6 56 56 setupUi(); 57 57 setAcceptDrops(true); 58 59 #ifdef Q_OS_BLACKBERRY 60 taskView->setEditTriggers(QAbstractItemView::AllEditTriggers); 61 #endif 58 62 59 63 initDocStyleSheet(); … … 630 634 txtAbout->moveCursor(QTextCursor::Start); 631 635 txtAbout->setFrameShape(QFrame::NoFrame); 636 #ifdef Q_OS_BLACKBERRY 637 txtAbout->setAttribute(Qt::WA_InputMethodEnabled, false); 638 #endif 632 639 633 640 // txtCredits->setWordWrapMode(QTextOption::NoWrap); … … 636 643 txtCredits->moveCursor(QTextCursor::Start); 637 644 txtCredits->setFrameShape(QFrame::NoFrame); 645 #ifdef Q_OS_BLACKBERRY 646 txtCredits->setAttribute(Qt::WA_InputMethodEnabled, false); 647 #endif 638 648 639 649 txtLicense->setWordWrapMode(QTextOption::NoWrap); … … 642 652 txtLicense->moveCursor(QTextCursor::Start); 643 653 txtLicense->setFrameShape(QFrame::NoFrame); 654 #ifdef Q_OS_BLACKBERRY 655 txtLicense->setAttribute(Qt::WA_InputMethodEnabled, false); 656 #endif 644 657 645 658 bb->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor)); … … 743 756 pd.setCancelButton(cancel); 744 757 pd.setMaximum(n); 758 pd.setAutoClose(false); 745 759 pd.setAutoReset(false); 746 760 pd.setLabelText(tr("Calculating optimal route..."));
Note: See TracChangeset
for help on using the changeset viewer.