Ordinateur de bord pour voiture de collection 7.1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
NumberWindow Class Reference

Window to enter new value for selected var. More...

Inheritance diagram for NumberWindow:

Public Member Functions

def __init__ (self, Title, InitialVal, ValMax, ValMin, NbDeci)
 

Public Attributes

 Value
 

Static Public Attributes

int Value = 0
 

Detailed Description

Window to enter new value for selected var.

Usage
MyValue = NumberWindow(Title, Initial Value, Maximum, Minimum, Number of Decimal).Value
Parameters
Title(string) : title of window
InitialVal(int/float) default value at start and returned if "cancel" is pressed
ValMax(int/float) : maximum allowed number, the number of digit is use, after remove of decimals
ValMin(int/float) : mini allowed number, can be negative
NbDeci(int) : number of numeral below zero (decimals)
Date
04 november 2021 : Creation
Version
7.1
Author
Jonathan Zéhnné : jihze.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  Title,
  InitialVal,
  ValMax,
  ValMin,
  NbDeci 
)

Member Data Documentation

◆ Value [1/2]

int Value = 0
static

◆ Value [2/2]

Value

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