|
| | FileItem (const std::string &iconUri, const Wt::WString &text, const std::string &fileName) |
| |
Public Member Functions inherited from Wt::WStandardItem |
| | WStandardItem () |
| |
| | WStandardItem (const WString &text) |
| |
| | WStandardItem (const std::string &iconUri, const WString &text) |
| |
| | WStandardItem (int rows, int columns=1) |
| |
| virtual | ~WStandardItem () |
| |
| void | setText (const WString &text) |
| |
| WString | text () const |
| |
| void | setIcon (const std::string &uri) |
| |
| std::string | icon () const |
| |
| void | setStyleClass (const WString &styleClass) |
| |
| WString | styleClass () const |
| |
| void | setToolTip (const WString &toolTip) |
| |
| WString | toolTip () const |
| |
| void | setLink (const WLink &link) |
| |
| WLink | link () const |
| |
| void | setInternalPath (const std::string &internalpath) |
| |
| std::string | internalPath () const |
| |
| void | setUrl (const std::string &url) |
| |
| std::string | url () const |
| |
| void | setChecked (bool checked) |
| |
| bool | isChecked () const |
| |
| void | setCheckState (CheckState checked) |
| |
| CheckState | checkState () const |
| |
| void | setFlags (WFlags< ItemFlag > flags) |
| |
| WFlags< ItemFlag > | flags () const |
| |
| void | setCheckable (bool checkable) |
| |
| bool | isCheckable () const |
| |
| void | setTristate (bool tristate) |
| |
| bool | isTristate () const |
| |
| virtual void | setData (const boost::any &data, int role=UserRole) |
| |
| virtual boost::any | data (int role=UserRole) const |
| |
| bool | hasChildren () const |
| |
| void | setRowCount (int rows) |
| |
| int | rowCount () const |
| |
| void | setColumnCount (int columns) |
| |
| int | columnCount () const |
| |
| void | appendColumn (const std::vector< WStandardItem * > &items) |
| |
| void | insertColumn (int column, const std::vector< WStandardItem * > &items) |
| |
| void | appendRow (const std::vector< WStandardItem * > &items) |
| |
| void | insertRow (int row, const std::vector< WStandardItem * > &items) |
| |
| void | insertColumns (int column, int count) |
| |
| void | insertRows (int row, int count) |
| |
| void | appendRow (WStandardItem *item) |
| |
| void | insertRow (int row, WStandardItem *item) |
| |
| void | appendRows (const std::vector< WStandardItem * > &items) |
| |
| void | insertRows (int row, const std::vector< WStandardItem * > &items) |
| |
| void | setChild (int row, int column, WStandardItem *item) |
| |
| void | setChild (int row, WStandardItem *item) |
| |
| WStandardItem * | child (int row, int column=0) const |
| |
| WStandardItem * | takeChild (int row, int column) |
| |
| std::vector< WStandardItem * > | takeColumn (int column) |
| |
| std::vector< WStandardItem * > | takeRow (int row) |
| |
| void | removeColumn (int column) |
| |
| void | removeColumns (int column, int count) |
| |
| void | removeRow (int row) |
| |
| void | removeRows (int row, int count) |
| |
| WModelIndex | index () const |
| |
| WStandardItemModel * | model () const |
| |
| WStandardItem * | parent () const |
| |
| int | row () const |
| |
| int | column () const |
| |
| virtual WStandardItem * | clone () const |
| |
| virtual bool | operator< (const WStandardItem &other) const |
| |
| virtual void | sortChildren (int column, SortOrder order) |
| |
WStandardItem which stores a file.
The SourceView class reads data from 3 additional roles:
- ContentsRole: file contents
- FilePathRole: the path which holds the file contents
- FileNameRole: the original file name (used to derive the file type)
Definition at line 28 of file FileItem.h.