Change Log

1.1.2

API

Fixed

  • Focus issue when using qat.type_in() function (issue #22).

1.1.1

GUI

Fixed:

  • User folder for Qat preferences is created if it does not exist.

1.1.0

GUI

  • GUI was completely rewritten and is now based on CustomTkinter:

    • Themes are supported (system / light / dark),

    • More intuitive flow with Save/Cancel buttons,

    • Available methods are displayed in the property table (issue #13),

    • Faster navigation in the Spy object tree and property table.

Python API

Changed:

  • All functions using an object definition now accept a simple string that will be interpreted as an objectName.

Added:

  • New method list_methods() has been added to the QtObject class. Similar to the list_properties() method, it returns a list of existing methods for an object.

  • New classes to represent common Qt types, allowing to create instances of QPoint, QFont, QColor, QRect, QSize, etc. These instances can be used as properties and method arguments.

    from qat.qt_types import *
    color = QColor("yellow", alpha=160)
    font = QFont("Times", pixelSize=16, bold=True, italic=False)
    rectangle = QRect(QPoint(10, 10), QSize(150, 50))
    
  • New API function qat.detach() allowing an application to keep running after a script terminates (see issue #20)

Fixed:

  • Scripts hang if the application is not closed (issue #20). Started applications are now automatically closed when a script terminates.