hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
qecpu.QeCpu Class Reference

CPU indicator and percentage representation. More...

Inheritance diagram for qecpu.QeCpu:

Public Member Functions

def __init__ (self, parent=None)
 Initialize the widget with machine information and correspondent time delay to read taht same information.
 
def cpu_percent (self)
 Retrieve saved cpu usage percentage value.
 
def calculateCpu (self)
 Slots ###.
 

Static Public Attributes

Signal cpu_percent_changed = Signal(float)
 Signals ###.
 

Protected Attributes

 _process
 
 _cpu_percent
 
 _timer
 

Detailed Description

CPU indicator and percentage representation.

Constructor & Destructor Documentation

◆ __init__()

def qecpu.QeCpu.__init__ (   self,
  parent = None 
)

Initialize the widget with machine information and correspondent time delay to read taht same information.

Member Function Documentation

◆ calculateCpu()

def qecpu.QeCpu.calculateCpu (   self)

Slots ###.

Change displayed cpu percentage value after new value is saved

◆ cpu_percent()

def qecpu.QeCpu.cpu_percent (   self)

Retrieve saved cpu usage percentage value.

Returns
CPU percentage

Member Data Documentation

◆ _cpu_percent

qecpu.QeCpu._cpu_percent
protected

◆ _process

qecpu.QeCpu._process
protected

◆ _timer

qecpu.QeCpu._timer
protected

◆ cpu_percent_changed

Signal qecpu.QeCpu.cpu_percent_changed = Signal(float)
static

Signals ###.


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