[Differential] [Request, 13 lines] D2634: [kdevplatform] Add ability to ProblemsView for show view for selected ProblemModel
antonanikin (Anton Anikin)
noreply at phabricator.kde.org
Wed Aug 31 06:10:06 UTC 2016
antonanikin created this revision.
antonanikin added a reviewer: KDevelop.
antonanikin added a subscriber: kdevelop-devel.
antonanikin set the repository for this revision to rKDEVPLATFORM KDevPlatform.
REVISION SUMMARY
This patch provide mechanism for activating (showing) selected tabs in Problems View. This is useful for plugins, which provides custom problem models and allows them to automatically (for user) shows results of the work.
TEST PLAN
Tested on new version of kdev-cppcheck pugin (not pushed to upstream yet):
QWidget* view = core()->uiController()->findToolView(
i18nd("kdevproblemreporter", "Problems"),
nullptr,
KDevelop::IUiController::FindFlags::Raise);
if (view)
QMetaObject::invokeMethod(view, "changeView", Qt::DirectConnection,
Q_ARG(const QString&, QStringLiteral("Cppcheck")));
REPOSITORY
rKDEVPLATFORM KDevPlatform
REVISION DETAIL
https://phabricator.kde.org/D2634
AFFECTED FILES
plugins/problemreporter/problemsview.cpp
plugins/problemreporter/problemsview.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: antonanikin, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160831/e5aa6ae4/attachment.html>
More information about the KDevelop-devel
mailing list