# data-conversion.interface.mainwindow API documentation

# Module `data-conversion.interface.mainwindow`

Expand source code

    from PySide6.QtWidgets import QMainWindow, QPushButton, QListWidget

    class MainWindow(QMainWindow):
        """
        Class written just for autocompletion and type hinting.

        Lists dynamic attributes of the loaded window
        so that PyCharm can know that the following attributes
        exist in the loaded file.

        The class is then used for type hinting in the
        `WindowManager` class.

        """
        file_button: QPushButton
        button_csv_export: QPushButton
        button_txt_export: QPushButton
        list_widget: QListWidget

## Classes

`class MainWindow (parent: Optional[PySide6.QtWidgets.QWidget] = None, flags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))`

  Class written just for autocompletion and type hinting.

  Lists dynamic attributes of the loaded window so that PyCharm can know that the following attributes exist in the loaded file.

  The class is then used for type hinting in the `WindowManager` class.

  init(self, parent: Optional[PySide6.QtWidgets.QWidget] = None, flags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> None

  Initialize self. See help(type(self)) for accurate signature.

  Expand source code

      class MainWindow(QMainWindow):
          """
          Class written just for autocompletion and type hinting.

          Lists dynamic attributes of the loaded window
          so that PyCharm can know that the following attributes
          exist in the loaded file.

          The class is then used for type hinting in the
          `WindowManager` class.

          """
          file_button: QPushButton
          button_csv_export: QPushButton
          button_txt_export: QPushButton
          list_widget: QListWidget

  ### Ancestors

  - PySide6.QtWidgets.QMainWindow
  - PySide6.QtWidgets.QWidget
  - PySide6.QtCore.QObject
  - PySide6.QtGui.QPaintDevice
  - Shiboken.Object

  ### Class variables

  `var button_csv_export : PySide6.QtWidgets.QPushButton`
  `var button_txt_export : PySide6.QtWidgets.QPushButton`
  `var file_button : PySide6.QtWidgets.QPushButton`
  `var list_widget : PySide6.QtWidgets.QListWidget`
  `var staticMetaObject`