libyui-ncurses
2.44.1
|
Public Member Functions | |
NCAskForFile (const wpos at, const std::string &startDir, const std::string &filter, const std::string &headline) | |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
void | createLayout (const std::string &iniDir, const std::string &filter, const std::string &headline, bool editable) |
NCursesEvent & | showDirPopup () |
void | updateFileList () |
Protected Member Functions | |
virtual bool | postAgain () |
virtual NCursesEvent | wHandleInput (wint_t ch) |
virtual std::string | getFileName ()=0 |
std::string | checkIniDir (std::string startDir) |
Protected Attributes | |
NCFileTable * | fileList |
NCInputField * | fileName |
Definition at line 43 of file NCAskForFile.h.
void NCAskForFile::createLayout | ( | const std::string & | iniDir, |
const std::string & | filter, | ||
const std::string & | headline, | ||
bool | editable | ||
) |
Create layout of file selection popup iniDir: The initial start directory filter: pattern what files to show headline: popup headline editable: file name field editable?
Definition at line 107 of file NCAskForFile.cc.
int NCAskForFile::preferredWidth | ( | ) | [virtual] |
Shows the popup with the std::list of directories.
Definition at line 212 of file NCAskForFile.cc.
void NCAskForFile::updateFileList | ( | ) |
Show new file information
Definition at line 263 of file NCAskForFile.cc.