[renaming] and a chunk size constant
This commit is contained in:
parent
372572a7ed
commit
ce756b5327
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
@ -10,6 +10,8 @@ settings_recent_files_key = "/".join([organization, application, "recent_files"]
|
|||||||
settings_recent_file_max_count_key = "/".join([organization, application, "recent_files_max_count"])
|
settings_recent_file_max_count_key = "/".join([organization, application, "recent_files_max_count"])
|
||||||
settings_recent_file_max_count = 10
|
settings_recent_file_max_count = 10
|
||||||
|
|
||||||
|
io_chunksize = 10000000
|
||||||
|
|
||||||
PACKAGE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
|
PACKAGE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
|
||||||
ICONS_FOLDER = os.path.join(PACKAGE_ROOT, "icons")
|
ICONS_FOLDER = os.path.join(PACKAGE_ROOT, "icons")
|
||||||
DOCS_ROOT_FILE = os.path.join(PACKAGE_ROOT, "docs", "index.md")
|
DOCS_ROOT_FILE = os.path.join(PACKAGE_ROOT, "docs", "index.md")
|
||||||
|
@ -23,9 +23,9 @@ class CentralWidget(QWidget):
|
|||||||
self._stack.setCurrentIndex(1)
|
self._stack.setCurrentIndex(1)
|
||||||
self._file_view.update()
|
self._file_view.update()
|
||||||
|
|
||||||
def plot_item(self, item):
|
def plot_item(self, item_descriptor):
|
||||||
self._stack.setCurrentIndex(2)
|
self._stack.setCurrentIndex(2)
|
||||||
self._plot_screen.plot(item)
|
self._plot_screen.plot(item_descriptor)
|
||||||
|
|
||||||
def on_plot_close(self):
|
def on_plot_close(self):
|
||||||
self._stack.setCurrentIndex(1)
|
self._stack.setCurrentIndex(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user