VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtConsoleLogWidget Class Reference

This widget displays the console log. More...

Inheritance diagram for makVrv::DtConsoleLogWidget:
Inheritance graph
[legend]

Public Member Functions

 DtConsoleLogWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtConsoleLogWidget ()
 DTOR.
virtual bool initiallyVisible () const
 Virtual function needed for controlling if the widget is docked visible.
- Public Member Functions inherited from makVrv::DtDockable
 DtDockable (DtDe &de, const std::string &className)
 CTOR By default a dockable widget is not docked, call dock to attempt to dock this widget.
virtual ~DtDockable ()
 DTOR.
const std::string & className () const
 The class name.
void dock (Qt::DockWidgetArea area)
 Dock this dockable in the main window, this function should only be called once.
virtual bool isDocked () const
 Check to see if we are in a container.
virtual void setContainerVisible (bool visible)
 call either shows or hides container base upon the input.
virtual void setContainerMovable (bool moveable)
 Set whether the container is moveable.
virtual void setContainerFloatable (bool floatable)
 Set whether the container is floatable.
virtual void setContainerClosable (bool closeable)
 Set whether the container is closeable.
virtual bool isContainerHidden () const
 Returns true if container is hidden.
virtual bool isContainerMovable () const
 Returns true if container is moveable.
virtual bool isContainerFloatable () const
 Returns true if container is floatable.
virtual bool isContainerClosable () const
 Returns true if container is closeable.
virtual void showContainer ()
 Show the container.
virtual void hideContainer ()
 Hide the container.
virtual void floatContainer ()
 Float the container.
virtual void unfloatContainer ()
 Un float the container.
virtual void removeContainer ()
 Untabs the container.
virtual Qt::DockWidgetArea initialDockWidgetLocation () const
 Virtual function needed for controlling if the widget is docked visible.
virtual bool containerTabbed () const
 Tells whether the container is tabbed or not.
virtual int containerTabIndex () const
 If the container is tabbed, returns the position of the container inside the tab structure.
virtual void getContainerTabbedGeometry (int &x, int &y, int &width, int &height) const
 Gets the geometry of the container if it is tabbed.
virtual QWidgetcontainer ()
 Returns the QDockWidget or other container that holds this widget.
virtual void setContainer (QWidget *cont)
 Set with the QDockWidget or other container that holds this widget.
virtual void bringToTop ()
 Brings the container to the front (when it is tabbed)
virtual void setDockWidgetItem (DtDockWidgetItem *item)
 If this dockable is the target of a menu item, a pointer to to the associated menu item.
virtual DtDockWidgetItemdockWidgetItem () const
 Get the associated menu item, if any.
virtual void connectContainerToDockItem ()
 The menu item create does this the first time, but we need to do it explicitly on GUI restores.

Protected Member Functions

void setupGui ()
 //!
- Protected Member Functions inherited from makVrv::DtDockable
QTabBartabBar () const
 Returns the container tab bar object if myContainer is tabbed.

Protected Attributes

QTextEditmyTextEdit
QDebugStreammyStdOutStream
QDebugStreammyIgLogStream
DtDemyDe
- Protected Attributes inherited from makVrv::DtDockable
QWidgetmyContainer
 my Container widget
std::string myClassName
DtDemyDe
bool myIsFloatable
bool myIsClosable
bool myIsMovable
DtDockWidgetItemmyDockWidgetItem

Detailed Description

This widget displays the console log.

Constructor & Destructor Documentation

makVrv::DtConsoleLogWidget::DtConsoleLogWidget ( DtDe de,
QWidget parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtConsoleLogWidget::~DtConsoleLogWidget ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtConsoleLogWidget::initiallyVisible ( ) const
virtual

Virtual function needed for controlling if the widget is docked visible.

Reimplemented from makVrv::DtDockable.

void makVrv::DtConsoleLogWidget::setupGui ( )
protected

//!

Called when the user checks the file caching checkbox. virtual void onEnableFileCachingChanged(int state);

//! Called when the user presses the clear cache button. virtual void onClearCacheClicked(); Sets up the GUI.

Member Data Documentation

QTextEdit* makVrv::DtConsoleLogWidget::myTextEdit
protected
QDebugStream* makVrv::DtConsoleLogWidget::myStdOutStream
protected
QDebugStream* makVrv::DtConsoleLogWidget::myIgLogStream
protected
DtDe& makVrv::DtConsoleLogWidget::myDe
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)