From: rnv Date: Thu, 5 Dec 2013 14:08:49 +0000 (+0000) Subject: Compilation on Windows: X-Git-Tag: V7_3_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74a9b87f59a48ff37a85cfae86543aadcfac1e34;p=modules%2Fhexablock.git Compilation on Windows: 1) Comment unimplemented methods. 2) replace 'and' logical operator by the '&&' --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx index 0c4db33..fee460d 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx @@ -1789,9 +1789,9 @@ bool HexaDialog::apply(QModelIndex& result) } nbItems = iElts.count(); - if ( quads_rb->isChecked() and (nbItems>=2 and nbItems<=6) ){ // build from quads iElts.count() should be between [2,6] + if ( quads_rb->isChecked() && (nbItems>=2 && nbItems<=6) ){ // build from quads iElts.count() should be between [2,6] iHexa = getDocumentModel()->addHexaQuads( iElts ); - } else if ( vertices_rb->isChecked() and nbItems== 8 ){ // build from vertices + } else if ( vertices_rb->isChecked() && nbItems== 8 ){ // build from vertices iHexa = getDocumentModel()->addHexaVertices( iElts[0], iElts[1], iElts[2], iElts[3], iElts[4], iElts[5], iElts[6], iElts[7] ); } diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.hxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.hxx index 5f52285..9f0f635 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.hxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.hxx @@ -553,9 +553,9 @@ namespace HEXABLOCK void updateHelpFileName(); private slots: - void addQuad(); + //void addQuad(); void removeQuad(); - void clearQuads(); + //void clearQuads(); }; @@ -583,9 +583,9 @@ namespace HEXABLOCK void updateHelpFileName(); private slots: - void addQuad(); + //void addQuad(); void removeQuad(); - void clearQuads(); + //void clearQuads(); }; @@ -902,7 +902,7 @@ class HEXABLOCK_EXPORT EdgeAssocDialog : public HexaBaseDialog, void _initInputWidget( Mode editmode ); protected slots: - void updateHelpFileName(); + //void updateHelpFileName(); void deletePropagationItem(); virtual void selectElementOfModel(); @@ -958,7 +958,7 @@ class HEXABLOCK_EXPORT EdgeAssocDialog : public HexaBaseDialog, void deleteQuadItem(); void deleteQuadItem2(); void updateButtonBox(); - void updateHelpFileName(); + //void updateHelpFileName(); private: HEXA_NS::Elements *_value;