HRESULT CAzApplication::CreateChildItems(CAzApplication &pApp){ /*Below order has to be the same First create operations, then app groups, then tasks, then roles */ CAzLogging::Entering(_TEXT("CAzApplication::CreateChildItems")); HRESULT hr=CreateOperations(pApp); CAzLogging::Log(hr,_TEXT("Creating Operations for IAzApplication"),COLE2T(getName())); hr=CAzHelper<IAzApplication>::CreateAppGroups(pApp.m_native,m_native); CAzLogging::Log(hr,_TEXT("Creating Application Groups for IAzApplication"),COLE2T(getName())); hr=CAzHelper<IAzApplication>::CreateTasks(pApp.m_native,m_native); CAzLogging::Log(hr,_TEXT("Creating Tasks for IAzApplication"),COLE2T(getName())); hr=CAzHelper<IAzApplication>::CreateRoles(pApp.m_native,m_native); CAzLogging::Log(hr,_TEXT("Creating Roles for IAzApplication"),COLE2T(getName())); hr=CreateScopes(pApp); CAzLogging::Log(hr,_TEXT("Creating Scopes for IAzApplication"),COLE2T(getName())); hr=m_native->Submit(0,CComVariant()); CAzLogging::Log(hr,_TEXT("Submitting child object addition for IAzApplication"),COLE2T(getName())); CAzLogging::Exiting(_TEXT("CAzApplication::CreateChildItems")); return hr; }
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), mSizeDialog(new SizeDialogue), mSize(1), mOperation(nullptr) { ui->setupUi(this); setWindowTitle("Image Processing"); ui->ColorPickerFront->setColor(Qt::black); ui->ColorPickerBack->setColor(Qt::white); ui->ColorPickerFront->foreground(); ui->ColorPickerBack->background(); // Mouse Tracking standardmäßig deaktivieren setMouseTracking(false); // Erzeuge alle Operationen CreateOperations(); ConnectSignals(); }