| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/reusable/styleditemdelegatewithoutfocus.h`/ |
| 2 | |
| 3 | #ifndef STYLEDITEMDELEGATEWITHOUTFOCUS_H |
| 4 | #define STYLEDITEMDELEGATEWITHOUTFOCUS_Hcxx . . $ `src/librssguard/gui/reusable/styleditemdelegatewithoutfocus.h:4:9`! |
| 5 | |
| 6 | #include <QStyledItemDelegate> |
| 7 | |
| 8 | #if QT_VERSION_MAJORcxx . . $ `<external>/9758848313111604122/qconfig.h:67:9`! <= 5 |
| 9 | #include <QStyleOptionViewItemV4> |
| 10 | #else |
| 11 | #include <QStyleOptionViewItem> |
| 12 | #endif |
| 13 | |
| 14 | class StyledItemDelegateWithoutFocuscxx . . $ StyledItemDelegateWithoutFocus# : public QStyledItemDelegatecxx . . $ QStyledItemDelegate# { |
| 15 | Q_OBJECTcxx . . $ StyledItemDelegateWithoutFocus#qt_staticMetaObjectContent. |
| 16 | |
| 17 | public: |
| 18 | explicit StyledItemDelegateWithoutFocuscxx . . $ StyledItemDelegateWithoutFocus#StyledItemDelegateWithoutFocus(ea15c0ea3584af89).(int height_row, int padding_row, QObjectcxx . . $ QObject#* parent = nullptr); |
| 19 | |
| 20 | virtual void paintcxx . . $ StyledItemDelegateWithoutFocus#paint(a0cfc6dde5a97d5a).(QPaintercxx . . $ QPainter#* painter, const QStyleOptionViewItemcxx . . $ QStyleOptionViewItem#& option, const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 21 | virtual QSizecxx . . $ QSize# sizeHintcxx . . $ StyledItemDelegateWithoutFocus#sizeHint(99d0aeb1ec0de8b1).(const QStyleOptionViewItemcxx . . $ QStyleOptionViewItem#& option, const QModelIndexcxx . . $ QModelIndex#& index) const; |
| 22 | |
| 23 | private: |
| 24 | int m_rowHeightcxx . . $ StyledItemDelegateWithoutFocus#m_rowHeight.; |
| 25 | int m_rowPaddingcxx . . $ StyledItemDelegateWithoutFocus#m_rowPadding.; |
| 26 | }; |
| 27 | |
| 28 | #endif // STYLEDITEMDELEGATEWITHOUTFOCUS_H |