GUI: Disable and hide library editor for now. It will be readded after the release.
This commit is contained in:
parent
2ae7bcaf1b
commit
b7bac8c920
18
gui/gui.pro
18
gui/gui.pro
|
@ -5,7 +5,6 @@ DEPENDPATH += . \
|
||||||
../lib
|
../lib
|
||||||
INCLUDEPATH += . \
|
INCLUDEPATH += . \
|
||||||
../lib
|
../lib
|
||||||
QT += xml
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
QT += widgets # In Qt 5 widgets are in separate module
|
QT += widgets # In Qt 5 widgets are in separate module
|
||||||
QT += printsupport # In Qt 5 QPrinter/QPrintDialog are in separate module
|
QT += printsupport # In Qt 5 QPrinter/QPrintDialog are in separate module
|
||||||
|
@ -50,10 +49,7 @@ FORMS = about.ui \
|
||||||
resultsview.ui \
|
resultsview.ui \
|
||||||
scratchpad.ui \
|
scratchpad.ui \
|
||||||
settings.ui \
|
settings.ui \
|
||||||
stats.ui \
|
stats.ui
|
||||||
librarydialog.ui \
|
|
||||||
libraryaddfunctiondialog.ui \
|
|
||||||
libraryeditargdialog.ui
|
|
||||||
|
|
||||||
TRANSLATIONS = cppcheck_de.ts \
|
TRANSLATIONS = cppcheck_de.ts \
|
||||||
cppcheck_es.ts \
|
cppcheck_es.ts \
|
||||||
|
@ -108,11 +104,7 @@ HEADERS += aboutdialog.h \
|
||||||
txtreport.h \
|
txtreport.h \
|
||||||
xmlreport.h \
|
xmlreport.h \
|
||||||
xmlreportv1.h \
|
xmlreportv1.h \
|
||||||
xmlreportv2.h \
|
xmlreportv2.h
|
||||||
librarydialog.h \
|
|
||||||
cppchecklibrarydata.h \
|
|
||||||
libraryaddfunctiondialog.h \
|
|
||||||
libraryeditargdialog.h
|
|
||||||
|
|
||||||
SOURCES += aboutdialog.cpp \
|
SOURCES += aboutdialog.cpp \
|
||||||
application.cpp \
|
application.cpp \
|
||||||
|
@ -146,11 +138,7 @@ SOURCES += aboutdialog.cpp \
|
||||||
txtreport.cpp \
|
txtreport.cpp \
|
||||||
xmlreport.cpp \
|
xmlreport.cpp \
|
||||||
xmlreportv1.cpp \
|
xmlreportv1.cpp \
|
||||||
xmlreportv2.cpp \
|
xmlreportv2.cpp
|
||||||
librarydialog.cpp \
|
|
||||||
cppchecklibrarydata.cpp \
|
|
||||||
libraryaddfunctiondialog.cpp \
|
|
||||||
libraryeditargdialog.cpp
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES += _CRT_SECURE_NO_WARNINGS
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>640</width>
|
<width>640</width>
|
||||||
<height>20</height>
|
<height>19</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="mMenuFile">
|
<widget class="QMenu" name="mMenuFile">
|
||||||
|
@ -710,6 +710,9 @@
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Open library editor</string>
|
<string>Open library editor</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="visible">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "logview.h"
|
#include "logview.h"
|
||||||
#include "filelist.h"
|
#include "filelist.h"
|
||||||
#include "showtypes.h"
|
#include "showtypes.h"
|
||||||
#include "librarydialog.h"
|
//#include "librarydialog.h"
|
||||||
|
|
||||||
static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html");
|
static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html");
|
||||||
|
|
||||||
|
@ -1219,8 +1219,8 @@ void MainWindow::ShowStatistics()
|
||||||
|
|
||||||
void MainWindow::ShowLibraryEditor()
|
void MainWindow::ShowLibraryEditor()
|
||||||
{
|
{
|
||||||
LibraryDialog libraryDialog(this);
|
//LibraryDialog libraryDialog(this);
|
||||||
libraryDialog.exec();
|
//libraryDialog.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::Log(const QString &logline)
|
void MainWindow::Log(const QString &logline)
|
||||||
|
|
Loading…
Reference in New Issue