dia-gov commited on
Commit
373ba9a
·
verified ·
1 Parent(s): 9c03fb4

Delete frontend/archive_gui2.py

Browse files
Files changed (1) hide show
  1. frontend/archive_gui2.py +0 -32
frontend/archive_gui2.py DELETED
@@ -1,32 +0,0 @@
1
- import os
2
- import sys
3
- from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QPushButton
4
- from PyQt5.QtCore import Qt
5
- from archive.archive_analyzer import analyze_sources
6
-
7
- class ArchiveGUI(QWidget):
8
- def __init__(self):
9
- super().__init__()
10
-
11
- self.initUI()
12
-
13
- def initUI(self):
14
- self.setGeometry(300, 300, 300, 200)
15
- self.setWindowTitle('Archive Analyzer')
16
-
17
- layout = QVBoxLayout()
18
-
19
- button = QPushButton('Analyze Sources')
20
- button.clicked.connect(self.analyze_sources)
21
- layout.addWidget(button)
22
-
23
- self.setLayout(layout)
24
-
25
- def analyze_sources(self):
26
- analyze_sources()
27
-
28
- if __name__ == '__main__':
29
- app = QApplication(sys.argv)
30
- ex = ArchiveGUI()
31
- ex.show()
32
- sys.exit(app.exec_())