libyui  3.3.2
YPopupInternal Class Reference

Public Types

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

Static Public Member Functions

static void message (const std::string &label)
 Display a simple popup dialog with OK button. More...
 
static bool editStringArray (StringArray &array, const std::string &label)
 Display a popup dialog with several input fields. More...
 
static StringArray editNewStringArray (const std::string &label)
 Display a popup dialog with 3 initially empty input fields. More...
 

Detailed Description

Definition at line 21 of file YPopupInternal.h.

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.

Definition at line 138 of file YPopupInternal.cc.

Here is the call graph for this function:

◆ 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

Definition at line 71 of file YPopupInternal.cc.

Here is the call graph for this function:

◆ message()

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

Display a simple popup dialog with OK button.

Parameters
labelthe message to display

Definition at line 33 of file YPopupInternal.cc.

Here is the call graph for this function:

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