Vous pouvez également consulter La structure XML utilisée pour décrire les schémas dans QElectroTech 0.3
Class impliquées: QETProject
QETProject *m_project = projet_qet; QString data = tr("TITLE OF PROJECT : ") + m_project -> title();
Class impliquées: QETProject, Diagram
// declaration QETProject *m_project; QList<Diagram *> m_list_diagram; // Get list of schema m_project = projet_qet; if(!m_project->isEmpty()){ //get list of schema present in project m_list_diagram = m_project -> diagrams(); } //Sample load list of schema in QString QString data for(int i=0; i<m_list_diagram.count(); i++){ data += m_list_diagram.at(i)->title() + "\n"; }