|
libyui-qt
2.43.5
|

Public Slots | |
| void | setFreeSizeSlot (int newFreeSize) |
| void | setNewPartSizeSlot (int newNewSize) |
Public Member Functions | |
| YQPartitionSplitter (YWidget *parent, int usedSize, int freeSize, int newPartSize, int minNewPartSize, int minFreeSize, const std::string &usedLabel, const std::string &freeLabel, const std::string &newPartLabel, const std::string &freeFieldLabel, const std::string &newPartFieldLabel) | |
| ~YQPartitionSplitter () | |
| virtual int | value () |
| virtual void | setValue (int newValue) |
| virtual void | setEnabled (bool enabled) |
| virtual int | preferredWidth () |
| virtual int | preferredHeight () |
| virtual void | setSize (int newWidth, int newHeight) |
| virtual bool | setKeyboardFocus () |
Protected Types | |
| enum | { usedSegment = 0, freeSegment = 1, newPartSegment = 2 } |
Protected Attributes | |
| YLayoutBox * | _vbox |
| YQBarGraph * | _barGraph |
| YLayoutBox * | _hbox |
| YQSlider * | _freeSizeSlider |
| YQIntField * | _newPartField |
Definition at line 38 of file YQPartitionSplitter.h.
| YQPartitionSplitter::YQPartitionSplitter | ( | YWidget * | parent, |
| int | usedSize, | ||
| int | freeSize, | ||
| int | newPartSize, | ||
| int | minNewPartSize, | ||
| int | minFreeSize, | ||
| const std::string & | usedLabel, | ||
| const std::string & | freeLabel, | ||
| const std::string & | newPartLabel, | ||
| const std::string & | freeFieldLabel, | ||
| const std::string & | newPartFieldLabel | ||
| ) |
Constructor.
Definition at line 41 of file YQPartitionSplitter.cc.

Destructor.
Definition at line 117 of file YQPartitionSplitter.cc.
| int YQPartitionSplitter::preferredHeight | ( | ) | [virtual] |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 138 of file YQPartitionSplitter.cc.
| int YQPartitionSplitter::preferredWidth | ( | ) | [virtual] |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 132 of file YQPartitionSplitter.cc.
| void YQPartitionSplitter::setEnabled | ( | bool | enabled | ) | [virtual] |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 123 of file YQPartitionSplitter.cc.

| void YQPartitionSplitter::setFreeSizeSlot | ( | int | newFreeSize | ) | [slot] |
Slot for setting the free size.
Definition at line 182 of file YQPartitionSplitter.cc.

| bool YQPartitionSplitter::setKeyboardFocus | ( | ) | [virtual] |
Accept the keyboard focus.
Definition at line 202 of file YQPartitionSplitter.cc.

| void YQPartitionSplitter::setNewPartSizeSlot | ( | int | newNewSize | ) | [slot] |
Slot for setting the new size.
Definition at line 193 of file YQPartitionSplitter.cc.

| void YQPartitionSplitter::setSize | ( | int | newWidth, |
| int | newHeight | ||
| ) | [virtual] |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 144 of file YQPartitionSplitter.cc.
| void YQPartitionSplitter::setValue | ( | int | newValue | ) | [virtual] |
Set the value (the size of the new partition).
Implemented from YPartitionSplitter.
Definition at line 159 of file YQPartitionSplitter.cc.
| int YQPartitionSplitter::value | ( | ) | [virtual] |
Return the value (the size of the new partition).
Implemented from YPartitionSplitter.
Definition at line 151 of file YQPartitionSplitter.cc.
