31 #include <QTreeWidget>
36 #include <QPushButton>
37 #include <QStyledItemDelegate>
38 #include <QTextDocument>
58 : QStyledItemDelegate(pWidget){};
60 QSize
sizeHint(
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
61 void paint(QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
75 : QTreeWidgetItem(par),
m_iType(type){};
77 : QTreeWidgetItem(par),
m_iType(type){};
119 virtual QString
key(
int,
bool)
const;
void rightButtonPressed(QTreeWidgetItem *, QPoint)
Definition: KviRegisteredUserGroup.h:35
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
~RegisteredUsersDialog()
Definition: RegisteredUsersDialog.cpp:337
KviRegisteredUser * m_pUser
Definition: RegisteredUsersDialog.h:109
void selectionChanged()
Definition: RegisteredUsersDialog.cpp:688
RegisteredUsersDialogItem(QTreeWidgetItem *par, KviRegisteredUser *u)
Definition: RegisteredUsersDialog.cpp:112
~RegisteredUsersGroupItem()
Definition: RegisteredUsersDialog.h:98
void importClicked()
Definition: RegisteredUsersDialog.cpp:852
QPushButton * m_pAddGroupButton
Definition: RegisteredUsersDialog.h:137
void mousePressEvent(QMouseEvent *e)
Definition: RegisteredUsersDialog.cpp:101
void editClicked()
Definition: RegisteredUsersDialog.cpp:629
Definition: KviRegisteredUser.h:35
QPushButton * m_pRemoveButton
Definition: RegisteredUsersDialog.h:133
~RegisteredUsersDialogItemBase()
Definition: RegisteredUsersDialog.h:78
QPushButton * m_pAddButton
Definition: RegisteredUsersDialog.h:131
#define e
Definition: detector.cpp:69
virtual QString key(int, bool) const
Definition: RegisteredUsersDialog.cpp:152
QPushButton * m_pImportButton
Definition: RegisteredUsersDialog.h:135
#define i
Definition: detector.cpp:73
KviRegisteredUsersListView(QWidget *)
Definition: RegisteredUsersDialog.cpp:76
Definition: RegisteredUsersDialog.h:41
void itemPressed(QTreeWidgetItem *it, int c)
Definition: RegisteredUsersDialog.cpp:353
~RegisteredUsersDialogItem()
Types
Definition: RegisteredUsersDialog.h:67
void addWizardClicked()
Definition: RegisteredUsersDialog.cpp:598
virtual void closeEvent(QCloseEvent *)
Definition: RegisteredUsersDialog.cpp:561
RegisteredUsersDialog(QWidget *par=0)
Definition: RegisteredUsersDialog.cpp:224
RegisteredUsersDialogItemDelegate(KviRegisteredUsersListView *pWidget=0)
Definition: RegisteredUsersDialog.h:57
RegisteredUsersDialogItemBase(Types type, KviRegisteredUsersListView *par)
Definition: RegisteredUsersDialog.h:74
RegisteredUsersDialogItemBase(Types type, QTreeWidgetItem *par)
Definition: RegisteredUsersDialog.h:76
void fillList()
Definition: RegisteredUsersDialog.cpp:517
#define g
Definition: detector.cpp:71
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: RegisteredUsersDialog.cpp:157
~KviRegisteredUsersListView()
Definition: RegisteredUsersDialog.h:46
KviRegisteredUserGroup * m_pGroup
Definition: RegisteredUsersDialog.h:90
QPushButton * m_pEditButton
Definition: RegisteredUsersDialog.h:134
RegisteredUsersGroupItem(KviRegisteredUsersListView *par, KviRegisteredUserGroup *g)
Definition: RegisteredUsersDialog.h:93
void addClicked()
Definition: RegisteredUsersDialog.cpp:583
~RegisteredUsersDialogItemDelegate()
Definition: RegisteredUsersDialog.h:59
QPushButton * m_pSelectAllButton
Definition: RegisteredUsersDialog.h:138
Definition: RegisteredUsersDialog.h:64
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: RegisteredUsersDialog.cpp:206
KviRegisteredUserGroup * group()
Definition: RegisteredUsersDialog.h:101
void editGroup(KviRegisteredUserGroup *group)
Definition: RegisteredUsersDialog.cpp:436
const QString & name()
Definition: KviRegisteredUserGroup.h:48
void setUser(KviRegisteredUser *u)
Definition: RegisteredUsersDialog.h:118
void selectAllClicked()
Definition: RegisteredUsersDialog.cpp:847
KviRegisteredUser * user()
Definition: RegisteredUsersDialog.h:117
void editItem(RegisteredUsersDialogItem *i)
Definition: RegisteredUsersDialog.cpp:646
QPushButton * m_pWizardAddButton
Definition: RegisteredUsersDialog.h:132
#define u
Definition: detector.cpp:85
Definition: RegisteredUsersDialog.h:70
void okClicked()
Definition: RegisteredUsersDialog.cpp:569
KviRegisteredUsersListView * m_pListView
Definition: RegisteredUsersDialog.h:130
RegisteredUsersDialogItemBase::Types type()
Definition: RegisteredUsersDialog.h:84
QPushButton * m_pExportButton
Definition: RegisteredUsersDialog.h:136
void itemDoubleClicked(QTreeWidgetItem *it, int)
Definition: RegisteredUsersDialog.cpp:407
Definition: RegisteredUsersDialog.h:87
Definition: RegisteredUsersDialog.h:122
Definition: RegisteredUsersDialog.h:69
void rightButtonPressed(QTreeWidgetItem *, QPoint)
Definition: RegisteredUsersDialog.cpp:476
void exportClicked()
Definition: RegisteredUsersDialog.cpp:707
void addGroupClicked()
Definition: RegisteredUsersDialog.cpp:423
void cancelClicked()
Definition: RegisteredUsersDialog.cpp:577
RegisteredUsersDialogItemBase::Types m_iType
Definition: RegisteredUsersDialog.h:78
Definition: RegisteredUsersDialog.h:104
void removeClicked()
Definition: RegisteredUsersDialog.cpp:611
QTextDocument m_pText
Definition: RegisteredUsersDialog.h:110
void moveToGroupMenuClicked(QAction *pAction)
Definition: RegisteredUsersDialog.cpp:501
Definition: RegisteredUsersDialog.h:54