old-hiro/qt/widget/tab-frame-item.hpp

27 lines
608 B
C++
Raw Normal View History

2016-05-15 10:45:15 +00:00
#if defined(Hiro_TabFrame)
namespace hiro {
struct pTabFrameItem : pObject {
Declare(TabFrameItem, Object)
auto append(sLayout layout) -> void;
auto remove(sLayout layout) -> void;
auto setClosable(bool closable) -> void;
auto setIcon(const image& icon) -> void;
auto setGeometry(Geometry geometry) -> void;
auto setMovable(bool movable) -> void;
auto setSelected() -> void;
auto setText(const string& text) -> void;
auto setVisible(bool visible) -> void override;
auto _parent() -> maybe<pTabFrame&>;
auto _setState() -> void;
QWidget* qtTabFrameItem = nullptr;
};
}
#endif