wwWidgets Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QwwLoginBox Class Reference
[wwWidgets module]

The QwwLoginBox class provides a login form with configurable set of fields for logging into different types of services. More...

 #include <QwwLoginBox>

Public Types

Properties

Public Functions

Public Slots


Detailed Description

The QwwLoginBox class provides a login form with configurable set of fields for logging into different types of services.


Member Type Documentation

enum QwwLoginBox::Field
flags QwwLoginBox::Fields

ConstantValueDescription
QwwLoginBox::NoFields0x0No fields are visible
QwwLoginBox::HostField0x1Host name
QwwLoginBox::PortField0x2Port number
QwwLoginBox::UserField0x4User (login)
QwwLoginBox::PasswordField0x8Password
QwwLoginBox::RepeatPasswordField0x10Password confirmation
QwwLoginBox::RememberPasswordField0x20"Remember password" checkbox
QwwLoginBox::ProxyField0x40Network proxy group

The Fields type is a typedef for QFlags<Field>. It stores an OR combination of Field values.


Property Documentation

fields : Fields

This property holds this property holds the set of fields visible in the box.

Access functions:

host : QString

This property holds this property holds the host set in the box.

Access functions:

port : int

This property holds this property holds the port set in the box.

Access functions:

proxyEnabled : bool

This property holds the property holds whether the proxy field is enabled.

Access functions:

rememberPassword : bool

This property holds the property holds whether the "remember password" checkbox is visible and checked.

Access functions:

user : const QString

This property holds this property holds the user set in the box.

Access functions:


Member Function Documentation

QwwLoginBox::QwwLoginBox ( QWidget * parent = 0 )

Constructs a login box with a given parent.

bool QwwLoginBox::isProxyRepeatCorrect () const

Returns whether both password fields in the proxy section contain the same data.

bool QwwLoginBox::isRepeatCorrect () const

Returns whether both password fields contain the same data.

QString QwwLoginBox::password () const

Returns the password set in the box.

void QwwLoginBox::setUser ( const QString & user, const QString & password = QString::null )   [slot]

Sets the user and password set in the box.

See also user().


Copyright © 2007-2009 Witold Wysota Trademarks
wwWidgets 0.9.6