1 #ifndef AWFUL_GUI_TOOL_BUTTON_H_
2 #define AWFUL_GUI_TOOL_BUTTON_H_
6 #include "gui/Button_i.h"
9 namespace awful
{ namespace gui
{ namespace tool
11 class Button
: public Button_i
, public Widget
14 Button( Container
* pParent
, const std::string
& Label
) :
15 m_QButton( Label
.c_str(), &pParent
->getQWidget() )
19 virtual QWidget
& getQWidget()
24 virtual const std::string
& getLabel() const { return lulz
; }
25 virtual void setLabel( const std::string
& Label
) { lulz
= Label
; }
28 QPushButton m_QButton
;