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