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

BorderProperties QETDiagramEditor::defaultBorderProperties (  )  [static]

Returns:
Les dimensions par defaut d'un schema

Definition at line 1720 of file qetdiagrameditor.cpp.

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

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

                                                           {
      // accede a la configuration de l'application
      QSettings &settings = QETApp::settings();
      
      BorderProperties def;
      // lit les dimensions par defaut dans la configuration
      def.fromSettings(settings, "diagrameditor/default");
      
      return(def);
}


Generated by  Doxygen 1.6.0   Back to index