OpenMS
2.4.0
|
Dialog which allows to specify a list of input files. More...
#include <OpenMS/VISUAL/DIALOGS/TOPPASInputFilesDialog.h>
Public Slots | |
void | showFileDialog () |
Lets the user select files via a file dialog. More... | |
void | removeSelected () |
Removes all currently selected files from the list. More... | |
void | removeAll () |
Removes all files from the list. More... | |
void | editCurrentItem () |
Shows a TOPPASInputFileDialog which edits the current item. More... | |
void | moveCurrentItem () |
Moves the current item up/downwards. More... | |
Public Member Functions | |
TOPPASInputFilesDialog (const QStringList &list, const QString &cwd) | |
Constructor. More... | |
~TOPPASInputFilesDialog () | |
void | dragEnterEvent (QDragEnterEvent *e) override |
support drag'n'drop of files from OS window manager More... | |
void | dropEvent (QDropEvent *e) override |
support drag'n'drop of files from OS window manager More... | |
void | getFilenames (QStringList &files) const |
Stores the list of all filenames in the list widget in files . More... | |
const QString & | getCWD () const |
get the CWD (according to most recently added file) More... | |
void | keyPressEvent (QKeyEvent *e) override |
support Ctrl+C to copy currently selected items to clipboard More... | |
Protected Attributes | |
QString | cwd_ |
current working dir, i.e. the last position a file was added from More... | |
Private Attributes | |
Ui::TOPPASInputFilesDialogTemplate * | ui_ |
Dialog which allows to specify a list of input files.
TOPPASInputFilesDialog | ( | const QStringList & | list, |
const QString & | cwd | ||
) |
Constructor.
|
override |
support drag'n'drop of files from OS window manager
|
override |
support drag'n'drop of files from OS window manager
|
slot |
Shows a TOPPASInputFileDialog which edits the current item.
const QString& getCWD | ( | ) | const |
get the CWD (according to most recently added file)
void getFilenames | ( | QStringList & | files | ) | const |
Stores the list of all filenames in the list widget in files
.
|
override |
support Ctrl+C to copy currently selected items to clipboard
|
slot |
Moves the current item up/downwards.
|
slot |
Removes all files from the list.
|
slot |
Removes all currently selected files from the list.
|
slot |
Lets the user select files via a file dialog.
|
protected |
current working dir, i.e. the last position a file was added from
|
private |