![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
The single application window.
Contains three panels:
Also has a menu bar and tool button area;
Definition at line 33 of file mainwindow.h.
#include <mainwindow.h>
Inherits QMainWindow.
Public Slots | |
void | enterFullScreen (bool fullscreen) |
enter/leave full-screen mode More... | |
void | showHideAnimation () |
void | showHideXAnimation () |
void | startStopAnimation () |
void | startStopFSAnimation () |
void | startStopCVAnimation () |
void | startStopProjectionAnimation () |
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
default constructor More... | |
~MainWindow () | |
destructor; closes the window, releases all widgets More... | |
ControlPanel * | getControlPanel () |
CurveView * | getCurveView () |
FreeSpaceView * | getFreeSpaceView () |
void | closeEvent (QCloseEvent *event) |
catch window close event and quit the application More... | |
QAction * | actionOpen () |
QAction * | actionOpenRecent () |
QAction * | actionOpenPrevious () |
QAction * | actionOpenNext () |
QAction * | actionQuit () |
void | saveSettings (QSettings &settings) |
store settings to application preferences More... | |
void | restoreSettings (QSettings &settings) |
load settings from application preferences More... | |
void | setShowBounds (bool show) |
called when the user clicks the "Show Bounds" button More... | |
void | setSeparateCurves (bool separate) |
called when the user clicks the "Separate Curves" button More... | |
Private Member Functions | |
void | showHideAnimation (bool fspath) |
Private Attributes | |
Ui::MainWindow * | ui |
widgets (auto-generated by Qt) More... | |
CurveView * | curveView |
curve view More... | |
FreeSpaceView * | freeSpaceView |
free-space view More... | |
ControlPanel * | controlPanel |
control panel More... | |
QSplitter * | splitter |
splitter between panels More... | |
AnimationDialog * | overlayWindow |
Friends | |
class | frechet::app::FrechetViewApplication |
MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
default constructor
parent | widget (optional) |
Set up UI and wire menu actions to slots.
Definition at line 13 of file mainwindow.cpp.
MainWindow::~MainWindow | ( | ) |
destructor; closes the window, releases all widgets
Definition at line 135 of file mainwindow.cpp.
QAction * MainWindow::actionOpen | ( | ) |
Definition at line 146 of file mainwindow.cpp.
QAction* frechet::view::MainWindow::actionOpenNext | ( | ) |
QAction* frechet::view::MainWindow::actionOpenPrevious | ( | ) |
QAction * MainWindow::actionOpenRecent | ( | ) |
Definition at line 147 of file mainwindow.cpp.
QAction * MainWindow::actionQuit | ( | ) |
Definition at line 148 of file mainwindow.cpp.
void MainWindow::closeEvent | ( | QCloseEvent * | event | ) |
catch window close event and quit the application
event | window close event |
Definition at line 140 of file mainwindow.cpp.
|
slot |
|
inline |
Definition at line 47 of file mainwindow.h.
|
inline |
Definition at line 49 of file mainwindow.h.
|
inline |
Definition at line 51 of file mainwindow.h.
void MainWindow::restoreSettings | ( | QSettings & | settings | ) |
load settings from application preferences
settings | application preferences |
MacOS Fun Fact: QSettings are stored in /Users/hrimfaxi/Library/Preferences/de.fu-hagen.ti.Frechet View.plist however, they are CACHED. If you want to reset QSettings, it is not sufficient to delete the file, you ALSO have to clear the cache: killall -u yourusername cfprefsd
Definition at line 168 of file mainwindow.cpp.
void MainWindow::saveSettings | ( | QSettings & | settings | ) |
store settings to application preferences
settings | application preferences |
Definition at line 150 of file mainwindow.cpp.
void MainWindow::setSeparateCurves | ( | bool | separate | ) |
called when the user clicks the "Separate Curves" button
separate |
Definition at line 191 of file mainwindow.cpp.
void MainWindow::setShowBounds | ( | bool | show | ) |
called when the user clicks the "Show Bounds" button
show | free-space boundary rectangles |
Definition at line 186 of file mainwindow.cpp.
|
inlineslot |
Definition at line 95 of file mainwindow.h.
|
private |
|
inlineslot |
Definition at line 96 of file mainwindow.h.
|
slot |
|
slot |
|
slot |
|
slot |
|
friend |
Definition at line 103 of file mainwindow.h.
|
private |
control panel
Definition at line 112 of file mainwindow.h.
|
private |
curve view
Definition at line 108 of file mainwindow.h.
|
private |
free-space view
Definition at line 110 of file mainwindow.h.
|
private |
Definition at line 117 of file mainwindow.h.
|
private |
splitter between panels
Definition at line 114 of file mainwindow.h.
|
private |
widgets (auto-generated by Qt)
Definition at line 105 of file mainwindow.h.