TAMSVIZ
Visualization and annotation tool for ROS
Main Page
Classes
Files
File List
src
gui
mainwindow.h
1
// TAMSVIZ
2
// (c) 2020 Philipp Ruppel
3
4
#pragma once
5
6
#include "guicommon.h"
7
8
class
MainWindow
:
public
QMainWindow {
9
10
QMenu *open_recent_menu =
nullptr
;
11
12
protected
:
13
virtual
bool
event(QEvent *event)
override
;
14
15
public
:
16
bool
closeDocument();
17
bool
closeBag();
18
bool
saveDocument();
19
bool
saveDocument(
const
QString &path);
20
bool
saveDocumentAs();
21
void
addRecentFile(
const
QString &path);
22
void
openBag(
const
QString &path);
23
void
openBrowse();
24
void
openDocument(
const
QString &path);
25
void
openAny(
const
QString &path);
26
void
updateRecentMenu();
27
void
findAndOpenBag(
const
std::string &name);
28
29
MainWindow
();
30
~
MainWindow
();
31
virtual
void
closeEvent(QCloseEvent *event)
override
;
32
static
MainWindow
*instance();
33
};
MainWindow
Definition:
mainwindow.h:8
Generated by
1.8.11