直接上代码文件了
/*********************************************************************
* \brief: a simple hide-able catalog bar
* \author: shawhen
* \date: 2013-05-18
* \version: 0.0.1 alpha
* \note: just a trial sample,hack it for free,wish your share
*********************************************************************/
import QtQuick 2.0
Rectangle {
id: root
width: 100; height: 400;
color: "white"
Rectangle
{
id: