kivio
kivio_protection_panel.h
00001 /* 00002 * Kivio - Visual Modelling and Flowcharting 00003 * Copyright (C) 2000-2001 theKompany.com & Dave Marotti 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License 00007 * as published by the Free Software Foundation; either version 2 00008 * of the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00018 */ 00019 #ifndef _KIVIO_PROTECTION_PANEL_H 00020 #define _KIVIO_PROTECTION_PANEL_H 00021 00022 class KAction; 00023 class KivioView; 00024 class KivioLayer; 00025 00026 #include "kivio_protection_panel_base.h" 00027 00028 class KivioProtectionPanel : public KivioProtectionPanelBase 00029 { 00030 Q_OBJECT 00031 00032 public: 00033 KivioProtectionPanel( KivioView *view, QWidget *parent=0, const char *name=0 ); 00034 virtual ~KivioProtectionPanel(); 00035 00036 public slots: 00037 void updateCheckBoxes(); 00038 void togWidth(bool); 00039 void togHeight(bool); 00040 void togAspect(bool); 00041 void togDelete(bool); 00042 void togX(bool); 00043 void togY(bool); 00044 00045 protected: 00046 KivioView *m_pView; 00047 }; 00048 00049 #endif