|
|
@ -36,17 +36,17 @@ KbfxPlasmaCanvasItemWrapper::item ( KbfxPlasmaCanvasItem::Type __type )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQPixmap _img_sep = ( *KbfxPlasmaPixmapProvider::pixmap ( "separator" ) );
|
|
|
|
TQPixmap _img_sep = ( *KbfxPlasmaPixmapProvider::pixmap ( "separator" ) );
|
|
|
|
TQImage _tmp_img = _img_sep.convertToImage();
|
|
|
|
TQImage _tmp_img = _img_sep.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_sep.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_sep.height (),TQImage::ScaleFree );
|
|
|
|
_img_sep = TQPixmap ( _tmp_img );
|
|
|
|
_img_sep = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
TQPixmap _img_tnorm = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilenormal" ) );
|
|
|
|
TQPixmap _img_tnorm = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilenormal" ) );
|
|
|
|
_tmp_img = _img_tnorm.convertToImage();
|
|
|
|
_tmp_img = _img_tnorm.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_tnorm.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_tnorm.height (),TQImage::ScaleFree );
|
|
|
|
_img_tnorm = TQPixmap ( _tmp_img );
|
|
|
|
_img_tnorm = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
TQPixmap _img_thov = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilehover" ) );
|
|
|
|
TQPixmap _img_thov = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilehover" ) );
|
|
|
|
_tmp_img = _img_thov.convertToImage();
|
|
|
|
_tmp_img = _img_thov.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_thov.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_thov.height (),TQImage::ScaleFree );
|
|
|
|
_img_thov = TQPixmap ( _tmp_img );
|
|
|
|
_img_thov = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
if ( __type == KbfxPlasmaCanvasItem::SEPARATOR )
|
|
|
|
if ( __type == KbfxPlasmaCanvasItem::SEPARATOR )
|
|
|
@ -85,17 +85,17 @@ KbfxPlasmaCanvasItemWrapper::itemIndex ( KbfxPlasmaCanvasItem::Type __type )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQPixmap _img_isep = ( *KbfxPlasmaPixmapProvider::pixmap ( "indexseparator" ) );
|
|
|
|
TQPixmap _img_isep = ( *KbfxPlasmaPixmapProvider::pixmap ( "indexseparator" ) );
|
|
|
|
TQImage _tmp_img = _img_isep.convertToImage();
|
|
|
|
TQImage _tmp_img = _img_isep.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_isep.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_isep.height (),TQImage::ScaleFree );
|
|
|
|
_img_isep = TQPixmap ( _tmp_img );
|
|
|
|
_img_isep = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
TQPixmap _img_r = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhstile" ) );
|
|
|
|
TQPixmap _img_r = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhstile" ) );
|
|
|
|
_tmp_img = _img_r.convertToImage();
|
|
|
|
_tmp_img = _img_r.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_r.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_r.height (),TQImage::ScaleFree );
|
|
|
|
_img_r = TQPixmap ( _tmp_img );
|
|
|
|
_img_r = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
TQPixmap _img_rhov = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhshovertile" ) );
|
|
|
|
TQPixmap _img_rhov = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhshovertile" ) );
|
|
|
|
_tmp_img = _img_rhov.convertToImage();
|
|
|
|
_tmp_img = _img_rhov.convertToImage();
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_rhov.height (),TQ_ScaleFree );
|
|
|
|
_tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_rhov.height (),TQImage::ScaleFree );
|
|
|
|
_img_rhov = TQPixmap ( _tmp_img );
|
|
|
|
_img_rhov = TQPixmap ( _tmp_img );
|
|
|
|
|
|
|
|
|
|
|
|
if ( __type == KbfxPlasmaCanvasItem::SEPARATOR )
|
|
|
|
if ( __type == KbfxPlasmaCanvasItem::SEPARATOR )
|
|
|
|