2023-11-30 22:32:06 +00:00
|
|
|
import logging
|
|
|
|
|
|
|
|
import allure
|
|
|
|
|
|
|
|
from gui.elements.object import QObject
|
|
|
|
|
2023-12-01 13:58:22 +00:00
|
|
|
LOG = logging.getLogger(__name__)
|
2023-11-30 22:32:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TextLabel(QObject):
|
|
|
|
|
|
|
|
@property
|
|
|
|
@allure.step('Get text {0}')
|
|
|
|
def text(self) -> str:
|
|
|
|
return str(self.object.text)
|