def METHOD_NAME(self, TableViewWindow):
    TableViewWindow.setObjectName("TableViewWindow")
    TableViewWindow.resize(1254, 472)
    TableViewWindow.setMinimumSize(QtCore.QSize(0, 0))
    self.centralwidget = QtWidgets.QWidget(TableViewWindow)
    self.centralwidget.setObjectName("centralwidget")
    self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
    self.verticalLayout.setObjectName("verticalLayout")
    self.tableWayPoints = QtWidgets.QTableView(self.centralwidget)
    font = QtGui.QFont()
    font.setBold(False)
    font.setWeight(50)
    self.tableWayPoints.setFont(font)
    self.tableWayPoints.setDragEnabled(True)
    self.tableWayPoints.setDragDropMode(QtWidgets.QAbstractItemView.InternalMove)
    self.tableWayPoints.setDefaultDropAction(QtCore.Qt.CopyAction)
    self.tableWayPoints.setAlternatingRowColors(True)
    self.tableWayPoints.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
    self.tableWayPoints.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
    self.tableWayPoints.setObjectName("tableWayPoints")
    self.verticalLayout.addWidget(self.tableWayPoints)
    self.horizontalLayout = QtWidgets.QHBoxLayout()
    self.horizontalLayout.setObjectName("horizontalLayout")
    self.cbTools = QtWidgets.QComboBox(self.centralwidget)
    sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
    sizePolicy.setHorizontalStretch(0)
    sizePolicy.setVerticalStretch(0)
    sizePolicy.setHeightForWidth(self.cbTools.sizePolicy().hasHeightForWidth())
    self.cbTools.setSizePolicy(sizePolicy)
    self.cbTools.setBaseSize(QtCore.QSize(0, 0))
    self.cbTools.setObjectName("cbTools")
    self.cbTools.addItem("")
    self.horizontalLayout.addWidget(self.cbTools)
    spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
    self.horizontalLayout.addItem(spacerItem)
    self.label = QtWidgets.QLabel(self.centralwidget)
    self.label.setObjectName("label")
    self.horizontalLayout.addWidget(self.label)
    self.btAddWayPointToFlightTrack = QtWidgets.QPushButton(self.centralwidget)
    self.btAddWayPointToFlightTrack.setObjectName("btAddWayPointToFlightTrack")
    self.horizontalLayout.addWidget(self.btAddWayPointToFlightTrack)
    self.btCloneWaypoint = QtWidgets.QPushButton(self.centralwidget)
    self.btCloneWaypoint.setObjectName("btCloneWaypoint")
    self.horizontalLayout.addWidget(self.btCloneWaypoint)
    self.btDeleteWayPoint = QtWidgets.QPushButton(self.centralwidget)
    self.btDeleteWayPoint.setObjectName("btDeleteWayPoint")
    self.horizontalLayout.addWidget(self.btDeleteWayPoint)
    self.btInvertDirection = QtWidgets.QPushButton(self.centralwidget)
    self.btInvertDirection.setMinimumSize(QtCore.QSize(100, 0))
    self.btInvertDirection.setObjectName("btInvertDirection")
    self.horizontalLayout.addWidget(self.btInvertDirection)
    self.btRoundtrip = QtWidgets.QPushButton(self.centralwidget)
    self.btRoundtrip.setObjectName("btRoundtrip")
    self.horizontalLayout.addWidget(self.btRoundtrip)
    self.verticalLayout.addLayout(self.horizontalLayout)
    TableViewWindow.setCentralWidget(self.centralwidget)
    self.actionCloseWindow = QtWidgets.QAction(TableViewWindow)
    self.actionCloseWindow.setObjectName("actionCloseWindow")
    TableViewWindow.addAction(self.actionCloseWindow)
    self.retranslateUi(TableViewWindow)
    self.actionCloseWindow.triggered.connect(TableViewWindow.close)
    QtCore.QMetaObject.connectSlotsByName(TableViewWindow)