libyui
 
Loading...
Searching...
No Matches
YPopupInternal Class Reference

Public Types

typedef std::vector< std::string > StringArray
 

Static Public Member Functions

static void message (const std::string &label)
 
static bool editStringArray (StringArray &array, const std::string &label)
 
static StringArray editNewStringArray (const std::string &label)
 

Member Function Documentation

◆ editNewStringArray()

YPopupInternal::StringArray YPopupInternal::editNewStringArray ( const std::string & label)
static

Display a popup dialog with 3 initially empty input fields

Parameters
labeltitle of the dialog
Returns
Entered values in a StringArray, if canceled the array is empty.

◆ editStringArray()

bool YPopupInternal::editStringArray ( StringArray & array,
const std::string & label )
static

Display a popup dialog with several input fields

Parameters
arrayfields to edit
labeltitle of the dialog
Returns
true if dialog was closed by [OK], false otherwise

◆ message()

void YPopupInternal::message ( const std::string & label)
static

Display a simple popup dialog with OK button

Parameters
labelthe message to display

The documentation for this class was generated from the following files: