Eneboo - Documentación para desarrolladores
|
Creates a new table header called name with i sections. It is a child of widget parent and attached to table t.
QTableHeader::~QTableHeader | ( | ) | [inline] |
Adds a new section, size pixels wide (or high for vertical headers) with the label s. If size is negative the section's size is calculated based on the width (or height) of the label's text.
Reimplementado de QHeader.
Returns TRUE if section s is stretcheable; otherwise returns FALSE.
void QTableHeader::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
void QTableHeader::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
void QTableHeader::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
void QTableHeader::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
void QTableHeader::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
Paints the header section with index index into the rectangular region fr on the painter p.
Reimplementado de QHeader.
void QTableHeader::removeLabel | ( | int | section | ) |
Removes section section. If the section does not exist, nothing happens.
Reimplementado de QHeader.
void QTableHeader::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Reimplementado de QHeader.
Returns the number of the section at index position pos or -1 if there is no section at the position given.
Reimplementado de QHeader.
Returns the start position of section section in pixels or -1 if section is out of range.
Reimplementado de QHeader.
Returns the size of section section in pixels or -1 if section is out of range.
Reimplementado de QHeader.
void QTableHeader::sectionSizeChanged | ( | int | s | ) | [signal] |
QTableHeader::SectionState QTableHeader::sectionState | ( | int | s | ) | const |
Returns the SectionState of section s.
Sets the text of section section to s. The section's width is set to size if size >= 0; otherwise it is left unchanged. Any icon set that has been set for this section remains unchanged.
If the section does not exist, nothing happens.
Reimplementado de QHeader.
void QTableHeader::setLabel | ( | int | section, |
const QIconSet & | iconset, | ||
const QString & | s, | ||
int | size = -1 |
||
) | [virtual] |
Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta. Sets the icon for section section to iconset and the text to s. The section's width is set to size if size >= 0; otherwise it is left unchanged.
If the section does not exist, nothing happens.
Reimplementado de QHeader.
void QTableHeader::setLabels | ( | const QStringList & | labels | ) |
void QTableHeader::setSectionState | ( | int | s, |
SectionState | astate | ||
) |
Sets the SectionState of section s to astate.
void QTableHeader::setSectionStateToAll | ( | SectionState | state | ) |
If b is TRUE, section s is stretchable; otherwise the section is not stretchable.
void QTableHeader::updateCache | ( | ) |