本文整理汇总了C++中Navigator::getNavigationPane方法的典型用法代码示例。如果您正苦于以下问题:C++ Navigator::getNavigationPane方法的具体用法?C++ Navigator::getNavigationPane怎么用?C++ Navigator::getNavigationPane使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Navigator
的用法示例。
在下文中一共展示了Navigator::getNavigationPane方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: connectSignals
void MainMenu::connectSignals() {
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
QObject::connect(navpane, SIGNAL(menuShowing()), this, SLOT(menuShowing()));
QObject::connect(_invokeManager, SIGNAL(invoked(const bb::system::InvokeRequest&)), this, SLOT(receivedInvokeRequest(const bb::system::InvokeRequest&)));
QObject::connect(this, SIGNAL(launchEventLog()), _eventLog, SLOT(show()));
}
示例2: show
void About::show() {
qDebug() << "XXXX About: show()";
qDebug() << "XXXX finding NavigationPane object from cache";
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
_root = _qml->createRootObject<Page>();
navpane->push(_root);
}
示例3: show
void About::show() {
qDebug() << "About: show()";
qDebug() << "finding NavigationPane object from cache";
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
// refresh _root
_root = _qml->createRootNode<AbstractPane>();
navpane->push(_root);
}
示例4: show
void ApduDetails::show() {
qDebug() << "XXXX ApduDetails: show()";
qDebug() << "XXXX finding NavigationPane object from cache";
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
_root = _qml->createRootObject<Page>();
navpane->push(_root);
findAndConnectControls();
}
示例5: onBackNavigationTriggered
void EventLog::onBackNavigationTriggered() {
qDebug() << "finding NavigationPane object from cache";
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
// refresh _root
_root = _qml->createRootNode<AbstractPane>();
navpane->popAndDelete();
qDebug() << "EventLog:emit hide()";
emit back();
}
示例6: show
void EventLog::show() {
qDebug() << "EventLog: show()";
qDebug() << "finding NavigationPane object from cache";
Navigator* nav = Navigator::getInstance();
NavigationPane* navpane = nav->getNavigationPane();
// refresh _root
_root = _qml->createRootNode<AbstractPane>();
navpane->push(_root);
//find and reconnect all the controls again, because we had to refresh the root pointer
findAndConnectControls();
}