2
* @class wosh::gui::DialogNetwork
3
* @brief User Login dialog.
6
* \image html extras/screenshots/WOSH.GUI.DialogNetwork.1.png "DialogNetwork: Password Authentication"
7
* \image html extras/screenshots/WOSH.GUI.DialogNetwork.2.png "DialogNetwork: OS Authentication"
9
****************************************************************************
10
* @version 0.8.499 $Id: DialogNetwork.h 3775 2011-01-01 16:38:17Z alex $
11
* @author Alessandro Polo
12
****************************************************************************/
13
/* Copyright (c) 2007-2011, WOSH - Wide Open Smart Home
14
* by Alessandro Polo - OpenSmartHome.com
15
* All rights reserved.
17
* Redistribution and use in source and binary forms, with or without
18
* modification, are permitted provided that the following conditions are met:
19
* * Redistributions of source code must retain the above copyright
20
* notice, this list of conditions and the following disclaimer.
21
* * Redistributions in binary form must reproduce the above copyright
22
* notice, this list of conditions and the following disclaimer in the
23
* documentation and/or other materials provided with the distribution.
24
* * Neither the name of the OpenSmartHome.com WOSH nor the
25
* names of its contributors may be used to endorse or promote products
26
* derived from this software without specific prior written permission.
28
* THIS SOFTWARE IS PROVIDED BY Alessandro Polo ''AS IS'' AND ANY
29
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
30
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
* DISCLAIMED. IN NO EVENT SHALL Alessandro Polo BE LIABLE FOR ANY
32
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
34
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
35
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
37
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
****************************************************************************/
40
#ifndef __WOSH_Gui_DialogNetwork_H__
41
#define __WOSH_Gui_DialogNetwork_H__
43
#include <core/Object.h>
44
#include <core/SecurityAuthentication.h>
45
#include <core/FileSystem.h>
46
#include <QtGui/QDialog>
47
#include <QAbstractTableModel>
56
class AuthenticationProviderPassword;
57
class AuthenticationProviderOS;
58
class AuthenticationProviderMedia;
63
class DialogNetwork : public QDialog, public Object
67
WOSH_CLASSNAME(wosh::gui::DialogNetwork)
70
DialogNetwork(QWidget *parent = 0);
71
virtual ~DialogNetwork();
77
void changeEvent(QEvent *e);
81
Ui::DialogNetwork *m_ui;
89
#endif //__WOSH_Gui_DialogNetwork_H__