libyui-ncurses  2.44.1
NCAskForFile Class Reference
Inheritance diagram for NCAskForFile:
Collaboration diagram for NCAskForFile:

List of all members.

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)
NCursesEventshowDirPopup ()
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

NCFileTablefileList
NCInputFieldfileName

Detailed Description

Definition at line 43 of file NCAskForFile.h.


Member Function Documentation

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]

Set the default size

Reimplemented from NCDialog.

Definition at line 242 of file NCAskForFile.cc.

Shows the popup with the std::list of directories.

Definition at line 212 of file NCAskForFile.cc.

Here is the call graph for this function:

Show new file information

Definition at line 263 of file NCAskForFile.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables