Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
CompletionItem (QListBox *lb, const QString &txt, const QString &t, const QString &p, const QString &pre, const QString &p2) | |
~CompletionItem () | |
void | paint (QPainter *painter) |
int | height (const QListBox *) const |
int | width (const QListBox *) const |
QString | text () const |
CompletionItem (QListBox *lb, const QString &txt, const QString &t, const QString &p, const QString &pre, const QString &p2) | |
~CompletionItem () | |
void | paint (QPainter *painter) |
int | height (const QListBox *) const |
int | width (const QListBox *) const |
QString | text () const |
CompletionItem::CompletionItem | ( | QListBox * | lb, |
const QString & | txt, | ||
const QString & | t, | ||
const QString & | p, | ||
const QString & | pre, | ||
const QString & | p2 | ||
) | [inline] |
CompletionItem::~CompletionItem | ( | ) | [inline] |
CompletionItem::CompletionItem | ( | QListBox * | lb, |
const QString & | txt, | ||
const QString & | t, | ||
const QString & | p, | ||
const QString & | pre, | ||
const QString & | p2 | ||
) | [inline] |
CompletionItem::~CompletionItem | ( | ) | [inline] |
Implement this function to return the height of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s height.
Reimplementado de QListBoxItem.
Implement this function to return the height of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s height.
Reimplementado de QListBoxItem.
void CompletionItem::paint | ( | QPainter * | p | ) | [inline, virtual] |
Implement this function to draw your item. The painter, p, is already open for painting.
Implementa QListBoxItem.
void CompletionItem::paint | ( | QPainter * | p | ) | [inline, virtual] |
Implement this function to draw your item. The painter, p, is already open for painting.
Implementa QListBoxItem.
QString CompletionItem::text | ( | ) | const [inline, virtual] |
Returns the text of the item. This text is also used for sorting.
Reimplementado de QListBoxItem.
QString CompletionItem::text | ( | ) | const [inline, virtual] |
Returns the text of the item. This text is also used for sorting.
Reimplementado de QListBoxItem.
Reimplement this function to return the width of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s width.
Reimplementado de QListBoxItem.
Reimplement this function to return the width of your item. The lb parameter is the same as listBox() and is provided for convenience and compatibility.
The default implementation returns {QApplication::globalStrut()}'s width.
Reimplementado de QListBoxItem.