|
| 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 () |
|
|
enum | { usedSegment = 0
, freeSegment = 1
, newPartSegment = 2
} |
|
◆ YQPartitionSplitter()
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 |
|
) |
| |
◆ ~YQPartitionSplitter()
YQPartitionSplitter::~YQPartitionSplitter |
( |
| ) |
|
◆ preferredHeight()
int YQPartitionSplitter::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQPartitionSplitter::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setEnabled()
void YQPartitionSplitter::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
◆ setFreeSizeSlot
void YQPartitionSplitter::setFreeSizeSlot |
( |
int |
newFreeSize | ) |
|
|
slot |
Slot for setting the free size.
◆ setKeyboardFocus()
bool YQPartitionSplitter::setKeyboardFocus |
( |
| ) |
|
|
virtual |
Accept the keyboard focus.
◆ setNewPartSizeSlot
void YQPartitionSplitter::setNewPartSizeSlot |
( |
int |
newNewSize | ) |
|
|
slot |
Slot for setting the new size.
◆ setSize()
void YQPartitionSplitter::setSize |
( |
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
◆ setValue()
void YQPartitionSplitter::setValue |
( |
int |
newValue | ) |
|
|
virtual |
Set the value (the size of the new partition).
Implemented from YPartitionSplitter.
◆ value()
int YQPartitionSplitter::value |
( |
| ) |
|
|
virtual |
Return the value (the size of the new partition).
Implemented from YPartitionSplitter.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQPartitionSplitter.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQPartitionSplitter.cc