libyui-qt
2.43.3
|
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.
YQPartitionSplitter::~YQPartitionSplitter | ( | ) |
Destructor.
Definition at line 117 of file YQPartitionSplitter.cc.
|
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.
|
slot |
Slot for setting the free size.
Definition at line 182 of file YQPartitionSplitter.cc.
|
virtual |
Accept the keyboard focus.
Definition at line 202 of file YQPartitionSplitter.cc.
|
slot |
Slot for setting the new size.
Definition at line 193 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.