PythonQtWrapper_QTableView.h
85 lines
| 3.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTABLEVIEW_H | ||
#define PYTHONQTWRAPPER_QTABLEVIEW_H | ||||
#include <qtableview.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 <qheaderview.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qitemselectionmodel.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.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 <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qtableview.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QTableView : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTableView* new_QTableView(QWidget* parent = 0); | ||||
void delete_QTableView(QTableView* obj) { delete obj; } | ||||
void clearSpans(QTableView* theWrappedObject); | ||||
int columnAt(QTableView* theWrappedObject, int x) const; | ||||
int columnSpan(QTableView* theWrappedObject, int row, int column) const; | ||||
int columnViewportPosition(QTableView* theWrappedObject, int column) const; | ||||
int columnWidth(QTableView* theWrappedObject, int column) const; | ||||
Qt::PenStyle gridStyle(QTableView* theWrappedObject) const; | ||||
QHeaderView* horizontalHeader(QTableView* theWrappedObject) const; | ||||
QModelIndex indexAt(QTableView* theWrappedObject, const QPoint& p) const; | ||||
bool isColumnHidden(QTableView* theWrappedObject, int column) const; | ||||
bool isCornerButtonEnabled(QTableView* theWrappedObject) const; | ||||
bool isRowHidden(QTableView* theWrappedObject, int row) const; | ||||
bool isSortingEnabled(QTableView* theWrappedObject) const; | ||||
int rowAt(QTableView* theWrappedObject, int y) const; | ||||
int rowHeight(QTableView* theWrappedObject, int row) const; | ||||
int rowSpan(QTableView* theWrappedObject, int row, int column) const; | ||||
int rowViewportPosition(QTableView* theWrappedObject, int row) const; | ||||
void scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||||
void setColumnHidden(QTableView* theWrappedObject, int column, bool hide); | ||||
void setColumnWidth(QTableView* theWrappedObject, int column, int width); | ||||
void setCornerButtonEnabled(QTableView* theWrappedObject, bool enable); | ||||
void setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style); | ||||
void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header); | ||||
void setModel(QTableView* theWrappedObject, QAbstractItemModel* model); | ||||
void setRootIndex(QTableView* theWrappedObject, const QModelIndex& index); | ||||
void setRowHeight(QTableView* theWrappedObject, int row, int height); | ||||
void setRowHidden(QTableView* theWrappedObject, int row, bool hide); | ||||
void setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel); | ||||
void setSortingEnabled(QTableView* theWrappedObject, bool enable); | ||||
void setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan); | ||||
void setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header); | ||||
void setWordWrap(QTableView* theWrappedObject, bool on); | ||||
bool showGrid(QTableView* theWrappedObject) const; | ||||
void sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order); | ||||
QHeaderView* verticalHeader(QTableView* theWrappedObject) const; | ||||
QRect visualRect(QTableView* theWrappedObject, const QModelIndex& index) const; | ||||
bool wordWrap(QTableView* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTABLEVIEW_H | ||||