MCPcopy Create free account
hub / github.com/cxasm/notepad-- / FindCmpWin

Method FindCmpWin

src/findcmpwin.cpp:6–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <QMessageBox>
5
6FindCmpWin::FindCmpWin(RC_DIRECTION dir, QWidget *parent):QMainWindow(parent), m_editWidget(nullptr), m_isFindFirst(true), m_findHistory(nullptr)
7{
8 ui.setupUi(this);
9
10 m_BackwardDir = false;
11 m_matchWhole = false;
12 m_matchCase = false;
13 m_matchWrap = true;
14 m_searchMode = 1;
15
16 if (dir == RC_LEFT)
17 {
18 ui.leftSearch->setChecked(true);
19 }
20 else
21 {
22 ui.rightSearch->setChecked(true);
23 }
24
25 connect(ui.leftSearch, &QRadioButton::toggled, this, &FindCmpWin::slot_isSearchLeft);
26
27 connect(ui.findModeRegularBt, &QRadioButton::toggled, this, &FindCmpWin::slot_findModeRegularBtChange);
28}
29
30FindCmpWin::~FindCmpWin()
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected