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
void setNewPartSizeSlot(int newNewSize)
Slot for setting the new size.
virtual int value()
Return the value (the size of the new partition).
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
~YQPartitionSplitter()
Destructor.
virtual void setValue(int newValue)
Set the value (the size of the new partition).
void setFreeSizeSlot(int newFreeSize)
Slot for setting the free size.
virtual int preferredHeight()
Preferred height of the widget.
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 int preferredWidth()
Preferred width of the widget.