Changeset 996

Show
Ignore:
Timestamp:
08/27/08 13:36:56 (4 months ago)
Author:
ar
Message:

- Add search in all columns in the ShowLog?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r994 r996  
    11Version 0.8.0 - released 2008-xx-xx 
     2 
     3    New Features 
     4        ------------ 
     5        * Logs can now filter by all columns. Select All to search in Revision,  
     6            Author, Date and Message. 
    27 
    38 
  • trunk/src/showlog.cpp

    r952 r996  
    9292    m_logEntriesProxy->setDynamicSortFilter(true); 
    9393    m_logEntriesProxy->setSourceModel(m_logEntriesModel); 
     94    comboBoxFilterKeyColumn->insertItem(0, tr("All")); 
    9495    for (int i = 0; i < m_logEntriesModel->columnCount(QModelIndex()); i++) 
    9596        comboBoxFilterKeyColumn->insertItem(comboBoxFilterKeyColumn->count(), 
     
    322323void ShowLog::on_comboBoxFilterKeyColumn_currentIndexChanged(int index) 
    323324{ 
    324     m_logEntriesProxy->setFilterKeyColumn(index); 
     325    m_logEntriesProxy->setFilterKeyColumn(index - 1); //first entry is the All-entry 
    325326} 
    326327