2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pListView : public pWidget {
|
2013-05-02 11:25:45 +00:00
|
|
|
ListView& listView;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
void append(const lstring& text);
|
2013-03-15 13:11:33 +00:00
|
|
|
void autoSizeColumns();
|
|
|
|
bool checked(unsigned row);
|
2013-05-02 11:25:45 +00:00
|
|
|
void modify(unsigned row, const lstring& text);
|
2013-03-15 13:11:33 +00:00
|
|
|
void remove(unsigned row);
|
|
|
|
void reset();
|
|
|
|
bool selected();
|
|
|
|
unsigned selection();
|
|
|
|
void setCheckable(bool checkable);
|
|
|
|
void setChecked(unsigned row, bool checked);
|
2013-05-02 11:25:45 +00:00
|
|
|
void setHeaderText(const lstring& text);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setHeaderVisible(bool visible);
|
2013-05-02 11:25:45 +00:00
|
|
|
void setImage(unsigned row, unsigned column, const image& image);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setSelected(bool selected);
|
|
|
|
void setSelection(unsigned row);
|
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
pListView(ListView& listView) : pWidget(listView), listView(listView) {}
|
2013-03-15 13:11:33 +00:00
|
|
|
void constructor();
|
2013-03-21 12:59:01 +00:00
|
|
|
void destructor();
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|