File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8383 from qtpy .QtCore import QSize
8484 from qtpy .QtWidgets import QDialog , QWidget
8585
86- from guidata .dataset .qtwidgets import DataSetEditDialog
8786 from guidata .io import HDF5Reader , HDF5Writer , JSONReader , JSONWriter
8887
8988
@@ -1375,14 +1374,17 @@ def edit(
13751374 apply : Callable | None = None ,
13761375 wordwrap : bool = True ,
13771376 size : QSize | tuple [int , int ] | None = None ,
1378- ) -> DataSetEditDialog :
1377+ ) -> int :
13791378 """Open a dialog box to edit data set
13801379
13811380 Args:
13821381 parent: parent widget (default is None, meaning no parent)
13831382 apply: apply callback (default is None)
13841383 wordwrap: if True, comment text is wordwrapped
13851384 size: dialog size (QSize object or integer tuple (width, height))
1385+
1386+ Returns:
1387+ Dialog exit code.
13861388 """
13871389 # Importing those modules here avoids Qt dependency when
13881390 # guidata is used without Qt
You can’t perform that action at this time.
0 commit comments