|
|
@ -136,7 +136,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
|
|
|
|
w = w->parent();
|
|
|
|
w = w->parent();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
setFocusPolicy(TQ_ClickFocus);
|
|
|
|
setFocusPolicy(TQWidget::ClickFocus);
|
|
|
|
|
|
|
|
|
|
|
|
TQGridLayout *g = new TQGridLayout(this,4,2,2,2);
|
|
|
|
TQGridLayout *g = new TQGridLayout(this,4,2,2,2);
|
|
|
|
|
|
|
|
|
|
|
@ -182,7 +182,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
|
|
|
|
g->addMultiCellWidget(l,2,2,0,1);
|
|
|
|
g->addMultiCellWidget(l,2,2,0,1);
|
|
|
|
|
|
|
|
|
|
|
|
m_pMaskBox = new KviTalListView(this);
|
|
|
|
m_pMaskBox = new KviTalListView(this);
|
|
|
|
m_pMaskBox->setFocusPolicy(TQ_ClickFocus);
|
|
|
|
m_pMaskBox->setFocusPolicy(TQWidget::ClickFocus);
|
|
|
|
m_pMaskBox->setFocusProxy(this);
|
|
|
|
m_pMaskBox->setFocusProxy(this);
|
|
|
|
m_pMaskBox->setFrameStyle(TQFrame::StyledPanel|TQFrame::Sunken);
|
|
|
|
m_pMaskBox->setFrameStyle(TQFrame::StyledPanel|TQFrame::Sunken);
|
|
|
|
m_pMaskBox->addColumn(__tr2qs("Mask"));
|
|
|
|
m_pMaskBox->addColumn(__tr2qs("Mask"));
|
|
|
@ -197,7 +197,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
|
|
|
|
|
|
|
|
|
|
|
|
m_pRemoveMask = new TQPushButton(__tr2qs("Re&move"),this);
|
|
|
|
m_pRemoveMask = new TQPushButton(__tr2qs("Re&move"),this);
|
|
|
|
m_pRemoveMask->setEnabled(isEnabled);
|
|
|
|
m_pRemoveMask->setEnabled(isEnabled);
|
|
|
|
m_pRemoveMask->setFocusPolicy(TQ_ClickFocus);
|
|
|
|
m_pRemoveMask->setFocusPolicy(TQWidget::ClickFocus);
|
|
|
|
m_pRemoveMask->setFocusProxy(this);
|
|
|
|
m_pRemoveMask->setFocusProxy(this);
|
|
|
|
g->addWidget(m_pRemoveMask,4,1);
|
|
|
|
g->addWidget(m_pRemoveMask,4,1);
|
|
|
|
connect(m_pRemoveMask,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeClicked()));
|
|
|
|
connect(m_pRemoveMask,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeClicked()));
|
|
|
@ -205,7 +205,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
|
|
|
|
|
|
|
|
|
|
|
|
m_pAddButton = new TQPushButton(__tr2qs("Add"),this);
|
|
|
|
m_pAddButton = new TQPushButton(__tr2qs("Add"),this);
|
|
|
|
m_pAddButton->setEnabled(isEnabled);
|
|
|
|
m_pAddButton->setEnabled(isEnabled);
|
|
|
|
m_pAddButton->setFocusPolicy(TQ_ClickFocus);
|
|
|
|
m_pAddButton->setFocusPolicy(TQWidget::ClickFocus);
|
|
|
|
m_pAddButton->setFocusProxy(this);
|
|
|
|
m_pAddButton->setFocusProxy(this);
|
|
|
|
g->addWidget(m_pAddButton,4,0);
|
|
|
|
g->addWidget(m_pAddButton,4,0);
|
|
|
|
connect(m_pAddButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(addClicked()));
|
|
|
|
connect(m_pAddButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(addClicked()));
|
|
|
|