id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
2,686
utilitypanel.cpp
flameshot-org_flameshot/src/widgets/panel/utilitypanel.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "utilitypanel.h" #include "capturewidget.h" #include <QHBoxLayout> #include <QListWidget> #include <QPropertyAnimation> #include <QPushButton> #include <QScrollArea> #include <QTimer> Utility...
7,948
C++
.cpp
232
29.021552
80
0.690414
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,687
colorgrabwidget.cpp
flameshot-org_flameshot/src/widgets/panel/colorgrabwidget.cpp
#include "colorgrabwidget.h" #include "sidepanelwidget.h" #include "colorutils.h" #include "confighandler.h" #include "overlaymessage.h" #include "src/core/qguiappcurrentscreen.h" #include <QApplication> #include <QDebug> #include <QKeyEvent> #include <QPainter> #include <QScreen> #include <QShortcut> #include <QTimer...
8,032
C++
.cpp
217
30.520737
78
0.644983
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,688
modificationcommand.cpp
flameshot-org_flameshot/src/widgets/capture/modificationcommand.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "modificationcommand.h" #include "capturewidget.h" ModificationCommand::ModificationCommand( CaptureWidget* captureWidget, const CaptureToolObjects& captureToolObjects, const CaptureToo...
715
C++
.cpp
21
31.714286
72
0.830435
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
2,689
overlaymessage.cpp
flameshot-org_flameshot/src/widgets/capture/overlaymessage.cpp
#include "overlaymessage.h" #include "colorutils.h" #include "confighandler.h" #include <QApplication> #include <QDebug> #include <QLabel> #include <QPainter> #include <QPen> #include <QScreen> OverlayMessage::OverlayMessage(QWidget* parent, const QRect& targetArea) : QLabel(parent) , m_targetArea(targetArea) { ...
3,556
C++
.cpp
109
28.247706
76
0.685623
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
2,691
capturetoolbutton.cpp
flameshot-org_flameshot/src/widgets/capture/capturetoolbutton.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "capturetoolbutton.h" #include "src/tools/capturetool.h" #include "src/tools/toolfactory.h" #include "src/utils/colorutils.h" #include "src/utils/confighandler.h" #include "src/utils/globalval...
5,899
C++
.cpp
164
30.646341
80
0.665967
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,692
capturewidget.cpp
flameshot-org_flameshot/src/widgets/capture/capturewidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors // Based on Lightscreen areadialog.cpp, Copyright 2017 Christian Kaiser // <info@ckaiser.com.ar> released under the GNU GPL2 // <https://www.gnu.org/licenses/gpl-2.0.txt> // Based on KDE's KSnapshot ...
63,444
C++
.cpp
1,757
28.031303
80
0.618575
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,693
capturetoolobjects.cpp
flameshot-org_flameshot/src/widgets/capture/capturetoolobjects.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Yurii Puchkov & Contributors #include "capturetoolobjects.h" #define SEARCH_RADIUS_NEAR 3 #define SEARCH_RADIUS_FAR 5 #define SEARCH_RADIUS_TEXT_HANDICAP 5 CaptureToolObjects::CaptureToolObjects(QObject* parent) : QObject(parent) {} void...
4,990
C++
.cpp
144
26.708333
80
0.609362
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,695
selectionwidget.cpp
flameshot-org_flameshot/src/widgets/capture/selectionwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "selectionwidget.h" #include "capturetool.h" #include "capturetoolbutton.h" #include "src/utils/globalvalues.h" #include <QApplication> #include <QEvent> #include <QMouseEvent> #include <QPain...
16,995
C++
.cpp
512
24.066406
80
0.560168
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,696
colorpicker.cpp
flameshot-org_flameshot/src/widgets/capture/colorpicker.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "colorpicker.h" #include "src/utils/confighandler.h" #include "src/utils/globalvalues.h" #include <QMouseEvent> #include <QPainter> ColorPicker::ColorPicker(QWidget* parent) : ColorPickerWi...
1,238
C++
.cpp
42
24.214286
79
0.642797
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,697
capturebutton.cpp
flameshot-org_flameshot/src/widgets/capture/capturebutton.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "capturebutton.h" #include "src/utils/colorutils.h" #include "src/utils/confighandler.h" #include "src/utils/globalvalues.h" #include <QGraphicsDropShadowEffect> CaptureButton::CaptureButton(...
2,067
C++
.cpp
63
26.444444
80
0.653112
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,698
magnifierwidget.cpp
flameshot-org_flameshot/src/widgets/capture/magnifierwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "magnifierwidget.h" #include <QApplication> #include <QEvent> #include <QMouseEvent> #include <QPainter> #include <QPainterPath> #include <QPen> #include <QPixmap> MagnifierWidget::MagnifierW...
7,049
C++
.cpp
169
31.982249
95
0.573362
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,700
screengrabber.cpp
flameshot-org_flameshot/src/utils/screengrabber.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "screengrabber.h" #include "abstractlogger.h" #include "src/core/qguiappcurrentscreen.h" #include "src/utils/confighandler.h" #include "src/utils/filenamehandler.h" #include "src/utils/systemn...
8,114
C++
.cpp
224
27.383929
80
0.599644
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,701
pathinfo.cpp
flameshot-org_flameshot/src/utils/pathinfo.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "pathinfo.h" #include <QApplication> #include <QDir> #include <QFileInfo> const QString PathInfo::whiteIconPath() { return QStringLiteral(":/img/material/white/"); } const QString PathIn...
947
C++
.cpp
27
31.592593
76
0.732533
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,702
strfparse.cpp
flameshot-org_flameshot/src/utils/strfparse.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Jeremy Borgman #include "strfparse.h" namespace strfparse { std::vector<std::string> split(std::string const& s, char delimiter) { std::vector<std::string> tokens; std::string token; std::istringstream tokenStream(s); while (...
3,172
C++
.cpp
86
28.313953
80
0.548303
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
2,703
colorutils.cpp
flameshot-org_flameshot/src/utils/colorutils.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "colorutils.h" inline qreal getColorLuma(const QColor& c) { return 0.30 * c.redF() + 0.59 * c.greenF() + 0.11 * c.blueF(); } bool ColorUtils::colorIsDark(const QColor& c) { // when l...
646
C++
.cpp
19
30.315789
72
0.651125
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,705
valuehandler.cpp
flameshot-org_flameshot/src/utils/valuehandler.cpp
#include "valuehandler.h" #include "capturetool.h" #include "colorpickerwidget.h" #include "confighandler.h" #include "screengrabber.h" #include <QColor> #include <QFileInfo> #include <QImageWriter> #include <QKeySequence> #include <QStandardPaths> #include <QVariant> // VALUE HANDLER QVariant ValueHandler::value(con...
12,441
C++
.cpp
471
21.995754
78
0.641846
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,706
abstractlogger.cpp
flameshot-org_flameshot/src/utils/abstractlogger.cpp
#include "abstractlogger.h" #include "systemnotification.h" #include <cassert> #include <QFileInfo> AbstractLogger::AbstractLogger(Channel channel, int targets) : m_defaultChannel(channel) , m_targets(targets) { if (targets & LogFile) { // TODO } } /** * @brief Construct an AbstractLogger with o...
3,345
C++
.cpp
122
22.893443
80
0.664796
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,707
confighandler.cpp
flameshot-org_flameshot/src/utils/confighandler.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "confighandler.h" #include "abstractlogger.h" #include "src/tools/capturetool.h" #include "valuehandler.h" #include <QCoreApplication> #include <QDebug> #include <QDir> #include <QFile> #inclu...
29,725
C++
.cpp
739
33.197564
115
0.569117
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,708
winlnkfileparse.cpp
flameshot-org_flameshot/src/utils/winlnkfileparse.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "winlnkfileparse.h" #include <QDir> #include <QDirIterator> #include <QFileSystemModel> #include <QImageWriter> #include <QRegularExpression> #include <QSettings> #include <QString> #include ...
4,640
C++
.cpp
136
26.522059
80
0.615179
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,709
globalvalues.cpp
flameshot-org_flameshot/src/utils/globalvalues.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "globalvalues.h" #include <QApplication> #include <QFontMetrics> int GlobalValues::buttonBaseSize() { return QApplication::fontMetrics().lineSpacing() * 2.2; } QString GlobalValues::vers...
826
C++
.cpp
30
24.733333
78
0.727273
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,710
systemnotification.cpp
flameshot-org_flameshot/src/utils/systemnotification.cpp
#include "systemnotification.h" #include "src/core/flameshot.h" #include "src/utils/confighandler.h" #include <QApplication> #include <QUrl> #if !(defined(Q_OS_MACOS) || defined(Q_OS_WIN)) #include <QDBusConnection> #include <QDBusInterface> #include <QDBusMessage> #else #include "src/core/flameshotdaemon.h" #endif /...
2,766
C++
.cpp
76
28.763158
75
0.594484
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,711
filenamehandler.cpp
flameshot-org_flameshot/src/utils/filenamehandler.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "filenamehandler.h" #include "abstractlogger.h" #include "src/utils/confighandler.h" #include "src/utils/strfparse.h" #include <QDir> #include <ctime> #include <exception> #include <locale> F...
4,288
C++
.cpp
117
30.717949
80
0.642531
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,712
desktopfileparse.cpp
flameshot-org_flameshot/src/utils/desktopfileparse.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "desktopfileparse.h" #include <QDir> #include <QFile> #include <QLocale> #include <QString> #include <QTextStream> DesktopFileParser::DesktopFileParser() { QString locale = QLocale().name...
5,426
C++
.cpp
144
28.923611
95
0.593821
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,714
screenshotsaver.cpp
flameshot-org_flameshot/src/utils/screenshotsaver.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "screenshotsaver.h" #include "abstractlogger.h" #include "src/core/flameshot.h" #include "src/core/flameshotdaemon.h" #include "src/utils/confighandler.h" #include "src/utils/filenamehandler.h...
7,935
C++
.cpp
213
30.319249
80
0.650897
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,715
history.cpp
flameshot-org_flameshot/src/utils/history.cpp
#include "history.h" #include "src/utils/confighandler.h" #include <QDir> #include <QFile> #include <QProcessEnvironment> #include <QStringList> History::History() { // Get cache history path ConfigHandler config; #ifdef Q_OS_WIN m_historyPath = QDir::homePath() + "/AppData/Roaming/flameshot/history/"; #el...
3,684
C++
.cpp
108
25.462963
78
0.590858
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,716
commandlineparser.cpp
flameshot-org_flameshot/src/cli/commandlineparser.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "commandlineparser.h" #include "abstractlogger.h" #include "src/utils/globalvalues.h" #include <QApplication> #include <QTextStream> CommandLineParser::CommandLineParser() : m_description(q...
12,277
C++
.cpp
383
24.530026
79
0.589296
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,717
commandoption.cpp
flameshot-org_flameshot/src/cli/commandoption.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "commandoption.h" #include <utility> CommandOption::CommandOption(const QString& name, QString description, QString valueName, ...
2,748
C++
.cpp
96
23.125
80
0.652999
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,718
commandargument.cpp
flameshot-org_flameshot/src/cli/commandargument.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "commandargument.h" #include <utility> CommandArgument::CommandArgument() = default; CommandArgument::CommandArgument(QString name, QString description) : m_name(std::move(name)) , m_de...
914
C++
.cpp
33
25.545455
72
0.765786
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,720
cacheutils.cpp
flameshot-org_flameshot/src/config/cacheutils.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Jeremy Borgman #include "cacheutils.h" #include <QDataStream> #include <QDir> #include <QFile> #include <QRect> #include <QStandardPaths> #include <QString> QString getCachePath() { auto cachePath = QStandardPaths::writableLocation...
1,052
C++
.cpp
42
20.785714
70
0.668993
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,721
configerrordetails.cpp
flameshot-org_flameshot/src/config/configerrordetails.cpp
#include "src/config/configerrordetails.h" #include "src/utils/abstractlogger.h" #include "src/utils/confighandler.h" #include <QApplication> #include <QDialogButtonBox> #include <QTextEdit> #include <QVBoxLayout> ConfigErrorDetails::ConfigErrorDetails(QWidget* parent) : QDialog(parent) { // Generate error log...
1,118
C++
.cpp
34
28.882353
66
0.718401
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,722
visualseditor.cpp
flameshot-org_flameshot/src/config/visualseditor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "visualseditor.h" #include "src/config/buttonlistview.h" #include "src/config/colorpickereditor.h" #include "src/config/extendedslider.h" #include "src/config/uicoloreditor.h" #include "src/ut...
3,115
C++
.cpp
79
34.227848
76
0.717593
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,723
strftimechooserwidget.cpp
flameshot-org_flameshot/src/config/strftimechooserwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "strftimechooserwidget.h" #include <QGridLayout> #include <QMap> #include <QPushButton> StrftimeChooserWidget::StrftimeChooserWidget(QWidget* parent) : QWidget(parent) { auto* layout = ...
2,538
C++
.cpp
67
31.940299
77
0.557131
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,724
uicoloreditor.cpp
flameshot-org_flameshot/src/config/uicoloreditor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "uicoloreditor.h" #include "clickablelabel.h" #include "src/utils/confighandler.h" #include "src/utils/globalvalues.h" #include <QApplication> #include <QComboBox> #include <QHBoxLayout> #incl...
5,670
C++
.cpp
146
32.349315
80
0.679876
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,725
styleoverride.cpp
flameshot-org_flameshot/src/config/styleoverride.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2020 Jeremy Borgman <borgman.jeremy@pm.me> // // Created by jeremy on 9/24/20. #include "styleoverride.h" int StyleOverride::styleHint(StyleHint hint, const QStyleOption* option, const QWi...
557
C++
.cpp
16
26.5
72
0.612245
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
2,726
colorpickereditmode.cpp
flameshot-org_flameshot/src/config/colorpickereditmode.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2022 Dearsh Oberoi #include "colorpickereditmode.h" #include <QMouseEvent> #include <QPainter> ColorPickerEditMode::ColorPickerEditMode(QWidget* parent) : ColorPickerWidget(parent) { m_isPressing = false; m_isDragging = false; inst...
3,720
C++
.cpp
91
24.813187
78
0.478141
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,727
buttonlistview.cpp
flameshot-org_flameshot/src/config/buttonlistview.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "buttonlistview.h" #include "src/tools/toolfactory.h" #include "src/utils/confighandler.h" #include <QListWidgetItem> #include <algorithm> ButtonListView::ButtonListView(QWidget* parent) : ...
3,111
C++
.cpp
86
30.313953
80
0.671979
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,728
colorpickereditor.cpp
flameshot-org_flameshot/src/config/colorpickereditor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2022 Dearsh Oberoi #include "colorpickereditor.h" #include "colorpickereditmode.h" #include "src/utils/globalvalues.h" #include <QApplication> #include <QColor> #include <QGridLayout> #include <QHBoxLayout> #include <QLabel> #include <QLineEdit> ...
6,127
C++
.cpp
172
29.052326
80
0.662274
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,729
setshortcutwidget.cpp
flameshot-org_flameshot/src/config/setshortcutwidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors #include "setshortcutwidget.h" #include "src/utils/globalvalues.h" #include <QIcon> #include <QKeyEvent> #include <QLabel> #include <QLayout> #include <QPixmap> SetShortcutDialog::SetShortcutDialog(Q...
2,392
C++
.cpp
74
27.540541
80
0.666233
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,730
extendedslider.cpp
flameshot-org_flameshot/src/config/extendedslider.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "extendedslider.h" ExtendedSlider::ExtendedSlider(QWidget* parent) : QSlider(parent) { connect(this, &ExtendedSlider::valueChanged, this, &ExtendedSl...
1,126
C++
.cpp
36
27.333333
77
0.683579
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
false
false
2,731
filenameeditor.cpp
flameshot-org_flameshot/src/config/filenameeditor.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "filenameeditor.h" #include "src/config/strftimechooserwidget.h" #include "src/utils/confighandler.h" #include "src/utils/filenamehandler.h" #include <QHBoxLayout> #include <QLabel> #include <...
3,728
C++
.cpp
104
31.432692
79
0.716542
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,732
shortcutswidget.cpp
flameshot-org_flameshot/src/config/shortcutswidget.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors #include "shortcutswidget.h" #include "capturetool.h" #include "setshortcutwidget.h" #include "src/core/qguiappcurrentscreen.h" #include "src/utils/globalvalues.h" #include "toolfactory.h" #include <Q...
8,585
C++
.cpp
212
33.070755
80
0.63608
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,733
configresolver.cpp
flameshot-org_flameshot/src/config/configresolver.cpp
#include "src/config/configresolver.h" #include "src/config/configerrordetails.h" #include "src/utils/confighandler.h" #include "src/utils/valuehandler.h" #include <QDialogButtonBox> #include <QLabel> #include <QSplitter> #include <QVBoxLayout> ConfigResolver::ConfigResolver(QWidget* parent) : QDialog(parent) { ...
4,570
C++
.cpp
125
29.68
77
0.633981
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,734
configwindow.cpp
flameshot-org_flameshot/src/config/configwindow.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "configwindow.h" #include "abstractlogger.h" #include "src/config/configresolver.h" #include "src/config/filenameeditor.h" #include "src/config/generalconf.h" #include "src/config/shortcutswid...
5,635
C++
.cpp
145
32.8
80
0.686163
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
true
false
false
2,735
generalconf.cpp
flameshot-org_flameshot/src/config/generalconf.cpp
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "generalconf.h" #include "src/core/flameshot.h" #include "src/utils/confighandler.h" #include <QCheckBox> #include <QComboBox> #include <QFile> #include <QFileDialog> #include <QGroupBox> #incl...
26,816
C++
.cpp
713
32.169705
80
0.715952
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,754
color_delegate.hpp
flameshot-org_flameshot/external/Qt-Color-Widgets/include/QtColorWidgets/color_delegate.hpp
/** * \file * * \author Mattia Basaglia * * \copyright Copyright (C) 2013-2020 Mattia Basaglia * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
2,584
C++
.h
65
35.138462
103
0.742103
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
true
false
false
true
true
false
2,780
flameshot.h
flameshot-org_flameshot/src/core/flameshot.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/core/capturerequest.h" #include <QObject> #include <QPointer> #include <QVersionNumber> class CaptureWidget; class ConfigWindow; class InfoWindow; class CaptureLauncher; cl...
1,905
C++
.h
66
24.424242
80
0.708562
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,781
flameshotdaemon.h
flameshot-org_flameshot/src/core/flameshotdaemon.h
#pragma once #include <QByteArray> #include <QObject> #include <QtDBus/QDBusAbstractAdaptor> class QPixmap; class QRect; class QDBusMessage; class QDBusConnection; class TrayIcon; class CaptureWidget; #if !defined(DISABLE_UPDATE_CHECKER) class QNetworkAccessManager; class QNetworkReply; class QVersionNumber; #endif ...
2,300
C++
.h
69
28.826087
71
0.763776
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,783
qguiappcurrentscreen.h
flameshot-org_flameshot/src/core/qguiappcurrentscreen.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Yuriy Puchkov <yuriy.puchkov@namecheap.com> #ifndef FLAMESHOT_QGUIAPPCURRENTSCREEN_H #define FLAMESHOT_QGUIAPPCURRENTSCREEN_H #include <QPoint> class QScreen; class QGuiAppCurrentScreen { public: explicit QGuiAppCurrentScreen(); QS...
551
C++
.h
19
26.368421
75
0.790476
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,785
flameshotdbusadapter.h
flameshot-org_flameshot/src/core/flameshotdbusadapter.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QtDBus/QDBusAbstractAdaptor> class FlameshotDBusAdapter : public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.flameshot.Flameshot") public: ...
692
C++
.h
17
35.352941
72
0.746269
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,787
toolfactory.h
flameshot-org_flameshot/src/tools/toolfactory.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/capturetool.h" #include "src/widgets/capture/capturetoolbutton.h" #include <QObject> class CaptureTool; class ToolFactory : public QObject { Q_OBJECT public: ...
556
C++
.h
16
32.0625
76
0.774859
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,788
capturecontext.h
flameshot-org_flameshot/src/tools/capturecontext.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "capturerequest.h" #include <QPainter> #include <QPixmap> #include <QPoint> #include <QRect> struct CaptureContext { // screenshot with modifications QPixmap screenshot;...
958
C++
.h
33
25.242424
75
0.736156
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,789
capturetool.h
flameshot-org_flameshot/src/tools/capturetool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/capturecontext.h" #include "src/utils/colorutils.h" #include "src/utils/pathinfo.h" #include <QIcon> #include <QPainter> class CaptureTool : public QObject { Q_OB...
7,109
C++
.h
184
32.201087
80
0.65759
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,790
abstracttwopointtool.h
flameshot-org_flameshot/src/tools/abstracttwopointtool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "capturetool.h" class AbstractTwoPointTool : public CaptureTool { Q_OBJECT public: explicit AbstractTwoPointTool(QObject* parent = nullptr); bool isValid() const ov...
1,745
C++
.h
45
34.222222
80
0.739208
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,791
abstractpathtool.h
flameshot-org_flameshot/src/tools/abstractpathtool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "capturetool.h" class AbstractPathTool : public CaptureTool { Q_OBJECT public: explicit AbstractPathTool(QObject* parent = nullptr); bool isValid() const override; ...
1,246
C++
.h
36
30.611111
73
0.745424
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,793
applauncherwidget.h
flameshot-org_flameshot/src/tools/launcher/applauncherwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QMap> #include <QWidget> #if defined(Q_OS_WIN) #include "src/utils/winlnkfileparse.h" #else #include "src/utils/desktopfileparse.h" #endif class QTabWidget; class QCheckBox; c...
1,356
C++
.h
47
25.191489
76
0.754804
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,794
openwithprogram.h
flameshot-org_flameshot/src/tools/launcher/openwithprogram.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QPixmap> void showOpenWithMenu(const QPixmap& capture);
200
C++
.h
5
38.4
72
0.807292
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,795
terminallauncher.h
flameshot-org_flameshot/src/tools/launcher/terminallauncher.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QObject> struct TerminalApp { QString name; QString arg; }; class TerminalLauncher : public QObject { Q_OBJECT public: explicit TerminalLauncher(QObject* paren...
450
C++
.h
18
22.333333
72
0.776995
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,797
markertool.h
flameshot-org_flameshot/src/tools/marker/markertool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class MarkerTool : public AbstractTwoPointTool { Q_OBJECT public: explicit MarkerTool(QObject* parent = nullptr); QIcon icon(cons...
954
C++
.h
23
36.913043
73
0.761905
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,800
texttool.h
flameshot-org_flameshot/src/tools/text/texttool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/capturetool.h" #include "textconfig.h" #include <QPoint> #include <QPointer> class TextWidget; class TextConfig; class TextTool : public CaptureTool { Q_OBJECT pu...
2,621
C++
.h
69
33.072464
72
0.731284
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,801
textconfig.h
flameshot-org_flameshot/src/tools/text/textconfig.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QWidget> class QVBoxLayout; class QPushButton; class QComboBox; class TextConfig : public QWidget { Q_OBJECT public: explicit TextConfig(QWidget* parent = nullptr); ...
1,272
C++
.h
39
28.923077
72
0.777778
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,806
circletool.h
flameshot-org_flameshot/src/tools/circle/circletool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class CircleTool : public AbstractTwoPointTool { Q_OBJECT public: explicit CircleTool(QObject* parent = nullptr); QIcon icon(cons...
706
C++
.h
19
33.894737
72
0.775
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,808
pixelatetool.h
flameshot-org_flameshot/src/tools/pixelate/pixelatetool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class PixelateTool : public AbstractTwoPointTool { Q_OBJECT public: explicit PixelateTool(QObject* parent = nullptr); QIcon icon(...
941
C++
.h
23
36.347826
75
0.757409
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,811
linetool.h
flameshot-org_flameshot/src/tools/line/linetool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class LineTool : public AbstractTwoPointTool { Q_OBJECT public: explicit LineTool(QObject* parent = nullptr); QIcon icon(const QC...
702
C++
.h
19
33.684211
72
0.773669
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,812
penciltool.h
flameshot-org_flameshot/src/tools/pencil/penciltool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstractpathtool.h" class PencilTool : public AbstractPathTool { Q_OBJECT public: explicit PencilTool(QObject* parent = nullptr); QIcon icon(const QColor...
873
C++
.h
22
35.090909
72
0.754448
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,813
inverttool.h
flameshot-org_flameshot/src/tools/invert/inverttool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class InvertTool : public AbstractTwoPointTool { Q_OBJECT public: explicit InvertTool(QObject* parent = nullptr); QIcon icon(cons...
937
C++
.h
23
36.173913
75
0.75634
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,814
selectiontool.h
flameshot-org_flameshot/src/tools/selection/selectiontool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class SelectionTool : public AbstractTwoPointTool { Q_OBJECT public: explicit SelectionTool(QObject* parent = nullptr); bool clos...
761
C++
.h
20
34.65
72
0.777626
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,815
circlecounttool.h
flameshot-org_flameshot/src/tools/circlecount/circlecounttool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class CircleCountTool : public AbstractTwoPointTool { Q_OBJECT public: explicit CircleCountTool(QObject* parent = nullptr); QIcon...
1,195
C++
.h
30
35.233333
73
0.758651
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,816
imguploadermanager.h
flameshot-org_flameshot/src/tools/imgupload/imguploadermanager.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Yurii Puchkov & Contributors // #ifndef FLAMESHOT_IMGUPLOADERMANAGER_H #define FLAMESHOT_IMGUPLOADERMANAGER_H #include "src/tools/imgupload/storages/imguploaderbase.h" #include <QObject> #define IMG_UPLOADER_STORAGE_DEFAULT "imgur" class QPixma...
886
C++
.h
28
27.785714
64
0.761792
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,818
imguploaderbase.h
flameshot-org_flameshot/src/tools/imgupload/storages/imguploaderbase.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QUrl> #include <QWidget> class QNetworkReply; class QNetworkAccessManager; class QHBoxLayout; class QVBoxLayout; class QLabel; class LoadSpinner; class QPushButton; class QUrl;...
1,632
C++
.h
59
23.576271
80
0.737821
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,819
imguruploader.h
flameshot-org_flameshot/src/tools/imgupload/storages/imgur/imguruploader.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/imgupload/storages/imguploaderbase.h" #include <QUrl> #include <QWidget> class QNetworkReply; class QNetworkAccessManager; class QUrl; class ImgurUploader : public I...
654
C++
.h
22
27.318182
78
0.7968
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,820
pinwidget.h
flameshot-org_flameshot/src/tools/pin/pinwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QWidget> class QLabel; class QVBoxLayout; class QGestureEvent; class QPinchGesture; class QGraphicsDropShadowEffect; class PinWidget : public QWidget { Q_OBJECT public: ...
1,630
C++
.h
52
26.615385
72
0.724138
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,823
arrowtool.h
flameshot-org_flameshot/src/tools/arrow/arrowtool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" #include <QPainter> #include <QPainterPath> class ArrowTool : public AbstractTwoPointTool { Q_OBJECT public: explicit ArrowTool(QObjec...
888
C++
.h
25
32.28
72
0.773099
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,824
rectangletool.h
flameshot-org_flameshot/src/tools/rectangle/rectangletool.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/abstracttwopointtool.h" class RectangleTool : public AbstractTwoPointTool { Q_OBJECT public: explicit RectangleTool(QObject* parent = nullptr); QIcon ico...
772
C++
.h
20
35.25
72
0.778523
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,825
imguploaddialog.h
flameshot-org_flameshot/src/widgets/imguploaddialog.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QDialog> class QCheckBox; class QLabel; class QDialogButtonBox; class QVBoxLayout; class ImgUploadDialog : public QDialog { Q_OBJECT public: explicit ImgUploadDialog(Q...
489
C++
.h
19
23.210526
72
0.793548
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,826
imagelabel.h
flameshot-org_flameshot/src/widgets/imagelabel.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors // This code is a modified version of the KDE software Spectacle // /src/Gui/KSImageWidget.h commit cbbd6d45f6426ccbf1a82b15fdf98613ccccbbe9 #pragma once #include <QColor> #include <QGraphicsDropShad...
1,048
C++
.h
32
29.96875
75
0.790467
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,827
colorpickerwidget.h
flameshot-org_flameshot/src/widgets/colorpickerwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2022 Dearsh Oberoi #pragma once #include <QWidget> class ColorPickerWidget : public QWidget { Q_OBJECT public: explicit ColorPickerWidget(QWidget* parent = nullptr); static const QVector<QColor>& getDefaultSmallColorPalette(); s...
824
C++
.h
25
29.24
78
0.769912
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,828
updatenotificationwidget.h
flameshot-org_flameshot/src/widgets/updatenotificationwidget.h
// // Created by yuriypuchkov on 09.12.2020. // #ifndef FLAMESHOT_UPDATENOTIFICATIONWIDGET_H #define FLAMESHOT_UPDATENOTIFICATIONWIDGET_H #include <QPointer> #include <QWidget> class QVBoxLayout; class QPropertyAnimation; class QScrollArea; class QPushButton; class QLabel; class UpdateNotificationWidget : public QW...
1,064
C++
.h
38
22.973684
70
0.72763
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,829
notificationwidget.h
flameshot-org_flameshot/src/widgets/notificationwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QWidget> class QLabel; class QTimer; class QPropertyAnimation; class QVBoxLayout; class QFrame; class NotificationWidget : public QWidget { Q_OBJECT public: explicit N...
647
C++
.h
25
22.84
72
0.76748
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,830
orientablepushbutton.h
flameshot-org_flameshot/src/widgets/orientablepushbutton.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors // Based on https://stackoverflow.com/a/53135675/964478 #pragma once #include "capture/capturebutton.h" #include <QPushButton> class OrientablePushButton : public CaptureButton { Q_OBJECT public...
975
C++
.h
29
28.103448
73
0.726788
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,831
capturelauncher.h
flameshot-org_flameshot/src/widgets/capturelauncher.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2018 Alejandro Sirgo Rica & Contributors #pragma once #include <QDialog> QT_BEGIN_NAMESPACE namespace Ui { class CaptureLauncher; } QT_END_NAMESPACE class CaptureLauncher : public QDialog { Q_OBJECT public: explicit CaptureLaunche...
607
C++
.h
24
22.5
72
0.770833
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,832
uploadlineitem.h
flameshot-org_flameshot/src/widgets/uploadlineitem.h
#ifndef UPLOADLINEITEM_H #define UPLOADLINEITEM_H #include <QWidget> struct HistoryFileName; QT_BEGIN_NAMESPACE namespace Ui { class UploadLineItem; } QT_END_NAMESPACE void removeCacheFile(QString const& fullFileName); class UploadLineItem : public QWidget { Q_OBJECT public: UploadLineItem(QWidget* parent,...
685
C++
.h
27
19.888889
58
0.693252
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,833
uploadhistory.h
flameshot-org_flameshot/src/widgets/uploadhistory.h
#ifndef UPLOADHISTORY_H #define UPLOADHISTORY_H #include <QWidget> QT_BEGIN_NAMESPACE namespace Ui { class UploadHistory; } QT_END_NAMESPACE void clearHistoryLayout(QLayout* layout); void scaleThumbnail(QPixmap& input); class UploadHistory : public QWidget { Q_OBJECT public: explicit UploadHistory(QWidget* ...
545
C++
.h
24
20.25
54
0.776265
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,834
trayicon.h
flameshot-org_flameshot/src/widgets/trayicon.h
#include <QSystemTrayIcon> #pragma once class QAction; class TrayIcon : public QSystemTrayIcon { Q_OBJECT public: TrayIcon(QObject* parent = nullptr); virtual ~TrayIcon(); #if !defined(DISABLE_UPDATE_CHECKER) QAction* appUpdates(); #endif private: void initTrayIcon(); void initMenu(); #if !...
530
C++
.h
24
19.125
47
0.747495
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,835
infowindow.h
flameshot-org_flameshot/src/widgets/infowindow.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021-2022 Jeremy Borgman & Contributors #pragma once #include <QWidget> QT_BEGIN_NAMESPACE namespace Ui { class InfoWindow; } QT_END_NAMESPACE class InfoWindow : public QWidget { Q_OBJECT public: explicit InfoWindow(QWidget* parent = n...
526
C++
.h
23
20.434783
66
0.775304
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,836
loadspinner.h
flameshot-org_flameshot/src/widgets/loadspinner.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QWidget> class LoadSpinner : public QWidget { Q_OBJECT public: explicit LoadSpinner(QWidget* parent = nullptr); void setColor(const QColor& c); void setWidth(i...
638
C++
.h
27
19.925926
72
0.700997
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,837
draggablewidgetmaker.h
flameshot-org_flameshot/src/widgets/draggablewidgetmaker.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QEvent> #include <QObject> #include <QPoint> #include <QWidget> class DraggableWidgetMaker : public QObject { Q_OBJECT public: DraggableWidgetMaker(QObject* parent = nu...
572
C++
.h
21
24.428571
72
0.763303
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,838
utilitypanel.h
flameshot-org_flameshot/src/widgets/panel/utilitypanel.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/tools/capturetool.h" #include <QPointer> #include <QWidget> class QVBoxLayout; class QPropertyAnimation; class QScrollArea; class QPushButton; class QListWidget; class QPus...
1,674
C++
.h
56
26.178571
72
0.766791
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,839
colorgrabwidget.h
flameshot-org_flameshot/src/widgets/panel/colorgrabwidget.h
#ifndef COLORGRABWIDGET_H #define COLORGRABWIDGET_H #include <QWidget> class SidePanelWidget; class OverlayMessage; class ColorGrabWidget : public QWidget { Q_OBJECT public: ColorGrabWidget(QPixmap* p, QWidget* parent = nullptr); void startGrabbing(); QColor color(); signals: void colorUpdated...
982
C++
.h
34
24.970588
59
0.751334
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,840
sidepanelwidget.h
flameshot-org_flameshot/src/widgets/panel/sidepanelwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "QtColorWidgets/color_wheel.hpp" #include <QSpinBox> #include <QWidget> class QVBoxLayout; class QPushButton; class QLabel; class QLineEdit; class ColorGrabWidget; class QColorP...
1,700
C++
.h
56
26.839286
72
0.765175
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,841
overlaymessage.h
flameshot-org_flameshot/src/widgets/capture/overlaymessage.h
#pragma once #include <QLabel> #include <QStack> /** * @brief Overlay a message in capture mode. * * The message must be initialized by calling `init` before it can be used. That * can be done once per capture session. The class is a singleton. * * To change the active message call `push`. This will automatical...
1,423
C++
.h
38
34.210526
80
0.74655
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,842
modificationcommand.h
flameshot-org_flameshot/src/widgets/capture/modificationcommand.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #include "capturetoolobjects.h" #include <QUndoCommand> #ifndef FLAMESHOT_MODIFICATIONCOMMAND_H #define FLAMESHOT_MODIFICATIONCOMMAND_H class CaptureWidget; class ModificationCommand : public QUndoC...
795
C++
.h
21
33.095238
76
0.782269
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,843
magnifierwidget.h
flameshot-org_flameshot/src/widgets/capture/magnifierwidget.h
#pragma once #include <QWidget> class QPropertyAnimation; class MagnifierWidget : public QWidget { Q_OBJECT public: explicit MagnifierWidget(const QPixmap& p, const QColor& c, bool isSquare, QWidget* parent = nullptr); pr...
776
C++
.h
27
22.111111
56
0.650538
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,845
capturetoolobjects.h
flameshot-org_flameshot/src/widgets/capture/capturetoolobjects.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Yurii Puchkov & Contributors #ifndef FLAMESHOT_CAPTURETOOLOBJECTS_H #define FLAMESHOT_CAPTURETOOLOBJECTS_H #include "src/tools/capturetool.h" #include <QList> #include <QPointer> class CaptureToolObjects : public QObject { public: expli...
1,110
C++
.h
30
31.633333
69
0.722533
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,847
selectionwidget.h
flameshot-org_flameshot/src/widgets/capture/selectionwidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QWidget> class QPropertyAnimation; class SelectionWidget : public QWidget { Q_OBJECT public: enum SideType { NO_SIDE = 0, TOP_SIDE = 0b0001, ...
2,678
C++
.h
83
27.13253
72
0.702177
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,848
capturewidget.h
flameshot-org_flameshot/src/widgets/capture/capturewidget.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors // Based on Lightscreen areadialog.h, Copyright 2017 Christian Kaiser // <info@ckaiser.com.ar> released under the GNU GPL2 // <https://www.gnu.org/licenses/gpl-2.0.txt> // Based on KDE's KSnapshot re...
6,714
C++
.h
188
30.87234
78
0.744337
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,849
colorpicker.h
flameshot-org_flameshot/src/widgets/capture/colorpicker.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "src/widgets/colorpickerwidget.h" class ColorPicker : public ColorPickerWidget { Q_OBJECT public: explicit ColorPicker(QWidget* parent = nullptr); signals: void col...
503
C++
.h
16
28.625
72
0.784232
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,851
capturebutton.h
flameshot-org_flameshot/src/widgets/capture/capturebutton.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QPushButton> class CaptureButton : public QPushButton { Q_OBJECT public: CaptureButton() = delete; CaptureButton(QWidget* parent = nullptr); CaptureButton(cons...
659
C++
.h
21
26.333333
72
0.705882
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,852
capturetoolbutton.h
flameshot-org_flameshot/src/widgets/capture/capturetoolbutton.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include "capturebutton.h" #include "src/tools/capturetool.h" #include <QMap> #include <QVector> class QWidget; class QPropertyAnimation; class CaptureToolButton : public CaptureButton ...
1,272
C++
.h
39
28.179487
72
0.748768
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,854
strfparse.h
flameshot-org_flameshot/src/utils/strfparse.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2021 Jeremy Borgman #include <algorithm> #include <ctime> #include <map> #include <sstream> #include <vector> namespace strfparse { std::vector<std::string> split(std::string const& s, char delimiter); std::vector<char> create_specifier_list(); ...
676
C++
.h
17
33.529412
72
0.675345
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
2,855
colorutils.h
flameshot-org_flameshot/src/utils/colorutils.h
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors #pragma once #include <QColor> namespace ColorUtils { // namespace bool colorIsDark(const QColor& c); QColor contrastColor(const QColor& c); } // namespace
280
C++
.h
8
33.25
72
0.789474
flameshot-org/flameshot
24,603
1,577
714
GPL-3.0
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false