parsley.gui.app_main package

Submodules

parsley.gui.app_main.configitem module

class parsley.gui.app_main.configitem.ConfigItem(handler, **kwargs)

Bases: gi.overrides.Gtk.Box

Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.

Parameters

handler (ConfigItemHandler) –

_cleanup(toolbar=True, configbody=True, body=True)
_set_showbody_button(btn)
_trigger_add_item(config, aligntowidget)
_trigger_reload()
add_listener(listener)
property body_visible
property configobject
init_template(self)
lblhead = <gi._gtktemplate.Child object>
pnlbody = <gi._gtktemplate.Child object>
pnlbodyouter = <gi._gtktemplate.Child object>
pnlconfigbody = <gi._gtktemplate.Child object>
refresh()
toolbar = <gi._gtktemplate.Child object>
class parsley.gui.app_main.configitem.ConfigItemHandler(configobject)

Bases: object

_add_param(obj)
_ask_and_remove(lst, obj)
_change_type(obj)
_edit_attr(obj, attrname, question)
_edit_boolattr(obj, attrname)
_edit_param(obj, paramkey, paramvalue)
_remove_param(obj, paramkey)
_set_root_config(cfgfile, datadir)
property _toplevel_window
property configitem
property configobject
abstract get_css_classname()
Return type

str

abstract get_header_text()
Return type

str

init_ui(configitem)
Parameters

configitem (parsley.gui.app_main.configitem.ConfigItem) –

Return type

None

reload()
class parsley.gui.app_main.configitem.ConfigItemListener

Bases: object

add_item(config, aligntowidget)
reload()
class parsley.gui.app_main.configitem.CustomAspectConfigItemHandler(customaspect, **kwargs)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

Parameters

customaspect (parsley.config.config.ParsleyConfiguration.CustomAspect) –

__do_editcode(*_)
__do_remove(*_)
get_css_classname()
get_header_text()
init_ui(configitem)
class parsley.gui.app_main.configitem.FileIncludeConfigItemHandler(fileinclude, **kwargs)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

Parameters

fileinclude (parsley.config.config.ParsleyConfiguration.Include) –

__do_add(cfg, aligntowidget)
__do_remove(*_)
get_css_classname()
get_header_text()
init_ui(configitem)
class parsley.gui.app_main.configitem.LoggerConfigItemHandler(logger, **kwargs)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

Parameters

logger (parsley.config.config.ParsleyConfiguration.Logger) –

__do_remove(*_)
__gethandler_edit_attr(paramkey, question)
__gethandler_edit_boolattr(paramkey)
__gethandler_edit_formatter()
__gethandler_edit_formatter_param(paramkey, paramvalue)
__gethandler_edit_loggerout()
__gethandler_edit_loggerout_param(paramkey, paramvalue)
get_css_classname()
get_header_text()
init_ui(configitem)
class parsley.gui.app_main.configitem.ObjectConfigNode(**kwargs)

Bases: gi.overrides.Gtk.Button

do_get_property(pspec)
do_set_property(pspec, value)
label
class parsley.gui.app_main.configitem.ParamConfigNode(**kwargs)

Bases: gi.overrides.Gtk.Button

do_get_property(pspec)
do_set_property(pspec, value)
key_label
value_label
class parsley.gui.app_main.configitem.PythonImportConfigItemHandler(pythonimport, **kwargs)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

Parameters

pythonimport (parsley.config.config.ParsleyConfiguration.PythonImport) –

__do_remove(*_)
__gethandler_edit_attr(paramkey, question)
get_css_classname()
get_header_text()
init_ui(configitem)
class parsley.gui.app_main.configitem.SyncTaskConfigItemHandler(synctask, **kwargs)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

Parameters

synctask (parsley.config.config.ParsleyConfiguration.Sync) –

__call_parsley_tool(toolname)
Parameters

toolname (str) –

__do_config(btn, *_)
__do_conflicts(*_)
__do_remove(*_)
__do_report(*_)
__do_run(*_)
__gethandler_edit_aspect(aspect)
__gethandler_edit_aspect_param(aspect, paramkey, paramvalue)
__gethandler_edit_filesystem(filesystem)
__gethandler_edit_filesystem_aspect(filesystem, aspect)
__gethandler_edit_filesystem_aspect_param(aspect, paramkey, paramvalue)
__gethandler_edit_filesystem_param(filesystem, paramkey, paramvalue)
__gethandler_edit_general()
__gethandler_edit_param(paramkey, paramvalue)
__gethandler_edit_preparation(preparation)
__gethandler_edit_preparation_param(preparation, paramkey, paramvalue)
_add_aspect(parentlist)
_add_preparation()
_remove_aspect(parentlist, aspect)
_remove_preparation(preparation)
get_css_classname()
get_header_text()
init_ui(configitem)
class parsley.gui.app_main.configitem._DummyConfigItemHandler(configobject)

Bases: parsley.gui.app_main.configitem.ConfigItemHandler

get_css_classname()
get_header_text()
parsley.gui.app_main.configitem.configitems_for_config(rootconfig_cfgfile, rootconfig_datadir, config, reloadfct, additemfct, container)

parsley.gui.app_main.runsyncdialog module

class parsley.gui.app_main.runsyncdialog.RunSyncDialog(**kwargs)

Bases: gi.overrides.Gtk.Dialog

Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments.

__handle_dialogstate()
append_output(txt)
btncancel = <gi._gtktemplate.Child object>
bufferlog = <gi._gtktemplate.Child object>
do_get_property(pspec)
do_set_property(pspec, value)
init_template(self)
pnlsyncfailed = <gi._gtktemplate.Child object>
pnlsyncing = <gi._gtktemplate.Child object>
pnlsyncsucceeded = <gi._gtktemplate.Child object>
sync_failed
sync_succeeded

Module contents

The Parsley main user interface.

class parsley.gui.app_main.App

Bases: object

__about(*_)
__do_add(config, aligntowidget)
__do_add_customaspect(*_)
__do_add_fileinclude(*_)
__do_add_logger(*_)
__do_add_pythonimport(*_)
__do_add_synctask(*_)
__help(*_)
__openfile(filepath)
__openfiledialog(*_)
_populate()
show()
parsley.gui.app_main.run()