CompilerOutputWidget Class Reference

#include <CompilerOutputWidget.h>

List of all members.

Public Types

 Unknown
 Warning
 Error
enum  PatternType { Unknown, Warning, Error }

Signals

void taskClicked (const QString &file, int line)
void tasksChanged ()

Public Member Functions

 CompilerOutputWidget (QWidget *par=NULL)
 ~CompilerOutputWidget ()
void clearContents ()
void addItem (PatternType type, const QString &description, const QString &file, int line)
int numberOfTasks () const
int numberOfErrors () const
void gotoFirstError ()

Private Slots

void showTaskInFile (const QModelIndex &index)
void copy ()

Private Member Functions

int sizeHintForColumn (int column) const

Private Attributes

int m_errorCount
int m_currentTask
TaskModelm_model
TaskViewm_listview


Detailed Description

Widget which shows error/warnings/messages adapted from Qt-Creators TaskWidget

Definition at line 20 of file CompilerOutputWidget.h.


Member Enumeration Documentation

enum CompilerOutputWidget::PatternType

Enumerator:
Unknown 
Warning 
Error 

Definition at line 25 of file CompilerOutputWidget.h.


Constructor & Destructor Documentation

CompilerOutputWidget::CompilerOutputWidget ( QWidget *  par = NULL  ) 

Definition at line 241 of file CompilerOutputWidget.cpp.

CompilerOutputWidget::~CompilerOutputWidget (  ) 

Definition at line 274 of file CompilerOutputWidget.cpp.


Member Function Documentation

void CompilerOutputWidget::addItem ( PatternType  type,
const QString &  description,
const QString &  file,
int  line 
)

Definition at line 290 of file CompilerOutputWidget.cpp.

Referenced by GccOutputParser::addLineToWidget(), and RoseFrontendOutput::readData().

Here is the call graph for this function:

Here is the caller graph for this function:

void CompilerOutputWidget::clearContents (  ) 

Definition at line 280 of file CompilerOutputWidget.cpp.

Here is the call graph for this function:

void CompilerOutputWidget::copy (  )  [private, slot]

Definition at line 319 of file CompilerOutputWidget.cpp.

void CompilerOutputWidget::gotoFirstError (  ) 

Definition at line 348 of file CompilerOutputWidget.cpp.

Here is the call graph for this function:

int CompilerOutputWidget::numberOfErrors (  )  const

Definition at line 343 of file CompilerOutputWidget.cpp.

int CompilerOutputWidget::numberOfTasks (  )  const

Definition at line 338 of file CompilerOutputWidget.cpp.

Here is the call graph for this function:

void CompilerOutputWidget::showTaskInFile ( const QModelIndex &  index  )  [private, slot]

Definition at line 299 of file CompilerOutputWidget.cpp.

Referenced by CompilerOutputWidget(), and gotoFirstError().

int CompilerOutputWidget::sizeHintForColumn ( int  column  )  const [private]

void CompilerOutputWidget::taskClicked ( const QString &  file,
int  line 
) [signal]

Referenced by showTaskInFile().

void CompilerOutputWidget::tasksChanged (  )  [signal]

Referenced by addItem(), and clearContents().


Member Data Documentation

int CompilerOutputWidget::m_currentTask [private]

Definition at line 52 of file CompilerOutputWidget.h.

Referenced by clearContents(), and CompilerOutputWidget().

int CompilerOutputWidget::m_errorCount [private]

Definition at line 51 of file CompilerOutputWidget.h.

Referenced by addItem(), clearContents(), CompilerOutputWidget(), and numberOfErrors().

TaskView* CompilerOutputWidget::m_listview [private]

Definition at line 55 of file CompilerOutputWidget.h.

Referenced by CompilerOutputWidget(), copy(), and showTaskInFile().

TaskModel* CompilerOutputWidget::m_model [private]

Definition at line 54 of file CompilerOutputWidget.h.

Referenced by addItem(), clearContents(), CompilerOutputWidget(), gotoFirstError(), numberOfTasks(), showTaskInFile(), and ~CompilerOutputWidget().


The documentation for this class was generated from the following files:
Generated on Tue Sep 15 14:48:48 2009 for RoseQtWidgets by  doxygen 1.4.7