VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtDialogPageTitleWidget.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtDialogPageTitleWidget.h,v $ $Revision: 99722 $ $State: Exp $
00007 ******************************************************************************/
00008 
00015 
00016 #pragma once
00017 
00018 #include <vrvCoreQt/vrvCoreQt.h>
00019 #include <QtGui/QWidget>
00020 
00021 class QLabel;
00022 class QFrame;
00023 class QVBoxLayout;
00024 class QSpacerItem;
00025 
00026 namespace makVrv
00027 {
00028    class DtDe;
00029 
00032    class DT_DLL_VRVCOREQT DtDialogPageTitleWidget : public QWidget
00033    {
00034    public:
00036       explicit DtDialogPageTitleWidget(DtDe&, const QString& title, QWidget* parent = 0, Qt::WindowFlags f = 0);
00037 
00039       virtual ~DtDialogPageTitleWidget();
00040 
00042       virtual void setShowSeparator(bool);
00043 
00045       virtual void setTitle(const QString&);
00046 
00048       QString title() const;
00049 
00050    protected:
00051       void setupGui();
00052 
00053    protected:
00054       DtDe& myDe;
00055 
00056    public:
00057       QVBoxLayout* myMainLayout;
00058 
00059       QLabel* myTitle;
00060       QFrame* mySeparator;
00061 
00062       QSpacerItem* myTopSpacer;
00063       QSpacerItem* myBottomSpacer;
00064       int myBufferSpace;
00065    };
00066 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)