QTableWidget

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QTableWidget : QTableView {}

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this(int rows, int columns, QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

cellActivated
void cellActivated(int row, int column)
Undocumented in source.
cellChanged
void cellChanged(int row, int column)
Undocumented in source.
cellClicked
void cellClicked(int row, int column)
Undocumented in source.
cellDoubleClicked
void cellDoubleClicked(int row, int column)
Undocumented in source.
cellEntered
void cellEntered(int row, int column)
Undocumented in source.
cellPressed
void cellPressed(int row, int column)
Undocumented in source.
cellWidget
QWidget cellWidget(int row, int column)
Undocumented in source.
clear
void clear()
Undocumented in source.
clearContents
void clearContents()
Undocumented in source.
closePersistentEditor
void closePersistentEditor(QTableWidgetItem item)
Undocumented in source.
columnCount
int columnCount()
Undocumented in source.
currentCellChanged
void currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn)
Undocumented in source.
currentColumn
int currentColumn()
Undocumented in source.
currentItem
QTableWidgetItem currentItem()
Undocumented in source.
currentItemChanged
void currentItemChanged(QTableWidgetItem current, QTableWidgetItem previous)
Undocumented in source.
currentRow
int currentRow()
Undocumented in source.
dropEvent
void dropEvent(QDropEvent event)
Undocumented in source.
editItem
void editItem(QTableWidgetItem item)
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
findItems
QList!(QTableWidgetItem) findItems(const(QString) text, qt.core.namespace.MatchFlags flags)
Undocumented in source.
horizontalHeaderItem
QTableWidgetItem horizontalHeaderItem(int column)
Undocumented in source.
indexFromItem
QModelIndex indexFromItem(QTableWidgetItem item)
Undocumented in source.
indexFromItem
QModelIndex indexFromItem(const(QTableWidgetItem) item)
Undocumented in source.
insertColumn
void insertColumn(int column)
Undocumented in source.
insertRow
void insertRow(int row)
Undocumented in source.
isItemSelected
bool isItemSelected(const(QTableWidgetItem) item)
Undocumented in source.
isPersistentEditorOpen
bool isPersistentEditorOpen(QTableWidgetItem item)
Undocumented in source.
item
QTableWidgetItem item(int row, int column)
Undocumented in source.
itemActivated
void itemActivated(QTableWidgetItem item)
Undocumented in source.
itemAt
QTableWidgetItem itemAt(const(QPoint) p)
Undocumented in source.
itemAt
QTableWidgetItem itemAt(int ax, int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
itemChanged
void itemChanged(QTableWidgetItem item)
Undocumented in source.
itemClicked
void itemClicked(QTableWidgetItem item)
Undocumented in source.
itemDoubleClicked
void itemDoubleClicked(QTableWidgetItem item)
Undocumented in source.
itemEntered
void itemEntered(QTableWidgetItem item)
Undocumented in source.
itemFromIndex
QTableWidgetItem itemFromIndex(const(QModelIndex) index)
Undocumented in source.
itemPressed
void itemPressed(QTableWidgetItem item)
Undocumented in source.
itemPrototype
const(QTableWidgetItem) itemPrototype()
Undocumented in source.
itemSelectionChanged
void itemSelectionChanged()
Undocumented in source.
items
QList!(QTableWidgetItem) items(const(QMimeData) data)
Undocumented in source.
mimeData
QMimeData mimeData(const(QList!(QTableWidgetItem)) items)
Undocumented in source.
mimeTypes
QStringList mimeTypes()
Undocumented in source.
openPersistentEditor
void openPersistentEditor(QTableWidgetItem item)
Undocumented in source.
removeCellWidget
void removeCellWidget(int arow, int acolumn)
Undocumented in source. Be warned that the author may not have intended to support it.
removeColumn
void removeColumn(int column)
Undocumented in source.
removeRow
void removeRow(int row)
Undocumented in source.
rowCount
int rowCount()
Undocumented in source.
scrollToItem
void scrollToItem(const(QTableWidgetItem) item, QAbstractItemView.ScrollHint hint)
Undocumented in source.
selectedItems
QList!(QTableWidgetItem) selectedItems()
Undocumented in source.
selectedRanges
QList!(QTableWidgetSelectionRange) selectedRanges()
Undocumented in source.
setCellWidget
void setCellWidget(int row, int column, QWidget widget)
Undocumented in source.
setColumnCount
void setColumnCount(int columns)
Undocumented in source.
setCurrentCell
void setCurrentCell(int row, int column)
Undocumented in source.
setCurrentCell
void setCurrentCell(int row, int column, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setCurrentItem
void setCurrentItem(QTableWidgetItem item)
Undocumented in source.
setCurrentItem
void setCurrentItem(QTableWidgetItem item, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setHorizontalHeaderItem
void setHorizontalHeaderItem(int column, QTableWidgetItem item)
Undocumented in source.
setHorizontalHeaderLabels
void setHorizontalHeaderLabels(const(QStringList) labels)
Undocumented in source.
setItem
void setItem(int row, int column, QTableWidgetItem item)
Undocumented in source.
setItemPrototype
void setItemPrototype(const(QTableWidgetItem) item)
Undocumented in source.
setItemSelected
void setItemSelected(const(QTableWidgetItem) item, bool select)
Undocumented in source.
setRangeSelected
void setRangeSelected(const(QTableWidgetSelectionRange) range, bool select)
Undocumented in source.
setRowCount
void setRowCount(int rows)
Undocumented in source.
setVerticalHeaderItem
void setVerticalHeaderItem(int row, QTableWidgetItem item)
Undocumented in source.
setVerticalHeaderLabels
void setVerticalHeaderLabels(const(QStringList) labels)
Undocumented in source.
sortItems
void sortItems(int column, qt.core.namespace.SortOrder order)
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.
takeHorizontalHeaderItem
QTableWidgetItem takeHorizontalHeaderItem(int column)
Undocumented in source.
takeItem
QTableWidgetItem takeItem(int row, int column)
Undocumented in source.
takeVerticalHeaderItem
QTableWidgetItem takeVerticalHeaderItem(int row)
Undocumented in source.
verticalHeaderItem
QTableWidgetItem verticalHeaderItem(int row)
Undocumented in source.
visualColumn
int visualColumn(int logicalColumn)
Undocumented in source.
visualItemRect
QRect visualItemRect(const(QTableWidgetItem) item)
Undocumented in source.
visualRow
int visualRow(int logicalRow)
Undocumented in source.

Inherited Members

From QTableView

~this
~this()
Undocumented in source.
setModel
void setModel(QAbstractItemModel model)
Undocumented in source.
setRootIndex
void setRootIndex(const(QModelIndex) index)
Undocumented in source.
setSelectionModel
void setSelectionModel(QItemSelectionModel selectionModel)
Undocumented in source.
doItemsLayout
void doItemsLayout()
Undocumented in source.
horizontalHeader
QHeaderView horizontalHeader()
Undocumented in source.
verticalHeader
QHeaderView verticalHeader()
Undocumented in source.
setHorizontalHeader
void setHorizontalHeader(QHeaderView header)
Undocumented in source.
setVerticalHeader
void setVerticalHeader(QHeaderView header)
Undocumented in source.
rowViewportPosition
int rowViewportPosition(int row)
Undocumented in source.
rowAt
int rowAt(int y)
Undocumented in source.
setRowHeight
void setRowHeight(int row, int height)
Undocumented in source.
rowHeight
int rowHeight(int row)
Undocumented in source.
columnViewportPosition
int columnViewportPosition(int column)
Undocumented in source.
columnAt
int columnAt(int x)
Undocumented in source.
setColumnWidth
void setColumnWidth(int column, int width)
Undocumented in source.
columnWidth
int columnWidth(int column)
Undocumented in source.
isRowHidden
bool isRowHidden(int row)
Undocumented in source.
setRowHidden
void setRowHidden(int row, bool hide)
Undocumented in source.
isColumnHidden
bool isColumnHidden(int column)
Undocumented in source.
setColumnHidden
void setColumnHidden(int column, bool hide)
Undocumented in source.
setSortingEnabled
void setSortingEnabled(bool enable)
Undocumented in source.
isSortingEnabled
bool isSortingEnabled()
Undocumented in source.
showGrid
bool showGrid()
Undocumented in source.
gridStyle
qt.core.namespace.PenStyle gridStyle()
Undocumented in source.
setGridStyle
void setGridStyle(qt.core.namespace.PenStyle style)
Undocumented in source.
setWordWrap
void setWordWrap(bool on)
Undocumented in source.
wordWrap
bool wordWrap()
Undocumented in source.
setCornerButtonEnabled
void setCornerButtonEnabled(bool enable)
Undocumented in source.
isCornerButtonEnabled
bool isCornerButtonEnabled()
Undocumented in source.
visualRect
QRect visualRect(const(QModelIndex) index)
Undocumented in source.
scrollTo
void scrollTo(const(QModelIndex) index, ScrollHint hint)
Undocumented in source.
indexAt
QModelIndex indexAt(const(QPoint) p)
Undocumented in source.
setSpan
void setSpan(int row, int column, int rowSpan, int columnSpan)
Undocumented in source.
rowSpan
int rowSpan(int row, int column)
Undocumented in source.
columnSpan
int columnSpan(int row, int column)
Undocumented in source.
clearSpans
void clearSpans()
Undocumented in source.
selectRow
void selectRow(int row)
Undocumented in source.
selectColumn
void selectColumn(int column)
Undocumented in source.
hideRow
void hideRow(int row)
Undocumented in source.
hideColumn
void hideColumn(int column)
Undocumented in source.
showRow
void showRow(int row)
Undocumented in source.
showColumn
void showColumn(int column)
Undocumented in source.
resizeRowToContents
void resizeRowToContents(int row)
Undocumented in source.
resizeRowsToContents
void resizeRowsToContents()
Undocumented in source.
resizeColumnToContents
void resizeColumnToContents(int column)
Undocumented in source.
resizeColumnsToContents
void resizeColumnsToContents()
Undocumented in source.
sortByColumn
void sortByColumn(int column)
Undocumented in source.
sortByColumn
void sortByColumn(int column, qt.core.namespace.SortOrder order)
Undocumented in source.
setShowGrid
void setShowGrid(bool show)
Undocumented in source.
rowMoved
void rowMoved(int row, int oldIndex, int newIndex)
Undocumented in source.
columnMoved
void columnMoved(int column, int oldIndex, int newIndex)
Undocumented in source.
rowResized
void rowResized(int row, int oldHeight, int newHeight)
Undocumented in source.
columnResized
void columnResized(int column, int oldWidth, int newWidth)
Undocumented in source.
rowCountChanged
void rowCountChanged(int oldCount, int newCount)
Undocumented in source.
columnCountChanged
void columnCountChanged(int oldCount, int newCount)
Undocumented in source.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
viewOptions
QStyleOptionViewItem viewOptions()
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent e)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
horizontalOffset
int horizontalOffset()
Undocumented in source.
verticalOffset
int verticalOffset()
Undocumented in source.
moveCursor
QModelIndex moveCursor(CursorAction cursorAction, qt.core.namespace.KeyboardModifiers modifiers)
Undocumented in source.
setSelection
void setSelection(const(QRect) rect, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
visualRegionForSelection
QRegion visualRegionForSelection(const(QItemSelection) selection)
Undocumented in source.
selectedIndexes
QModelIndexList selectedIndexes()
Undocumented in source.
updateGeometries
void updateGeometries()
Undocumented in source.
viewportSizeHint
QSize viewportSizeHint()
Undocumented in source.
sizeHintForRow
int sizeHintForRow(int row)
Undocumented in source.
sizeHintForColumn
int sizeHintForColumn(int column)
Undocumented in source.
verticalScrollbarAction
void verticalScrollbarAction(int action)
Undocumented in source.
horizontalScrollbarAction
void horizontalScrollbarAction(int action)
Undocumented in source.
isIndexHidden
bool isIndexHidden(const(QModelIndex) index)
Undocumented in source.
selectionChanged
void selectionChanged(const(QItemSelection) selected, const(QItemSelection) deselected)
Undocumented in source.
currentChanged
void currentChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.

Meta