Ignore:
Timestamp:
Aug 31, 2016, 8:06:50 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
FragmentMolecule_checks_bonddegrees, Gui_Fixes
Children:
6e5ca9
Parents:
5c8056
Message:

Added second log view for stderr.

Location:
src/UIElements/Views/Qt4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QtLogBox.cpp

    r5c8056 r72ea92b  
    5050#endif
    5151
    52 QtLogBox::QtLogBox(QWidget * _parent) :
     52QtLogBox::QtLogBox(std::ostream &stream, QWidget * _parent) :
    5353    QPlainTextEdit (_parent),
    5454#ifdef QT_CAPTURES_LOG
    55     logbuf(std::cout, this)
     55    logbuf(stream, this)
    5656#else
    5757  logbuf(dummystream, this)
  • src/UIElements/Views/Qt4/QtLogBox.hpp

    r5c8056 r72ea92b  
    1616#include <QPlainTextEdit>
    1717
     18#include <iosfwd>
    1819#include <string>
    1920
     
    3233
    3334public:
    34   QtLogBox(QWidget * _parent=0);
     35  QtLogBox(std::ostream &stream, QWidget * _parent=0);
    3536  virtual ~QtLogBox();
    3637
Note: See TracChangeset for help on using the changeset viewer.