Changeset 5446 for branches/qt-gui_qt4/src/optionsdlg.cpp
- Timestamp:
- 09/28/07 21:38:59 (14 months ago)
- Files:
-
- 1 modified
-
branches/qt-gui_qt4/src/optionsdlg.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/qt-gui_qt4/src/optionsdlg.cpp
r5421 r5446 207 207 chkHistReverse->setChecked(mainwin->m_histReverse); 208 208 cmbHistDateFormat->lineEdit()->setText(mainwin->m_histDateFormat); 209 spnHistMsgNum->setValue(mainwin->m_histMsgNum); 209 210 btnColorRcv->setColor(mainwin->m_colorRcv); 210 211 btnColorSnt->setColor(mainwin->m_colorSnt); … … 497 498 mainwin->m_chatMsgStyle = cmbChatStyle->currentIndex(); 498 499 mainwin->m_chatDateFormat = cmbChatDateFormat->currentText(); 500 mainwin->m_histMsgNum = spnHistMsgNum->value(); 499 501 mainwin->m_histMsgStyle = cmbHistStyle->currentIndex(); 500 502 mainwin->m_histVertSpacing = chkHistVertSpacing->isChecked(); … … 1119 1121 layHistDisp->addLayout(layHistDateFormat); 1120 1122 1123 QHBoxLayout *layHistMsgNum = new QHBoxLayout(); 1124 lblHistMsgNum = new QLabel(tr("Entries per page:")); 1125 layHistMsgNum->addWidget(lblHistMsgNum); 1126 spnHistMsgNum = new QSpinBox(); 1127 spnHistMsgNum->setRange(2, 200); 1128 layHistMsgNum->addWidget(spnHistMsgNum); 1129 layHistDisp->addLayout(layHistMsgNum); 1130 1121 1131 QHBoxLayout *layHistOpts = new QHBoxLayout(); 1122 1132 chkHistVertSpacing = new QCheckBox(tr("Insert vertical spacing"));
