# Utils

## Classes

* EnvVar
* TextWrap
* QStyleSheet
* Modifiers
* Alignment
* Routes
* staticproperty&#x20;
* classproperty&#x20;
* QueryDict&#x20;
* EnumDirectValueMeta&#x20;
* CheckNone

## QStyleSheet

<table><thead><tr><th width="142">argument</th><th width="87">type</th><th align="center">value example</th></tr></thead><tbody><tr><td>qss</td><td>str</td><td align="center">/path/to/style.ext</td></tr><tr><td></td><td>str</td><td align="center">:prefix/path/to/style.ext</td></tr><tr><td></td><td>str</td><td align="center">/path/to/file.json</td></tr><tr><td></td><td>dict</td><td align="center">{"color": "white", "background-color": "black"}</td></tr><tr><td></td><td>str</td><td align="center">QWidget { background-color: white;}</td></tr><tr><td>vars</td><td>dict</td><td align="center">{"themeColor": "blue"}</td></tr></tbody></table>

### usage example

```python
Widget(
    qss=QStyleSheet(
            qss  = {"background-color": "--themeColor"},
            vars = {"themeColor": "blue"}
        )
)
```

### Routes

```python
StackedWidget(
    children=Routes(
        "/",
        "/home": QWidget(),
        "/login": QWidget(),
        ...
    )
)
```
