41 #include <QtWidgets/QApplication> 43 #include <QMessageBox> 52 QMainWindow(parent, flags),
59 setCentralWidget(
new QGLMap());
60 this->setMinimumSize(640, 480);
106 QGLMap* glMap =
reinterpret_cast<QGLMap*
>(centralWidget());
112 QMessageBox::warning(
this,
"Error",
"Failed to load tiles.");
122 int main(
int argc,
char **argv)
125 QApplication
app(argc, argv);
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
ROSCPP_DECL const std::string & getName()
virtual void showEvent(QShowEvent *event)
MultiresViewNode(int argc, char **argv, QWidget *parent=0, Qt::WindowFlags flags=0)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
void SetTiles(TileSet *tiles)
ROSCPP_DECL void spinOnce()