Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE PIM Add-ons
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
KDE PIM Add-ons
Commits
c8c93db9
Commit
c8c93db9
authored
May 22, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create widget
parent
db216cfd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
5 deletions
+68
-5
sieveeditor/regexeditorlineedit/tests/CMakeLists.txt
sieveeditor/regexeditorlineedit/tests/CMakeLists.txt
+1
-0
sieveeditor/regexeditorlineedit/tests/main.cpp
sieveeditor/regexeditorlineedit/tests/main.cpp
+5
-5
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.cpp
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.cpp
+28
-0
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.h
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.h
+34
-0
No files found.
sieveeditor/regexeditorlineedit/tests/CMakeLists.txt
View file @
c8c93db9
set
(
sieveeditor_regexpeditor_SRCS
main.cpp
regexpeditorwidget.cpp
)
add_executable
(
sieveeditorregexpeditor_gui
${
sieveeditor_regexpeditor_SRCS
}
)
...
...
sieveeditor/regexeditorlineedit/tests/main.cpp
View file @
c8c93db9
...
...
@@ -20,7 +20,7 @@
#include <QStandardPaths>
#include <QCommandLineParser>
#include <QApplication>
//#include "selectimapwidgettes
t.h"
#include "regexpeditorwidge
t.h"
int
main
(
int
argc
,
char
**
argv
)
{
...
...
@@ -31,10 +31,10 @@ int main(int argc, char **argv)
parser
.
addHelpOption
();
parser
.
process
(
app
);
//SelectImapWidgetTest *w = new SelectImapWidgetTes
t;
//
w->resize(800, 600);
//
w->show();
RegExpEditorWidget
*
w
=
new
RegExpEditorWidge
t
;
w
->
resize
(
800
,
600
);
w
->
show
();
app
.
exec
();
//
delete w;
delete
w
;
return
0
;
}
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.cpp
0 → 100644
View file @
c8c93db9
/*
Copyright (C) 2017 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "regexpeditorwidget.h"
#include <QHBoxLayout>
RegExpEditorWidget
::
RegExpEditorWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
}
sieveeditor/regexeditorlineedit/tests/regexpeditorwidget.h
0 → 100644
View file @
c8c93db9
/*
Copyright (C) 2017 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef REGEXPEDITORWIDGET_H
#define REGEXPEDITORWIDGET_H
#include <QWidget>
class
RegExpEditorWidget
:
public
QWidget
{
Q_OBJECT
public:
explicit
RegExpEditorWidget
(
QWidget
*
parent
=
nullptr
);
~
RegExpEditorWidget
()
=
default
;
};
#endif // REGEXPEDITORWIDGET_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment