bookmarker.server_editor#
Editor widget used by
BookmarkerWidget
to select and save a new server item.
Classes:
|
Dialog used to add a new server to user settings file. |
|
Context menu associated with |
|
List widget used to add and remove servers to and from the local user settings. |
- class bookmarks.bookmarker.server_editor.AddServerEditor(parent=None)[source]#
Bases:
QDialog
Dialog used to add a new server to user settings file.
Methods:
- class bookmarks.bookmarker.server_editor.ServerContextMenu(index, parent=None)[source]#
Bases:
BaseContextMenu
Context menu associated with
ServerItemEditor
.Methods:
add_menu
()Add server action.
Refresh server list action.
Remove server item action.
Reveal server item action.
setup
()Creates the context menu.
Add server action.
Refresh server list action.
Remove server item action.
Reveal server item action.
- class bookmarks.bookmarker.server_editor.ServerItemEditor(parent=None)[source]#
Bases:
ListWidget
List widget used to add and remove servers to and from the local user settings.
Methods:
add
(*args, **kwargs)Add a server item.
contextMenuEvent
(event)Context menu event handler.
init_data
(*args, **kwargs)Load data.
remove
(*args, **kwargs)Remove a server item.
validate_item
(item)Check if the given server item is valid.