#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 () |
| const char * | userInputProperty () |
Private Member Functions | |
| virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
Private Attributes | |
| int | _usedSize |
| int | _totalFreeSize |
| int | _newPartSize |
| int | _minNewPartSize |
| int | _minFreeSize |
| YCPString | _usedLabel |
| YCPString | _freeLabel |
| YCPString | _newPartLabel |
| YCPString | _freeFieldLabel |
| YCPString | _newPartFieldLabel |
| YPartitionSplitter::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 | |||
| ) |
Constructor
| virtual char* YPartitionSplitter::widgetClass | ( | ) | [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.
| void YPartitionSplitter::setValue | ( | int | newValue | ) | [virtual] |
Change the slider value.
Overload this, but call YPartitionSplitter::setValue() at the end of your own method.
| int YPartitionSplitter::usedSize | ( | ) | [inline] |
| int YPartitionSplitter::totalFreeSize | ( | ) | [inline] |
| int YPartitionSplitter::newPartSize | ( | ) | [inline] |
| int YPartitionSplitter::minNewPartSize | ( | ) | [inline] |
| int YPartitionSplitter::maxNewPartSize | ( | ) | [inline] |
| int YPartitionSplitter::minFreeSize | ( | ) | [inline] |
| int YPartitionSplitter::maxFreeSize | ( | ) | [inline] |
| int YPartitionSplitter::remainingFreeSize | ( | ) | [inline] |
| const YCPString YPartitionSplitter::usedLabel | ( | ) | [inline] |
| const YCPString YPartitionSplitter::freeLabel | ( | ) | [inline] |
| const YCPString YPartitionSplitter::newPartLabel | ( | ) | [inline] |
| const YCPString YPartitionSplitter::freeFieldLabel | ( | ) | [inline] |
| const YCPString YPartitionSplitter::newPartFieldLabel | ( | ) | [inline] |
| const char* YPartitionSplitter::shortcutProperty | ( | ) | [inline, virtual] |
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.
| const char* YPartitionSplitter::userInputProperty | ( | ) | [inline, virtual] |
| void YPartitionSplitter::saveUserInput | ( | YMacroRecorder * | macroRecorder | ) | [private, virtual] |
int YPartitionSplitter::_usedSize [private] |
int YPartitionSplitter::_totalFreeSize [private] |
int YPartitionSplitter::_newPartSize [private] |
int YPartitionSplitter::_minNewPartSize [private] |
int YPartitionSplitter::_minFreeSize [private] |
YCPString YPartitionSplitter::_usedLabel [private] |
YCPString YPartitionSplitter::_freeLabel [private] |
YCPString YPartitionSplitter::_newPartLabel [private] |
YCPString YPartitionSplitter::_freeFieldLabel [private] |
1.5.0