Back to index

salome-paravis  6.5.0
Public Member Functions | Protected Slots | Private Types
pqTableTo3DPanel Class Reference

#include <pqTableTo3DPanel.h>

List of all members.

Public Member Functions

 pqTableTo3DPanel (pqProxy *proxy, QWidget *p)
 ~pqTableTo3DPanel ()
 Destructor.

Protected Slots

void onScaleModeChanged (bool checked)
void onPrsTypeChanged (const QString &type)

Private Types

typedef pqAutoGeneratedObjectPanel Superclass

Detailed Description

Definition at line 25 of file pqTableTo3DPanel.h.


Member Typedef Documentation

typedef pqAutoGeneratedObjectPanel pqTableTo3DPanel::Superclass [private]

Definition at line 28 of file pqTableTo3DPanel.h.


Constructor & Destructor Documentation

pqTableTo3DPanel::pqTableTo3DPanel ( pqProxy *  proxy,
QWidget *  p 
)

Definition at line 26 of file pqTableTo3DPanel.cxx.

                                                             :
  Superclass(proxy, p)
{
  QLineEdit* scaleFactor = this->findChild<QLineEdit*>("ScaleFactor");
  QCheckBox* useOptimusScale = this->findChild<QCheckBox*>("UseOptimusScale");
  QComboBox* presentationType = this->findChild<QComboBox*>("PresentationType");
  QWidget* numberContours = this->findChild<QWidget*>("NumberOfContours");
  
  if (scaleFactor && useOptimusScale)
    {
      this->connect(useOptimusScale, SIGNAL(toggled(bool)),
                  this, SLOT(onScaleModeChanged(bool)));
      onScaleModeChanged(useOptimusScale->isChecked());
    }

  if (presentationType && numberContours)
    {
      this->connect(presentationType, SIGNAL(currentIndexChanged(const QString &)),
                  this, SLOT(onPrsTypeChanged(const QString &)));
      onPrsTypeChanged(presentationType->currentText());
    }
}

Here is the call graph for this function:

Destructor.

Definition at line 49 of file pqTableTo3DPanel.cxx.

{
}

Member Function Documentation

void pqTableTo3DPanel::onPrsTypeChanged ( const QString &  type) [protected, slot]

Definition at line 62 of file pqTableTo3DPanel.cxx.

{
  QWidget* numberContours = this->findChild<QWidget*>("NumberOfContours");
  if (numberContours)
    {
      numberContours->setEnabled(type == "Contour");
    }
}

Here is the caller graph for this function:

void pqTableTo3DPanel::onScaleModeChanged ( bool  checked) [protected, slot]

Definition at line 53 of file pqTableTo3DPanel.cxx.

{
  QLineEdit* scaleFactor = this->findChild<QLineEdit*>("ScaleFactor");
  if (scaleFactor)
    {
      scaleFactor->setEnabled(!checked);
    }
}

Here is the caller graph for this function:


The documentation for this class was generated from the following files: