Sqlite Browser can be open from Tools in the general tool bar of the software.
parent
65d30f01ae
commit
c38188f96e
|
|
@ -15,6 +15,9 @@ from Model.read_table_for_open import ReadTableForOpen
|
|||
from View.about_window import AboutWindow
|
||||
import settings as stg
|
||||
|
||||
import sys
|
||||
from subprocess import check_call
|
||||
|
||||
# from View.acoustic_data_tab import AcousticDataTab
|
||||
|
||||
from functools import partial
|
||||
|
|
@ -211,12 +214,7 @@ class Ui_MainWindow(object):
|
|||
self.centralwidget.addAction(self.actionDB_Browser_for_SQLite)
|
||||
|
||||
def db_browser_for_sqlite(self):
|
||||
import argparse
|
||||
import sys
|
||||
parser = argparse.ArgumentParser()
|
||||
print(parser)
|
||||
print(sys.argv[:])
|
||||
parser.parse_args()
|
||||
check_call("/usr/bin/sqlitebrowser")
|
||||
|
||||
def about_window(self):
|
||||
print("about")
|
||||
|
|
|
|||
Loading…
Reference in New Issue