LCOV - code coverage report
Current view: top level - libreoffice/cui/source/inc - about.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef _ABOUT_HXX
      20             : #define _ABOUT_HXX
      21             : 
      22             : #include <vcl/button.hxx>
      23             : #include <vcl/accel.hxx>
      24             : #include <svtools/svmedit.hxx>
      25             : #include <svtools/stdctrl.hxx>
      26             : #include <sfx2/basedlgs.hxx>        ///< for SfxModalDialog
      27             : #include <vector>
      28             : 
      29             : // class AboutDialog -----------------------------------------------------
      30             : 
      31           0 : class AboutDialog : public SfxModalDialog
      32             : {
      33             : private:
      34             :     BitmapEx           aBackgroundBitmap;
      35             :     BitmapEx           aLogoBitmap;
      36             : 
      37             : 
      38             :     MultiLineEdit       aVersionText;
      39             :     MultiLineEdit       aDescriptionText;
      40             :     MultiLineEdit       aCopyrightText;
      41             :     FixedImage          aLogoImage;
      42             :     MultiLineEdit       aLogoReplacement;
      43             :     PushButton          aCreditsButton;
      44             :     PushButton          aWebsiteButton;
      45             :     CancelButton        aCancelButton;
      46             : 
      47             :     String aVersionData;
      48             :     rtl::OUString m_aVersionTextStr;
      49             :     String m_aVendorTextStr;
      50             :     String m_aCopyrightTextStr;
      51             :     String m_aBasedTextStr;
      52             :     String m_aBasedDerivedTextStr;
      53             :     String m_aCreditsLinkStr;
      54             :     rtl::OUString m_sBuildStr;
      55             :     String m_aDescriptionTextStr;
      56             : 
      57             :     void StyleControls();
      58             :     void LayoutControls();
      59             :     void LayoutButtons(sal_Int32 aContentWidth, sal_Int32 aDialogBorder,
      60             :                        Point& aButtonPos, Size& aButtonSize, sal_Int32& aButtonsWidth );
      61             :     void MoveControl(Control& rControl, sal_Int32 X, sal_Int32 Y);
      62             :     rtl::OUString GetBuildId();
      63             :     rtl::OUString GetVersionString();
      64             :     rtl::OUString GetCopyrightString();
      65             : 
      66             : protected:
      67             :     virtual sal_Bool Close();
      68             :     virtual void     Paint( const Rectangle& rRect );
      69             : 
      70             : public:
      71             :     AboutDialog( Window* pParent, const ResId& rId);
      72             : 
      73             :     DECL_LINK( CancelHdl, void * );
      74             :     DECL_LINK( HandleClick, PushButton* );
      75             : };
      76             : 
      77             : #endif // #ifndef _ABOUT_HXX
      78             : 
      79             : 
      80             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10