Skip to content
Snippets Groups Projects
Commit 55dabea4 authored by Destiny Kuehn's avatar Destiny Kuehn
Browse files

Made window resizable

parent 64b617e8
No related branches found
No related tags found
1 merge request!15ckMseed to PySide2
Pipeline #2284 failed with stage
in 1 minute and 46 seconds
......@@ -125,7 +125,7 @@ class MainWindow(QtWidgets.QWidget):
# WINDOW SETTINGS
self.setFixedSize(770, 546) # fixed size
self.resize(770, 546)
self.setWindowTitle("ckMseed " + VERSION)
# window layout
......@@ -1023,7 +1023,7 @@ class MainWindow(QtWidgets.QWidget):
text = key + "\t" + str(num_big) + "\t" + str(num_little)
if not self.scan_type:
passgit
pass
else:
start = time.strftime('%Y:%j:%H:%M:%S', time.gmtime(
self.stat_chan_loc_dict[key][0][0]))
......@@ -1511,12 +1511,14 @@ class MainWindow(QtWidgets.QWidget):
else:
# noqa: E501
start = time.strftime('%Y:%j:%H:%M:%S',
time.gmtime(
self.stat_chan_loc_dict[key][0][0]))
time.gmtime(
self.stat_chan_loc_dict[key][0][0]
))
# noqa: E501
end = time.strftime('%Y:%j:%H:%M:%S',
time.gmtime(
self.stat_chan_loc_dict[key][0][1]))
time.gmtime(
self.stat_chan_loc_dict[key][0][1]
))
templist = list(map(str, (start, end)))
text = key + numspace * \
SPACE + " ".join(templist)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment