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,
bool hasMultiSelection() const
Return 'true' if the user can select multiple items at the same time (e.g., with shift-click or ctrl-...
Author: Stefan Hundhammer sh@suse.de
YTable(YWidget *parent, YTableHeader *header, bool multiSelection)
Constructor.
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.
int columns() const
Return the number of columns of this table.
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.
std::string header(int column) const
Return the header text for the specified column.
virtual ~YTable()
Destructor.
bool keepSorting() const
Return 'true' if the sort order is to be kept in item insertion order, i.e.
bool immediateMode() const
Deliver even more events than with notify() set.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
virtual const char * widgetClass() const
Return a descriptive name of this widget class for logging, debugging etc.
void setTableHeader(YTableHeader *newHeader)
Exchange the previous table header with a new one.
YAlignmentType alignment(int column) const
Return the alignment for the specified column.
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 hasColumn(int column) const
Return 'true' if this table has a column no.