PandaRoot
AniGifDialog.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // --------------------------------------------------------------------------
14 // DalitzGui - ROOT based tool to plot 3body decay's with resonant behaviour
15 // --------------------------------------------------------------------------
16 //
17 // Check accompanying README file for infos how to use
18 //
19 // Original author: Klaus Goetzen - GSI Darmstadt
20 // Last modified : 2014/08/15
21 // --------------------------------------------------------------------------
22 #pragma once
23 
24 #include <TQObject.h>
25 
26 class TGLayoutHints;
27 class TGHorizontalFrame;
28 class TGLabel;
29 class TGTextButton;
30 class TGCheckButton;
31 class TGTextEntry;
32 class TGTextBuffer;
33 class TGComboBox;
34 class TGWindow;
35 class TGTransientFrame;
36 class TGDoubleHSlider;
37 class TGButton;
38 
39 class AniGifDialog {
40 
41  private:
42  TGTransientFrame *fMain;
43 
44  TGHorizontalFrame *fVframe0, *fVframe1;
45  TGLayoutHints *fL1, *fL2;
46 
47  TGLabel *fLab[10];
48 
49  TGTextEntry *fTeh1, *fTeh2;
50  TGTextBuffer *fTbh1, *fTbh2;
51 
52  TGComboBox *fComPlot, *fComVar;
53 
54  TGDoubleHSlider *fHslider1;
55 
56  TGCheckButton *fChMainOnly;
57 
58  TGButton *fOkButton;
59  TGButton *fCancelButton;
60 
61  public:
62  AniGifDialog(const TGWindow *p, const TGWindow *main);
63  virtual ~AniGifDialog();
64 
65  // slots
66  void CloseWindow();
67  void DoOK();
68  void DoCombo(Int_t idx);
69  void DoSlider();
70 
71  private:
72  double slmin, slmax;
73 
74  ClassDef(AniGifDialog, 1)
75 };
void DoCombo(Int_t idx)
virtual ~AniGifDialog()
AniGifDialog(const TGWindow *p, const TGWindow *main)
void CloseWindow()
void DoSlider()