当前位置: 首页>>代码示例>>C++>>正文


C++ Navigator::getNavigationPane方法代码示例

本文整理汇总了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()));
}
开发者ID:BBKeeper,项目名称:Cascades-Community-Samples,代码行数:7,代码来源:MainMenu.cpp

示例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);
}
开发者ID:26filip,项目名称:Cascades-Community-Samples,代码行数:8,代码来源:About.cpp

示例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);
}
开发者ID:aantonyan,项目名称:Cascades-Community-Samples,代码行数:9,代码来源:About.cpp

示例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();
}
开发者ID:BGmot,项目名称:Cascades-Community-Samples,代码行数:11,代码来源:ApduDetails.cpp

示例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();
}
开发者ID:aantonyan,项目名称:Cascades-Community-Samples,代码行数:11,代码来源:EventLog.cpp

示例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();
}
开发者ID:aantonyan,项目名称:Cascades-Community-Samples,代码行数:13,代码来源:EventLog.cpp


注:本文中的Navigator::getNavigationPane方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。