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

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

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

revision 920 by capela, Sun Sep 24 12:47:51 2006 UTC revision 1461 by schoenebeck, Sun Oct 28 23:30:36 2007 UTC
# Line 1  Line 1 
1  // qsamplerMessages.h  // qsamplerMessages.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 22  Line 22 
22  #ifndef __qsamplerMessages_h  #ifndef __qsamplerMessages_h
23  #define __qsamplerMessages_h  #define __qsamplerMessages_h
24    
25  #include <qdockwindow.h>  #include <QDockWidget>
26    
27  class QSocketNotifier;  class QSocketNotifier;
28  class QTextEdit;  class QTextEdit;
# Line 32  class QTextEdit; Line 32  class QTextEdit;
32  // qsamplerMessages - Messages log dockable window.  // qsamplerMessages - Messages log dockable window.
33  //  //
34    
35  class qsamplerMessages : public QDockWindow  class qsamplerMessages : public QDockWidget
36  {  {
37      Q_OBJECT      Q_OBJECT
38    
# Line 54  public: Line 54  public:
54      // Maximum number of message lines accessors.      // Maximum number of message lines accessors.
55      int messagesLimit();      int messagesLimit();
56      void setMessagesLimit(int iMessagesLimit);      void setMessagesLimit(int iMessagesLimit);
57        
58      // The main utility methods.      // The main utility methods.
59      void appendMessages(const QString& s);      void appendMessages(const QString& s);
60      void appendMessagesColor(const QString& s, const QString &c);      void appendMessagesColor(const QString& s, const QString &c);
# Line 79  private: Line 79  private:
79    
80      // The textview main widget.      // The textview main widget.
81      QTextEdit *m_pTextView;      QTextEdit *m_pTextView;
82        
83      // Stdout capture variables.      // Stdout capture variables.
84      QSocketNotifier *m_pStdoutNotifier;      QSocketNotifier *m_pStdoutNotifier;
85      QString          m_sStdoutBuffer;      QString          m_sStdoutBuffer;

Legend:
Removed from v.920  
changed lines
  Added in v.1461

  ViewVC Help
Powered by ViewVC