PythonQtWrapper_QComboBox.h
109 lines
| 5.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QCOMBOBOX_H | ||
#define PYTHONQTWRAPPER_QCOMBOBOX_H | ||||
#include <qcombobox.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qabstractitemdelegate.h> | ||||
#include <qabstractitemmodel.h> | ||||
#include <qabstractitemview.h> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcombobox.h> | ||||
#include <qcompleter.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlineedit.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.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 <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qvalidator.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QComboBox : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QComboBox* new_QComboBox(QWidget* parent = 0); | ||||
void delete_QComboBox(QComboBox* obj) { delete obj; } | ||||
void addItem(QComboBox* theWrappedObject, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); | ||||
void addItem(QComboBox* theWrappedObject, const QString& text, const QVariant& userData = QVariant()); | ||||
void addItems(QComboBox* theWrappedObject, const QStringList& texts); | ||||
QCompleter* completer(QComboBox* theWrappedObject) const; | ||||
int count(QComboBox* theWrappedObject) const; | ||||
int currentIndex(QComboBox* theWrappedObject) const; | ||||
QString currentText(QComboBox* theWrappedObject) const; | ||||
bool duplicatesEnabled(QComboBox* theWrappedObject) const; | ||||
bool event(QComboBox* theWrappedObject, QEvent* event); | ||||
int findData(QComboBox* theWrappedObject, const QVariant& data, int role = Qt::UserRole, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; | ||||
int findText(QComboBox* theWrappedObject, const QString& text, Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; | ||||
bool hasFrame(QComboBox* theWrappedObject) const; | ||||
void hidePopup(QComboBox* theWrappedObject); | ||||
QSize iconSize(QComboBox* theWrappedObject) const; | ||||
void insertItem(QComboBox* theWrappedObject, int index, const QIcon& icon, const QString& text, const QVariant& userData = QVariant()); | ||||
void insertItem(QComboBox* theWrappedObject, int index, const QString& text, const QVariant& userData = QVariant()); | ||||
void insertItems(QComboBox* theWrappedObject, int index, const QStringList& texts); | ||||
QComboBox::InsertPolicy insertPolicy(QComboBox* theWrappedObject) const; | ||||
void insertSeparator(QComboBox* theWrappedObject, int index); | ||||
bool isEditable(QComboBox* theWrappedObject) const; | ||||
QVariant itemData(QComboBox* theWrappedObject, int index, int role = Qt::UserRole) const; | ||||
QAbstractItemDelegate* itemDelegate(QComboBox* theWrappedObject) const; | ||||
QIcon itemIcon(QComboBox* theWrappedObject, int index) const; | ||||
QString itemText(QComboBox* theWrappedObject, int index) const; | ||||
QLineEdit* lineEdit(QComboBox* theWrappedObject) const; | ||||
int maxCount(QComboBox* theWrappedObject) const; | ||||
int maxVisibleItems(QComboBox* theWrappedObject) const; | ||||
int minimumContentsLength(QComboBox* theWrappedObject) const; | ||||
QSize minimumSizeHint(QComboBox* theWrappedObject) const; | ||||
QAbstractItemModel* model(QComboBox* theWrappedObject) const; | ||||
int modelColumn(QComboBox* theWrappedObject) const; | ||||
void removeItem(QComboBox* theWrappedObject, int index); | ||||
QModelIndex rootModelIndex(QComboBox* theWrappedObject) const; | ||||
void setCompleter(QComboBox* theWrappedObject, QCompleter* c); | ||||
void setDuplicatesEnabled(QComboBox* theWrappedObject, bool enable); | ||||
void setEditable(QComboBox* theWrappedObject, bool editable); | ||||
void setFrame(QComboBox* theWrappedObject, bool arg__1); | ||||
void setIconSize(QComboBox* theWrappedObject, const QSize& size); | ||||
void setInsertPolicy(QComboBox* theWrappedObject, QComboBox::InsertPolicy policy); | ||||
void setItemData(QComboBox* theWrappedObject, int index, const QVariant& value, int role = Qt::UserRole); | ||||
void setItemDelegate(QComboBox* theWrappedObject, QAbstractItemDelegate* delegate); | ||||
void setItemIcon(QComboBox* theWrappedObject, int index, const QIcon& icon); | ||||
void setItemText(QComboBox* theWrappedObject, int index, const QString& text); | ||||
void setLineEdit(QComboBox* theWrappedObject, QLineEdit* edit); | ||||
void setMaxCount(QComboBox* theWrappedObject, int max); | ||||
void setMaxVisibleItems(QComboBox* theWrappedObject, int maxItems); | ||||
void setMinimumContentsLength(QComboBox* theWrappedObject, int characters); | ||||
void setModel(QComboBox* theWrappedObject, QAbstractItemModel* model); | ||||
void setModelColumn(QComboBox* theWrappedObject, int visibleColumn); | ||||
void setRootModelIndex(QComboBox* theWrappedObject, const QModelIndex& index); | ||||
void setSizeAdjustPolicy(QComboBox* theWrappedObject, QComboBox::SizeAdjustPolicy policy); | ||||
void setValidator(QComboBox* theWrappedObject, const QValidator* v); | ||||
void setView(QComboBox* theWrappedObject, QAbstractItemView* itemView); | ||||
void showPopup(QComboBox* theWrappedObject); | ||||
QComboBox::SizeAdjustPolicy sizeAdjustPolicy(QComboBox* theWrappedObject) const; | ||||
QSize sizeHint(QComboBox* theWrappedObject) const; | ||||
const QValidator* validator(QComboBox* theWrappedObject) const; | ||||
QAbstractItemView* view(QComboBox* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QCOMBOBOX_H | ||||