diff --git a/Plugins/org.mitk.gui.qt.cli/files.cmake b/Plugins/org.mitk.gui.qt.cli/files.cmake index b524f43d0c..ee931089a5 100644 --- a/Plugins/org.mitk.gui.qt.cli/files.cmake +++ b/Plugins/org.mitk.gui.qt.cli/files.cmake @@ -1,60 +1,62 @@ set(SRC_CPP_FILES ) set(INTERNAL_CPP_FILES QmitkUiLoader.cpp QmitkCmdLineModuleGui.cpp QmitkCmdLineModuleFactoryGui.cpp QmitkDataStorageComboBoxWithSelectNone.cpp QmitkDirectoryListWidget.cpp + QmitkFileListWidget.cpp org_mitk_gui_qt_cli_Activator.cpp CommandLineModulesViewConstants.cpp CommandLineModulesViewControls.cpp CommandLineModulesPreferencesPage.cpp CommandLineModulesView.cpp ) set(UI_FILES - src/internal/QmitkDirectoryListWidget.ui + src/internal/QmitkPathListWidget.ui src/internal/CommandLineModulesViewControls.ui ) set(MOC_H_FILES src/internal/QmitkUiLoader.h src/internal/QmitkCmdLineModuleGui.h src/internal/QmitkDataStorageComboBoxWithSelectNone.h src/internal/QmitkDirectoryListWidget.h + src/internal/QmitkFileListWidget.h src/internal/org_mitk_gui_qt_cli_Activator.h src/internal/CommandLineModulesViewControls.h src/internal/CommandLineModulesPreferencesPage.h src/internal/CommandLineModulesView.h ) # list of resource files which can be used by the plug-in # system without loading the plug-ins shared library, # for example the icon used in the menu and tabs for the # plug-in views in the workbench set(CACHED_RESOURCE_FILES resources/icon.xpm resources/run.png resources/stop.png plugin.xml ) # list of Qt .qrc files which contain additional resources # specific to this plugin set(QRC_FILES resources/CommandLineModulesResources.qrc ) set(CPP_FILES ) foreach(file ${SRC_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/${file}) endforeach(file ${SRC_CPP_FILES}) foreach(file ${INTERNAL_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/internal/${file}) endforeach(file ${INTERNAL_CPP_FILES}) diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.cpp b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.cpp index 97aa99fe9b..c346f8bb22 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.cpp +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.cpp @@ -1,147 +1,164 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "CommandLineModulesPreferencesPage.h" #include "CommandLineModulesViewConstants.h" #include #include #include #include #include #include #include #include "QmitkDirectoryListWidget.h" +#include "QmitkFileListWidget.h" //----------------------------------------------------------------------------- CommandLineModulesPreferencesPage::CommandLineModulesPreferencesPage() : m_MainControl(0) , m_TemporaryDirectory(0) , m_ModulesDirectories(0) +, m_ModulesFiles(0) , m_LoadFromHomeDir(0) , m_LoadFromCurrentDir(0) , m_LoadFromApplicationDir(0) , m_LoadFromAutoLoadPathDir(0) , m_CLIPreferencesNode(0) { } //----------------------------------------------------------------------------- CommandLineModulesPreferencesPage::~CommandLineModulesPreferencesPage() { } //----------------------------------------------------------------------------- void CommandLineModulesPreferencesPage::Init(berry::IWorkbench::Pointer ) { } //----------------------------------------------------------------------------- void CommandLineModulesPreferencesPage::CreateQtControl(QWidget* parent) { berry::IPreferencesService::Pointer prefService = berry::Platform::GetServiceRegistry() .GetServiceById(berry::IPreferencesService::ID); std::string id = "/" + CommandLineModulesViewConstants::VIEW_ID; m_CLIPreferencesNode = prefService->GetSystemPreferences()->Node(id); m_MainControl = new QWidget(parent); m_TemporaryDirectory = new ctkDirectoryButton(m_MainControl); m_TemporaryDirectory->setCaption("Select a directory for temporary files ... "); m_ModulesDirectories = new QmitkDirectoryListWidget(m_MainControl); - + m_ModulesDirectories->m_Label->setText("The following list of paths will be searched for executables which provide an XML parameter description when called with a \"--xml\" command line argument:"); + m_ModulesFiles = new QmitkFileListWidget(m_MainControl); + m_ModulesFiles->m_Label->setText("The following list of files should be executables that can be run with a \"--xml\" command line argument and provide an XML parameter description:"); m_DebugOutput = new QCheckBox(m_MainControl); m_LoadFromApplicationDir = new QCheckBox(m_MainControl); m_LoadFromAutoLoadPathDir = new QCheckBox(m_MainControl); m_LoadFromHomeDir = new QCheckBox(m_MainControl); m_LoadFromCurrentDir = new QCheckBox(m_MainControl); QFormLayout *formLayout = new QFormLayout; formLayout->addRow("scan home directory:", m_LoadFromHomeDir); formLayout->addRow("scan current directory:", m_LoadFromCurrentDir); formLayout->addRow("scan installation directory:", m_LoadFromApplicationDir); formLayout->addRow("scan CTK_MODULE_LOAD_PATH:", m_LoadFromAutoLoadPathDir); - formLayout->addRow("additional module paths:", m_ModulesDirectories); + formLayout->addRow("additional module directories:", m_ModulesDirectories); + formLayout->addRow("additional modules:", m_ModulesFiles); formLayout->addRow("temporary directory:", m_TemporaryDirectory); formLayout->addRow("debug output:", m_DebugOutput); m_MainControl->setLayout(formLayout); this->Update(); } //----------------------------------------------------------------------------- QWidget* CommandLineModulesPreferencesPage::GetQtControl() const { return m_MainControl; } +//----------------------------------------------------------------------------- +std::string CommandLineModulesPreferencesPage::ConvertToStdString(const QStringList& list) +{ + std::string output; + for (int i = 0; i < list.count(); i++) + { + QString path = list[i] + ";"; + output += path.toStdString(); + } + return output; +} + //----------------------------------------------------------------------------- bool CommandLineModulesPreferencesPage::PerformOk() { m_CLIPreferencesNode->Put(CommandLineModulesViewConstants::TEMPORARY_DIRECTORY_NODE_NAME, m_TemporaryDirectory->directory().toStdString()); m_CLIPreferencesNode->PutBool(CommandLineModulesViewConstants::DEBUG_OUTPUT_NODE_NAME, m_DebugOutput->isChecked()); m_CLIPreferencesNode->PutBool(CommandLineModulesViewConstants::LOAD_FROM_APPLICATION_DIR, m_LoadFromApplicationDir->isChecked()); m_CLIPreferencesNode->PutBool(CommandLineModulesViewConstants::LOAD_FROM_HOME_DIR, m_LoadFromHomeDir->isChecked()); m_CLIPreferencesNode->PutBool(CommandLineModulesViewConstants::LOAD_FROM_CURRENT_DIR, m_LoadFromCurrentDir->isChecked()); m_CLIPreferencesNode->PutBool(CommandLineModulesViewConstants::LOAD_FROM_AUTO_LOAD_DIR, m_LoadFromAutoLoadPathDir->isChecked()); - // Convert paths to a single item. - QStringList directoryList = m_ModulesDirectories->directories(); - std::string paths; - for (int i = 0; i < directoryList.count(); i++) - { - QString path = directoryList[i] + ";"; - paths += path.toStdString(); - } + std::string paths = this->ConvertToStdString(m_ModulesDirectories->directories()); m_CLIPreferencesNode->Put(CommandLineModulesViewConstants::MODULE_DIRECTORIES_NODE_NAME, paths); + + std::string modules = this->ConvertToStdString(m_ModulesFiles->files()); + m_CLIPreferencesNode->Put(CommandLineModulesViewConstants::MODULE_FILES_NODE_NAME, modules); + return true; } //----------------------------------------------------------------------------- void CommandLineModulesPreferencesPage::PerformCancel() { } //----------------------------------------------------------------------------- void CommandLineModulesPreferencesPage::Update() { QString fallbackTmpDir = QDir::tempPath(); m_TemporaryDirectory->setDirectory(QString::fromStdString(m_CLIPreferencesNode->Get(CommandLineModulesViewConstants::TEMPORARY_DIRECTORY_NODE_NAME, fallbackTmpDir.toStdString()))); m_DebugOutput->setChecked(m_CLIPreferencesNode->GetBool(CommandLineModulesViewConstants::DEBUG_OUTPUT_NODE_NAME, false)); m_LoadFromApplicationDir->setChecked(m_CLIPreferencesNode->GetBool(CommandLineModulesViewConstants::LOAD_FROM_APPLICATION_DIR, false)); m_LoadFromHomeDir->setChecked(m_CLIPreferencesNode->GetBool(CommandLineModulesViewConstants::LOAD_FROM_HOME_DIR, false)); m_LoadFromCurrentDir->setChecked(m_CLIPreferencesNode->GetBool(CommandLineModulesViewConstants::LOAD_FROM_CURRENT_DIR, false)); m_LoadFromAutoLoadPathDir->setChecked(m_CLIPreferencesNode->GetBool(CommandLineModulesViewConstants::LOAD_FROM_AUTO_LOAD_DIR, false)); - // Load paths from a single item, and split into a StringList. QString paths = QString::fromStdString(m_CLIPreferencesNode->Get(CommandLineModulesViewConstants::MODULE_DIRECTORIES_NODE_NAME, "")); QStringList directoryList = paths.split(";", QString::SkipEmptyParts); m_ModulesDirectories->setDirectories(directoryList); + + QString files = QString::fromStdString(m_CLIPreferencesNode->Get(CommandLineModulesViewConstants::MODULE_FILES_NODE_NAME, "")); + QStringList fileList = files.split(";", QString::SkipEmptyParts); + m_ModulesFiles->setFiles(fileList); } diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.h b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.h index d32508ba24..9aa26fc97f 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.h +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesPreferencesPage.h @@ -1,92 +1,98 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef COMMANDLINEMODULESPREFERENCESPAGE_H #define COMMANDLINEMODULESPREFERENCESPAGE_H #include "berryIQtPreferencePage.h" #include "berryIPreferences.h" #include class QWidget; class QCheckBox; class QmitkDirectoryListWidget; +class QmitkFileListWidget; class ctkDirectoryButton; /** * \class CommandLineModulesPreferencesPage * \brief Preference page for CommandLineModulesView * \author Matt Clarkson (m.clarkson@ucl.ac.uk) * \ingroup org_mitk_gui_qt_cli_internal */ class CommandLineModulesPreferencesPage : public QObject, public berry::IQtPreferencePage { Q_OBJECT Q_INTERFACES(berry::IPreferencePage) public: CommandLineModulesPreferencesPage(); ~CommandLineModulesPreferencesPage(); /** * \brief Called by framework to initialise this preference page, but currently does nothing. * \param workbench The workbench. */ void Init(berry::IWorkbench::Pointer workbench); /** * \brief Called by framework to create the GUI, and connect signals and slots. * \param widget The Qt widget that acts as parent to all GUI components, as this class itself is not derived from QWidget. */ void CreateQtControl(QWidget* widget); /** * \brief Required by framework to get hold of the GUI. * \return QWidget* the top most QWidget for the GUI. */ QWidget* GetQtControl() const; /** * \see IPreferencePage::PerformOk */ virtual bool PerformOk(); /** * \see IPreferencePage::PerformCancel */ virtual void PerformCancel(); /** * \see IPreferencePage::Update */ virtual void Update(); public slots: protected: QWidget *m_MainControl; QCheckBox *m_DebugOutput; ctkDirectoryButton *m_TemporaryDirectory; QmitkDirectoryListWidget *m_ModulesDirectories; + QmitkFileListWidget *m_ModulesFiles; QCheckBox *m_LoadFromHomeDir; QCheckBox *m_LoadFromCurrentDir; QCheckBox *m_LoadFromApplicationDir; QCheckBox *m_LoadFromAutoLoadPathDir; berry::IPreferences::Pointer m_CLIPreferencesNode; + +private: + + std::string ConvertToStdString(const QStringList& list); }; #endif // COMMANDLINEMODULESPREFERENCESPAGE_H diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.cpp b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.cpp index da13882420..a6d09eb06f 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.cpp +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.cpp @@ -1,26 +1,27 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "CommandLineModulesViewConstants.h" const std::string CommandLineModulesViewConstants::VIEW_ID = "org.mitk.gui.qt.cli"; const std::string CommandLineModulesViewConstants::TEMPORARY_DIRECTORY_NODE_NAME = "temporary directory"; const std::string CommandLineModulesViewConstants::MODULE_DIRECTORIES_NODE_NAME = "module directories"; +const std::string CommandLineModulesViewConstants::MODULE_FILES_NODE_NAME = "module files"; const std::string CommandLineModulesViewConstants::DEBUG_OUTPUT_NODE_NAME = "debug output"; const std::string CommandLineModulesViewConstants::LOAD_FROM_APPLICATION_DIR = "load from application dir"; const std::string CommandLineModulesViewConstants::LOAD_FROM_HOME_DIR = "load from home dir"; const std::string CommandLineModulesViewConstants::LOAD_FROM_CURRENT_DIR = "load from current dir"; const std::string CommandLineModulesViewConstants::LOAD_FROM_AUTO_LOAD_DIR = "load from auto-load dir"; diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.h b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.h index 88e82d0f69..2285948a4a 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.h +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/CommandLineModulesViewConstants.h @@ -1,74 +1,79 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef CommandLineModulesViewConstants_h #define CommandLineModulesViewConstants_h #include #include /** * \class CommandLineModulesViewConstants * \brief Structure to define a namespace for constants used privately within this view. */ struct CommandLineModulesViewConstants { /** * \brief The name of the preferences node containing the temporary directory. */ static const std::string TEMPORARY_DIRECTORY_NODE_NAME; /** * \brief The name of the preferences node containing the list of directories to scan. */ static const std::string MODULE_DIRECTORIES_NODE_NAME; + /** + * \brief The name of the preferences node containing the additional files to add to the module list. + */ + static const std::string MODULE_FILES_NODE_NAME; + /** * \brief The name of the preferences node containing whether we are producing debug output. */ static const std::string DEBUG_OUTPUT_NODE_NAME; /** * \brief The name of the preferences node containing a boolean describing whether * we are loading modules from the application directory. */ static const std::string LOAD_FROM_APPLICATION_DIR; /** * \brief The name of the preferences node containing a boolean describing whether * we are loading modules from the users home directory. */ static const std::string LOAD_FROM_HOME_DIR; /** * \brief The name of the preferences node containing a boolean describing whether * we are loading modules from the applications current working directory. */ static const std::string LOAD_FROM_CURRENT_DIR; /** * \brief The name of the preferences node containing a boolean describing whether * we are loading modules from the directory specified in CTK_MODULE_LOAD_PATH. */ static const std::string LOAD_FROM_AUTO_LOAD_DIR; /** * \brief The View ID = org.mitk.gui.qt.cli, and should match that in plugin.xml. */ static const std::string VIEW_ID; }; #endif // CommandLineModulesViewConstants_h diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h index 9ba21eaae7..14eec497ca 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h @@ -1,55 +1,56 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef QMITKDIRECTORYLISTWIDGET_H #define QMITKDIRECTORYLISTWIDGET_H -#include "ui_QmitkDirectoryListWidget.h" +#include "ui_QmitkPathListWidget.h" #include /** * \class QmitkDirectoryListWidget * \brief Widget to contain a ctkPathListWidget and a ctkPathListButtonsWidget + * and provide simple directory access for readable, executable directories. */ -class QmitkDirectoryListWidget : public QWidget, public Ui::QmitkDirectoryListWidget +class QmitkDirectoryListWidget : public QWidget, public Ui::QmitkPathListWidget { Q_OBJECT public: QmitkDirectoryListWidget(QWidget* parent=0); /** * \brief Get all directory entries. * \param absolutePath If true, resolve all entries to absolute paths. * \return A list of all directory entries. */ QStringList directories(bool absolutePath = false) const; /** * \brief Sets the list of directory entries. * \param paths The new path list. */ void setDirectories(const QStringList& paths); Q_SIGNALS: void pathsChanged(const QStringList&, const QStringList&); private Q_SLOTS: void OnPathsChanged(const QStringList&, const QStringList&); }; #endif // QMITKDIRECTORYLISTWIDGET_H diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.cpp b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.cpp new file mode 100644 index 0000000000..a1bf1bdec2 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.cpp @@ -0,0 +1,51 @@ +/*=================================================================== + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) University College London (UCL). +All rights reserved. + +This software is distributed WITHOUT ANY WARRANTY; without +even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. + +See LICENSE.txt or http://www.mitk.org for details. + +===================================================================*/ + +#include "QmitkFileListWidget.h" + +#include +#include + +//----------------------------------------------------------------------------- +QmitkFileListWidget::QmitkFileListWidget(QWidget*) +{ + this->setupUi(this); + this->m_PathListWidget->setMode(ctkPathListWidget::FilesOnly); + this->m_PathListWidget->setFileOptions(ctkPathListWidget::Exists | ctkPathListWidget::Readable | ctkPathListWidget::Executable); + this->m_PathListButtonsWidget->init(this->m_PathListWidget); + this->m_PathListButtonsWidget->setOrientation(Qt::Vertical); + connect(this->m_PathListWidget, SIGNAL(pathsChanged(QStringList,QStringList)), this, SLOT(OnPathsChanged(QStringList, QStringList))); +} + + +//----------------------------------------------------------------------------- +void QmitkFileListWidget::OnPathsChanged(const QStringList& before, const QStringList& after) +{ + emit pathsChanged(before, after); +} + + +//----------------------------------------------------------------------------- +QStringList QmitkFileListWidget::files(bool absolutePath) const +{ + return this->m_PathListWidget->files(absolutePath); +} + + +//----------------------------------------------------------------------------- +void QmitkFileListWidget::setFiles(const QStringList& paths) +{ + this->m_PathListWidget->setPaths(paths); +} diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.h similarity index 63% copy from Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h copy to Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.h index 9ba21eaae7..aa3433eade 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.h +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkFileListWidget.h @@ -1,55 +1,56 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ -#ifndef QMITKDIRECTORYLISTWIDGET_H -#define QMITKDIRECTORYLISTWIDGET_H +#ifndef QMITKFILELISTWIDGET_H +#define QMITKFILELISTWIDGET_H -#include "ui_QmitkDirectoryListWidget.h" +#include "ui_QmitkPathListWidget.h" #include /** - * \class QmitkDirectoryListWidget + * \class QmitkFileListWidget * \brief Widget to contain a ctkPathListWidget and a ctkPathListButtonsWidget + * and provide simple file access for readable, executable files. */ -class QmitkDirectoryListWidget : public QWidget, public Ui::QmitkDirectoryListWidget +class QmitkFileListWidget : public QWidget, public Ui::QmitkPathListWidget { Q_OBJECT public: - QmitkDirectoryListWidget(QWidget* parent=0); + QmitkFileListWidget(QWidget* parent=0); /** - * \brief Get all directory entries. + * \brief Get all file entries. * \param absolutePath If true, resolve all entries to absolute paths. - * \return A list of all directory entries. + * \return A list of all file entries. */ - QStringList directories(bool absolutePath = false) const; + QStringList files(bool absolutePath = false) const; /** - * \brief Sets the list of directory entries. + * \brief Sets the list of file entries. * \param paths The new path list. */ - void setDirectories(const QStringList& paths); + void setFiles(const QStringList& paths); Q_SIGNALS: void pathsChanged(const QStringList&, const QStringList&); private Q_SLOTS: void OnPathsChanged(const QStringList&, const QStringList&); }; #endif // QMITKDIRECTORYLISTWIDGET_H diff --git a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.ui b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkPathListWidget.ui similarity index 86% rename from Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.ui rename to Plugins/org.mitk.gui.qt.cli/src/internal/QmitkPathListWidget.ui index 8f7eb1a113..1c21a8441d 100644 --- a/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkDirectoryListWidget.ui +++ b/Plugins/org.mitk.gui.qt.cli/src/internal/QmitkPathListWidget.ui @@ -1,74 +1,74 @@ - QmitkDirectoryListWidget - + QmitkPathListWidget + 0 0 449 312 Form - The following list of paths will be searched for executables which provide a XML parameter description when called with a "--xml" command line argument: + Enter Label Text true Qt::ElideMiddle true Qt::Vertical 20 40 ctkPathListButtonsWidget QWidget
ctkPathListButtonsWidget.h
ctkPathListWidget QListView
ctkPathListWidget.h