33 #include <QListWidget>
34 #include <QListWidgetItem>
38 #pragma warning( disable:4251 )
52 bool isEditEnabled()
const;
53 bool defaultEditAction()
const;
54 bool isModificationEnabled()
const;
56 QListWidgetItem* editedItem()
const;
57 int editedIndex()
const;
59 void startEdition(
const int );
60 void startEdition(
const QListWidgetItem* );
61 void endEdition(
const bool );
63 void ensureItemVisible(
const int );
64 void ensureItemVisible(
const QListWidgetItem* );
70 void moveItemToTop(
const int );
71 void moveItemToBottom(
const int );
72 void moveItem(
const int,
const int );
74 void createItem(
const int = -1 );
75 void deleteItem(
const int = -1 );
78 void itemEdited(
int );
79 void itemEdited( QListWidgetItem* );
80 void itemMoved(
int,
int );
83 virtual void setEditEnabled(
bool );
84 virtual void setDefaultEditAction(
bool );
85 virtual void setModificationEnabled(
bool );
87 virtual void clearValidator();
88 virtual void setValidator(
const QValidator* );
89 virtual void setContentsPos(
int,
int );
92 void onContentsMoving(
int,
int );
95 virtual void keyPressEvent( QKeyEvent* );
96 virtual void viewportResizeEvent( QResizeEvent* );
97 virtual void mouseDoubleClickEvent( QMouseEvent* );
113 #pragma warning( default:4251 )