| Line |
Branch |
Exec |
Source |
| 1 |
|
|
// Copyright (c) 2015, Joseph Mirabel |
| 2 |
|
|
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr) |
| 3 |
|
|
// |
| 4 |
|
|
// This file is part of hpp-plot. |
| 5 |
|
|
// hpp-plot is free software: you can redistribute it |
| 6 |
|
|
// and/or modify it under the terms of the GNU Lesser General Public |
| 7 |
|
|
// License as published by the Free Software Foundation, either version |
| 8 |
|
|
// 3 of the License, or (at your option) any later version. |
| 9 |
|
|
// |
| 10 |
|
|
// hpp-plot is distributed in the hope that it will be |
| 11 |
|
|
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty |
| 12 |
|
|
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
|
|
// General Lesser Public License for more details. You should have |
| 14 |
|
|
// received a copy of the GNU Lesser General Public License along with |
| 15 |
|
|
// hpp-plot. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
|
|
|
| 17 |
|
|
#include <QApplication> |
| 18 |
|
|
#include <QDebug> |
| 19 |
|
|
#include <QMainWindow> |
| 20 |
|
|
#include <hpp/corbaserver/manipulation/client.hh> |
| 21 |
|
|
|
| 22 |
|
|
#include "hpp/plot/hpp-manipulation-graph.hh" |
| 23 |
|
|
|
| 24 |
|
✗ |
int main(int argc, char** argv) { |
| 25 |
|
✗ |
QApplication a(argc, argv); |
| 26 |
|
✗ |
QMainWindow window; |
| 27 |
|
|
|
| 28 |
|
✗ |
hpp::corbaServer::manipulation::Client client(argc, argv); |
| 29 |
|
✗ |
client.connect(); |
| 30 |
|
✗ |
hpp::plot::HppManipulationGraphWidget w(&client, NULL); |
| 31 |
|
✗ |
w.setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
| 32 |
|
✗ |
window.setCentralWidget(&w); |
| 33 |
|
✗ |
window.show(); |
| 34 |
|
✗ |
return a.exec(); |
| 35 |
|
|
} |
| 36 |
|
|
|