Warning, file /plasma/khotkeys/kcm_hotkeys/helper_widgets/gesture_widget.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef GESTURE_WIDGET_H 0002 #define GESTURE_WIDGET_H 0003 /* SPDX-FileCopyrightText: 2009 Michael Jansen <kde@michael-jansen.biz> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #include "ui_gesture_widget.h" 0009 0010 #include <QWidget> 0011 0012 /** 0013 * @author Michael Jansen <kde@michael-jansen.biz> 0014 */ 0015 /** 0016 * This widget contains the GestureDrawer and the edit button. 0017 */ 0018 class GestureWidget : public QWidget 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 /** 0024 * Default constructor 0025 */ 0026 GestureWidget(QWidget *parent = nullptr); 0027 0028 /** 0029 * Destructor 0030 */ 0031 ~GestureWidget() override; 0032 0033 void setPointData(const KHotKeys::StrokePoints &data, bool emitSignal); 0034 KHotKeys::StrokePoints pointData() const; 0035 0036 public Q_SLOTS: 0037 0038 void edit(); 0039 0040 Q_SIGNALS: 0041 0042 void changed(); 0043 0044 private: 0045 Ui::GestureWidget ui; 0046 }; 0047 0048 #endif /* #ifndef GESTURE_WIDGET_H */