KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVFileDialog.h
1#ifndef ROOT_KVFileDialog
2#define ROOT_KVFileDialog
3
27#ifndef ROOT_TGFrame
28#include "TGFrame.h"
29#endif
30#include "TGFileDialog.h"
31
32enum EKVFileDialogMode {
33 kKVFDOpen,
34 kKVFDDirectory,
35 kKVFDSave
36};
37
38
39class TGTextBuffer;
40class TGTextEntry;
41class TGComboBox;
42class TGPictureButton;
43class TGTextButton;
44class TGCheckButton;
45class TGListView;
46class TGFileContainer;
47class TGFSComboBox;
48
50
51protected:
71 EKVFileDialogMode fDlgMode;
72private:
73 KVFileDialog(const KVFileDialog&); // not implemented
74 KVFileDialog& operator=(const KVFileDialog&); // not implemented
75
76public:
77 KVFileDialog(const TGWindow* p = 0, const TGWindow* main = 0,
78 EKVFileDialogMode dlg_type = kKVFDOpen, TGFileInfo* file_info = 0);
79 virtual ~KVFileDialog();
80
81 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
82 virtual void CloseWindow();
83
84 ClassDef(KVFileDialog, 0) //File or directory selection dialog
85};
86
87#endif
long Long_t
bool Bool_t
#define ClassDef(name, id)
Modified version of TGFileDialog file selection dialog.
TGPictureButton * fNewf
top toolbar button
virtual ~KVFileDialog()
Delete file dialog.
TGPictureButton * fList
top toolbar button
const TGPicture * fPlist
picture for fList
TGTextBuffer * fTbfname
text buffer of file name
TGTextButton * fOk
ok button
TGPictureButton * fCdup
top toolbar button
TGCheckButton * fCheckB
KVFileDialog & operator=(const KVFileDialog &)
KVFileDialog(const KVFileDialog &)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process messages generated by the user input in the file dialog.
TGTextEntry * fName
file name text entry
TGFileInfo * fFileInfo
file info passed to this dialog
EKVFileDialogMode fDlgMode
TGComboBox * fTypes
file type combo box
TGFSComboBox * fTreeLB
file system path combo box
TGListView * fFv
file list view
TGPictureButton * fDetails
top toolbar button
TGTextButton * fCancel
cancel button
const TGPicture * fPcdup
OR set on/off multiple file selection for SaveAs dialog.
TGFileContainer * fFc
file list view container (containing the files)
virtual void CloseWindow()
Close file dialog.
const TGPicture * fPdetails
picture for fDetails
const TGPicture * fPnewf
picture for fNewf