20 #ifndef FDVIEWACCOUNTSUMMARY_HPP
21 #define FDVIEWACCOUNTSUMMARY_HPP
24 #include <QAbstractTableModel>
25 #include <QStyledItemDelegate>
26 #include <QHeaderView>
27 #include <QMouseEvent>
29 #include "../guiDefinitions.hpp"
64 int print(QPrinter& printer, QPainter& painter, QRect& area, QRect& remainingArea,
FdSubWindow* subwindow,
int pageNumber);
74 void currentChanged(
const QModelIndex ¤t,
const QModelIndex &previous);
75 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
94 QVariant
data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
95 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
96 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
97 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
100 FdItemJournal_p
selectedEntry(
const QModelIndex &index)
const;
114 QString
displayText(
const QVariant& value,
const QLocale& locale)
const;
115 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
118 #endif // FDVIEWACCOUNTSUMMARY_HPP