FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
QSize HtmlDelegate::sizeHint
(
const QStyleOptionViewItem &
option
,
const QModelIndex &
index
)
const
Definition at line
30
of file
HtmlDelegate.cc
.
Referenced by
HtmlDelegate()
.
31
{
32
QTextDocument doc;
33
doc.setPageSize(option.rect.size());
34
doc.setHtml(index.data().toString());
35
return
doc.size().toSize();
36
}
Here is the caller graph for this function:
HtmlDelegate
Generated on Sun Sep 18 2016 20:50:52 for FACT++ by
1.8.11