/***************************************************************************
                          TargetTreeCntPanel.h -  description
                             -------------------
    begin                : Sat May 5 2001
    copyright            : (C) 2001 by Alexy Podolsky
    email                : alexpod@users.sourceforge.net
 ***************************************************************************/
/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#ifndef TARGETTREECNTPANEL_H
#define TARGETTREECNTPANEL_H

#include <qvariant.h>
#include <qwidget.h>

//#include <ktoolbar.h>

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QFrame;
class QToolButton;
class KConfig;

class TargetTreeCntPanel : public QWidget//KToolBar
{ 
    Q_OBJECT

public:
    	TargetTreeCntPanel( QWidget* parent = 0, const char* name = 0,  bool withReload = true, WFlags fl = 0);
   	~TargetTreeCntPanel();
	inline QToolButton *getDeleteNodeBtn(){ return deleteNodeBtn; }
	inline QToolButton *getIsoPropBtn(){ return isoPropBtn; }
	inline QToolButton *getShowPropBtn(){ return itemPropBtn; }
	inline QToolButton *getReloadBtn(){ return reloadBtn; }
	inline QToolButton *getCollapseTrgBtn(){ return collapseTrgBtn; }
	inline QToolButton *getCreateImgBtn(){ return createImgBtn; }
	inline QToolButton *getBurnBtn(){ return burnBtn; }

private:
	KConfig *config;
    QHBoxLayout* TargetTreeCntPanelLayout;
    QVBoxLayout* Frame4Layout;

    //QToolButton* expandTrgBtn;
    QToolButton* collapseTrgBtn;
    QToolButton* reloadBtn;
    QToolButton* deleteNodeBtn;
    QToolButton* itemPropBtn;
    QToolButton* isoPropBtn;
    QToolButton* burnBtn;
    QToolButton* createImgBtn;

    QFrame* Line1_2_2_2;
    QFrame* Frame4;
	QFrame* Line1_2;
    QFrame* Line1_2_2;
};

#endif // TARGETTREECNTPANEL_H
