Debian Codegraph @

CuttingDialog.h

raw symbols SCIP
1 /***************************************************************************
2 * This file is part of Robocut. *
3 * Copyright (C) 2010 Tim Hutt <[email protected]> *
4 * Copyright (C) 2010 Markus Schulz <[email protected]> *
5 * *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
20 ***************************************************************************/
21
22 #pragma once
23
24 #include <QDialog>
25
26 #include "CuttingThread.h"cxx . . $ `<file>/CuttingThread.h`/
27
28 namespace Uicxx . . $ Ui/ {
29 class CuttingDialogcxx . . $ Ui/CuttingDialog#;
30 }
31
32 // This is the dialog that shows while the cut is progressing. The thread that does the cutting
33 // is also owned by the dialog, in a slightly bad design.
34 class CuttingDialogcxx . . $ CuttingDialog# : public QDialogcxx . . $ QDialog#
35 {
36 Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`!
37
38 public:
39 explicit CuttingDialogcxx . . $ CuttingDialog#CuttingDialog(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0);
40 ~cxx . . $ CuttingDialog#`~CuttingDialog`(49f6e7a06ebc5aa8).CuttingDialogcxx . . $ CuttingDialog#();
41
42 // Start the cutting thread. Call this only once, before the dialog is shown.
43 // It creates the thread, passes it the cutting details, and runs it.
44 void startCutcxx . . $ CuttingDialog#startCut(f40ad2760b5d2a0).(const CutParamscxx . . $ CutParams#& params);
45
46 protected:
47 void changeEventcxx . . $ CuttingDialog#changeEvent(c2473e2e70986fd7).(QEventcxx . . $ QEvent# *e);
48 void closeEventcxx . . $ CuttingDialog#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent#* e);
49
50 private:
51 Uicxx . . $ Ui/::CuttingDialogcxx . . $ Ui/CuttingDialog# *uicxx . . $ CuttingDialog#ui.;
52
53 // The cutting thread. It is pretty basic - just one long run() routine and then it calls onSuccess() or
54 // onError().
55 CuttingThreadcxx . . $ CuttingThread#* threadcxx . . $ CuttingDialog#thread.;
56
57 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
58 // These are called from the thread when it has finished. Only one is called.
59 void onSuccesscxx . . $ CuttingDialog#onSuccess(49f6e7a06ebc5aa8).();
60 void onErrorcxx . . $ CuttingDialog#onError(7df51288a9ebd664).(QStringcxx . . $ QString# message);
61 };
62