| 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 | namespace Uicxx . . $ Ui/ { |
| 27 | class CutDialogcxx . . $ Ui/CutDialog#; |
| 28 | } |
| 29 | |
| 30 | // This dialog asks the user what settings to use for cutting. |
| 31 | class CutDialogcxx . . $ CutDialog# : public QDialogcxx . . $ QDialog# |
| 32 | { |
| 33 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 34 | |
| 35 | public: |
| 36 | explicit CutDialogcxx . . $ CutDialog#CutDialog(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 37 | ~cxx . . $ CutDialog#`~CutDialog`(49f6e7a06ebc5aa8).CutDialogcxx . . $ CutDialog#(); |
| 38 | |
| 39 | // The media code. See CutDialog.ui for a list. |
| 40 | int mediacxx . . $ CutDialog#media(455f465bc33b4cdf).() const; |
| 41 | // The speed (1-10). |
| 42 | int speedcxx . . $ CutDialog#speed(455f465bc33b4cdf).() const; |
| 43 | // The cutting pressure (1-33). |
| 44 | int pressurecxx . . $ CutDialog#pressure(455f465bc33b4cdf).() const; |
| 45 | // Track enhancing. This is when the cutter rolls the media backwards and forwards |
| 46 | // a few times before cutting in order to indent it with tracks where the rollors are. |
| 47 | // The idea is that it will slip less after that is done. |
| 48 | bool trackEnhancingcxx . . $ CutDialog#trackEnhancing(50ce9a9e25b4a850).() const; |
| 49 | |
| 50 | // Whether to search. |
| 51 | bool regMarkcxx . . $ CutDialog#regMark(50ce9a9e25b4a850).() const; |
| 52 | bool regSearchcxx . . $ CutDialog#regSearch(50ce9a9e25b4a850).() const; |
| 53 | // Positions of the registration marks. |
| 54 | double regWidthcxx . . $ CutDialog#regWidth(21b6c25e127938e2).() const; |
| 55 | double regHeightcxx . . $ CutDialog#regHeight(21b6c25e127938e2).() const; |
| 56 | |
| 57 | protected: |
| 58 | void changeEventcxx . . $ CutDialog#changeEvent(c2473e2e70986fd7).(QEventcxx . . $ QEvent# *e); |
| 59 | |
| 60 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 61 | // When they change the media selection, update the default speed and pressure. |
| 62 | void onMediaChangedcxx . . $ CutDialog#onMediaChanged(d4f767463ce0a6b3).(int idx); |
| 63 | private: |
| 64 | Uicxx . . $ Ui/::CutDialogcxx . . $ Ui/CutDialog# *uicxx . . $ CutDialog#ui.; |
| 65 | }; |