CollectionCreateDialog.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package MemoryX::MemoryX::PriorMemoryEditorPlugin
17 * @author Alexey Kozlov (kozlov at kit dot edu)
18 * @date 2012
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
25 #include <QDialog>
26 
27 #include <MemoryX/interface/core/EntityBase.h>
28 
29 namespace Ui
30 {
31  class CollectionCreateDialog;
32 }
33 
34 namespace memoryx
35 {
36 
37  class CollectionCreateDialog : public QDialog
38  {
39  Q_OBJECT
40 
41  public:
42  explicit CollectionCreateDialog(QWidget* parent = 0);
43  ~CollectionCreateDialog() override;
44 
45  void setCollectionPrefix(const std::string& prefix);
46  void setDatabases(const NameList& dbNames);
47  std::string getDBName() const;
48  std::string getCollectionName() const;
49 
50  private:
51  Ui::CollectionCreateDialog* ui;
52  std::string collPrefix;
53  };
54 }
55 
memoryx::CollectionCreateDialog
Definition: CollectionCreateDialog.h:37
memoryx::CollectionCreateDialog::getDBName
std::string getDBName() const
Definition: CollectionCreateDialog.cpp:57
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
memoryx::CollectionCreateDialog::getCollectionName
std::string getCollectionName() const
Definition: CollectionCreateDialog.cpp:62
memoryx::CollectionCreateDialog::CollectionCreateDialog
CollectionCreateDialog(QWidget *parent=0)
Definition: CollectionCreateDialog.cpp:28
Ui
ArmarX Headers.
Definition: ArmarXMainWindow.h:54
memoryx::CollectionCreateDialog::setDatabases
void setDatabases(const NameList &dbNames)
Definition: CollectionCreateDialog.cpp:47
memoryx::CollectionCreateDialog::setCollectionPrefix
void setCollectionPrefix(const std::string &prefix)
Definition: CollectionCreateDialog.cpp:41
memoryx::CollectionCreateDialog::~CollectionCreateDialog
~CollectionCreateDialog() override
Definition: CollectionCreateDialog.cpp:35