From 8fb3fff5cb5764efa5d416233f3498d50fa963dc Mon Sep 17 00:00:00 2001
From: jpbl <jpbl>
Date: Fri, 6 Jan 2006 18:37:59 +0000
Subject: [PATCH] Compiling warning fix

---
 libs/taxidermy/QWidgetBuilder.cpp |  1 -
 libs/taxidermy/doc.txt            | 31 +++++++++++++++++++++++++++++++
 libs/utilspp/NonCopyable.hpp      |  2 +-
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 libs/taxidermy/doc.txt

diff --git a/libs/taxidermy/QWidgetBuilder.cpp b/libs/taxidermy/QWidgetBuilder.cpp
index b2cef6c08f..49abd51202 100644
--- a/libs/taxidermy/QWidgetBuilder.cpp
+++ b/libs/taxidermy/QWidgetBuilder.cpp
@@ -58,7 +58,6 @@ taxidermy::QWidgetBuilder::load(const QMap< QString, QString > &values)
       mBackgroundImage = qtutils::transparize(*bimage);
     }
     else {
-      std::cout << *bimage << " is not trans\n";
       qtutils::retreive(*bimage, mBackgroundImage);
     }
   }
diff --git a/libs/taxidermy/doc.txt b/libs/taxidermy/doc.txt
new file mode 100644
index 0000000000..abfcbacd6e
--- /dev/null
+++ b/libs/taxidermy/doc.txt
@@ -0,0 +1,31 @@
+
+QWidget: 
+You can specify many kinds of options for a QWidget:
+
+Position: there's two options for the position of a widget:
+- x: the x position of the widget, relative to the parent.
+- y: the y position of the widget, relative to the parent.
+You need to specify both of them in order to be valid.
+
+Size: you can specify the size of a widget with thow option:
+- height: the height of a widget.
+- width: the width of a widget.
+You need to specify both of them in order to be valid.
+
+
+Background: You can specifiy background's color or a pixmap to be the
+background of an image. There's three options that manages the background:
+
+   - bImage: the pixmap name to be used.
+   - tranparent: if the pixmap has an alpha buffer, the label will use the pixmap mask.
+        This is the default option. 
+   - force_transparent: If this is specified it will try to use the alpha buffer, if 
+        there's no alpha buffer, it will create a heuristic mask.
+   - bColor: the color of the background.
+   
+  bImage has a higher priority over bColor. It means that if you specify
+both attributes, the bImage will be used. However, if the image is not
+valid, the color will be used. 
+  If you specifiy an image for background the widget will be resized to the 
+size of the image. If you specify the size with an image, the size of the
+image will be used instead of the image.
\ No newline at end of file
diff --git a/libs/utilspp/NonCopyable.hpp b/libs/utilspp/NonCopyable.hpp
index eb54431293..83ec499a40 100644
--- a/libs/utilspp/NonCopyable.hpp
+++ b/libs/utilspp/NonCopyable.hpp
@@ -33,7 +33,7 @@ namespace utilspp
          {}
 
       private:
-         NonCopyable(const NonCopyable& r)
+         NonCopyable(const NonCopyable&)
          {}
    };
 };
-- 
GitLab