

Signals | |
| void | selected (int row, int col) |
Public Member Functions | |
| QWellArray (QWidget *parent=0, const char *name=0, bool popup=FALSE) | |
| ~QWellArray () | |
| QString | cellContent (int row, int col) const |
| int | numCols () |
| int | numRows () |
| int | numCols () const |
| int | numRows () const |
| int | selectedColumn () |
| int | selectedRow () |
| int | selectedColumn () const |
| int | selectedRow () const |
| virtual void | setSelected (int row, int col) |
| void | setCellSize (int w, int h) |
| QSize | sizeHint () const |
| virtual void | setDimension (int rows, int cols) |
| virtual void | setCellBrush (int row, int col, const QBrush &) |
| QBrush | cellBrush (int row, int col) |
Protected Member Functions | |
| virtual void | setCurrent (int row, int col) |
| virtual void | drawContents (QPainter *, int row, int col, const QRect &) |
| void | drawContents (QPainter *) |
| void | paintCell (QPainter *, int row, int col) |
| void | mousePressEvent (QMouseEvent *) |
| void | mouseReleaseEvent (QMouseEvent *) |
| void | mouseMoveEvent (QMouseEvent *) |
| void | keyPressEvent (QKeyEvent *) |
| void | focusInEvent (QFocusEvent *) |
| void | focusOutEvent (QFocusEvent *) |
Properties | |
| int | numCols |
| int | numRows |
| int | selectedColumn |
| int | selectedRow |
Private Attributes | |
| int | curRow |
| int | curCol |
| int | selRow |
| int | selCol |
| int | nCols |
| int | nRows |
| bool | smallStyle |
| QWellArrayData * | d |
|
||||||||||||||||
|
Definition at line 169 of file qcolordialog.cpp. References curCol, curRow, d, nCols, nRows, selCol, selRow, sizeHint(), smallStyle, and TRUE. |
|
|
Definition at line 87 of file qcolordialog.cpp. |
|
||||||||||||
|
Returns the brush set for the cell at row, col. If no brush is set, Definition at line 435 of file qcolordialog.cpp. References QWellArrayData::brush, d, and nCols. |
|
||||||||||||
|
|
|
|
Pass-through to QTableView::drawContents() to avoid hiding. Reimplemented in QColorWell. Definition at line 274 of file qcolordialog.cpp. |
|
||||||||||||||||||||
|
Reimplement this function to change the contents of the well array. Reimplemented in QColorWell. Definition at line 282 of file qcolordialog.cpp. References QWellArrayData::brush, d, and nCols. Referenced by QColorWell::drawContents(), and paintCell(). |
|
|
Definition at line 388 of file qcolordialog.cpp. |
|
|
Definition at line 447 of file qcolordialog.cpp. |
|
|
Definition at line 454 of file qcolordialog.cpp. References curCol, curRow, FALSE, numCols(), numRows(), setCurrent(), setSelected(), smallStyle, and TRUE. |
|
|
Reimplemented in QColorWell. Definition at line 318 of file qcolordialog.cpp. References pos, setCurrent(), and smallStyle. Referenced by QColorWell::mouseMoveEvent(). |
|
|
Reimplemented in QColorWell. Definition at line 298 of file qcolordialog.cpp. References pos, and setCurrent(). Referenced by QColorWell::mousePressEvent(). |
|
|
Reimplemented in QColorWell. Definition at line 308 of file qcolordialog.cpp. References curCol, curRow, and setSelected(). Referenced by QColorWell::mouseReleaseEvent(). |
|
|
Definition at line 95 of file qcolordialog.cpp. References nCols. |
|
|
Definition at line 92 of file qcolordialog.cpp. References nCols. Referenced by keyPressEvent(). |
|
|
Definition at line 96 of file qcolordialog.cpp. References nRows. |
|
|
Definition at line 93 of file qcolordialog.cpp. References nRows. Referenced by QColorWell::drawContents(), QColorWell::dropEvent(), keyPressEvent(), and QColorWell::mouseMoveEvent(). |
|
||||||||||||||||
|
Definition at line 219 of file qcolordialog.cpp. References curCol, curRow, drawContents(), g, selCol, selRow, smallStyle, t, and TRUE. |
|
||||||||||||
|
Referenced by setSelected(). |
|
|
Definition at line 102 of file qcolordialog.cpp. References selCol. |
|
|
Definition at line 99 of file qcolordialog.cpp. References selCol. Referenced by QColorWell::mousePressEvent(). |
|
|
Definition at line 103 of file qcolordialog.cpp. References selRow. |
|
|
Definition at line 100 of file qcolordialog.cpp. References selRow. Referenced by QColorWell::mousePressEvent(). |
|
||||||||||||||||
|
Definition at line 414 of file qcolordialog.cpp. References QWellArrayData::brush, d, nCols, nRows, and qWarning(). |
|
||||||||||||
|
Definition at line 107 of file qcolordialog.cpp. Referenced by QColorDialogPrivate::QColorDialogPrivate(). |
|
||||||||||||
|
Definition at line 333 of file qcolordialog.cpp. References curCol, and curRow. Referenced by QColorWell::dragMoveEvent(), keyPressEvent(), QColorWell::mouseMoveEvent(), mouseMoveEvent(), and mousePressEvent(). |
|
||||||||||||
|
Sets the size of the well array to be Must be called by reimplementors. Definition at line 400 of file qcolordialog.cpp. References QWellArrayData::brush, d, nCols, and nRows. Referenced by QColorWell::QColorWell(). |
|
||||||||||||
|
Sets the currently selected cell to row, col. If row or col are less than zero, the current cell is unselected. Does not set the position of the focus indicator. Definition at line 360 of file qcolordialog.cpp. References selCol, selected(), and selRow. Referenced by keyPressEvent(), mouseReleaseEvent(), QColorDialogPrivate::newCustom(), and QColorDialogPrivate::newStandard(). |
|
|
Definition at line 209 of file qcolordialog.cpp. References f, nCols, and nRows. Referenced by QWellArray(). |
|
|
Definition at line 134 of file qcolordialog.cpp. Referenced by focusInEvent(), focusOutEvent(), keyPressEvent(), mouseReleaseEvent(), paintCell(), QWellArray(), and setCurrent(). |
|
|
Definition at line 133 of file qcolordialog.cpp. Referenced by focusInEvent(), focusOutEvent(), keyPressEvent(), mouseReleaseEvent(), paintCell(), QWellArray(), and setCurrent(). |
|
|
Definition at line 140 of file qcolordialog.cpp. Referenced by cellBrush(), drawContents(), QWellArray(), setCellBrush(), and setDimension(). |
|
|
Definition at line 137 of file qcolordialog.cpp. Referenced by cellBrush(), drawContents(), numCols(), QWellArray(), setCellBrush(), setDimension(), and sizeHint(). |
|
|
Definition at line 138 of file qcolordialog.cpp. Referenced by numRows(), QWellArray(), setCellBrush(), setDimension(), and sizeHint(). |
|
|
Definition at line 136 of file qcolordialog.cpp. Referenced by paintCell(), QWellArray(), selectedColumn(), and setSelected(). |
|
|
Definition at line 135 of file qcolordialog.cpp. Referenced by paintCell(), QWellArray(), selectedRow(), and setSelected(). |
|
|
Definition at line 139 of file qcolordialog.cpp. Referenced by keyPressEvent(), mouseMoveEvent(), paintCell(), and QWellArray(). |
|
|
Definition at line 78 of file qcolordialog.cpp. |
|
|
Definition at line 80 of file qcolordialog.cpp. |
|
|
Definition at line 81 of file qcolordialog.cpp. |
|
|
Definition at line 82 of file qcolordialog.cpp. |
1.4.2