BatteryIcon Class Reference

#include <ArmarXGui/applications/ArmarXGui/Widgets/BatteryWidget.h>

+ Inheritance diagram for BatteryIcon:

Public Member Functions

 BatteryIcon (QWidget *parent=0)
 
void paintEvent (QPaintEvent *event) Q_DECL_OVERRIDE
 
void setPercentage (int percentage)
 
void setState (dto::BatteryState state)
 
QSize sizeHint () const Q_DECL_OVERRIDE
 

Detailed Description

Definition at line 24 of file BatteryWidget.h.

Constructor & Destructor Documentation

◆ BatteryIcon()

BatteryIcon ( QWidget *  parent = 0)
explicit

Definition at line 10 of file BatteryWidget.cpp.

Member Function Documentation

◆ paintEvent()

void paintEvent ( QPaintEvent *  event)

Definition at line 17 of file BatteryWidget.cpp.

+ Here is the call graph for this function:

◆ setPercentage()

void setPercentage ( int  percentage)

Definition at line 115 of file BatteryWidget.cpp.

+ Here is the call graph for this function:

◆ setState()

void setState ( dto::BatteryState  state)

Definition at line 121 of file BatteryWidget.cpp.

◆ sizeHint()

QSize sizeHint ( ) const

Definition at line 127 of file BatteryWidget.cpp.


The documentation for this class was generated from the following files: