The job pull dow menu.
More...
#include <JobMenu.h>
The job pull dow menu.
Definition at line 22 of file JobMenu.h.
evdb::JobMenu::JobMenu |
( |
TGMenuBar * |
menubar, |
|
|
TGMainFrame * |
mf |
|
) |
| |
Definition at line 35 of file JobMenu.cxx.
41 fJobMenu =
new TGPopupMenu(gClient->GetRoot());
42 fLayout =
new TGLayoutHints(kLHintsTop | kLHintsLeft, 0, 4, 0, 0);
58 fJobMenu->Connect(
"Activated(Int_t)",
64 menubar->AddPopup(
"&Job",
fJobMenu,fLayout);
evdb::JobMenu::~JobMenu |
( |
| ) |
|
|
virtual |
void evdb::JobMenu::EditConfig |
( |
int |
cfg | ) |
|
void evdb::JobMenu::EditService |
( |
int |
cfg | ) |
|
void evdb::JobMenu::HandleMenu |
( |
int |
menu | ) |
|
int evdb::JobMenu::OpenJob |
( |
| ) |
|
|
private |
Definition at line 156 of file JobMenu.cxx.
160 static TString
dir(
"./");
161 char* dirchar =
getenv(
"SRT_PRIVATE_CONTEXT");
162 if(dirchar)
dir = dirchar;
163 const char* filetypes[] = {
164 "Configuration Files",
"*.fcl",
169 finfo.fIniDir = StrDup(
dir.Data());
170 finfo.fFileTypes = filetypes;
172 new TGFileDialog(gClient->GetRoot(),
176 if (finfo.fFilename == 0)
return 0;
std::string getenv(std::string const &name)
void evdb::JobMenu::ResetJob |
( |
| ) |
|
|
private |
Definition at line 97 of file JobMenu.cxx.
100 for (
unsigned int i=0;;++i) {
107 for (
unsigned int i=0; i<w.size(); ++i) {
Definition at line 80 of file JobMenu.cxx.
83 for (
unsigned int i=0;;++i) {
90 for (
unsigned int i=0; i<w.size(); ++i) {
TGPopupMenu* evdb::JobMenu::fConfigMenu |
|
private |
The module configuration menu.
Definition at line 44 of file JobMenu.h.
TGPopupMenu* evdb::JobMenu::fJobMenu |
|
private |
The file menu.
Definition at line 43 of file JobMenu.h.
TGLayoutHints* evdb::JobMenu::fLayout |
|
private |
How to layout the menu.
Definition at line 46 of file JobMenu.h.
TGPopupMenu* evdb::JobMenu::fServiceMenu |
|
private |
The user service configuration menu.
Definition at line 45 of file JobMenu.h.
The documentation for this class was generated from the following files: