| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtSCriptTools module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #ifndef QSCRIPTEDIT_P_H |
| 41 | #define QSCRIPTEDIT_P_Hcxx . . $ `src/scripttools/debugging/qscriptedit_p.h:41:9`! |
| 42 | |
| 43 | // |
| 44 | // W A R N I N G |
| 45 | // ------------- |
| 46 | // |
| 47 | // This file is not part of the Qt API. It exists purely as an |
| 48 | // implementation detail. This header file may change from version to |
| 49 | // version without notice, or even be removed. |
| 50 | // |
| 51 | // We mean it. |
| 52 | // |
| 53 | |
| 54 | #include <QtWidgets/qplaintextedit.h> |
| 55 | |
| 56 | #include <QtCore/qhash.h> |
| 57 | #include <QtCore/qset.h> |
| 58 | |
| 59 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 60 | |
| 61 | class QScriptEditExtraAreacxx . . $ QScriptEditExtraArea#; |
| 62 | |
| 63 | class Q_AUTOTEST_EXPORTcxx . . $ `<external>/15045578679651060896/qglobal.h:466:13`! QScriptEditcxx . . $ QScriptEdit# : public QPlainTextEditcxx . . $ QPlainTextEdit# |
| 64 | { |
| 65 | Q_OBJECTcxx . . $ QScriptEdit#QPrivateSignal# |
| 66 | public: |
| 67 | QScriptEditcxx . . $ QScriptEdit#QScriptEdit(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 68 | ~cxx . . $ QScriptEdit#`~QScriptEdit`(ced63f7c635d850d).QScriptEditcxx . . $ QScriptEdit#(); |
| 69 | |
| 70 | int baseLineNumbercxx . . $ QScriptEdit#baseLineNumber(455f465bc33b4cdf).() const; |
| 71 | void setBaseLineNumbercxx . . $ QScriptEdit#setBaseLineNumber(d4f767463ce0a6b3).(int base); |
| 72 | |
| 73 | int executionLineNumbercxx . . $ QScriptEdit#executionLineNumber(455f465bc33b4cdf).() const; |
| 74 | void setExecutionLineNumbercxx . . $ QScriptEdit#setExecutionLineNumber(918ebd27a9ddbad3).(int lineNumber, bool error); |
| 75 | void setExecutableLineNumberscxx . . $ QScriptEdit#setExecutableLineNumbers(5f64d7721fa801f3).(const QSetcxx . . $ QSet#<int> &lineNumbers); |
| 76 | bool isExecutableLinecxx . . $ QScriptEdit#isExecutableLine(4a668f6de69bf818).(int lineNumber) const; |
| 77 | |
| 78 | int currentLineNumbercxx . . $ QScriptEdit#currentLineNumber(455f465bc33b4cdf).() const; |
| 79 | void gotoLinecxx . . $ QScriptEdit#gotoLine(d4f767463ce0a6b3).(int lineNumber); |
| 80 | |
| 81 | void setBreakpointcxx . . $ QScriptEdit#setBreakpoint(d4f767463ce0a6b3).(int lineNumber); |
| 82 | void setBreakpointEnabledcxx . . $ QScriptEdit#setBreakpointEnabled(918ebd27a9ddbad3).(int lineNumber, bool enable); |
| 83 | void deleteBreakpointcxx . . $ QScriptEdit#deleteBreakpoint(d4f767463ce0a6b3).(int lineNumber); |
| 84 | |
| 85 | int extraAreaWidthcxx . . $ QScriptEdit#extraAreaWidth(455f465bc33b4cdf).() const; |
| 86 | |
| 87 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 88 | void breakpointToggleRequestcxx . . $ QScriptEdit#breakpointToggleRequest(918ebd27a9ddbad3).(int lineNumber, bool on); |
| 89 | void breakpointEnableRequestcxx . . $ QScriptEdit#breakpointEnableRequest(918ebd27a9ddbad3).(int lineNumber, bool enable); |
| 90 | |
| 91 | protected: |
| 92 | void paintEventcxx . . $ QScriptEdit#paintEvent(f239c9e85d61a220).(QPaintEventcxx . . $ QPaintEvent# *e); |
| 93 | void resizeEventcxx . . $ QScriptEdit#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# *e); |
| 94 | |
| 95 | void extraAreaPaintEventcxx . . $ QScriptEdit#extraAreaPaintEvent(f239c9e85d61a220).(QPaintEventcxx . . $ QPaintEvent# *e); |
| 96 | void extraAreaMouseEventcxx . . $ QScriptEdit#extraAreaMouseEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *e); |
| 97 | bool extraAreaEventcxx . . $ QScriptEdit#extraAreaEvent(f123fa2ce489f0bd).(QEventcxx . . $ QEvent# *e); |
| 98 | |
| 99 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 100 | void updateExtraAreaWidthcxx . . $ QScriptEdit#updateExtraAreaWidth(49f6e7a06ebc5aa8).(); |
| 101 | void updateExtraAreacxx . . $ QScriptEdit#updateExtraArea(6958f325edff4c53).(const QRectcxx . . $ QRect# &, int); |
| 102 | void highlightCurrentLinecxx . . $ QScriptEdit#highlightCurrentLine(49f6e7a06ebc5aa8).(); |
| 103 | |
| 104 | private: |
| 105 | QTextEditcxx . . $ QTextEdit#::ExtraSelectioncxx . . $ QTextEdit#ExtraSelection# currentLineSelectioncxx . . $ QScriptEdit#currentLineSelection(bbf4d792e0660ab7).() const; |
| 106 | QTextEditcxx . . $ QTextEdit#::ExtraSelectioncxx . . $ QTextEdit#ExtraSelection# currentExecutionLineSelectioncxx . . $ QScriptEdit#currentExecutionLineSelection(bbf4d792e0660ab7).() const; |
| 107 | void updateExtraSelectionscxx . . $ QScriptEdit#updateExtraSelections(49f6e7a06ebc5aa8).(); |
| 108 | |
| 109 | private: |
| 110 | QScriptEditExtraAreacxx . . $ QScriptEditExtraArea# *m_extraAreacxx . . $ QScriptEdit#m_extraArea.; |
| 111 | int m_baseLineNumbercxx . . $ QScriptEdit#m_baseLineNumber.; |
| 112 | int m_executionLineNumbercxx . . $ QScriptEdit#m_executionLineNumber.; |
| 113 | QSetcxx . . $ QSet#<int> m_executableLineNumberscxx . . $ QScriptEdit#m_executableLineNumbers.; |
| 114 | bool m_executionLineNumberHasErrorcxx . . $ QScriptEdit#m_executionLineNumberHasError.; |
| 115 | int m_extraAreaToggleBlockNumbercxx . . $ QScriptEdit#m_extraAreaToggleBlockNumber.; |
| 116 | |
| 117 | struct BreakpointDatacxx . . $ QScriptEdit#BreakpointData# { |
| 118 | BreakpointDatacxx . . $ QScriptEdit#BreakpointData#BreakpointData(49f6e7a06ebc5aa8).() : enabledcxx . . $ QScriptEdit#BreakpointData#enabled.(true) {} |
| 119 | bool enabledcxx . . $ QScriptEdit#BreakpointData#enabled.; |
| 120 | }; |
| 121 | QHashcxx . . $ QHash#<int, BreakpointDatacxx . . $ QScriptEdit#BreakpointData#> m_breakpointscxx . . $ QScriptEdit#m_breakpoints.; |
| 122 | |
| 123 | private: |
| 124 | Q_DISABLE_COPYcxx . . $ QScriptEdit#`operator=`(1a5fbe086bb0194c).(QScriptEdit) |
| 125 | friend class QScriptEditExtraAreacxx . . $ QScriptEditExtraArea#; |
| 126 | }; |
| 127 | |
| 128 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 129 | |
| 130 | #endif |