mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Sqlite Browser can be open from Tools in the general tool bar of the software.
This commit is contained in:
1 parent
65d30f01ae
commit
c38188f96e
1 file changed
+4
-6
+4
-6
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user