00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef TDSPGROUPGCONTROL_H 00019 #define TDSPGROUPGCONTROL_H 00020 #include <TGWindow.h> 00021 #include <TGListTree.h> 00022 #include <TDSPOperatorGControl.h> 00023 #include <TDSPGroupControl.h> 00024 #include <TDSPGroup.h> 00025 #include <TQQGControl.h> 00026 00032 #define kBrowserComponent 1 00033 00034 class TDSPGroupGControl : public TQQGControl, public TDSPGroupControl { 00035 00036 TDSPOperatorGControl *fGroupControl; 00037 TGListTreeItem *fComponentsListTreeItem; 00038 00039 public: 00040 TDSPGroupGControl(const TGWindow *parent = NULL, 00041 UInt_t w=150, 00042 UInt_t h=150, 00043 UInt_t options = 0); 00044 00045 ~TDSPGroupGControl(); 00046 00047 virtual void Print(); 00048 virtual void SetObject(TDSPOperator *o); 00049 virtual void ListTree(TGControlList *list = NULL, 00050 TGListTreeItem *parent = NULL); 00051 00052 // Slots 00053 00054 virtual void HandlePopup(Int_t); 00055 00056 // Signals and Slots 00057 virtual void Paint() { Emit("Paint()");};//*SIGNAL* 00058 00059 ClassDef(TDSPGroupGControl,1) 00060 00061 }; 00062 00063 #endif
1.3.2