26 #ifndef YQPartitionSplitter_h
27 #define YQPartitionSplitter_h
30 #include <yui/YPartitionSplitter.h>
53 const std::string & usedLabel,
54 const std::string & freeLabel,
55 const std::string & newPartLabel,
56 const std::string & freeFieldLabel,
57 const std::string & newPartFieldLabel );
76 virtual void setValue(
int newValue );
104 virtual void setSize(
int newWidth,
int newHeight );
147 #endif // YQPartitionSplitter_h
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.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
void setNewPartSizeSlot(int newNewSize)
Slot for setting the new size.
~YQPartitionSplitter()
Destructor.
virtual int preferredWidth()
Preferred width of the widget.
virtual void setValue(int newValue)
Set the value (the size of the new partition).
virtual int value()
Return the value (the size of the new partition).
void setFreeSizeSlot(int newFreeSize)
Slot for setting the free size.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.