| 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 | #include "qscriptdebuggercodefinderwidget_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercodefinderwidget_p.h`/ |
| 41 | #include "qscriptdebuggercodefinderwidgetinterface_p_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggercodefinderwidgetinterface_p_p.h`/ |
| 42 | |
| 43 | #include <QtWidgets/qboxlayout.h> |
| 44 | #include <QtWidgets/qlineedit.h> |
| 45 | #include <QtWidgets/qcheckbox.h> |
| 46 | #include <QtWidgets/qlabel.h> |
| 47 | #include <QtWidgets/qtoolbutton.h> |
| 48 | #include <QtGui/qevent.h> |
| 49 | #include <QtCore/qdebug.h> |
| 50 | |
| 51 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 52 | |
| 53 | class QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate# |
| 54 | : public QScriptDebuggerCodeFinderWidgetInterfacePrivatecxx . . $ QScriptDebuggerCodeFinderWidgetInterfacePrivate# |
| 55 | { |
| 56 | Q_DECLARE_PUBLICcxx . . $ `<external>/15045578679651060896/qglobal.h:1172:9`!(QScriptDebuggerCodeFinderWidget) |
| 57 | public: |
| 58 | QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#QScriptDebuggerCodeFinderWidgetPrivate(49f6e7a06ebc5aa8).(); |
| 59 | ~cxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#`~QScriptDebuggerCodeFinderWidgetPrivate`(ced63f7c635d850d).QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#(); |
| 60 | |
| 61 | // private slots |
| 62 | void _q_updateButtonscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_updateButtons(49f6e7a06ebc5aa8).(); |
| 63 | void _q_onTextChangedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_onTextChanged(3520e46b33348bf6).(const QStringcxx . . $ QString# &); |
| 64 | void _q_nextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_next(49f6e7a06ebc5aa8).(); |
| 65 | void _q_previouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_previous(49f6e7a06ebc5aa8).(); |
| 66 | |
| 67 | int findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).() const; |
| 68 | |
| 69 | QLineEditcxx . . $ QLineEdit# *editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.; |
| 70 | QCheckBoxcxx . . $ QCheckBox# *checkCasecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkCase.; |
| 71 | QLabelcxx . . $ QLabel# *labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.; |
| 72 | QToolButtoncxx . . $ QToolButton# *toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.; |
| 73 | QToolButtoncxx . . $ QToolButton# *toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose.; |
| 74 | QToolButtoncxx . . $ QToolButton# *toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.; |
| 75 | QCheckBoxcxx . . $ QCheckBox# *checkWholeWordscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkWholeWords.; |
| 76 | }; |
| 77 | |
| 78 | QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#QScriptDebuggerCodeFinderWidgetPrivate(49f6e7a06ebc5aa8).() |
| 79 | { |
| 80 | } |
| 81 | |
| 82 | QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::~cxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#`~QScriptDebuggerCodeFinderWidgetPrivate`(ced63f7c635d850d).QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#() |
| 83 | { |
| 84 | } |
| 85 | |
| 86 | void QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::_q_updateButtonscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_updateButtons(49f6e7a06ebc5aa8).() |
| 87 | { |
| 88 | if (editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) { |
| 89 | toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 90 | toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 91 | } else { |
| 92 | toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 93 | toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | int QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).() const |
| 98 | { |
| 99 | int flags = 0; |
| 100 | if (checkCasecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkCase.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 101 | flags |= QTextDocumentcxx . . $ QTextDocument#::FindCaseSensitivelycxx . . $ QTextDocument#FindCaseSensitively.; |
| 102 | if (checkWholeWordscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkWholeWords.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 103 | flags |= QTextDocumentcxx . . $ QTextDocument#::FindWholeWordscxx . . $ QTextDocument#FindWholeWords.; |
| 104 | return flags; |
| 105 | } |
| 106 | |
| 107 | void QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::_q_onTextChangedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_onTextChanged(3520e46b33348bf6).(const QStringcxx . . $ QString# &text) |
| 108 | { |
| 109 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! q_funccxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#q_func(94aee8000b42b759).()->findRequestcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#findRequest(29ed8fcd127906b1).(text, findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).() | 0x100); |
| 110 | } |
| 111 | |
| 112 | void QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::_q_nextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_next(49f6e7a06ebc5aa8).() |
| 113 | { |
| 114 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! q_funccxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#q_func(94aee8000b42b759).()->findRequestcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#findRequest(29ed8fcd127906b1).(editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(), findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).()); |
| 115 | } |
| 116 | |
| 117 | void QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#::_q_previouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_previous(49f6e7a06ebc5aa8).() |
| 118 | { |
| 119 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! q_funccxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#q_func(94aee8000b42b759).()->findRequestcxx . . $ QScriptDebuggerCodeFinderWidgetInterface#findRequest(29ed8fcd127906b1).(editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(), findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).() | QTextDocumentcxx . . $ QTextDocument#::FindBackwardcxx . . $ QTextDocument#FindBackward.); |
| 120 | } |
| 121 | |
| 122 | QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#QScriptDebuggerCodeFinderWidget(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) |
| 123 | : QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface#( |
| 124 | *new QScriptDebuggerCodeFinderWidgetPrivatecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#QScriptDebuggerCodeFinderWidgetPrivate(49f6e7a06ebc5aa8)., parent, {}) |
| 125 | { |
| 126 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerCodeFinderWidget); |
| 127 | QStringcxx . . $ QString# system = QLatin1Stringcxx . . $ QString#QString(4641beeb24e75d60).("win"); |
| 128 | QHBoxLayoutcxx . . $ QHBoxLayout# *hboxLayout = new QHBoxLayout(this); |
| 129 | #ifdef Q_OS_MAC |
| 130 | system = QLatin1String("mac"); |
| 131 | #else |
| 132 | hboxLayout->setSpacingcxx . . $ QBoxLayout#setSpacing(d4f767463ce0a6b3).(6); |
| 133 | hboxLayout->setContentsMarginscxx . . $ QLayout#setContentsMargins(79c4c8645766fc71).(0, 0, 0, 0); |
| 134 | #endif |
| 135 | |
| 136 | d->toolClose = new QToolButton(this); |
| 137 | d->toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(QStringcxx . . $ QString#::fromUtf8cxx . . $ QString#fromUtf8(5ac70cc0fa2a874e).(":/qt/scripttools/debugging/images/%1/closetab.png").argcxx . . $ QString#arg(bc823072288cbbb5).(system))); |
| 138 | d->toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose.->setAutoRaisecxx . . $ QToolButton#setAutoRaise(b45ddcbc8423892c).(true); |
| 139 | d->toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).(trcxx . . $ QScriptDebuggerCodeFinderWidget#tr(75d9f1c324b4579d).("Close")); |
| 140 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose.); |
| 141 | |
| 142 | d->editFind = new QLineEdit(this); |
| 143 | d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->setMinimumSizecxx . . $ QWidget#setMinimumSize(3e454b8ccf442868).(QSizecxx . . $ QSize#QSize(c0d38f4800714fae).(150, 0)); |
| 144 | connectcxx . . $ QObject#connect(835f87066c895669).(d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(textChanged(QString)), |
| 145 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_updateButtons())); |
| 146 | connectcxx . . $ QObject#connect(835f87066c895669).(d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(returnPressed()), |
| 147 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_next())); |
| 148 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.); |
| 149 | |
| 150 | d->toolPrevious = new QToolButton(this); |
| 151 | d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setAutoRaisecxx . . $ QToolButton#setAutoRaise(b45ddcbc8423892c).(true); |
| 152 | d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).(trcxx . . $ QScriptDebuggerCodeFinderWidget#tr(75d9f1c324b4579d).("Previous")); |
| 153 | d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setToolButtonStylecxx . . $ QToolButton#setToolButtonStyle(8088b2ce57f6b5f3).(Qtcxx . . $ Qt/::ToolButtonTextBesideIconcxx . . $ Qt/ToolButtonTextBesideIcon.); |
| 154 | d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(QStringcxx . . $ QString#::fromUtf8cxx . . $ QString#fromUtf8(5ac70cc0fa2a874e).(":/qt/scripttools/debugging/images/%1/previous.png").argcxx . . $ QString#arg(bc823072288cbbb5).(system))); |
| 155 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious.); |
| 156 | |
| 157 | d->toolNext = new QToolButton(this); |
| 158 | d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setAutoRaisecxx . . $ QToolButton#setAutoRaise(b45ddcbc8423892c).(true); |
| 159 | d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).(trcxx . . $ QScriptDebuggerCodeFinderWidget#tr(75d9f1c324b4579d).("Next")); |
| 160 | d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setToolButtonStylecxx . . $ QToolButton#setToolButtonStyle(8088b2ce57f6b5f3).(Qtcxx . . $ Qt/::ToolButtonTextBesideIconcxx . . $ Qt/ToolButtonTextBesideIcon.); |
| 161 | d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.->setIconcxx . . $ QAbstractButton#setIcon(71dcdac178620ed6).(QIconcxx . . $ QIcon#QIcon(3520e46b33348bf6).(QStringcxx . . $ QString#::fromUtf8cxx . . $ QString#fromUtf8(5ac70cc0fa2a874e).(":/qt/scripttools/debugging/images/%1/next.png").argcxx . . $ QString#arg(bc823072288cbbb5).(system))); |
| 162 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext.); |
| 163 | |
| 164 | d->checkCase = new QCheckBox(tr("Case Sensitive"), this); |
| 165 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->checkCasecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkCase.); |
| 166 | |
| 167 | d->checkWholeWords = new QCheckBox(tr("Whole words"), this); |
| 168 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->checkWholeWordscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#checkWholeWords.); |
| 169 | |
| 170 | d->labelWrapped = new QLabel(this); |
| 171 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setMinimumSizecxx . . $ QWidget#setMinimumSize(3e454b8ccf442868).(QSizecxx . . $ QSize#QSize(c0d38f4800714fae).(0, 20)); |
| 172 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setMaximumSizecxx . . $ QWidget#setMaximumSize(1c5f201b4c2f0aba).(QSizecxx . . $ QSize#QSize(c0d38f4800714fae).(115, 20)); |
| 173 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setTextFormatcxx . . $ QLabel#setTextFormat(ab45cbe08793a2d2).(Qtcxx . . $ Qt/::RichTextcxx . . $ Qt/RichText.); |
| 174 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setScaledContentscxx . . $ QLabel#setScaledContents(b45ddcbc8423892c).(true); |
| 175 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setAlignmentcxx . . $ QLabel#setAlignment(9d0000d583057bbf).(Qtcxx . . $ Qt/::AlignLeadingcxx . . $ Qt/AlignLeading.|Qtcxx . . $ Qt/::AlignLeftcxx . . $ Qt/AlignLeft.|Qtcxx . . $ Qt/::AlignVCentercxx . . $ Qt/AlignVCenter.); |
| 176 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(trcxx . . $ QScriptDebuggerCodeFinderWidget#tr(75d9f1c324b4579d).("<img src=\":/qt/scripttools/debugging/images/wrap.png\"> Search wrapped")); |
| 177 | hboxLayout->addWidgetcxx . . $ QBoxLayout#addWidget(d39963fa34d6acb).(d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.); |
| 178 | |
| 179 | QSpacerItemcxx . . $ QSpacerItem# *spacerItem = new QSpacerItemcxx . . $ QSpacerItem#QSpacerItem(bce5685a9a3bd999).(20, 20, QSizePolicycxx . . $ QSizePolicy#::Expandingcxx . . $ QSizePolicy#Expanding., QSizePolicycxx . . $ QSizePolicy#::Minimumcxx . . $ QSizePolicy#Minimum.); |
| 180 | hboxLayout->addItemcxx . . $ QBoxLayout#addItem(6d8c77b6908f2a).(spacerItem); |
| 181 | setMinimumWidthcxx . . $ QWidget#setMinimumWidth(d4f767463ce0a6b3).(minimumSizeHintcxx . . $ QWidget#minimumSizeHint(4b3b776e5ee2b367).().width()); |
| 182 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 183 | |
| 184 | d->_q_updateButtonscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#_q_updateButtons(49f6e7a06ebc5aa8).(); |
| 185 | |
| 186 | setFocusProxycxx . . $ QWidget#setFocusProxy(108f35f7aa7f3cf9).(d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.); |
| 187 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->toolClosecxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolClose., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(hide())); |
| 188 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(textChanged(QString)), |
| 189 | this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_onTextChanged(QString))); |
| 190 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->toolNextcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolNext., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_next())); |
| 191 | QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(835f87066c895669).(d->toolPreviouscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#toolPrevious., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(_q_previous())); |
| 192 | } |
| 193 | |
| 194 | QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::~cxx . . $ QScriptDebuggerCodeFinderWidget#`~QScriptDebuggerCodeFinderWidget`(ced63f7c635d850d).QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#() |
| 195 | { |
| 196 | } |
| 197 | |
| 198 | int QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::findOptionscxx . . $ QScriptDebuggerCodeFinderWidget#findOptions(455f465bc33b4cdf).() const |
| 199 | { |
| 200 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerCodeFinderWidget); |
| 201 | return d->findOptionscxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#findOptions(455f465bc33b4cdf).(); |
| 202 | } |
| 203 | |
| 204 | QStringcxx . . $ QString# QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::textcxx . . $ QScriptDebuggerCodeFinderWidget#text(6ef7b6c27b00b43d).() const |
| 205 | { |
| 206 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerCodeFinderWidget); |
| 207 | return d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(); |
| 208 | } |
| 209 | |
| 210 | void QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::setTextcxx . . $ QScriptDebuggerCodeFinderWidget#setText(3520e46b33348bf6).(const QStringcxx . . $ QString# &text) |
| 211 | { |
| 212 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerCodeFinderWidget); |
| 213 | d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(text); |
| 214 | } |
| 215 | |
| 216 | void QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::setOKcxx . . $ QScriptDebuggerCodeFinderWidget#setOK(b45ddcbc8423892c).(bool ok) |
| 217 | { |
| 218 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerCodeFinderWidget); |
| 219 | QPalettecxx . . $ QPalette# p = d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->palettecxx . . $ QWidget#palette(a7bd6a16d2c88209).(); |
| 220 | QColorcxx . . $ QColor# ccxx . . $ QColor#QColor(ced63f7c635d850d).; |
| 221 | if (ok) |
| 222 | c =cxx . . $ QColor#`operator=`(7dc25a5504d99c29). Qtcxx . . $ Qt/::whitecxx . . $ Qt/white.; |
| 223 | else |
| 224 | c =cxx . . $ QColor#`operator=`(fd1b853fb77c9003). QColorcxx . . $ QColor#QColor(2261ffe5112eab06).(255, 102, 102); |
| 225 | p.setColorcxx . . $ QPalette#setColor(5c3218fcc49a2895).(QPalettecxx . . $ QPalette#::Activecxx . . $ QPalette#Active., QPalettecxx . . $ QPalette#::Basecxx . . $ QPalette#Base., c); |
| 226 | d->editFindcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#editFind.->setPalettecxx . . $ QWidget#setPalette(f826ed73d5553cd5).(p); |
| 227 | if (!ok) |
| 228 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 229 | } |
| 230 | |
| 231 | void QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::setWrappedcxx . . $ QScriptDebuggerCodeFinderWidget#setWrapped(b45ddcbc8423892c).(bool wrapped) |
| 232 | { |
| 233 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerCodeFinderWidget); |
| 234 | d->labelWrappedcxx . . $ QScriptDebuggerCodeFinderWidgetPrivate#labelWrapped.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(wrapped); |
| 235 | } |
| 236 | |
| 237 | void QScriptDebuggerCodeFinderWidgetcxx . . $ QScriptDebuggerCodeFinderWidget#::keyPressEventcxx . . $ QScriptDebuggerCodeFinderWidget#keyPressEvent(c92999c1b6b09cc0).(QKeyEventcxx . . $ QKeyEvent# *e) |
| 238 | { |
| 239 | if (e->keycxx . . $ QKeyEvent#key(455f465bc33b4cdf).() == Qtcxx . . $ Qt/::Key_Escapecxx . . $ Qt/Key_Escape.) |
| 240 | hidecxx . . $ QWidget#hide(49f6e7a06ebc5aa8).(); |
| 241 | else |
| 242 | QScriptDebuggerCodeFinderWidgetInterfacecxx . . $ QScriptDebuggerCodeFinderWidgetInterface#::keyPressEventcxx . . $ QWidget#keyPressEvent(c92999c1b6b09cc0).(e); |
| 243 | } |
| 244 | |
| 245 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |
| 246 | |
| 247 | #include "moc_qscriptdebuggercodefinderwidget_p.cpp"cxx . . $ `<file>/src/scripttools/.moc/moc_qscriptdebuggercodefinderwidget_p.cpp`/ |