test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CmsShowSearchFiles.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef Fireworks_Core_CmsShowSearchFiles_h
3 #define Fireworks_Core_CmsShowSearchFiles_h
4 //
5 // Package: Core
6 // Class : CmsShowSearchFiles
7 //
16 //
17 // Original Author:
18 // Created: Fri Jun 27 11:23:31 EDT 2008
19 //
20 
21 // system include files
22 #include "GuiTypes.h"
23 #include "TGFrame.h"
24 #include <string>
25 #include <vector>
26 
27 // forward declarations
28 
29 class FWHtml;
30 class TGComboBox;
31 class TGTextButton;
32 class TGPopupMenu;
33 class TGTextEntry;
34 
35 class CmsShowSearchFiles : public TGTransientFrame {
36 
37 public:
38 
39  CmsShowSearchFiles (const char *filename,
40  const char* windowname, const TGWindow* p = 0,
41  UInt_t w = 1, UInt_t h = 1);
42  virtual ~CmsShowSearchFiles();
43 
46 
47  //NOTE: Do not call any of the following, they are only public because 'signals' are attached to them
48  void showPrefixes();
49  void prefixChoosen(Int_t);
50  void fileEntryChanged(const char*);
51  void updateBrowser();
52  void openClicked();
53 
54  void hyperlinkClicked(const char*);
55 
57 
58 private:
59  void sendToWebBrowser(std::string& iWebFile);
60  void readInfo();
61  void readError();
62 
63  TGTextButton* m_choosePrefix;
64  TGPopupMenu* m_prefixMenu;
65  TGTextEntry* m_file;
67  std::vector<std::string> m_prefixes;
68  std::vector<bool> m_prefixComplete;
69  TGTextButton* m_openButton;
71 };
72 
73 
74 #endif
const double w
Definition: UKUtility.cc:23
std::vector< bool > m_prefixComplete
ClassDef(CmsShowSearchFiles, 0)
TGTextButton * m_choosePrefix
void fileEntryChanged(const char *)
TGPopupMenu * m_prefixMenu
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
TGTextButton * m_openButton
std::vector< std::string > m_prefixes
void sendToWebBrowser(std::string &iWebFile)
void hyperlinkClicked(const char *)
tuple filename
Definition: lut2db_cfg.py:20
std::string chooseFileFromURL()
This opens the dialog window and returns once the user has choosen, returns an empty string if cancel...
CmsShowSearchFiles(const char *filename, const char *windowname, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)