gui
This commit is contained in:
parent
ebc38b6a07
commit
a2150f8ad1
15
hlna.py
15
hlna.py
@ -3,7 +3,6 @@ import os
|
||||
import re
|
||||
import sys
|
||||
import zlib
|
||||
import signal
|
||||
import struct
|
||||
import logging
|
||||
import datetime
|
||||
@ -926,20 +925,6 @@ class HlnaApp(QtWidgets.QMainWindow, hlnaui.Ui_mainWindow):
|
||||
self.setupUi(self)
|
||||
|
||||
|
||||
def addNewTab(self):
|
||||
newTab = QtWidgets.QWidget()
|
||||
oldTab = self.tab_ark_map.widget(0)
|
||||
oldTabLayout = oldTab.layout()
|
||||
newTab.setLayout(oldTabLayout)
|
||||
self.tab_ark_map.addTab(newTab, "Tab " + str(self.tab_ark_map.count() + 1))
|
||||
self.tab_ark_map.setCurrentIndex(self.tab_ark_map.count() - 1)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def hlnag():
|
||||
if len(sys.argv) > 1:
|
||||
hlna()
|
||||
|
Loading…
Reference in New Issue
Block a user