#include <LogViewer.hxx>
Definition at line 40 of file LogViewer.hxx.
ContainerLogViewer::ContainerLogViewer |
( |
std::string |
label, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Definition at line 56 of file LogViewer.cxx.
References onNext(), and onPrevious().
58 gridLayout->removeWidget(browser);
59 gridLayout->addWidget(browser, 0, 0, 1, 3);
61 QPushButton* next =
new QPushButton(
"next execution",
this);
62 gridLayout->addWidget(next, 1, 1, 1, 1);
63 connect(next,SIGNAL(clicked()),
this, SLOT(
onNext()));
64 QPushButton* previous =
new QPushButton(
"previous execution",
this);
65 gridLayout->addWidget(previous, 1, 2, 1, 1);
66 connect(previous,SIGNAL(clicked()),
this, SLOT(
onPrevious()));
void ContainerLogViewer::onNext |
( |
| ) |
|
|
virtualslot |
Definition at line 79 of file LogViewer.cxx.
Referenced by ContainerLogViewer().
81 QTextCursor orig = browser->textCursor();
82 QTextCursor find_result = browser->document()->find(
"**************************Begin schema execution", orig);
84 if(find_result.isNull())
87 find_result = browser->document()->find(
"**************************Begin schema execution",0);
90 if(!find_result.isNull())
91 browser->setTextCursor(find_result);
void ContainerLogViewer::onPrevious |
( |
| ) |
|
|
virtualslot |
Definition at line 95 of file LogViewer.cxx.
Referenced by ContainerLogViewer().
97 QTextCursor orig = browser->textCursor();
98 QTextCursor find_result = browser->document()->find(
"**************************Begin schema execution",
99 orig, QTextDocument::FindBackward);
100 if(find_result.isNull())
103 find_result = browser->document()->find(
"**************************Begin schema execution",
104 browser->document()->characterCount()-1, QTextDocument::FindBackward);
107 if(!find_result.isNull())
108 browser->setTextCursor(find_result);
void ContainerLogViewer::readFile |
( |
std::string |
fileName | ) |
|
|
virtual |
The documentation for this class was generated from the following files: