CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
38  const char* filename, const char* windowname, const TGWindow* p = nullptr, UInt_t w = 1, UInt_t h = 1);
39  ~CmsShowSearchFiles() override;
40 
43 
44  //NOTE: Do not call any of the following, they are only public because 'signals' are attached to them
45  void showPrefixes();
46  void prefixChoosen(Int_t);
47  void fileEntryChanged(const char*);
48  void updateBrowser();
49  void openClicked();
50 
51  void hyperlinkClicked(const char*);
52 
54 
55 private:
56  void sendToWebBrowser(std::string& iWebFile);
57  void readInfo();
58  void readError();
59 
60  TGTextButton* m_choosePrefix;
61  TGPopupMenu* m_prefixMenu;
62  TGTextEntry* m_file;
64  std::vector<std::string> m_prefixes;
65  std::vector<bool> m_prefixComplete;
66  TGTextButton* m_openButton;
68 };
69 
70 #endif
const double w
Definition: UKUtility.cc:23
std::vector< bool > m_prefixComplete
ClassDefOverride(CmsShowSearchFiles, 0)
TGTextButton * m_choosePrefix
void fileEntryChanged(const char *)
TGPopupMenu * m_prefixMenu
TGTextButton * m_openButton
std::vector< std::string > m_prefixes
CmsShowSearchFiles(const char *filename, const char *windowname, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1)
void sendToWebBrowser(std::string &iWebFile)
void hyperlinkClicked(const char *)
tuple filename
Definition: lut2db_cfg.py:20
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
std::string chooseFileFromURL()
This opens the dialog window and returns once the user has choosen, returns an empty string if cancel...