mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 18:50:52 +01:00
Correction d'un warning (gcc 4.1) / d'une erreur (gcc 4.2) a la compilation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@209 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -26,7 +26,7 @@ ConductorPropertiesWidget::ConductorPropertiesWidget(const ConductorProperties &
|
||||
/// construit l'interface du widget
|
||||
void ConductorPropertiesWidget::buildInterface() {
|
||||
|
||||
setFixedSize(380, 270);
|
||||
setFixedSize(380, 280);
|
||||
|
||||
QVBoxLayout *main_layout = new QVBoxLayout(this);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class ElementTextItem : public DiagramTextItem {
|
||||
// methodes
|
||||
public:
|
||||
virtual int type() const { return Type; }
|
||||
virtual QRectF boundingRect() { return(QGraphicsTextItem::boundingRect().adjusted(0.0, -1.0, 0.0, 0.0)); }
|
||||
virtual QRectF boundingRect() const { return(QGraphicsTextItem::boundingRect().adjusted(0.0, -1.0, 0.0, 0.0)); }
|
||||
bool followParentRotations() const;
|
||||
void setFollowParentRotations(bool);
|
||||
void fromXml(const QDomElement &);
|
||||
|
||||
Reference in New Issue
Block a user