libyui-qt
2.46.13
|
Public Slots | |
void | setFreeSizeSlot (int newFreeSize) |
Slot for setting the free size. | |
void | setNewPartSizeSlot (int newNewSize) |
Slot for setting the new size. | |
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) | |
Constructor. | |
~YQPartitionSplitter () | |
Destructor. | |
virtual int | value () |
Return the value (the size of the new partition). More... | |
virtual void | setValue (int newValue) |
Set the value (the size of the new partition). More... | |
virtual void | setEnabled (bool enabled) |
Set enabled/disabled state. More... | |
virtual int | preferredWidth () |
Preferred width of the widget. More... | |
virtual int | preferredHeight () |
Preferred height of the widget. More... | |
virtual void | setSize (int newWidth, int newHeight) |
Set the new size of the widget. More... | |
virtual bool | setKeyboardFocus () |
Accept the keyboard focus. | |
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.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 138 of file YQPartitionSplitter.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 132 of file YQPartitionSplitter.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 123 of file YQPartitionSplitter.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 144 of file YQPartitionSplitter.cc.
|
virtual |
Set the value (the size of the new partition).
Implemented from YPartitionSplitter.
Definition at line 159 of file YQPartitionSplitter.cc.
|
virtual |
Return the value (the size of the new partition).
Implemented from YPartitionSplitter.
Definition at line 151 of file YQPartitionSplitter.cc.