|
|
@ -294,18 +294,18 @@ void LightTableBar::setOnLeftPanel(const ImageInfo* info)
|
|
|
|
if (ltItem->info()->id() == info->id())
|
|
|
|
if (ltItem->info()->id() == info->id())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnLeftPanel(true);
|
|
|
|
ltItem->setOnLeftPanel(true);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (ltItem->isOnLeftPanel() == true)
|
|
|
|
else if (ltItem->isOnLeftPanel() == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnLeftPanel(false);
|
|
|
|
ltItem->setOnLeftPanel(false);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (ltItem->isOnLeftPanel() == true)
|
|
|
|
else if (ltItem->isOnLeftPanel() == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnLeftPanel(false);
|
|
|
|
ltItem->setOnLeftPanel(false);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -323,18 +323,18 @@ void LightTableBar::setOnRightPanel(const ImageInfo* info)
|
|
|
|
if (ltItem->info()->id() == info->id())
|
|
|
|
if (ltItem->info()->id() == info->id())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnRightPanel(true);
|
|
|
|
ltItem->setOnRightPanel(true);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (ltItem->isOnRightPanel() == true)
|
|
|
|
else if (ltItem->isOnRightPanel() == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnRightPanel(false);
|
|
|
|
ltItem->setOnRightPanel(false);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (ltItem->isOnRightPanel() == true)
|
|
|
|
else if (ltItem->isOnRightPanel() == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ltItem->setOnRightPanel(false);
|
|
|
|
ltItem->setOnRightPanel(false);
|
|
|
|
tqrepaintItem(item);
|
|
|
|
repaintItem(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|