Page MenuHomePhabricator

searchresulttabledelegate.cpp
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

searchresulttabledelegate.cpp

/*******************************************************************************
* fred Copyright (c) 2011-2020 by Gillen Daniel <gillen.dan@pinguin.lu> *
* *
* Forensic Registry EDitor (fred) is a cross-platform M$ registry hive editor *
* with special feautures useful during forensic analysis. *
* *
* This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the Free *
* Software Foundation, either version 3 of the License, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, but WITHOUT *
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
* more details. *
* *
* You should have received a copy of the GNU General Public License along with *
* this program. If not, see <http://www.gnu.org/licenses/>. *
*******************************************************************************/
#include "searchresulttabledelegate.h"
SearchResultTableDelegate::SearchResultTableDelegate(QObject *parent) :
QStyledItemDelegate(parent)
{
}
void SearchResultTableDelegate::paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
if(index.isValid() && index.column()==2) {
// TODO: Render match string different
QStyledItemDelegate::paint(painter,option,index);
} else {
QStyledItemDelegate::paint(painter,option,index);
}
}

File Metadata

Mime Type
text/x-c
Expires
Sun, May 11, 7:16 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1247427
Default Alt Text
searchresulttabledelegate.cpp (2 KB)

Event Timeline