FWInvMassDialog

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
#ifndef Fireworks_Core_FWInvMassDialog_h
#define Fireworks_Core_FWInvMassDialog_h
// -*- C++ -*-
//
// Package:     Core
// Class  :     FWInvMassDialog
//
/**\class FWInvMassDialog FWInvMassDialog.h Fireworks/Core/interface/FWInvMassDialog.h

 Description: [one line class summary]

 Usage:
    <usage>

*/
//
// Original Author:  Matevz Tadel
//         Created:  Mon Nov 22 11:05:41 CET 2010
//

// system include files

// user include files
#include "TGFrame.h"

// forward declarations
class FWSelectionManager;

class TGTextView;
class TGTextButton;

class FWInvMassDialog : public TGMainFrame {
public:
  FWInvMassDialog(FWSelectionManager* sm);
  ~FWInvMassDialog() override;

  void CloseWindow() override;

  // ---------- const member functions ---------------------

  // ---------- static member functions --------------------

  // ---------- member functions ---------------------------

  void Calculate();

protected:
  void beginUpdate();
  void addLine(const TString& line);
  void endUpdate();

private:
  FWInvMassDialog(const FWInvMassDialog&);  // stop default

  const FWInvMassDialog& operator=(const FWInvMassDialog&);  // stop default

  // ---------- member data --------------------------------

  FWSelectionManager* m_selectionMgr;

  TGTextView* m_text;
  TGTextButton* m_button;

  bool m_firstLine;

  ClassDefOverride(FWInvMassDialog, 0);
};

#endif