eric7.ViewManager.BookmarkedFilesDialog

Module implementing a configuration dialog for the bookmarked files menu.

Global Attributes

None

Classes

BookmarkedFilesDialog Class implementing a configuration dialog for the bookmarked files menu.

Functions

None


BookmarkedFilesDialog

Class implementing a configuration dialog for the bookmarked files menu.

Derived from

QDialog, Ui_BookmarkedFilesDialog

Class Attributes

None

Class Methods

None

Methods

BookmarkedFilesDialog Constructor
__swap Private method used two swap two list entries given by their index.
getBookmarkedFiles Public method to retrieve the tools list.
on_addButton_clicked Private slot to add a new entry.
on_changeButton_clicked Private slot to change an entry.
on_deleteButton_clicked Private slot to delete the selected entry.
on_downButton_clicked Private slot to move an entry down in the list.
on_filePicker_textChanged Private slot to handle the textChanged signal of the file edit.
on_filesList_currentRowChanged Private slot to set the lineedit depending on the selected entry.
on_upButton_clicked Private slot to move an entry up in the list.

Static Methods

None

BookmarkedFilesDialog (Constructor)

BookmarkedFilesDialog(bookmarks, parent=None)

Constructor

bookmarks (list of str)
list of bookmarked files
parent (QWidget)
parent widget

BookmarkedFilesDialog.__swap

__swap(itm1, itm2)

Private method used two swap two list entries given by their index.

itm1 (int)
index of first entry
itm2 (int)
index of second entry

BookmarkedFilesDialog.getBookmarkedFiles

getBookmarkedFiles()

Public method to retrieve the tools list.

Return:
a list of filenames
Return Type:
list of str

BookmarkedFilesDialog.on_addButton_clicked

on_addButton_clicked()

Private slot to add a new entry.

BookmarkedFilesDialog.on_changeButton_clicked

on_changeButton_clicked()

Private slot to change an entry.

BookmarkedFilesDialog.on_deleteButton_clicked

on_deleteButton_clicked()

Private slot to delete the selected entry.

BookmarkedFilesDialog.on_downButton_clicked

on_downButton_clicked()

Private slot to move an entry down in the list.

BookmarkedFilesDialog.on_filePicker_textChanged

on_filePicker_textChanged(txt)

Private slot to handle the textChanged signal of the file edit.

txt (str)
the text of the file edit

BookmarkedFilesDialog.on_filesList_currentRowChanged

on_filesList_currentRowChanged(row)

Private slot to set the lineedit depending on the selected entry.

row (int)
the current row

BookmarkedFilesDialog.on_upButton_clicked

on_upButton_clicked()

Private slot to move an entry up in the list.

Up