bookmarker.main#

BookmarkerWidget, the main editor widget.

The editor is made up of ServerItemEditor, JobItemEditor and BookmarkItemEditor, and defines functionality needed saver and remove bookmark items to and from the user settings file.

Classes:

BookmarkerWidget([parent])

The main editor used to add or remove bookmark items, jobs and servers.

Functions:

close()

Closes the BookmarkerWidget editor.

show()

Shows the BookmarkerWidget editor.

class bookmarks.bookmarker.main.BookmarkerWidget(parent=None)[source]#

Bases: QDialog

The main editor used to add or remove bookmark items, jobs and servers.

Methods:

changeEvent(event)

Change event handler.

closeEvent(event)

Close event handler.

hideEvent(event)

Hide event handler.

init_data()

Initializes data.

job()

Get the selected job.

job_path()

Get the selected job path.

server()

Get the selected server.

showEvent(event)

Show event handler.

sizeHint()

Returns a size hint.

changeEvent(event)[source]#

Change event handler.

closeEvent(event)[source]#

Close event handler.

hideEvent(event)[source]#

Hide event handler.

init_data()[source]#

Initializes data.

job()[source]#

Get the selected job.

Returns:

The selected job.

Return type:

str

job_path()[source]#

Get the selected job path.

Returns:

The selected job path.

Return type:

str

server()[source]#

Get the selected server.

Returns:

The selected server.

Return type:

str

showEvent(event)[source]#

Show event handler.

sizeHint()[source]#

Returns a size hint.

bookmarks.bookmarker.main.close()[source]#

Closes the BookmarkerWidget editor.

bookmarks.bookmarker.main.show()[source]#

Shows the BookmarkerWidget editor.