libyui-qt  2.43.5
YQPartitionSplitter Class Reference
Collaboration diagram for YQPartitionSplitter:

List of all members.

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

Detailed Description

Definition at line 38 of file YQPartitionSplitter.h.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

Destructor.

Definition at line 117 of file YQPartitionSplitter.cc.


Member Function Documentation

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 138 of file YQPartitionSplitter.cc.

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.

Here is the call graph for this function:

void YQPartitionSplitter::setFreeSizeSlot ( int  newFreeSize) [slot]

Slot for setting the free size.

Definition at line 182 of file YQPartitionSplitter.cc.

Here is the call graph for this function:

Accept the keyboard focus.

Definition at line 202 of file YQPartitionSplitter.cc.

Here is the call graph for this function:

void YQPartitionSplitter::setNewPartSizeSlot ( int  newNewSize) [slot]

Slot for setting the new size.

Definition at line 193 of file YQPartitionSplitter.cc.

Here is the call graph for this function:

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.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables