Changeset View
Changeset View
Standalone View
Standalone View
ui/annotationwidgets.h
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Line(s) | 121 | private: | |||
---|---|---|---|---|---|
122 | virtual bool hasColorButton() const override; | 122 | virtual bool hasColorButton() const override; | ||
123 | virtual bool hasOpacityBox() const override; | 123 | virtual bool hasOpacityBox() const override; | ||
124 | 124 | | |||
125 | void createPopupNoteStyleUi( QWidget * widget, QVBoxLayout * layout ); | 125 | void createPopupNoteStyleUi( QWidget * widget, QVBoxLayout * layout ); | ||
126 | void createInlineNoteStyleUi( QWidget * widget, QVBoxLayout * layout ); | 126 | void createInlineNoteStyleUi( QWidget * widget, QVBoxLayout * layout ); | ||
127 | void createTypewriterStyleUi( QWidget * widget, QVBoxLayout * layout ); | 127 | void createTypewriterStyleUi( QWidget * widget, QVBoxLayout * layout ); | ||
128 | void addPixmapSelector( QWidget * widget, QLayout * layout ); | 128 | void addPixmapSelector( QWidget * widget, QLayout * layout ); | ||
129 | void addFontRequester( QWidget * widget, QGridLayout * layout ); | 129 | void addFontRequester( QWidget * widget, QGridLayout * layout ); | ||
130 | void addTextColorButton( QWidget * widget, QGridLayout * layout ); | ||||
130 | void addTextAlignComboBox( QWidget * widget, QGridLayout * layout ); | 131 | void addTextAlignComboBox( QWidget * widget, QGridLayout * layout ); | ||
131 | void addWidthSpinBox( QWidget * widget, QGridLayout * layout ); | 132 | void addWidthSpinBox( QWidget * widget, QGridLayout * layout ); | ||
132 | 133 | | |||
133 | inline bool isTypewriter() const { return ( m_textAnn->inplaceIntent() == Okular::TextAnnotation::TypeWriter ); } | 134 | inline bool isTypewriter() const { return ( m_textAnn->inplaceIntent() == Okular::TextAnnotation::TypeWriter ); } | ||
134 | 135 | | |||
135 | Okular::TextAnnotation * m_textAnn; | 136 | Okular::TextAnnotation * m_textAnn; | ||
136 | PixmapPreviewSelector * m_pixmapSelector { nullptr }; | 137 | PixmapPreviewSelector * m_pixmapSelector { nullptr }; | ||
137 | KFontRequester * m_fontReq { nullptr }; | 138 | KFontRequester * m_fontReq { nullptr }; | ||
139 | KColorButton *m_textColorBn { nullptr }; | ||||
138 | QComboBox * m_textAlign { nullptr }; | 140 | QComboBox * m_textAlign { nullptr }; | ||
139 | QDoubleSpinBox * m_spinWidth { nullptr }; | 141 | QDoubleSpinBox * m_spinWidth { nullptr }; | ||
140 | }; | 142 | }; | ||
141 | 143 | | |||
142 | class StampAnnotationWidget | 144 | class StampAnnotationWidget | ||
143 | : public AnnotationWidget | 145 | : public AnnotationWidget | ||
144 | { | 146 | { | ||
145 | Q_OBJECT | 147 | Q_OBJECT | ||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |