mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-04 12:59:11 -04:00
beginning ServerStatus layout
This commit is contained in:
parent
78f6c31061
commit
d519e62b93
9 changed files with 68 additions and 5 deletions
|
@ -12,6 +12,7 @@ except ImportError:
|
|||
from onionshare import strings, helpers, web
|
||||
|
||||
from file_selection import FileSelection
|
||||
from server_status import ServerStatus
|
||||
|
||||
class Application(QtGui.QApplication):
|
||||
def __init__(self):
|
||||
|
@ -36,9 +37,13 @@ class OnionShareGui(QtGui.QWidget):
|
|||
for filename in self.filenames:
|
||||
file_selection.file_list.add_file(filename)
|
||||
|
||||
# server status
|
||||
server_status = ServerStatus()
|
||||
|
||||
# main layout
|
||||
self.layout = QtGui.QVBoxLayout()
|
||||
self.layout.addLayout(file_selection)
|
||||
self.layout.addLayout(server_status)
|
||||
self.setLayout(self.layout)
|
||||
self.show()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue