#include <YPartitionSplitter.h>
Inheritance diagram for YPartitionSplitter:
Public Member Functions | |
YPartitionSplitter (const YWidgetOpt &opt, int usedSize, int totalFreeSize, int newPartSize, int minNewPartSize, int minFreeSize, const YCPString &usedLabel, const YCPString &freeLabel, const YCPString &newPartLabel, const YCPString &freeFieldLabel, const YCPString &newPartFieldLabel) | |
virtual char * | widgetClass () |
YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newValue) |
YCPValue | queryWidget (const YCPSymbol &property) |
virtual void | setValue (int newValue) |
int | usedSize () |
int | totalFreeSize () |
int | newPartSize () |
int | minNewPartSize () |
int | maxNewPartSize () |
int | minFreeSize () |
int | maxFreeSize () |
int | remainingFreeSize () |
const YCPString | usedLabel () |
const YCPString | freeLabel () |
const YCPString | newPartLabel () |
const YCPString | freeFieldLabel () |
const YCPString | newPartFieldLabel () |
const char * | shortcutProperty () |
Private Member Functions | |
virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
Private Attributes | |
int | _usedSize |
int | _totalFreeSize |
int | _newPartSize |
int | _minNewPartSize |
int | _minFreeSize |
const YCPString & | _usedLabel |
const YCPString & | _freeLabel |
const YCPString & | _newPartLabel |
const YCPString & | _freeFieldLabel |
const YCPString & | _newPartFieldLabel |
|
Constructor |
|
Implements the ChangeWidget() UI command. integer Value the numerical value Reimplemented from YWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements the QueryWidget() UI command. Reimplemented from YWidget. |
|
|
|
Save the widget's user input to a macro recorder. Intentionally declared as "private" so all macro recording internals are handled by the abstract libyui level, not by a specific UI. Reimplemented from YWidget. |
|
Change the slider value. Overload this, but call YPartitionSplitter::setValue() at the end of your own method. |
|
The name of the widget property that holds the keyboard shortcut. Inherited from YWidget. This widget is a special case: It has several subwidgets that might get a keyboard shortcut ( yet none of them can be set later with UI::ChangeWidget() ). It ( currently ) cannot be treated properly in the shortcut checker / shortcut conflict resolver. This function is overwritten here merely for the sake of completeness. Reimplemented from YWidget. |
|
|
|
|
|
|
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|