RegistryDialog Class Reference

#include <RegistryDialog.h>

List of all members.

Public Member Functions

 RegistryDialog ()
 ~RegistryDialog ()
void Spawn ()

Public Attributes

GuiMainWindowfMainWindow
RegistryGuifRegistryGui
GuiTextButtonfApply
GuiTextButtonfOkay
GuiTextButtonfCancel

Detailed Description

Id
RegistryDialog.h,v 1.1 2003/10/27 20:32:16 bv Exp

Definition at line 24 of file RegistryDialog.h.


Constructor & Destructor Documentation

RegistryDialog::RegistryDialog (  ) 

Definition at line 12 of file RegistryDialog.cxx.

References GuiCompositeFrameBase::Add(), fApply, fCancel, fMainWindow, fOkay, fRegistryGui, and GuiBase::SetLayoutHints().

00013 {
00014     fMainWindow = new GuiMainWindow(100,300);
00015     fRegistryGui = manage(new RegistryGui(*fMainWindow));
00016     fMainWindow->Add(*fRegistryGui);
00017 
00018     GuiBox* box = manage(new GuiBox(*fMainWindow,kHorizontalFrame));
00019     box->SetLayoutHints(kLHintsExpandX);
00020     fMainWindow->Add(*box);
00021     
00022     fApply = manage(new GuiTextButton(*box,"Apply"));
00023     box->Add(*fApply);
00024                                                                  
00025     fOkay = manage(new GuiTextButton(*box,"Okay"));
00026     box->Add(*fOkay);
00027 
00028     fCancel = manage(new GuiTextButton(*box,"Cancel"));
00029     box->Add(*fCancel);    
00030 }

RegistryDialog::~RegistryDialog (  ) 

Definition at line 31 of file RegistryDialog.cxx.

00032 {
00033 }


Member Function Documentation

void RegistryDialog::Spawn (  ) 

Definition at line 34 of file RegistryDialog.cxx.

References GuiButtonBase::clicked, GuiMainWindow::ConnectClose(), fCancel, fMainWindow, fOkay, and GuiMainWindow::ShowAll().

Referenced by PageDisplay::CandidateNames().

00035 {
00036     fOkay->clicked.connect(slot(*fMainWindow,
00037                                 &GuiMainWindow::SendCloseMessage));
00038     fCancel->clicked.connect(slot(*fMainWindow,
00039                                   &GuiMainWindow::SendCloseMessage));
00040     fMainWindow->ShowAll();
00041     fMainWindow->ConnectClose(true);
00042     fMainWindow->Resize(fMainWindow->GetDefaultWidth(),
00043                         fMainWindow->GetDefaultHeight());
00044 }


Member Data Documentation

Definition at line 31 of file RegistryDialog.h.

Referenced by PageDisplay::CandidateNames(), and RegistryDialog().

Definition at line 35 of file RegistryDialog.h.

Referenced by RegistryDialog(), and Spawn().

Definition at line 26 of file RegistryDialog.h.

Referenced by RegistryDialog(), and Spawn().

Definition at line 32 of file RegistryDialog.h.

Referenced by PageDisplay::CandidateNames(), RegistryDialog(), and Spawn().

Definition at line 27 of file RegistryDialog.h.

Referenced by PageDisplay::CandidateNames(), and RegistryDialog().


The documentation for this class was generated from the following files:

Generated on 11 Jan 2018 for loon by  doxygen 1.6.1