ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TGPasswdDialog.h
Go to the documentation of this file.
1
// @(#)root/gui:$Id$
2
// Author: G. Ganis 10/10/2005
3
4
/*************************************************************************
5
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TGPasswdDialog
13
#define ROOT_TGPasswdDialog
14
15
16
#include "
Rtypes.h
"
17
18
class
TGTransientFrame
;
19
class
TGTextButton
;
20
class
TGTextEntry
;
21
class
TGTextBuffer
;
22
23
24
class
TGPasswdDialog
{
25
26
private
:
27
char
*
fPwdBuf
;
///< buffer where to store the passwd
28
Int_t
fPwdLenMax
;
///< passwd buffer length
29
TGTransientFrame
*
fDialog
;
///< main frame of this widget
30
TGTextButton
*
fOk
;
///< Ok button
31
TGTextEntry
*
fPasswd
;
///< Password TextEntry
32
TGTextBuffer
*
fPasswdText
;
///< Passwd Buffer
33
34
public
:
35
TGPasswdDialog
(
const
char
*prompt,
char
*pwdbuf,
Int_t
pwdlenmax,
36
UInt_t
w
= 400,
UInt_t
h
= 400);
37
virtual
~TGPasswdDialog
();
38
39
void
ReturnPressed
();
40
41
// slots
42
void
CloseWindow
();
43
void
DoClose
();
44
45
ClassDef
(
TGPasswdDialog
,0)
// Dialog for entering passwords
46
};
47
48
#endif
h
#define h(i)
Definition
RSha256.hxx:106
Rtypes.h
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:337
w
winID w
Definition
TGWin32VirtualGLProxy.cxx:39
TGPasswdDialog
Graphic dialog to enter passwords.
Definition
TGPasswdDialog.h:24
TGPasswdDialog::fOk
TGTextButton * fOk
Ok button.
Definition
TGPasswdDialog.h:30
TGPasswdDialog::ReturnPressed
void ReturnPressed()
Handle return.
Definition
TGPasswdDialog.cxx:149
TGPasswdDialog::fDialog
TGTransientFrame * fDialog
main frame of this widget
Definition
TGPasswdDialog.h:29
TGPasswdDialog::fPwdBuf
char * fPwdBuf
buffer where to store the passwd
Definition
TGPasswdDialog.h:27
TGPasswdDialog::DoClose
void DoClose()
Handle close button.
Definition
TGPasswdDialog.cxx:133
TGPasswdDialog::fPasswd
TGTextEntry * fPasswd
Password TextEntry.
Definition
TGPasswdDialog.h:31
TGPasswdDialog::fPasswdText
TGTextBuffer * fPasswdText
Passwd Buffer.
Definition
TGPasswdDialog.h:32
TGPasswdDialog::~TGPasswdDialog
virtual ~TGPasswdDialog()
Delete log window.
Definition
TGPasswdDialog.cxx:124
TGPasswdDialog::CloseWindow
void CloseWindow()
Called when closed via window manager action.
Definition
TGPasswdDialog.cxx:141
TGPasswdDialog::fPwdLenMax
Int_t fPwdLenMax
passwd buffer length
Definition
TGPasswdDialog.h:28
TGTextBuffer
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
Definition
TGTextBuffer.h:17
TGTextButton
Yield an action as soon as it is clicked.
Definition
TGButton.h:142
TGTextEntry
A TGTextEntry is a one line text input widget.
Definition
TGTextEntry.h:24
TGTransientFrame
Defines transient windows that typically are used for dialogs windows.
Definition
TGFrame.h:498
int
unsigned int
gui
gui
inc
TGPasswdDialog.h
ROOT master - Reference Guide Generated on Wed Aug 14 2024 14:54:15 (GVA Time) using Doxygen 1.9.8