ArmarXManagerRepositoryDialog.h
Go to the documentation of this file.
1/*
2 * This file is part of ArmarX.
3 *
4 * Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5 *
6 * ArmarX is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * ArmarX is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * @package ArmarX::Gui
19 * @author Jan Issac ( jan.issac at gmail dot com)
20 * @date 2012
21 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22 * GNU General Public License
23 */
24
25
26#pragma once
27
28#include <QDialog>
29#include <QItemSelectionModel>
30#include <QListView>
31#include <QModelIndex>
32#include <QStandardItemModel>
33
36
37#include "ArmarXManagerModel.h"
38
39namespace Ui
40{
41 class ArmarXManagerRepositoryDialog;
42}
43
44namespace armarx
45{
47 {
48 Q_OBJECT
49
50 public:
51 explicit ArmarXManagerRepositoryDialog(ArmarXManagerModel* managerRepositoryModel,
52 ArmarXManagerModel* monitoredManagerModel,
53 QWidget* parent = 0);
54
56
57 void addOnlineManagers(const QStringList& managers);
58
59 public slots:
60 void addNewManager();
64 void scanForManagers();
65 void clearRepository();
66
69
70 signals:
72
73 protected:
74 void setupView();
75
76 private:
77 Ui::ArmarXManagerRepositoryDialog* ui;
78 QWidget* parent;
79 ArmarXManagerModel* managerRepositoryModel;
80 ArmarXManagerModel* monitoredManagerModel;
81 };
82} // namespace armarx
#define ARMARXCOMPONENT_IMPORT_EXPORT
ArmarXManagerRepositoryDialog(ArmarXManagerModel *managerRepositoryModel, ArmarXManagerModel *monitoredManagerModel, QWidget *parent=0)
void addOnlineManagers(const QStringList &managers)
ArmarX Headers.
This file offers overloads of toIce() and fromIce() functions for STL container types.