26#include <QAbstractListModel>
27#include <QItemDelegate>
28#include <QSortFilterProxyModel>
98 int role = Qt::DisplayRole);
plr_item_delegate(QObject *parent)
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
bool setData(int column, const QVariant &value, int role=Qt::DisplayRole)
QVariant data(int column, int role=Qt::DisplayRole) const
int rowCount(const QModelIndex &index=QModelIndex()) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::DisplayRole)
QVariant hide_data(int section) const
QList< plr_item * > plr_list
void notify_plr_changed(int row)
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
int columnCount(const QModelIndex &parent=QModelIndex()) const
void req_caancel_threaty()
void update_report(bool update_selection=true)
struct player * other_player
QPushButton * toggle_ai_but
void show_wonders_toggle()
void show_relations_toggle()
QPushButton * withdraw_but
QPushButton * show_relations
void req_wiithdrw_vision()
QPushButton * show_wonders
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
void popup_players_dialog(bool raise)
void popdown_players_report(void)
struct player_slot * slots
const int num_player_dlg_columns