Public Slots | |
void | updateFrame (int frameNum) |
Update a frame on a new timeline event. | |
void | addObject () |
Create a new Annotation Object, and pass it to our Main Display and Object Manager. | |
void | playPushed () |
void | changeTime (int frameNum) |
void | animationViewPopup (const QPoint &pos) |
void | animationFrameSelected (const QModelIndex &) |
void | openVideo () |
Open a dialog to export the annotation data to xml. | |
void | openVideo (QString fileName) |
void | sliderPressed () |
Mark whether the timeline was playing or not, and pause it. | |
void | sliderReleased () |
Check whether the timeline was playing when the slider was pressed, and resume it if so. | |
void | saveAnnotationToDB () |
void | openAnnotationFromDB () |
void | createDBEntry () |
QString | getFileName () |
AnnotationObjectManager * | getObjectManager () |
void | openPrefsDialog () |
Signals | |
void | pausePlayback (bool) |
Pause the current playback. | |
void | frameIndexChanged (int) |
Public Member Functions | |
MainWindow () | |
Create a new MainWindow. | |
void | buildWindow () |
Constructs the actual window. | |
bool | eventFilter (QObject *watched, QEvent *event) |
void | setDBStatusLabel (QString text) |
void | setAnnotatorLabel (QString text) |
FrameRange | getFrameRange () |
MainDisplay * | getMainDisplay () |
QTimeLine * | getTimeline () |
MainWindow (OptionManager &mgr, const std::string &descrName="MainWindow", const std::string &tagName="MainWindow") | |
Create a new MainWindow. | |
void | start2 () |
This is called from within start() after the subcomponents have started. | |
void | initIce (Ice::CommunicatorPtr ic, Ice::ObjectAdapterPtr adapter) |
QGridLayout * | constructImageDisplays () |
Definition at line 34 of file MainWindow.qt.H.
MainWindow::MainWindow | ( | ) |
Create a new MainWindow.
Definition at line 199 of file MainWindow.qt.C.
References buildWindow(), and openVideo().
MainWindow::MainWindow | ( | OptionManager & | mgr, | |
const std::string & | descrName = "MainWindow" , |
|||
const std::string & | tagName = "MainWindow" | |||
) |
Create a new MainWindow.
Definition at line 6 of file MainWindow.qt.C.
References ModelComponent::addSubComponent().
void MainWindow::addObject | ( | ) | [slot] |
Create a new Annotation Object, and pass it to our Main Display and Object Manager.
Definition at line 382 of file MainWindow.qt.C.
References MainDisplay::addObject(), AnnotationObjectManager::addObject(), and AnnotationObject::frameChanged().
void MainWindow::buildWindow | ( | ) |
Constructs the actual window.
buildWindow() does all the work of actually instantiating all of the Qt member objects and setting up the layouts, etc. Any changes to the window building should go in here.
Definition at line 296 of file MainWindow.qt.C.
References pausePlayback(), AnnotationObjectManager::setAnimationView(), and updateFrame().
Referenced by MainWindow().
void MainWindow::openVideo | ( | ) | [slot] |
Open a dialog to export the annotation data to xml.
Open a dialog to load the annotation data from xml Open a new video file
Definition at line 590 of file MainWindow.qt.C.
Referenced by MainWindow().
void MainWindow::pausePlayback | ( | bool | ) | [signal] |
Pause the current playback.
Referenced by buildWindow().
void MainWindow::sliderPressed | ( | ) | [slot] |
Mark whether the timeline was playing or not, and pause it.
Definition at line 446 of file MainWindow.qt.C.
void MainWindow::sliderReleased | ( | ) | [slot] |
Check whether the timeline was playing when the slider was pressed, and resume it if so.
Definition at line 459 of file MainWindow.qt.C.
void MainWindow::start2 | ( | ) | [virtual] |
This is called from within start() after the subcomponents have started.
Reimplemented from ModelComponent.
Definition at line 43 of file MainWindow.qt.C.
void MainWindow::updateFrame | ( | int | frameNum | ) | [slot] |
Update a frame on a new timeline event.
Definition at line 362 of file MainWindow.qt.C.
References MainDisplay::setImage().
Referenced by buildWindow().