Base class for preference items to be used in a PrefsWindow. More...
#include <GUI/PrefsWindow.H>
Public Member Functions | |
PrefItem (PrefsWindow *pwin, const std::string &nm, bool pwinTakesOwnership=false) | |
virtual std::string | getName () const |
virtual void | fromString (const std::string &s)=0 |
virtual std::string | toString () const =0 |
virtual void | adjust (int val)=0 |
bool | isValueChanged () |
virtual bool | isDisabled () const =0 |
Protected Attributes | |
std::string | name |
bool | isChanged |
bool | wasDisabled |
Base class for preference items to be used in a PrefsWindow.
Definition at line 128 of file PrefsWindow.H.