#include <RegistryDialog.h>
Public Member Functions | |
| RegistryDialog () | |
| ~RegistryDialog () | |
| void | Spawn () |
Public Attributes | |
| GuiMainWindow * | fMainWindow |
| RegistryGui * | fRegistryGui |
| GuiTextButton * | fApply |
| GuiTextButton * | fOkay |
| GuiTextButton * | fCancel |
Midad/Base
Contact: bv@bnl.gov
Created on: Mon Oct 27 12:49:39 2003
Definition at line 24 of file RegistryDialog.h.
|
|
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 }
|
|
|
Definition at line 31 of file RegistryDialog.cxx. 00032 {
00033 }
|
|
|
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 }
|
|
|
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(). |
1.3.9.1