  | 
  
    Isis 3 Programmer Reference
    
   | 
 
 
 
 
    8 #include <QStylePainter> 
   10 #include "IException.h" 
   20     this->associatedWidget = associatedWidget;
 
   24     selectedStatus = 
false;
 
   30     ASSERT_PTR(associatedWidget);
 
   37     associatedWidget = NULL;
 
   44     position = newPosition;
 
   63     radioGroup = newRadioGroup;
 
   88     if (associatedWidget == NULL)
 
   90       QString msg = 
"Tab::setSelected called but can't show or hide the " 
   91           "associatedWidget because it is NULL!";
 
   95     setChecked(newStatus);
 
   96     newStatus ? associatedWidget->show() : associatedWidget->hide();
 
   97     selectedStatus = newStatus;
 
  110     return selectedStatus;
 
  122     emit clicked(position);
 
  
 
const int & getPosition() const
get the position of the Tab within a TabBar
 
void setSelected(bool newStatus)
A selected Tab will look visually pressed and have its associatedWidget visible.
 
void setPosition(const int &newPosition)
set the position of the Tab within a TabBar
 
Tab(QWidget *associatedWidget, QWidget *parent=0)
constructs a Tab
 
void handleTriggered()
This SLOT is executed when the Tab is clicked, and emits its own clicked SIGNAL (which contains its i...
 
void setRadioGroup(const int &newRadioGroup)
Tabs which share a radio group have the property that only only one Tab in the group can be selected ...
 
bool isSelected()
A selected Tab will look visually pressed and have its associatedWidget visible.
 
@ Programmer
This error is for when a programmer made an API call that was illegal.
 
const int & getRadioGroup() const
Tabs which share a radio group have the property that only only one Tab in the group can be selected ...
 
This is free and unencumbered software released into the public domain.
 
virtual ~Tab()
destructs a Tab