BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
BALL::VIEW::NetworkPreferences Class Reference

#include <BALL/VIEW/DIALOGS/networkPreferences.h>

Inheritance diagram for BALL::VIEW::NetworkPreferences:
QWidget BALL::VIEW::PreferencesEntry

Public Slots

void proxyModeChanged (int proxy_mode)
 

Public Member Functions

 NetworkPreferences (QWidget *parent=NULL, const char *name="NetworkPreferences", Qt::WFlags fl=0)
 Default Constructor. More...
 
virtual ~NetworkPreferences ()
 Destructor. More...
 
void applySettings ()
 
void getSettings ()
 
bool proxyEnabled ()
 
- Public Member Functions inherited from BALL::VIEW::PreferencesEntry
 PreferencesEntry ()
 
virtual ~PreferencesEntry ()
 
virtual void writePreferenceEntries (INIFile &inifile)
 Store the settings of all registered objects. More...
 
virtual void readPreferenceEntries (const INIFile &inifile)
 Restore the settings of all registered objects. More...
 
void setINIFileSectionName (const String &name)
 Set the name for the section in the INIFile. More...
 
const StringgetINIFileSectionName () const
 Get the name for the section in the INIFile. More...
 
void setWidgetStackName (const String &name)
 
StackPagesgetStackPages ()
 Return all pages, that are to be shown in a parent QStackedWidget. More...
 
void setWidgetStack (QStackedWidget *stack)
 
virtual void showStackPage (Position nr)
 Show the specified page in the QStackedWidget. More...
 
virtual void showStackPage (QWidget *widget)
 Show the specified page in the QStackedWidget. More...
 
virtual Position currentStackPage () const
 Get the currently shown page in the QStackedWidget. More...
 
virtual void restoreDefaultValues (bool all=false)
 Set all registered objects to their default values. More...
 
virtual void storeValues ()
 
virtual void restoreValues (bool all=false)
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual bool setValueAllowed (QObject *)
 Allows to prevent restoring of widgets. More...
 

Additional Inherited Members

- Public Types inherited from BALL::VIEW::PreferencesEntry
typedef std::list< std::pair
< QWidget *, String > > 
StackPages
 
- Protected Types inherited from BALL::VIEW::PreferencesEntry
typedef HashMap< const QObject
*, String
ValueMap
 
- Protected Member Functions inherited from BALL::VIEW::PreferencesEntry
void registerWidgets_ ()
 
void registerObject_ (QObject *widget)
 
void unregisterObject_ (QObject *widget)
 
void registerWidgetForHelpSystem_ (const QWidget *widget, const String &url)
 
void restoreValues_ (bool all, const ValueMap &map)
 
void insertStackEntry_ (QWidget *, const String &name)
 
bool isSupported_ (QObject &widget)
 
bool getValue_ (const QObject *widget, String &value)
 
bool setValue_ (QObject *widget, const String &value)
 
- Protected Attributes inherited from BALL::VIEW::PreferencesEntry
String inifile_section_name_
 
HashSet< QObject * > registered_objects_
 
ValueMap default_values_
 
ValueMap last_values_
 
QStackedWidget * widget_stack_
 
StackPages stack_pages_
 

Detailed Description

NeworkPreferences is a widget that will be inserted into the tab dialog Preferences.

Definition at line 29 of file networkPreferences.h.

Constructor & Destructor Documentation

BALL::VIEW::NetworkPreferences::NetworkPreferences ( QWidget parent = NULL,
const char *  name = "NetworkPreferences",
Qt::WFlags  fl = 0 
)

Default Constructor.

virtual BALL::VIEW::NetworkPreferences::~NetworkPreferences ( )
virtual

Destructor.

Member Function Documentation

void BALL::VIEW::NetworkPreferences::applySettings ( )
void BALL::VIEW::NetworkPreferences::getSettings ( )
bool BALL::VIEW::NetworkPreferences::proxyEnabled ( )
void BALL::VIEW::NetworkPreferences::proxyModeChanged ( int  proxy_mode)
slot