您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ updateTitle函数代码示例

51自学网 2021-06-03 09:14:42
  C++
这篇教程C++ updateTitle函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中updateTitle函数的典型用法代码示例。如果您正苦于以下问题:C++ updateTitle函数的具体用法?C++ updateTitle怎么用?C++ updateTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了updateTitle函数的24个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: updateTitle

void QgsExtentGroupBox::setOutputExtentFromLineEdit(){  mExtentState = UserExtent;  updateTitle();  emit extentChanged( outputExtent() );}
开发者ID:giserfly,项目名称:QGIS,代码行数:8,


示例2: QString

void MdiChild::newFile(){  static int sequenceNumber = 1;  isUntitled = true;  curFile = QString("document%1.eepe").arg(sequenceNumber++);  updateTitle();}
开发者ID:RonDePrez,项目名称:opentx,代码行数:8,


示例3: updateTitle

void UIPopupBox::setTitle(const QString &strTitle){    /* Remember new title: */    m_strTitle = strTitle;    /* Update title: */    updateTitle();    /* Recalculate title-size: */    recalc();}
开发者ID:VirtualMonitor,项目名称:VirtualMonitor,代码行数:9,


示例4: updateTitle

// Set the modified flagvoid Map::setModified(bool modifiedFlag){    m_modified = modifiedFlag;    updateTitle();    // Reset the map save timer    _mapSaveTimer.reset();    _mapSaveTimer.start();}
开发者ID:Zbyl,项目名称:DarkRadiant,代码行数:10,


示例5: fillOpts

void TocDlg::on_actionUpdatePage_triggered(){    isPageUpdated = true;    // code added 28.11.2011    // page recount    fillOpts();    updateTitle();}
开发者ID:CrazyCoder,项目名称:coolreader-kindle-qt,代码行数:9,


示例6: updateTitle

void CLSValueEditor::setTitle(const QString &newText){	if (title_ != newText) {		title_ = newText;		updateTitle();		emit titleChanged(title_);	}}
开发者ID:acquaman,项目名称:acquaman,代码行数:9,


示例7: GetGalCanvas

void FOOTPRINT_EDIT_FRAME::updateView(){    auto dp = static_cast<PCB_DRAW_PANEL_GAL*>( GetGalCanvas() );    dp->UseColorScheme( &Settings().Colors() );    dp->DisplayBoard( GetBoard() );    m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );    m_toolManager->RunAction( ACTIONS::zoomFitScreen, true );    updateTitle();}
开发者ID:KiCad,项目名称:kicad-source-mirror,代码行数:9,


示例8: updateTitle

void CDlgAccount::accountDownloadEnd( const CString& accountName) {	if (!m_accountName.IsEmpty() && m_accountName != accountName) {		return;	}	m_complete = true;	updateTitle();}
开发者ID:Technology-Hatchery,项目名称:IB_client,代码行数:9,


示例9: tr

void MainWindow::saveAsMindMap(){    m_currentMindMapPath = QFileDialog::getSaveFileName(this, tr("Save Mind Map"), m_preferences->value("MindMapDirectory",QDir::homePath()).toString(), tr("Rolisteam Mind Map (*.rmap)"));    if(!m_currentMindMapPath.isNull())    {        saveMindMap();        updateTitle();        }}
开发者ID:obiwankennedy,项目名称:rmindmap,代码行数:9,


示例10: readFile

void MainWindow::openRecentFile(){    QAction* tmp = dynamic_cast<QAction*>(sender());    m_currentMindMapPath=tmp->data().toString();    readFile();    updateTitle();}
开发者ID:obiwankennedy,项目名称:rmindmap,代码行数:9,


示例11: pow

void GLWidget::mouseMoveEvent(QMouseEvent *e){	QPointF p = e->pos() - data.prevPos;	data.moveX += -p.x() * 2.f * pow(2, data.zoom) / (double)width();	data.moveY += p.y() * 2.f * pow(2, data.zoom) / (double)width();	data.prevPos = e->pos();	updateTitle();	update();}
开发者ID:zhiyb,项目名称:MathPic,代码行数:9,


示例12: updateConfigFileName

void MainWindow::loadConfigFromFile(const QString & fileName){  m_expert->loadConfig(fileName);  m_wizard->refresh();  updateConfigFileName(fileName);  updateLaunchButtonState();  m_modified = false;  updateTitle();}
开发者ID:arnaudgelas,项目名称:doxygen-cmake,代码行数:9,


示例13: switch

void PlayerWidget::onPlayerMetadataChanged(Player::MetaData key, const QVariant &value){	switch (key)	{	case Player::Title:		m_ui->le_Title->setText(value.toString());		updateTitle();		break;	case Player::Artist:		m_ui->le_Artist->setText(value.toString());		updateTitle();		break;	case Player::AlbumTitle:		m_ui->le_Album->setText(value.toString());		break;	}}
开发者ID:timxx,项目名称:lyricsx,代码行数:19,


示例14: AbstractRenderView

RenderView::RenderView(    DataMapping & dataMapping,    int index,    QWidget * parent, Qt::WindowFlags flags)    : AbstractRenderView(dataMapping, index, parent, flags)    , m_implementationSwitch{ std::make_unique<RendererImplementationSwitch>(*this) }    , m_closingRequested{ false }{    updateTitle();}
开发者ID:kateyy,项目名称:geohazardvis,代码行数:10,


示例15: LCD_ButtonPress

task LCD_ButtonPress() {	int buttonPress = 0;	int title = 2;	while(lcdRun) {		buttonPress = titles(title);			title = updateTitle(buttonPress);		batteryVoltagle(buttonPress);		updateAuto(buttonPress);	}}
开发者ID:Jasfisch,项目名称:254vex_robotCode,代码行数:10,


示例16: catch

/** * @brief Saves the current play displayed by the embedded PBCPlayView to the playbook */void MainDialog::savePlay() {    try {        _playView->savePlay();    } catch(const PBCStorageException& e) {        QMessageBox::information(this, "", "You have to save the playbook to a file before you can add plays");  //NOLINT        savePlaybookAs();        return;    }    updateTitle(true);}
开发者ID:brauni91,项目名称:playbook-creator,代码行数:13,


示例17: updateTitle

void QgsExtentGroupBox::groupBoxClicked(){  if ( !isCheckable() )    return;  updateTitle();  // output extent just went from null to something (or vice versa)  emit extentChanged( outputExtent() );}
开发者ID:exlimit,项目名称:QGIS,代码行数:10,


示例18: setUniversalId

void CSVWorld::SceneSubView::cellSelectionChanged (const CSMWorld::UniversalId& id){    setUniversalId(id);    std::ostringstream stream;    stream << "Scene: " << getUniversalId().getId();    mTitle = stream.str();    setWindowTitle (QString::fromUtf8 (mTitle.c_str()));    emit updateTitle();}
开发者ID:Edgarins29,项目名称:openmw,代码行数:10,


示例19: QMainWindow

/** * @brief MainDialog::MainDialog The constructor * @param parent The parent widget this dialog belongs to. It should be NULL * since this is the main window which contains all other dialogs. */MainDialog::MainDialog(QWidget *parent) :    QMainWindow(parent),    ui(new Ui::MainDialog),    _currentPlaybookFileName("") {    ui->setupUi(this);    ui->graphicsView->setRenderHint(QPainter::Antialiasing);    ui->graphicsView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);    ui->graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);    updateTitle(false);}
开发者ID:brauni91,项目名称:playbook-creator,代码行数:16,


示例20: updateTitle

void MainWindowPlugin::onOptionsClosed(){	FMinimizeNotifyId = 0; // Disable minimize notify	FOpenAction->setVisible(false);	updateTitle();	QString ns = FMainWindowBorder ? QString::null : QString("system-border");	Options::setFileValue(mainWindowTopWidget()->saveGeometry(),"mainwindow.geometry",ns);	mainWindowTopWidget()->hide();}
开发者ID:RandomWalkEagle,项目名称:Contacts,代码行数:11,


示例21: QFileInfo

void MainWindow::updateConfigFileName(const QString &fileName){  if (m_fileName!=fileName)  {    m_fileName = fileName;    QString curPath = QFileInfo(fileName).path();    setWorkingDir(curPath);    addRecentFile(fileName);    updateTitle();  }}
开发者ID:CBApplications,项目名称:doxygen,代码行数:11,


示例22: intervalTimer

// Estimate FPS, use for fixed interval timer driven animationvoid intervalTimer (int i) {    glutTimerFunc(timerDelay, intervalTimer, 1);   // compute frames / second   intervalTimerCalls++;   if (intervalTimerCalls * timerDelay >= 1000) {      sprintf(fpsStr, " fps %4d", frameCount );      intervalTimerCalls = frameCount = 0;      updateTitle();      }         if (! idleTimerFlag) spin();  // fixed interval timer  }
开发者ID:ronenadam,项目名称:RuberSystem,代码行数:12,


示例23: updateCamera

void CloudsIntroSequence::selfUpdate(){		if(!startedOnclick && timeline->getIsPlaying()){		timeline->stop();	}		updateCamera();	updateWaiting();	updateQuestions();	updateTitle();}
开发者ID:wasawi,项目名称:CLOUDS,代码行数:11,


示例24: QtBaseWidget

QtActionWidget::QtActionWidget(PyQtGuiObject* control) : QtBaseWidget(control) {	resize(50, 25);	buttonWidget = new QPushButton(this);	buttonWidget->resize(size());	buttonWidget->show();	connect(buttonWidget, SIGNAL(clicked()), this, SLOT(onClick()));	updateTitle();	buttonWidget->adjustSize();	resize(buttonWidget->size());}
开发者ID:albertz,项目名称:music-player,代码行数:11,



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


C++ updateTrafficStats函数代码示例
C++ updateTimer函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。