29 #include "YSelectionWidget.h" 31 #include "YTableHeader.h" 99 std::string
header(
int column )
const;
104 YAlignmentType
alignment(
int column )
const;
170 virtual bool setProperty(
const std::string & propertyName,
int columns() const
Return the number of columns of this table.
YAlignmentType alignment(int column) const
Return the alignment for the specified column.
Author: Stefan Hundhammer sh@suse.de
YTable(YWidget *parent, YTableHeader *header, bool multiSelection)
Constructor.
virtual const char * widgetClass() const
Return a descriptive name of this widget class for logging, debugging etc.
virtual void cellChanged(const YTableCell *cell)=0
Notification that a cell (its text and/or its icon) was changed from the outside. ...
Transport class for the value of simple properties.
bool hasMultiSelection() const
Return 'true' if the user can select multiple items at the same time (e.g., with shift-click or ctrl-...
A set of properties to check names and types against.
void setImmediateMode(bool immediateMode=true)
Set immediateMode() on or off.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
One cell (one column in one row) of a YTableItem.
Table: Selection list with multiple columns.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual ~YTable()
Destructor.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
std::string header(int column) const
Return the header text for the specified column.
bool immediateMode() const
Deliver even more events than with notify() set.
void setTableHeader(YTableHeader *newHeader)
Exchange the previous table header with a new one.
const char * userInputProperty()
The name of the widget property that will return user input.
virtual void setKeepSorting(bool keepSorting)
Switch between sorting by item insertion order (keepSorting: true) or allowing the user to sort by an...
bool keepSorting() const
Return 'true' if the sort order is to be kept in item insertion order, i.e.
bool hasColumn(int column) const
Return 'true' if this table has a column no.