CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/Fireworks/Core/src/FWTableView.cc File Reference

#include <stdlib.h>
#include <algorithm>
#include <boost/shared_ptr.hpp>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <cassert>
#include "TClass.h"
#include "TSystem.h"
#include "TGComboBox.h"
#include "TGLabel.h"
#include "TGTextEntry.h"
#include "TEveWindow.h"
#include "Fireworks/Core/interface/FWColorManager.h"
#include "Fireworks/Core/interface/FWCustomIconsButton.h"
#include "Fireworks/Core/interface/FWModelChangeManager.h"
#include "Fireworks/Core/interface/FWSelectionManager.h"
#include "Fireworks/Core/interface/FWTableView.h"
#include "Fireworks/Core/interface/FWTableViewManager.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWConfiguration.h"
#include "Fireworks/Core/interface/FWTableViewTableManager.h"
#include "Fireworks/Core/interface/fwLog.h"
#include "Fireworks/Core/src/FWGUIValidatingTextEntry.h"
#include "Fireworks/Core/src/FWExpressionValidator.h"
#include "Fireworks/TableWidget/interface/FWTableWidget.h"

Go to the source code of this file.

Functions

static const TGPicture * arrow_down (bool iBackgroundIsBlack)
static const TGPicture * arrow_down_disabled (bool iBackgroundIsBlack)
static const TGPicture * arrow_right (bool iBackgroundIsBlack)
static const TGPicture * arrow_right_disabled (bool iBackgroundIsBlack)
static const TString & coreIcondir ()

Variables

static const std::string kCollection = "collection"
static const std::string kColumns = "columns"
static const std::string kDescendingSort = "descendingSort"
static const std::string kSortColumn = "sortColumn"
static const std::string kTableView = "TableView"

Function Documentation

static const TGPicture* arrow_down ( bool  iBackgroundIsBlack) [static]

Definition at line 173 of file FWTableView.cc.

References coreIcondir(), and alignCSCRings::s.

Referenced by FWTableView::toggleShowHide().

{
   if(iBackgroundIsBlack) {
      static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-white-down-blackbg.png");
      return s;
   }
   static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-black-down-whitebg.png");
   return s;
}
static const TGPicture* arrow_down_disabled ( bool  iBackgroundIsBlack) [static]

Definition at line 184 of file FWTableView.cc.

References coreIcondir(), and alignCSCRings::s.

Referenced by FWTableView::toggleShowHide().

{
   if(iBackgroundIsBlack) {
      static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-white-down-disabled-blackbg.png");
      return s;
   }
   static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-black-down-disabled-whitebg.png");
   return s;
}
static const TGPicture* arrow_right ( bool  iBackgroundIsBlack) [static]

Definition at line 151 of file FWTableView.cc.

References coreIcondir(), and alignCSCRings::s.

Referenced by FWTableView::FWTableView(), and FWTableView::toggleShowHide().

{
   if(iBackgroundIsBlack) {
      static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-white-right-blackbg.png");
      return s;
   }
   static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-black-right-whitebg.png");
   return s;
}
static const TGPicture* arrow_right_disabled ( bool  iBackgroundIsBlack) [static]

Definition at line 162 of file FWTableView.cc.

References coreIcondir(), and alignCSCRings::s.

Referenced by FWTableView::FWTableView(), and FWTableView::toggleShowHide().

{
   if(iBackgroundIsBlack) {
      static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-white-right-disabled-blackbg.png");
      return s;
   }
   static const TGPicture* s = gClient->GetPicture(coreIcondir()+"arrow-black-right-disabled-whitebg.png");
   return s;
}
static const TString& coreIcondir ( ) [static]

Definition at line 45 of file FWTableView.cc.

References getHLTPrescaleColumns::path.

Referenced by arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), and CmsShowMainFrame::CmsShowMainFrame().

{
   static TString path = Form("%s/src/Fireworks/Core/icons/",gSystem->Getenv("CMSSW_BASE"));
   if ( gSystem->AccessPathName(path.Data()) ){ // cannot find directory
        assert(gSystem->Getenv("CMSSW_RELEASE_BASE"));
        path = Form("%s/src/Fireworks/Core/icons/",gSystem->Getenv("CMSSW_RELEASE_BASE"));
   }
   return path;
}

Variable Documentation

const std::string kCollection = "collection" [static]

Definition at line 198 of file FWTableView.cc.

Referenced by FWTableView::addTo(), and FWTableView::setFrom().

const std::string kColumns = "columns" [static]

Definition at line 199 of file FWTableView.cc.

const std::string kDescendingSort = "descendingSort" [static]
const std::string kSortColumn = "sortColumn" [static]

Definition at line 200 of file FWTableView.cc.

Referenced by FWTableView::addTo(), and FWTableView::setFrom().

const std::string kTableView = "TableView" [static]

Definition at line 197 of file FWTableView.cc.

Referenced by FWTableView::addTo(), and FWTableView::setFrom().