The Gnome Chemistry Utils
0.13.7
|
00001 /* 00002 * Gnome Chemistry Utils 00003 * print-setup-dlg.h 00004 * 00005 * Copyright (C) 2008-2012 Jean Bréfort <jean.brefort@normalesup.org> 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU General Public License as 00009 * published by the Free Software Foundation; either version 3 of the 00010 * License, or (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00020 * USA 00021 */ 00022 00023 #ifndef GCU_GTK_PRINT_SETUP_DLG_H 00024 #define GCU_GTK_PRINT_SETUP_DLG_H 00025 00026 #include "dialog.h" 00027 #include "printable.h" 00028 00030 namespace gcugtk { 00031 00032 class Application; 00033 00037 class PrintSetupDlg: public Dialog 00038 { 00039 friend class PrintSetupDlgPrivate; 00040 public: 00047 PrintSetupDlg (Application* App, Printable *printable); 00051 virtual ~PrintSetupDlg (); 00052 00053 private: 00054 Printable *m_Printable; 00055 GtkLabel *m_PageSizeLbl, *m_PageTypeLbl; 00056 GtkToggleButton *m_PortraitBtn, *m_RPortraitBtn, *m_LandscapeBtn, *m_RLandscapeBtn; 00057 gulong m_PortraitId, m_RPortraitId, m_LandscapeId, m_RLandscapeId; 00058 GtkSpinButton *m_MarginTopBtn, *m_MarginBottomBtn, *m_MarginRightBtn, *m_MarginLeftBtn, *m_HeaderHeightBtn, *m_FooterHeightBtn; 00059 gulong m_MarginTopId, m_MarginBottomId, m_MarginRightId, m_MarginLeftId, m_HeaderHeightId, m_FooterHeightId; 00060 GtkListStore *m_UnitList; 00061 GtkComboBox *m_UnitBox; 00062 GtkToggleButton *m_HBtn, *m_VBtn; 00063 gulong m_UnitId, m_HId, m_VId; 00064 GtkToggleButton *m_ScalingNoneBtn, *m_ScalingFixedBtn, *m_ScalingAutoBtn, *m_HFitBtn, *m_VFitBtn; 00065 gulong m_ScalingNoneId, m_ScalingFixedId, m_ScalingAutoId, m_HFitId, m_VFitId; 00066 GtkSpinButton *m_HPagesBtn, *m_VPagesBtn, *m_ScaleBtn; 00067 GtkLabel *m_ScaleLbl, *m_FitHLbl, *m_FitVLbl; 00068 }; 00069 00070 } // namespace gcugtk 00071 00072 #endif // GCU_GTK_PRINT_SETUP_DLG_H