Changeset 5115 for branches/qt-gui_qt4/src/optionsdlg.cpp
- Timestamp:
- 08/08/07 06:06:52 (16 months ago)
- Files:
-
- 1 modified
-
branches/qt-gui_qt4/src/optionsdlg.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/qt-gui_qt4/src/optionsdlg.cpp
r5113 r5115 213 213 cmbHistStyle->setCurrentIndex(mainwin->m_histMsgStyle); 214 214 chkHistVertSpacing->setChecked(mainwin->m_histVertSpacing); 215 chkHistReverse->setChecked(mainwin->m_histReverse); 215 216 cmbHistDateFormat->lineEdit()->setText(mainwin->m_histDateFormat); 216 217 btnColorRcv->setColor(mainwin->m_colorRcv); … … 505 506 mainwin->m_histMsgStyle = cmbHistStyle->currentIndex(); 506 507 mainwin->m_histVertSpacing = chkHistVertSpacing->isChecked(); 508 mainwin->m_histReverse = chkHistReverse->isChecked(); 507 509 mainwin->m_histDateFormat = cmbHistDateFormat->currentText(); 508 510 mainwin->m_colorRcv = btnColorRcv->getColor(); … … 1117 1119 layHistDisp->addLayout(layHistDateFormat); 1118 1120 1121 QHBoxLayout *layHistOpts = new QHBoxLayout(); 1119 1122 chkHistVertSpacing = new QCheckBox(tr("Insert vertical spacing")); 1120 1123 connect(chkHistVertSpacing, SIGNAL(toggled(bool)), this, SLOT(slot_refresh_msgViewer())); 1121 1124 chkHistVertSpacing->setToolTip(tr("Insert extra space between messages.")); 1122 layHistDisp->addWidget(chkHistVertSpacing); 1125 layHistOpts->addWidget(chkHistVertSpacing); 1126 1127 chkHistReverse = new QCheckBox(tr("Reverse history")); 1128 connect(chkHistReverse, SIGNAL(toggled(bool)), this, SLOT(slot_refresh_msgViewer())); 1129 chkHistReverse->setToolTip(tr("Put recent messages on top.")); 1130 layHistOpts->addWidget(chkHistReverse); 1131 layHistDisp->addLayout(layHistOpts); 1123 1132 1124 1133 boxHistPreview = new QGroupBox(tr("Preview")); … … 2020 2029 msgHistViewer->m_nMsgStyle = cmbHistStyle->currentIndex(); 2021 2030 msgHistViewer->m_extraSpacing = chkHistVertSpacing->isChecked(); 2031 msgHistViewer->m_reverse = chkHistReverse->isChecked(); 2022 2032 msgHistViewer->m_colorSnt = btnColorSnt->getColor(); 2023 2033 msgHistViewer->m_colorRcv = btnColorRcv->getColor();
