forked from qt-creator/qt-creator
DebuggerKitInformation: Use Eliding Label
The path to the debugger and gsbserver can get long. This prevents scrollbars in those cases. Change-Id: Ic8c22d764ce9d5d798ea3c8d2a9f638d51a30351 Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#include "androidtoolchain.h"
|
#include "androidtoolchain.h"
|
||||||
|
|
||||||
#include <utils/pathchooser.h>
|
#include <utils/pathchooser.h>
|
||||||
|
#include <utils/elidinglabel.h>
|
||||||
|
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
@@ -110,7 +111,7 @@ Utils::FileName AndroidGdbServerKitInformation::autoDetect(ProjectExplorer::Kit
|
|||||||
|
|
||||||
AndroidGdbServerKitInformationWidget::AndroidGdbServerKitInformationWidget(ProjectExplorer::Kit *kit)
|
AndroidGdbServerKitInformationWidget::AndroidGdbServerKitInformationWidget(ProjectExplorer::Kit *kit)
|
||||||
: ProjectExplorer::KitConfigWidget(kit),
|
: ProjectExplorer::KitConfigWidget(kit),
|
||||||
m_label(new QLabel),
|
m_label(new Utils::ElidingLabel),
|
||||||
m_button(new QPushButton(tr("Manage...")))
|
m_button(new QPushButton(tr("Manage...")))
|
||||||
{
|
{
|
||||||
// ToolButton with Menu, defaulting to 'Autodetect'.
|
// ToolButton with Menu, defaulting to 'Autodetect'.
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include <utils/pathchooser.h>
|
#include <utils/pathchooser.h>
|
||||||
#include <utils/qtcassert.h>
|
#include <utils/qtcassert.h>
|
||||||
|
#include <utils/elidinglabel.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include <utils/winutils.h>
|
#include <utils/winutils.h>
|
||||||
@@ -64,7 +65,7 @@ static const char debuggingToolsWikiLinkC[] = "http://qt-project.org/wiki/Qt_Cre
|
|||||||
|
|
||||||
DebuggerKitConfigWidget::DebuggerKitConfigWidget(ProjectExplorer::Kit *workingCopy)
|
DebuggerKitConfigWidget::DebuggerKitConfigWidget(ProjectExplorer::Kit *workingCopy)
|
||||||
: KitConfigWidget(workingCopy),
|
: KitConfigWidget(workingCopy),
|
||||||
m_label(new QLabel),
|
m_label(new Utils::ElidingLabel),
|
||||||
m_button(new QPushButton(tr("Manage...")))
|
m_button(new QPushButton(tr("Manage...")))
|
||||||
{
|
{
|
||||||
// ToolButton with Menu, defaulting to 'Autodetect'.
|
// ToolButton with Menu, defaulting to 'Autodetect'.
|
||||||
|
|||||||
Reference in New Issue
Block a user