forked from qt-creator/qt-creator
Make project dependencies dialog accessible again
Not entirely sure about the location of the menu entry. Also, the dialog is in dire need of a redesign.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>ProjectExplorer::Internal::DependenciesDialog</class>
|
||||
<widget class="QDialog" name="ProjectExplorer::Internal::DependenciesDialog">
|
||||
@@ -5,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>618</width>
|
||||
<height>660</height>
|
||||
<width>492</width>
|
||||
<height>435</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@@ -16,26 +17,11 @@
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="leftMargin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="topMargin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="rightMargin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="bottomMargin" >
|
||||
<property name="margin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QTableView" name="dependencyTable">
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>600</width>
|
||||
<height>600</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
|
||||
@@ -484,6 +484,10 @@ bool ProjectExplorerPlugin::initialize(const QStringList & /*arguments*/, QStrin
|
||||
mbuild->addAction(cmd, Constants::G_BUILD_SESSION);
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD);
|
||||
|
||||
// dependencies action
|
||||
m_dependenciesAction = new QAction(tr("Edit Dependencies..."), this);
|
||||
cmd = am->registerAction(m_dependenciesAction, Constants::DEPENDENCIES, globalcontext);
|
||||
mbuild->addAction(cmd, Constants::G_BUILD_SESSION);
|
||||
|
||||
// build action
|
||||
m_buildAction = new QAction(tr("Build Project"), this);
|
||||
@@ -555,11 +559,6 @@ bool ProjectExplorerPlugin::initialize(const QStringList & /*arguments*/, QStrin
|
||||
mdebug->addAction(cmd, Core::Constants::G_DEFAULT_ONE);
|
||||
modeManager->addAction(cmd, Constants::P_ACTION_DEBUG, m_runConfigurationMenu);
|
||||
|
||||
// dependencies action
|
||||
m_dependenciesAction = new QAction(tr("Edit Dependencies..."), this);
|
||||
cmd = am->registerAction(m_dependenciesAction, Constants::DEPENDENCIES, pecontext);
|
||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_CONFIG);
|
||||
|
||||
// add new file action
|
||||
m_addNewFileAction = new QAction(tr("Add New..."), this);
|
||||
cmd = am->registerAction(m_addNewFileAction, ProjectExplorer::Constants::ADDNEWFILE,
|
||||
|
||||
Reference in New Issue
Block a user