/[svn]/qsampler/trunk/src/qsamplerMessages.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMessages.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 338 by capela, Wed Jan 12 10:43:37 2005 UTC revision 339 by capela, Wed Jan 12 11:05:44 2005 UTC
# Line 51  Line 51 
51  qsamplerMessages::qsamplerMessages ( QWidget *pParent, const char *pszName )  qsamplerMessages::qsamplerMessages ( QWidget *pParent, const char *pszName )
52      : QDockWindow(pParent, pszName)      : QDockWindow(pParent, pszName)
53  {  {
 #if QT_VERSION >= 0x030200  
     m_pTextView->setTextFormat(Qt::LogText);  
 #endif  
     // Initialize default message limit.  
     setMessagesLimit(QSAMPLER_MESSAGES_MAXLINES);  
   
54      // Intialize stdout capture stuff.      // Intialize stdout capture stuff.
55      m_pStdoutNotifier = NULL;      m_pStdoutNotifier = NULL;
56      m_fdStdout[QSAMPLER_MESSAGES_FDREAD]  = QSAMPLER_MESSAGES_FDNIL;      m_fdStdout[QSAMPLER_MESSAGES_FDREAD]  = QSAMPLER_MESSAGES_FDNIL;
# Line 74  qsamplerMessages::qsamplerMessages ( QWi Line 68  qsamplerMessages::qsamplerMessages ( QWi
68      m_pTextView->setWordWrap(QTextEdit::NoWrap);      m_pTextView->setWordWrap(QTextEdit::NoWrap);
69      m_pTextView->setReadOnly(true);      m_pTextView->setReadOnly(true);
70      m_pTextView->setUndoRedoEnabled(false);      m_pTextView->setUndoRedoEnabled(false);
71    #if QT_VERSION >= 0x030200
72        m_pTextView->setTextFormat(Qt::LogText);
73    #endif
74        // Initialize default message limit.
75        setMessagesLimit(QSAMPLER_MESSAGES_MAXLINES);
76    
77      // Prepare the dockable window stuff.      // Prepare the dockable window stuff.
78      QDockWindow::setWidget(m_pTextView);      QDockWindow::setWidget(m_pTextView);

Legend:
Removed from v.338  
changed lines
  Added in v.339

  ViewVC Help
Powered by ViewVC