Changeset 4736 for trunk/qt-gui/src/optionsdlg.cpp
- Timestamp:
- 11/06/06 04:45:07 (2 years ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/optionsdlg.cpp (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/optionsdlg.cpp
r4734 r4736 237 237 btnColorRcvHistory->setPaletteBackgroundColor(mainwin->m_colorRcvHistory); 238 238 btnColorSntHistory->setPaletteBackgroundColor(mainwin->m_colorSntHistory); 239 btnColorNotice->setPaletteBackgroundColor(mainwin->m_colorNotice); 239 240 /*btnColorTabLabel->setPaletteBackgroundColor(mainwin->m_colorTab);*/ 240 241 btnColorTypingLabel->setPaletteBackgroundColor(mainwin->m_colorTabTyping); … … 534 535 mainwin->m_colorRcvHistory = btnColorRcvHistory->paletteBackgroundColor(); 535 536 mainwin->m_colorSntHistory = btnColorSntHistory->paletteBackgroundColor(); 537 mainwin->m_colorNotice = btnColorNotice->paletteBackgroundColor(); 536 538 /*mainwin->m_colorTab = btnColorTabLabel->paletteBackgroundColor();*/ 537 539 mainwin->m_colorTabTyping = btnColorTypingLabel->paletteBackgroundColor(); … … 1638 1640 btnColorSntHistory = new CColorOption(boxColors); 1639 1641 1642 new QLabel(tr("Notice:"), boxColors); 1643 btnColorNotice = new CColorOption(boxColors); 1644 1640 1645 /*new QLabel(tr("Tab Label Color:"), boxColors); 1641 1646 btnColorTabLabel = new CColorOption(boxColors);*/ … … 1651 1656 connect(btnColorSntHistory, SIGNAL(changed()), this, SLOT(slot_refresh_msgViewer())); 1652 1657 connect(btnColorRcvHistory, SIGNAL(changed()), this, SLOT(slot_refresh_msgViewer())); 1658 connect(btnColorNotice, SIGNAL(changed()), this, SLOT(slot_refresh_msgViewer())); 1653 1659 /*connect(btnColorTabLabel, SIGNAL(changed()), this, SLOT(slot_refresh_msgViewer()));*/ 1654 1660 connect(btnColorTypingLabel, SIGNAL(changed()), this, SLOT(slot_refresh_msgViewer())); … … 1680 1686 1681 1687 const char *names[2] = {"Marge", "Homer"}; 1682 const char *msgs[ 7] = {1688 const char *msgs[8] = { 1683 1689 "This is received message", 1684 1690 "This is a sent message", … … 1687 1693 "#Licq on irc.freenode.net", 1688 1694 "Cool, I'll see you there :)", 1689 "We'll be waiting!"}; 1695 "We'll be waiting!", 1696 "Marge has left the conversation."}; 1690 1697 1691 1698 msgViewer->m_nMsgStyle = cmbStyle->currentItem(); … … 1695 1702 msgViewer->m_colorSntHistory = btnColorSntHistory->paletteBackgroundColor(); 1696 1703 msgViewer->m_colorRcvHistory = btnColorRcvHistory->paletteBackgroundColor(); 1704 msgViewer->m_colorNotice = btnColorNotice->paletteBackgroundColor(); 1697 1705 tabViewer->setPaletteForegroundColor(btnColorTypingLabel->paletteBackgroundColor()); 1698 1706 msgViewer->setPaletteBackgroundColor(btnColorChatBkg->paletteBackgroundColor()); … … 1710 1718 MLView::toRichText(msgs[i], true, true)); 1711 1719 } 1720 msgViewer->addNotice(date, MLView::toRichText(msgs[7], true, true)); 1712 1721 } 1713 1722
