TaskDlgRelocation.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) 2010 Jürgen Riegel <juergen.riegel@web.de>              *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 
00024 #ifndef GUI_TASKDLGRELOCATE_H
00025 #define GUI_TASKDLGRELOCATE_H
00026 
00027 #include <Gui/TaskView/TaskDialog.h>
00028 #include <Gui/TaskView/TaskView.h>
00029 
00030 
00031 class Ui_DlgLocationPos;
00032 class ui_DlgLocationAngle;
00033 
00034 namespace Gui {
00035 
00036 class TaskBoxPosition : public Gui::TaskView::TaskBox
00037 {
00038     Q_OBJECT
00039 
00040 public:
00041     TaskBoxPosition(QWidget *parent = 0);
00042     ~TaskBoxPosition();
00043 
00044 
00045 private Q_SLOTS:
00046 
00047 protected:
00048 
00049 private:
00050     QWidget* proxy;
00051     Ui_Position* ui;
00052 };
00053 
00054 class TaskBoxAngle : public Gui::TaskView::TaskBox
00055 {
00056     Q_OBJECT
00057 
00058 public:
00059     TaskBoxAngle(QWidget *parent = 0);
00060     ~TaskBoxAngle();
00061 
00062 
00063 private Q_SLOTS:
00064 
00065 protected:
00066 
00067 private:
00068     QWidget* proxy;
00069     Ui_Angle* ui;
00070 };
00071 
00072 
00074 class GuiExport TaskDlgRelocation : public Gui::TaskView::TaskDialog
00075 {
00076     Q_OBJECT
00077 
00078 public:
00079     TaskDlgRelocation();
00080     ~TaskDlgRelocation();
00081 
00082 public:
00084     virtual void open();
00086     virtual void clicked(int);
00088     virtual bool accept();
00090     virtual bool reject();
00092     virtual void helpRequested();
00093 
00095     virtual QDialogButtonBox::StandardButtons getStandardButtons(void) const
00096         { return QDialogButtonBox::Ok|QDialogButtonBox::Cancel; }
00097 
00098 protected:
00099 
00100 };
00101 
00102 
00103 
00104 } //namespace Gui
00105 
00106 #endif // ROBOTGUI_TASKDLGSIMULATE_H

Generated on Wed Nov 23 19:00:43 2011 for FreeCAD by  doxygen 1.6.1