CComponentsItem/CComponentsForm: add property focus

Specifies that some certain operations especially eg. exec events for
that item are possible.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0c0e0e85ff
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-02 (Tue, 02 Sep 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-09-02 08:35:12 +02:00
committed by [CST] Focus
parent 7ee49b7798
commit 68b8271d90
3 changed files with 19 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ void CComponentsForm::addCCItem(CComponentsItem* cc_Item)
//assign item index
int new_index = genIndex();
cc_Item->setIndex(new_index);
cc_Item->setFocus(true);
dprintf(DEBUG_DEBUG, "\t%s-%d parent index = %d, assigned index ======> %d\n", __func__, __LINE__, cc_item_index, new_index);