mirror of https://github.com/bsnes-emu/bsnes.git
25 lines
560 B
C++
25 lines
560 B
C++
|
#if defined(Hiro_ListView)
|
||
|
|
||
|
namespace hiro {
|
||
|
|
||
|
struct pListViewItem : pObject {
|
||
|
Declare(ListViewItem, Object)
|
||
|
|
||
|
auto append(sListViewCell cell) -> void;
|
||
|
auto remove(sListViewCell cell) -> void;
|
||
|
auto setAlignment(Alignment alignment) -> void;
|
||
|
auto setBackgroundColor(Color color) -> void;
|
||
|
auto setFont(const string& font) -> void override;
|
||
|
auto setForegroundColor(Color color) -> void;
|
||
|
auto setSelected(bool selected) -> void;
|
||
|
|
||
|
auto _parent() -> maybe<pListView&>;
|
||
|
auto _setState() -> void;
|
||
|
|
||
|
QTreeWidgetItem* qtItem = nullptr;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|