Eneboo - Documentación para desarrolladores
|
#include <msgedit.h>
Señales | |
void | pageHeightUpdated (int height) |
Métodos públicos | |
EditorPage (QWidget *parent=0, const char *name=0) | |
Métodos protegidos | |
void | resizeEvent (QResizeEvent *) |
void | layoutWidgets () |
void | updateCommentField () |
void | calculateFieldHeight (QTextView *field) |
void | fontChange (const QFont &) |
Amigas | |
class | MessageEditor |
EditorPage::EditorPage | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
void EditorPage::calculateFieldHeight | ( | QTextView * | field | ) | [protected] |
void EditorPage::fontChange | ( | const QFont & | oldFont | ) | [protected, virtual] |
This virtual function is called from setFont(). oldFont is the previous font; you can get the new font from font().
Reimplement this function if your widget needs to know when its font changes. You will almost certainly need to update the widget using update().
The default implementation updates the widget including its geometry.
Reimplementado de QWidget.
void EditorPage::layoutWidgets | ( | ) | [protected] |
void EditorPage::pageHeightUpdated | ( | int | height | ) | [signal] |
void EditorPage::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Processes the resize event e.
Adjusts the frame rectangle for the resized widget. The frame rectangle is elastic, and the surrounding area is static.
The resulting frame rectangle may be null or invalid. You can use setMinimumSize() to avoid those possibilities.
Nothing is done if the frame rectangle is a null rectangle already.
Reimplementado de QFrame.
void EditorPage::updateCommentField | ( | ) | [protected] |
friend class MessageEditor [friend] |