Logo Search packages:      
Sourcecode: qelectrotech version File versions  Download package

InsetProperties QETDiagramEditor::defaultInsetProperties (  )  [static]

Les proprietes par defaut pour le cartouche d'un schema

Definition at line 1706 of file qetdiagrameditor.cpp.

References InsetProperties::fromSettings(), and QETApp::settings().

Referenced by NewDiagramPage::NewDiagramPage(), newProject(), and QETProject::readDefaultPropertiesXml().

      // accede a la configuration de l'application
      QSettings &settings = QETApp::settings();
      InsetProperties def;
      // lit le cartouche par defaut dans la configuration
      def.fromSettings(settings, "diagrameditor/default");

Generated by  Doxygen 1.6.0   Back to index