KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Functions | Variables
layoutlinter_main.cpp File Reference
#include "Config.h"
#include "qtwidgets/ViewFactory.h"
#include "core/MainWindow.h"
#include "core/DockWidget.h"
#include "core/Platform.h"
#include <QDebug>
#include <QString>
#include <QApplication>
#include <QCommandLineParser>
#include <QDir>
#include <QFileInfo>
#include <QTimer>
#include "nlohmann/json.hpp"
Include dependency graph for layoutlinter_main.cpp:

Go to the source code of this file.

Functions

void from_json (const nlohmann::json &j, LinterConfig &ls)
 
void from_json (const nlohmann::json &j, LinterConfig::MainWindow &mw)
 
static bool lint (const QString &filename, LinterConfig config, bool isVerbose)
 
int main (int argc, char *argv[])
 
LinterConfig requestedLinterConfig (const QCommandLineParser &parser, const QString &configFile)
 

Variables

static bool s_isVerbose = false
 

Function Documentation

◆ from_json() [1/2]

void from_json ( const nlohmann::json &  j,
LinterConfig &  ls 
)
inline

Definition at line 60 of file layoutlinter_main.cpp.

◆ from_json() [2/2]

void from_json ( const nlohmann::json &  j,
LinterConfig::MainWindow &  mw 
)
inline

Definition at line 53 of file layoutlinter_main.cpp.

References KDDockWidgets::Core::MainWindow::options().

Referenced by requestedLinterConfig().

◆ lint()

static bool lint ( const QString filename,
LinterConfig  config,
bool  isVerbose 
)
static

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ requestedLinterConfig()

LinterConfig requestedLinterConfig ( const QCommandLineParser parser,
const QString configFile 
)

Variable Documentation

◆ s_isVerbose

bool s_isVerbose = false
static

Definition at line 32 of file layoutlinter_main.cpp.

Referenced by main().


© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8