Description: // Create header action if useSpecialHeader == true
if (useSpecialHeader) {
headerAction = new QWidgetAction(this)
headerAction->setEnabled(false)
headerActionFrame = new QFrame
headerActionFrame->setFrameShape(QFrame::Box)
headerAction->setDefaultWidget(headerActionFrame)
QHBoxLayout *headerActionFrameLayout = new QHBoxLayout()
headerActionFrameLayout->setMargin(3)
headerActionFrameLayout->setSpacing(3)
headerActionFrame->setLayout(headerActionFrameLayout)
iconLabel = new QLabel
headerLabel = new QLabel
iconSize = style()->pixelMetric(QStyle::PM_SmallIconSize)
headerActionFrameLayout->insertWidget(-1,iconLabel,0)
headerActionFrameLayout->insertWidget(-1,headerLabel,20)
QFont font = headerLabel->font()
font.setBold(true)
headerLabel->setFont(font)
addAction(headerAction)
}
To Search:
File list (Check if you may need any files):
0xafab.tar