##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QListWidget.h
81 lines | 3.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QLISTWIDGET_H
#define PYTHONQTWRAPPER_QLISTWIDGET_H
#include <qlistwidget.h>
#include <QObject>
#include <QVariant>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qitemselectionmodel.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlistwidget.h>
#include <qlocale.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qrect.h>
#include <qregion.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qwidget.h>
class PythonQtWrapper_QListWidget : public QObject
{ Q_OBJECT
public:
public slots:
QListWidget* new_QListWidget(QWidget* parent = 0);
void delete_QListWidget(QListWidget* obj) { delete obj; }
void addItem(QListWidget* theWrappedObject, QListWidgetItem* item);
void addItem(QListWidget* theWrappedObject, const QString& label);
void addItems(QListWidget* theWrappedObject, const QStringList& labels);
void closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item);
int count(QListWidget* theWrappedObject) const;
QListWidgetItem* currentItem(QListWidget* theWrappedObject) const;
int currentRow(QListWidget* theWrappedObject) const;
void dropEvent(QListWidget* theWrappedObject, QDropEvent* event);
void editItem(QListWidget* theWrappedObject, QListWidgetItem* item);
QList<QListWidgetItem* > findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const;
void insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* item);
void insertItem(QListWidget* theWrappedObject, int row, const QString& label);
void insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels);
bool isSortingEnabled(QListWidget* theWrappedObject) const;
QListWidgetItem* item(QListWidget* theWrappedObject, int row) const;
QListWidgetItem* itemAt(QListWidget* theWrappedObject, const QPoint& p) const;
QListWidgetItem* itemAt(QListWidget* theWrappedObject, int x, int y) const;
QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const;
void openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item);
void removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item);
int row(QListWidget* theWrappedObject, const QListWidgetItem* item) const;
QList<QListWidgetItem* > selectedItems(QListWidget* theWrappedObject) const;
void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item);
void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command);
void setCurrentRow(QListWidget* theWrappedObject, int row);
void setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command);
void setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget);
void setSortingEnabled(QListWidget* theWrappedObject, bool enable);
void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder);
QListWidgetItem* takeItem(QListWidget* theWrappedObject, int row);
QRect visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const;
};
#endif // PYTHONQTWRAPPER_QLISTWIDGET_H