class_docstr: Form Dialog
class_docstr_tok: ["Form","Dialog"]
code: def accept(self):
      self.data = self.formwidget.get()
      self.apply_callback(self.data)
      super().accept()
  
imports: from ast import literal_eval
  import copy
  import datetime
  import logging
  from numbers import Integral, Real
  from matplotlib import _api, colors
  from matplotlib.backends.qt_compat import _to_int, QtGui, QtWidgets, QtCore
label_desc: Use image node_id 4 for calling the FormDialog obj's underlying member method code with example usage: obj.accept() without return types