BonPrinter v1.2.0
Thermal Printer tool
Loading...
Searching...
No Matches
main_window.py File Reference

View controller for the main window. More...

Go to the source code of this file.

Classes

class  EConfigSelection
 Mode of configuration change. More...
class  MainWindow
 The view-controller for main window. More...

Namespaces

namespace  Source
namespace  Source.Controller
namespace  Source.Controller.main_window

Functions

None connect_menu_com_port (ACTION menu, Callable[[str], None] function)
 Connect menu for COM ports.

Variables

bool B_NOTEPAD_REPORT = False
str DEFAULT_STYLE = "None"
str HIGHLIGHT_STYLE = "red"
int I_BTN_LONG_PRESS_TIME = 1000
int I_MAX_ITEMS_TO_PRINT = 50
tuple INI_FILE_TYPES = ("INI file", "*.ini")
list L_LOGIN_KEYS
list L_SPECIAL_BTNS = [S_NULL, S_DOUBLE_NULL, S_DOT]
str LOCKED_STYLE = "grey"
 log = logging.getLogger(__title__)
tuple LOG_FILE_TYPES = ("CSV file", "*.csv")
tuple REPORT_FILE_TYPES = ("MD file", "*.md")
str S_DOT = "."
str S_DOUBLE_NULL = "00"
str S_NULL = "0"
str S_REPORT_TEMP_FILE = "_temp_Report.md"
int STATUS_HIGHLIGHT_TEXT_TIME = 5000
int STATUS_TEXT_TIME = 3000
int STATUS_WARNING_TEXT_TIME = 15000
str WARNING_STYLE = "orange"
str WARNING_STYLE_DARK = "darkorange"

Detailed Description

View controller for the main window.


Definition in file main_window.py.