Scribus
Open source desktop publishing at your fingertips
|
#include <tablehandle.h>
Public Types | |
enum | Type { RowSelect, RowResize, ColumnSelect, ColumnResize, TableResize, CellSelect, None } |
This enum specifies different types of handles on a table. More... | |
Public Member Functions | |
Type | type () const |
Returns the type of the handle. | |
int | index () const |
Friends | |
class | PageItem_Table |
The table is the only one who is allowed to construct/manipulate handles. | |
This class represents handles on a table.
These are areas that when clicked/dragged will initiate a resize or selection of some parts of the table. To test for a handle at some point, use the hitTest() function of PageItem_Table.
enum TableHandle::Type |
|
inline |
If type() is RowResize or ColumnResize, this function returns the index of the row or column the handle is for, otherwise its return value is undefined.