text
stringlengths
8
6.88M
// C++ for the Windows Runtime vv1.0.170303.6 // Copyright (c) 2017 Microsoft Corporation. All rights reserved. #pragma once #include "Windows.UI.Composition.Interactions.1.h" #include "Windows.Foundation.1.h" #include "Windows.UI.Composition.1.h" #include "Windows.UI.Composition.2.h" WINRT_EXPORT namespace winrt { namespace ABI::Windows::Foundation { #ifndef WINRT_GENERIC_719cc2ba_3e76_5def_9f1a_38d85a145ea8 #define WINRT_GENERIC_719cc2ba_3e76_5def_9f1a_38d85a145ea8 template <> struct __declspec(uuid("719cc2ba-3e76-5def-9f1a-38d85a145ea8")) __declspec(novtable) IReference<float> : impl_IReference<float> {}; #endif } namespace ABI::Windows::Foundation::Collections { #ifndef WINRT_GENERIC_17c50e21_cb70_5a2b_b797_a8dc01a99113 #define WINRT_GENERIC_17c50e21_cb70_5a2b_b797_a8dc01a99113 template <> struct __declspec(uuid("17c50e21-cb70-5a2b-b797-a8dc01a99113")) __declspec(novtable) IIterable<Windows::UI::Composition::Interactions::ICompositionInteractionSource> : impl_IIterable<Windows::UI::Composition::Interactions::ICompositionInteractionSource> {}; #endif } namespace ABI::Windows::Foundation { #ifndef WINRT_GENERIC_1ee770ff_c954_59ca_a754_6199a9be282c #define WINRT_GENERIC_1ee770ff_c954_59ca_a754_6199a9be282c template <> struct __declspec(uuid("1ee770ff-c954-59ca-a754-6199a9be282c")) __declspec(novtable) IReference<Windows::Foundation::Numerics::float3> : impl_IReference<Windows::Foundation::Numerics::float3> {}; #endif } namespace ABI::Windows::Foundation::Collections { #ifndef WINRT_GENERIC_9a245c40_aae6_59fb_87f5_4bb05599f0b1 #define WINRT_GENERIC_9a245c40_aae6_59fb_87f5_4bb05599f0b1 template <> struct __declspec(uuid("9a245c40-aae6-59fb-87f5-4bb05599f0b1")) __declspec(novtable) IIterable<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> : impl_IIterable<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> {}; #endif #ifndef WINRT_GENERIC_b268447b_f519_5ce5_89cd_b7e1bc5652ee #define WINRT_GENERIC_b268447b_f519_5ce5_89cd_b7e1bc5652ee template <> struct __declspec(uuid("b268447b-f519-5ce5-89cd-b7e1bc5652ee")) __declspec(novtable) IIterable<Windows::UI::Composition::Interactions::CompositionConditionalValue> : impl_IIterable<Windows::UI::Composition::Interactions::CompositionConditionalValue> {}; #endif #ifndef WINRT_GENERIC_99acf1e7_8cae_514e_8b8f_68448de96a97 #define WINRT_GENERIC_99acf1e7_8cae_514e_8b8f_68448de96a97 template <> struct __declspec(uuid("99acf1e7-8cae-514e-8b8f-68448de96a97")) __declspec(novtable) IVector<Windows::UI::Composition::Interactions::ICompositionInteractionSource> : impl_IVector<Windows::UI::Composition::Interactions::ICompositionInteractionSource> {}; #endif #ifndef WINRT_GENERIC_c0ed6dd8_03b5_5f88_8594_91898819e72e #define WINRT_GENERIC_c0ed6dd8_03b5_5f88_8594_91898819e72e template <> struct __declspec(uuid("c0ed6dd8-03b5-5f88-8594-91898819e72e")) __declspec(novtable) IVectorView<Windows::UI::Composition::Interactions::ICompositionInteractionSource> : impl_IVectorView<Windows::UI::Composition::Interactions::ICompositionInteractionSource> {}; #endif #ifndef WINRT_GENERIC_20259ef3_9f4b_5257_8581_6d3eabbbd690 #define WINRT_GENERIC_20259ef3_9f4b_5257_8581_6d3eabbbd690 template <> struct __declspec(uuid("20259ef3-9f4b-5257-8581-6d3eabbbd690")) __declspec(novtable) IIterator<Windows::UI::Composition::Interactions::ICompositionInteractionSource> : impl_IIterator<Windows::UI::Composition::Interactions::ICompositionInteractionSource> {}; #endif #ifndef WINRT_GENERIC_642e8dff_1530_5e5e_86bc_b2e7c5f866f9 #define WINRT_GENERIC_642e8dff_1530_5e5e_86bc_b2e7c5f866f9 template <> struct __declspec(uuid("642e8dff-1530-5e5e-86bc-b2e7c5f866f9")) __declspec(novtable) IVector<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> : impl_IVector<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> {}; #endif #ifndef WINRT_GENERIC_0a23d57a_af70_5fce_95a9_6667035932a6 #define WINRT_GENERIC_0a23d57a_af70_5fce_95a9_6667035932a6 template <> struct __declspec(uuid("0a23d57a-af70-5fce-95a9-6667035932a6")) __declspec(novtable) IVectorView<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> : impl_IVectorView<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> {}; #endif #ifndef WINRT_GENERIC_46617d87_2cd2_5e31_9a30_ea86f8aa7ca1 #define WINRT_GENERIC_46617d87_2cd2_5e31_9a30_ea86f8aa7ca1 template <> struct __declspec(uuid("46617d87-2cd2-5e31-9a30-ea86f8aa7ca1")) __declspec(novtable) IIterator<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> : impl_IIterator<Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> {}; #endif #ifndef WINRT_GENERIC_e1e2fde3_ecad_5d26_a0dc_6f7e6bd9493c #define WINRT_GENERIC_e1e2fde3_ecad_5d26_a0dc_6f7e6bd9493c template <> struct __declspec(uuid("e1e2fde3-ecad-5d26-a0dc-6f7e6bd9493c")) __declspec(novtable) IVector<Windows::UI::Composition::Interactions::CompositionConditionalValue> : impl_IVector<Windows::UI::Composition::Interactions::CompositionConditionalValue> {}; #endif #ifndef WINRT_GENERIC_ded20b78_0bed_5f4c_9df5_982dadf8f8bb #define WINRT_GENERIC_ded20b78_0bed_5f4c_9df5_982dadf8f8bb template <> struct __declspec(uuid("ded20b78-0bed-5f4c-9df5-982dadf8f8bb")) __declspec(novtable) IVectorView<Windows::UI::Composition::Interactions::CompositionConditionalValue> : impl_IVectorView<Windows::UI::Composition::Interactions::CompositionConditionalValue> {}; #endif #ifndef WINRT_GENERIC_8a75b02d_3991_55a6_bfe2_82cb7dd65b98 #define WINRT_GENERIC_8a75b02d_3991_55a6_bfe2_82cb7dd65b98 template <> struct __declspec(uuid("8a75b02d-3991-55a6-bfe2-82cb7dd65b98")) __declspec(novtable) IIterator<Windows::UI::Composition::Interactions::CompositionConditionalValue> : impl_IIterator<Windows::UI::Composition::Interactions::CompositionConditionalValue> {}; #endif } namespace Windows::UI::Composition::Interactions { struct ICompositionConditionalValue : Windows::Foundation::IInspectable, impl::consume<ICompositionConditionalValue> { ICompositionConditionalValue(std::nullptr_t = nullptr) noexcept {} }; struct ICompositionConditionalValueStatics : Windows::Foundation::IInspectable, impl::consume<ICompositionConditionalValueStatics> { ICompositionConditionalValueStatics(std::nullptr_t = nullptr) noexcept {} }; struct ICompositionInteractionSource : Windows::Foundation::IInspectable, impl::consume<ICompositionInteractionSource> { ICompositionInteractionSource(std::nullptr_t = nullptr) noexcept {} }; struct ICompositionInteractionSourceCollection : Windows::Foundation::IInspectable, impl::consume<ICompositionInteractionSourceCollection>, impl::require<ICompositionInteractionSourceCollection, Windows::Foundation::Collections::IIterable<Windows::UI::Composition::Interactions::ICompositionInteractionSource>> { ICompositionInteractionSourceCollection(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTracker : Windows::Foundation::IInspectable, impl::consume<IInteractionTracker> { IInteractionTracker(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTracker2 : Windows::Foundation::IInspectable, impl::consume<IInteractionTracker2> { IInteractionTracker2(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerCustomAnimationStateEnteredArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerCustomAnimationStateEnteredArgs> { IInteractionTrackerCustomAnimationStateEnteredArgs(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerIdleStateEnteredArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerIdleStateEnteredArgs> { IInteractionTrackerIdleStateEnteredArgs(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaModifier : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaModifier> { IInteractionTrackerInertiaModifier(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaModifierFactory : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaModifierFactory> { IInteractionTrackerInertiaModifierFactory(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaMotion : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaMotion> { IInteractionTrackerInertiaMotion(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaMotionStatics : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaMotionStatics> { IInteractionTrackerInertiaMotionStatics(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaRestingValue : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaRestingValue> { IInteractionTrackerInertiaRestingValue(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaRestingValueStatics : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaRestingValueStatics> { IInteractionTrackerInertiaRestingValueStatics(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInertiaStateEnteredArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInertiaStateEnteredArgs> { IInteractionTrackerInertiaStateEnteredArgs(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerInteractingStateEnteredArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerInteractingStateEnteredArgs> { IInteractionTrackerInteractingStateEnteredArgs(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerOwner : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerOwner> { IInteractionTrackerOwner(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerRequestIgnoredArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerRequestIgnoredArgs> { IInteractionTrackerRequestIgnoredArgs(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerStatics : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerStatics> { IInteractionTrackerStatics(std::nullptr_t = nullptr) noexcept {} }; struct IInteractionTrackerValuesChangedArgs : Windows::Foundation::IInspectable, impl::consume<IInteractionTrackerValuesChangedArgs> { IInteractionTrackerValuesChangedArgs(std::nullptr_t = nullptr) noexcept {} }; struct IVisualInteractionSource : Windows::Foundation::IInspectable, impl::consume<IVisualInteractionSource> { IVisualInteractionSource(std::nullptr_t = nullptr) noexcept {} }; struct IVisualInteractionSource2 : Windows::Foundation::IInspectable, impl::consume<IVisualInteractionSource2> { IVisualInteractionSource2(std::nullptr_t = nullptr) noexcept {} }; struct IVisualInteractionSourceObjectFactory : Windows::Foundation::IInspectable, impl::consume<IVisualInteractionSourceObjectFactory> { IVisualInteractionSourceObjectFactory(std::nullptr_t = nullptr) noexcept {} }; struct IVisualInteractionSourceStatics : Windows::Foundation::IInspectable, impl::consume<IVisualInteractionSourceStatics> { IVisualInteractionSourceStatics(std::nullptr_t = nullptr) noexcept {} }; } }
/* Copyright 2019 Istio Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <string> namespace Wasm { namespace Common { namespace { // This replicates the flag lists in envoyproxy/envoy, because the property // access API does not support returning response flags as a short string since // it is not owned by any object and always generated on demand: // https://github.com/envoyproxy/envoy/blob/v1.12.0/source/common/stream_info/utility.cc#L8 const std::string NONE = "-"; const std::string DOWNSTREAM_CONNECTION_TERMINATION = "DC"; const std::string FAILED_LOCAL_HEALTH_CHECK = "LH"; const std::string NO_HEALTHY_UPSTREAM = "UH"; const std::string UPSTREAM_REQUEST_TIMEOUT = "UT"; const std::string LOCAL_RESET = "LR"; const std::string UPSTREAM_REMOTE_RESET = "UR"; const std::string UPSTREAM_CONNECTION_FAILURE = "UF"; const std::string UPSTREAM_CONNECTION_TERMINATION = "UC"; const std::string UPSTREAM_OVERFLOW = "UO"; const std::string UPSTREAM_RETRY_LIMIT_EXCEEDED = "URX"; const std::string NO_ROUTE_FOUND = "NR"; const std::string DELAY_INJECTED = "DI"; const std::string FAULT_INJECTED = "FI"; const std::string RATE_LIMITED = "RL"; const std::string UNAUTHORIZED_EXTERNAL_SERVICE = "UAEX"; const std::string RATELIMIT_SERVICE_ERROR = "RLSE"; const std::string STREAM_IDLE_TIMEOUT = "SI"; const std::string INVALID_ENVOY_REQUEST_HEADERS = "IH"; const std::string DOWNSTREAM_PROTOCOL_ERROR = "DPE"; enum ResponseFlag { FailedLocalHealthCheck = 0x1, NoHealthyUpstream = 0x2, UpstreamRequestTimeout = 0x4, LocalReset = 0x8, UpstreamRemoteReset = 0x10, UpstreamConnectionFailure = 0x20, UpstreamConnectionTermination = 0x40, UpstreamOverflow = 0x80, NoRouteFound = 0x100, DelayInjected = 0x200, FaultInjected = 0x400, RateLimited = 0x800, UnauthorizedExternalService = 0x1000, RateLimitServiceError = 0x2000, DownstreamConnectionTermination = 0x4000, UpstreamRetryLimitExceeded = 0x8000, StreamIdleTimeout = 0x10000, InvalidEnvoyRequestHeaders = 0x20000, DownstreamProtocolError = 0x40000, LastFlag = DownstreamProtocolError }; void appendString(std::string& result, const std::string& append) { if (result.empty()) { result = append; } else { result += "," + append; } } } // namespace const std::string parseResponseFlag(uint64_t response_flag) { std::string result; if (response_flag & FailedLocalHealthCheck) { appendString(result, FAILED_LOCAL_HEALTH_CHECK); } if (response_flag & NoHealthyUpstream) { appendString(result, NO_HEALTHY_UPSTREAM); } if (response_flag & UpstreamRequestTimeout) { appendString(result, UPSTREAM_REQUEST_TIMEOUT); } if (response_flag & LocalReset) { appendString(result, LOCAL_RESET); } if (response_flag & UpstreamRemoteReset) { appendString(result, UPSTREAM_REMOTE_RESET); } if (response_flag & UpstreamConnectionFailure) { appendString(result, UPSTREAM_CONNECTION_FAILURE); } if (response_flag & UpstreamConnectionTermination) { appendString(result, UPSTREAM_CONNECTION_TERMINATION); } if (response_flag & UpstreamOverflow) { appendString(result, UPSTREAM_OVERFLOW); } if (response_flag & NoRouteFound) { appendString(result, NO_ROUTE_FOUND); } if (response_flag & DelayInjected) { appendString(result, DELAY_INJECTED); } if (response_flag & FaultInjected) { appendString(result, FAULT_INJECTED); } if (response_flag & RateLimited) { appendString(result, RATE_LIMITED); } if (response_flag & UnauthorizedExternalService) { appendString(result, UNAUTHORIZED_EXTERNAL_SERVICE); } if (response_flag & RateLimitServiceError) { appendString(result, RATELIMIT_SERVICE_ERROR); } if (response_flag & DownstreamConnectionTermination) { appendString(result, DOWNSTREAM_CONNECTION_TERMINATION); } if (response_flag & UpstreamRetryLimitExceeded) { appendString(result, UPSTREAM_RETRY_LIMIT_EXCEEDED); } if (response_flag & StreamIdleTimeout) { appendString(result, STREAM_IDLE_TIMEOUT); } if (response_flag & InvalidEnvoyRequestHeaders) { appendString(result, INVALID_ENVOY_REQUEST_HEADERS); } if (response_flag & DownstreamProtocolError) { appendString(result, DOWNSTREAM_PROTOCOL_ERROR); } if (response_flag >= (LastFlag << 1)) { // Response flag integer overflows. Append the integer to avoid information // loss. appendString(result, std::to_string(response_flag)); } return result.empty() ? NONE : result; } } // namespace Common } // namespace Wasm
#include <Wire.h> #define SMPL_SENDER #define DURATION_0s01 10000 #define DURATION_1s00 1000000 #define DURATION_TIMER DURATION_1s00 //0.01 s #define EXREAD 0x01 #define EXWRITE 0x02 #define RECEIVEBUFFER_FULL 0x64d #define RECEIVEBUFFER_CNT RECEIVEBUFFER_FULL #define SEND_NOTHING_MSG int EnableRead = 0; byte AddressList[115] = {0}; int nDevices = 0; int powerPin = 11; int ctrlPin = 10; char message[10] = {0}; int NbBytesSend = 5; int IncomingByte = 0; uint8_t TestMessage[] = {0,EXWRITE,0,0}; uint8_t ReceiveBuffer[RECEIVEBUFFER_CNT] = {0}; int CurrentAddress = 0; /* для таймера */ hw_timer_t * timer = NULL; volatile SemaphoreHandle_t timerSemaphore; portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED; /* счетчики */ volatile uint32_t isrCounter = 0; volatile uint32_t lastIsrAt = 0; void IRAM_ATTR onTimer(){ // Increment the counter and set the time of ISR portENTER_CRITICAL_ISR(&timerMux); isrCounter++; lastIsrAt = millis(); portEXIT_CRITICAL_ISR(&timerMux); // Give a semaphore that we can check in the loop xSemaphoreGiveFromISR(timerSemaphore, NULL); // It is safe to use digitalRead/Write here if you want to toggle an output } void setup() { // put your setup code here, to run once: Wire.begin(); Serial.begin(115200); Serial.print("\nSetup i2c sacnner\n"); #ifdef PIN_CTRL pinMode(powerPin, OUTPUT); pinMode(ctrlPin, INPUT); digitalWrite(powerPin, HIGH); #endif while(!getAvailableI2Cadress(AddressList)){ delay(1000); } //init timer /* настройка таймера*/ // Create semaphore to inform us when the timer has fired timerSemaphore = xSemaphoreCreateBinary(); // Use 1st timer of 4 (counted from zero). // Set 80 divider for prescaler (see ESP32 Technical Reference Manual for more // info). timer = timerBegin(0, 80, true); // Attach onTimer function to our timer. timerAttachInterrupt(timer, &onTimer, true); // Set alarm to call onTimer function every second (value in microseconds). // Repeat the alarm (third parameter) timerAlarmWrite(timer, DURATION_TIMER, true); // Start an alarm timerAlarmEnable(timer); Serial.println("cmd a: send smpl message 0 WRITE 0 0"); Serial.println("cmd b: get data from i2c slave"); Serial.println("cmd c: enable cycle reading"); Serial.println("cmd v: disable cycle reading"); } void loop() { #ifdef SMPL_SENDER if(Serial.available() > 0) { IncomingByte = Serial.read(); switch(IncomingByte) { case 'a': byte str[4]; for(int i = 0; i < 4; i++) { str[i] = TestMessage[i]; } for(int i = 0; i < nDevices; i++) { writeStr(AddressList[i],str,4); } break; case 'b': for(int i = 0; i < nDevices; i++) { if(!readStrData(AddressList[i], RECEIVEBUFFER_CNT)) Serial.println("Nothing to read"); } break; case 'c': { EnableRead = 1; byte msgstart[] = {0,EXWRITE,0,1}; for(int i = 0; i < nDevices; i++) { writeStr(AddressList[i],msgstart,4); } Serial.println("Enable cycling reading"); break; } case 'd': { EnableRead = 0; byte msgstop[] = {0,EXWRITE,0,0}; for(int i = 0; i < nDevices; i++) { writeStr(AddressList[i],msgstop,4); } Serial.println("Disable cycling reading"); } break; } } if (xSemaphoreTake(timerSemaphore, 0) == pdTRUE){ if(EnableRead){ for(int i = 0; i < nDevices; i++) { if(!readStrData(AddressList[i], RECEIVEBUFFER_CNT)) Serial.println("Nothing to read"); } }else{ #ifdef SEND_NOTHING_MSG Serial.println("Doing nothing"); #endif } } #else // считываем из порта 0, и отсылаем с порта 1 int Bytes2Read = Serial.available(); if(Bytes2Read) { Serial.print("Bytes to read: "); Serial.println(Bytes2Read); for (int i = 0; i < Bytes2Read; i ++) { message[i] = Serial.read(); } switch(message[0]) { case 'b': if(Bytes2Read > 5) { byte str[3]; CurrentAddress = (int)message[1]; for(int i = 0; i < 3; i++) { str[i] = message[i + 2]; writeStr(AddressList[CurrentAddress],str,3); } } break; case 'a': if(Bytes2Read > 3) { } break; default: Serial.print(message); } } if(CurrentAddress){ int NbBytesReceived_I2C = readStr(AddressList[CurrentAddress],NbBytesSend); if(NbBytesReceived_I2C) { Serial.print("Received data: "); for(int i = 0; i < NbBytesReceived_I2C; i++){ char c = ReceiveBuffer[i]; Serial.print(c); Serial.print("["); Serial.print(c,HEX); Serial.print("]"); } Serial.print('\n'); } } // if (Serial.available()) { // char inByte = Serial.read(); // Serial.print(inByte); // } // // put your main code here, to run repeatedly: // Serial.println("Start new iteration"); // nDevices = 0; // #ifdef PIN_CTRL // if(digitalRead(ctrlPin) == HIGH) // { // #endif // Serial.println("Ctrl 1 is on"); // scanAddress(); // for (int i = 0; i < nDevices; i++) // { // writeData(AddressList[i],0x1F); // //delay(200); // readData(AddressList[i],10); // // delay(200); // // readData(AddressList[i],5); // //readStr(AddressList[i]); // } // #ifdef PIN_CTRL // } // #endif // delay(2000); #endif }
#include "../Common/Types.h" class CWindow; class CWindowHandler { public: CWindowHandler(); ~CWindowHandler(); void AddWindow( CWindow* pWindow ); void RemoveWindow( CWindow* pWindow ); protected: CWindow* GetWindow( u32 uWindowIndex ); u32 GetNumWindows() const; private: static const u32 ms_kuMaxWindows = 10; CWindow* m_aWindowList[ ms_kuMaxWindows ]; u32 m_uNumWindows; };
// // Created by drnuc on 9/9/2018. // #include "GPIOInterrupts.h" GPIOInterrupts & gpioInterrupts = GPIOInterrupts::getInstance(); SemaphoreHandle_t xSemaphore[2][32]; void GPIOInterrupts::Initialize() { // enable interrupts on port 0/2 NVIC_EnableIRQ(EINT3_IRQn); // Register C function which delegates interrupt handling to your C++ class function isr_register(EINT3_IRQn, eint3Handler); } bool GPIOInterrupts::AttachInterruptHandler(uint8_t port, uint8_t pin, IsrPointer pin_isr, InterruptCondition condition) { // map switch to LED switch (port) { case portZero: switch (condition) { case kBothEdges: LPC_GPIOINT->IO0IntEnR |= (1 << pin); case kFallingEdge: LPC_GPIOINT->IO0IntEnF |= (1 << pin); break; case kRisingEdge: LPC_GPIOINT->IO0IntEnR |= (1 << pin); break; default: break; } break; case portTwo: switch (condition) { case kBothEdges: LPC_GPIOINT->IO2IntEnR |= (1 << pin); case kFallingEdge: LPC_GPIOINT->IO2IntEnF |= (1 << pin); break; case kRisingEdge: LPC_GPIOINT->IO2IntEnR |= (1 << pin); break; default: break; } break; default: // wrong port init return false; } xSemaphore[port == 2 ? 1 : 0][pin] = xSemaphoreCreateBinary(); // init switch GPIO GPIODriver sw(port, pin); // set as input sw.setDirection(false); pin_isr_map[port == 2 ? 1 : 0][pin] = pin_isr; return true; } void GPIOInterrupts::HandleInterrupt() { // iterate through all pins and check interrupt status for (uint8_t port = 0; port < 2; port++) { for (uint8_t pin = 0; pin < 32; pin++) { if ((port == 0 && (LPC_GPIOINT->IO0IntStatF & (1 << pin) || LPC_GPIOINT->IO0IntStatR & (1 << pin))) || (port == 1 && (LPC_GPIOINT->IO2IntStatF & (1 << pin) || LPC_GPIOINT->IO2IntStatR & (1 << pin)))) { port == 1 ? LPC_GPIOINT->IO2IntClr = (uint32_t)(1 << pin) : LPC_GPIOINT->IO0IntClr = (uint32_t)(1 << pin); pin_isr_map[port][pin](); port = 2; pin = 32; }; } } } void eint3Handler(void) { gpioInterrupts.HandleInterrupt(); }
#ifndef LINEAR_REG #define LINEAR_REG #include <iostream> #include <vector> #include <algorithm> #include "Math.h" template<typename T, typename M> void estimate_coeff(std::vector<T> indep_var, std::vector<T> dep_var, M &B1, M &B0) { M X_mean = alg_math::Math_Mean(indep_var); M Y_mean = alg_math::Math_Mean(dep_var); M SS_xy = 0; M SS_xx = 0; int n = indep_var.size(); { std::vector<T> vtemp; vtemp = alg_math::vect_Multiply(indep_var,dep_var); SS_xx = std::accumulate(vtemp.begin(), vtemp.end(), 0); SS_xy = SS_xy - n * X_mean * Y_mean; } { std::vector<T> vtemp; vtemp = alg_math::vect_Multiply(indep_var, indep_var); SS_xx = std::accumulate(vtemp.begin(), vtemp.end(), 0); SS_xx = SS_xx - n * X_mean * X_mean; } std::cout<< "SS_xy : " << SS_xy <<std::endl; std::cout<< "SS_xx : " << SS_xx <<std::endl; std::cout<< "X_mean : " << X_mean <<std::endl; std::cout<< "Y_mean : " << Y_mean <<std::endl; B1 = SS_xy / SS_xx; B0 = Y_mean - B1 * X_mean; } template<typename X, typename Z> class Linear_Regression { public: X b0, b1; void fit(std::vector<std::vector<Z>> dataset) { estimate_coeff(dataset[0], dataset[1], b1, b0); } Z predict(const Z &test_data) { return b0 + (b1 * test_data); } }; #endif
// // Rectangle.h // // A module to encapsulate a rectangle. // #ifndef __RECTANGLE_H__ #define __RECTANGLE_H__ #include "Buffer.h" // // Rectangle // // A class to represent a Rectangle. A Rectangle has a // position and two dimensions. // // Class Invariant: // <1> row_size >= 1 // <2> column_size >= 1 // class Rectangle { public: // // Default Constructor // // Purpose: To create a new Rectangle with default values. // Argument(s): N/A // Precondition(s): N/A // Returns: N/A // Side Effect: A new Rectangle is created at position (0, 0) // with the dimensions of (1, 1). // Rectangle(); // // Initializing Constructor // // Purpose: To create a new Rectangle with initial values. // Argument(s): // <1> row1: The initial row coordinate // <2> column1: The initial column coordinate // <3> row_size1: The row size // <4> column_size1: The column size // Precondition(s): N/A // Returns: N/A // Side Effect: A new Rectangle is created at the specified // with the specified dimensions. // Rectangle(int row1, int column1, int row_size1, int column_size1); // // Copy Constructor // // Purpose: To create a new Rectangle the same as an existing Rectangle. // Argument(s): // <1> original: A constant reference to a Rectangle // Precondition(s): N/A // Returns: N/A // Side Effect: A new Rectangle is created with the same positions // and dimensions as the existing Rectangle // Rectangle(const Rectangle& original); // // Assignment Operator // // Purpose: To assign the values from one Rectangle to another // Argument(s): // <1> original: A constant reference to a Rectangle // Precondition(s): N/A // Returns: N/A // Side Effect: A new Rectangle is created with the same positions // and dimensions as the existing Rectangle // Rectangle& operator= (const Rectangle& original); // // Destructor // // Purpose: To delete an instance of the Rectangle class // Argument(s): N/A // Precondition(s): N/A // Returns: N/A // Side Effect: The Rectangle is deleted // ~Rectangle(); // // getRow // getColumn // // Purpose: To determine the row/column of this Rectangle. // Argument(s): N/A // Precondition(s): N/A // Returns: The row/column of this Rectangle. // Side Effect: N/A // int getRow() const; int getColumn() const; // // getRowSize // getColumnSize // // Purpose: To determine the number of rows/columns that this // Rectangle covers. // Argument(s): N/A // Precondition(s): N/A // Returns: The number of rows/columns covered by this // Rectangle. // Side Effect: N/A // int getRowSize() const; int getColumnSize() const; // // isOverlapping // // Purpose: To check whether another Rectangle is overlapping with // this Rectangle. // Argument(s): // <1> other: The other Rectangle // Precondition(s): N/A // Returns: N/A // Side Effect: This Rectangle is set to be at // position (row1, col1). // bool isOverlapping(const Rectangle& other); // // setPosition // // Purpose: To move this Rectangle to the specified position. // Argument(s): // <1> row1: The row coordinate of the new position // <2> col1: The column coordinate of the new position // Precondition(s): N/A // Returns: N/A // Side Effect: This Rectangle is set to be at // position (row1, col1). // void setPosition(int row1, int col1); // // move // // Purpose: To move this Rectangle by the specified amount. // Argument(s): // <1> row_change: The change to the row coordinate of the position // <2> col_change: The change to the column coordinate of the // position // Precondition(s): N/A // Returns: N/A // Side Effect: This Rectangle moved by (row_change, col_change). // void move(int row_change, int column_change); // // setSize // // Purpose: To set the dimensions for this Rectangle. // Argument(s): // <1> row1: The new row size // <2> col1: The new column size // Precondition(s): N/A // Returns: N/A // Side Effect: This Rectangle is changed to have the specified // row size and column size // void setSize(int row_size1, int col_size1); // // copy // // Purpose: A helper function to copy the fields of another Rectangle // to this Rectangle. // Argument(s): // <1> original: A constant reference to a Rectangle // Precondition(s): N/A // Returns: N/A // Side Effect: The values for the fields of another Rectangle are // copied into this Rectangle // private: void copy(const Rectangle& original); // // invariant // // Purpose: To determine if the class invariant is true. // Argument(s): N/A // Precondition(s): N/A // Returns: Whether the class invariant is true. // Side Effect: N/A // bool invariant() const; private: int row; int column; int row_size; int column_size; }; #endif
#pragma once #include "Operation.h" #include <string> class XChangeOperation : public Operation { public: XChangeOperation(std::string var, int old_val, int new_val) : variable(var), old_value(old_val), new_value(new_val) {}; ~XChangeOperation(); private: std::string variable; int old_value, new_value; };
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #ifndef FLUXCRYPTO_SHA1_H #define FLUXCRYPTO_SHA1_H #include <flux/crypto/HashSum> namespace flux { namespace crypto { /** \brief Secure Hash 1: a one-way hash function */ class Sha1: public HashSum { public: enum { Size = 20 }; static Ref<Sha1> create(); virtual void feed(const ByteArray *data); virtual Ref<ByteArray> finish(); private: Sha1(); void consume(); Ref<ByteArray> h_; Ref<ByteArray> m_; Ref<ByteArray> w_; int j_; uint64_t l_; }; Ref<ByteArray> sha1(const ByteArray *data); }} // namespace flux::crypto #endif // FLUXCRYPTO_SHA1_H
// SenderWorker.cpp // CSCE 463-500 // Luke Grammer // 11/21/19 #include "pch.h" INT result = -1; DWORD duplicateACKVal = 0; SHORT numDuplicateACKS = 0; BOOL resetTimer = false; DWORD timerExpire = 0; INT lastReleased = 0; ReceiverHeader ACKHeader; clock_t elapsedTime; Packet* AckPacket; Packet* BasePacket; DWORD bytesAcked; DWORD packetsReceived; VOID SenderWorker::RunWorker(LPVOID p) { Properties* properties = (Properties*)p; Packet* packet; LONG timeout; char* responseBuffer = new char[MAX_PKT_SIZE]; HANDLE events[] = { properties->socketReceiveReady, properties->full, properties->eventQuit }; INT kernelBuffer = 20e6; if (setsockopt(properties->sock, SOL_SOCKET, SO_RCVBUF, (CHAR*) &kernelBuffer, sizeof(INT)) == SOCKET_ERROR) { if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = MISC_ERROR; return; } kernelBuffer = 20e6; if (setsockopt(properties->sock, SOL_SOCKET, SO_SNDBUF, (CHAR*) &kernelBuffer, sizeof(INT)) == SOCKET_ERROR) { if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = MISC_ERROR; return; } SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); timerExpire = clock() + CLOCKS_PER_SEC * (properties->RTO / 1000.0); while (TRUE) { //printf("\n\n#### Starting new round ####\n\n"); if (properties->numPendingPackets > 0) { packet = properties->pendingPackets + (properties->senderBase % properties->windowSize); //printf("\ntimer expires at clock %d, current clock %d, clocks per second: %d\n", timerExpire, clock(), CLOCKS_PER_SEC); timeout = ((timerExpire - clock()) / (FLOAT) CLOCKS_PER_SEC) * 1000.0; } else { timeout = INFINITE; } //printf("TIME-DEBUG: %d pending packets, senderBase: %d, RTO %ld ms\n", properties->numPendingPackets, properties->senderBase, (LONG)properties->RTO); //printf("TIME-DEBUG: timeout %d ms\n", timeout); switch (WaitForMultipleObjects(3, events, FALSE, timeout)) { case WAIT_TIMEOUT: //printf("\nEvent 3) Sender base timed out\n"); properties->timeoutPackets++; RetransmitBase(properties); break; case 0: // ACK is backed up at socket //printf("\nEvent 1) Socket ready\n"); ReceiveACK(responseBuffer, properties); //TODO: Notify Sender if result != STATUS_OK (IN ALL CASES) break; case 1: // Packet has been produced and is ready to send packet = properties->pendingPackets + (properties->nextToSend % properties->windowSize); //printf("\nEvent 2) Packet produced, seq num %d, time left before RTX %d ms\nSending...\n", packet->seq, timeout); if (properties->nextToSend == properties->senderBase) resetTimer = true; result = sendto(properties->sock, packet->buf, packet->size, NULL, (struct sockaddr*) & properties->server, sizeof(properties->server)); if (result == SOCKET_ERROR) { if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = FAILED_SEND; return; } packet->TXTime = clock(); if(packet->type != 0) properties->nextToSend++; break; case 2: return; default: if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = MISC_ERROR; return; } if (resetTimer) { //printf("Resetting senderBase timer...\n"); timerExpire = clock() + CLOCKS_PER_SEC * (properties->RTO / 1000.0); resetTimer = false; } } delete[] responseBuffer; } VOID SenderWorker::RetransmitBase(Properties* properties) { Packet* packet = properties->pendingPackets + (properties->senderBase % properties->windowSize); //printf("\tseq num: %d, times transmitted: %d\n", packet->seq, packet->numRTX); if (packet->numRTX >= MAX_RTX_ATTEMPTS) { if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = TIMEOUT; return; } // Send next packet result = sendto(properties->sock, packet->buf, packet->size, NULL, (struct sockaddr*) &properties->server, sizeof(properties->server)); packet->numRTX++; resetTimer = true; packet->TXTime = clock(); } VOID SenderWorker::ReceiveACK(char* responseBuffer, Properties* properties) { // Attempt to get response from server if (recvfrom(properties->sock, responseBuffer, MAX_PKT_SIZE, NULL, NULL, NULL) == SOCKET_ERROR) { printf("[%2.3f] <-- ", properties->totalTimer.ElapsedMilliseconds() / 1000.0); printf("failed recvfrom with %d\n", WSAGetLastError()); if (properties->workerException != NULL) SetEvent(properties->workerException); properties->errorCode = FAILED_RECV; return; } ACKHeader = *(ReceiverHeader*)responseBuffer; if (ACKHeader.ackSeq < properties->senderBase) { //printf("ACK for packet outside window (ACK %d)\n", ACKHeader.ackSeq); return; } //printf("RECV-DEBUG: Received ACK w/ value %d\n", ACKHeader.ackSeq); if (ACKHeader.flags.SYN || ACKHeader.flags.FIN) { AckPacket = properties->pendingPackets + (ACKHeader.ackSeq % properties->windowSize); //printf("RECV-DEBUG: SYN or FIN ACK detected\n"); if (ACKHeader.flags.SYN) { properties->estRTT = 1000 * ((clock() - AckPacket->TXTime) / (FLOAT) CLOCKS_PER_SEC); properties->devRTT = 0; properties->RTO = properties->estRTT + 4 * max(properties->devRTT, 10); //printf("RECV-DEBUG: Setting RTO to %d ms (%d elapsed, est. RTT %.3fs est. DEV %.3fs)\n", properties->RTO, elapsedTime, properties->estRTT / 1000.0, properties->devRTT / 1000.0); InterlockedDecrement((volatile LONG*)&properties->numPendingPackets); lastReleased = min(properties->windowSize, ACKHeader.recvWnd); ReleaseSemaphore(properties->empty, lastReleased, NULL); } else { printf("[%2.3f] <-- ", properties->totalTimer.ElapsedMilliseconds() / 1000.0); printf("FIN-ACK %d window 0x%X\n", ACKHeader.ackSeq, ACKHeader.recvWnd); } resetTimer = true; if (properties->ControlAckReceived != NULL) SetEvent(properties->ControlAckReceived); return; } else { if (ACKHeader.ackSeq > properties->senderBase) { AckPacket = properties->pendingPackets + ((ACKHeader.ackSeq - 1) % properties->windowSize); elapsedTime = 1000 * ((clock() - AckPacket->TXTime) / (FLOAT)CLOCKS_PER_SEC); packetsReceived = ACKHeader.ackSeq - properties->senderBase; bytesAcked = (AckPacket->size - sizeof(SenderDataHeader)) + (packetsReceived - 1) * (MAX_PKT_SIZE - sizeof(SenderDataHeader)); properties->bytesAcked += bytesAcked; InterlockedAdd((volatile LONG*)&properties->goodput, bytesAcked); BasePacket = properties->pendingPackets + (properties->senderBase % properties->windowSize); if (BasePacket->numRTX == 1) { properties->estRTT = .875 * properties->estRTT + .125 * elapsedTime; properties->devRTT = .75 * properties->devRTT + .25 * abs(elapsedTime - properties->estRTT); properties->RTO = properties->estRTT + 4 * max(properties->devRTT, 10); //printf("RECV-DEBUG: Setting RTO to %d ms (%d elapsed, est. RTT %.3fs est. DEV %.3fs)\n", properties->RTO, elapsedTime, properties->estRTT / 1000.0, properties->devRTT / 1000.0); } //printf("RECV-DEBUG: Releasing %d slots (Receiver window %d)\n", ACKHeader.ackSeq - properties->senderBase, ACKHeader.recvWnd); InterlockedExchangeSubtract((volatile DWORD*)&properties->numPendingPackets, packetsReceived); resetTimer = true; properties->senderBase = ACKHeader.ackSeq; INT effectiveWindow = min(properties->windowSize, ACKHeader.recvWnd); //printf("Receiver Window Size: %d, effective Window Size: %d\n", ACKHeader.recvWnd, effectiveWindow); INT newReleased = properties->senderBase + effectiveWindow - lastReleased; //printf("Releasing: %d\n", newReleased); ReleaseSemaphore(properties->empty, newReleased, NULL); lastReleased += newReleased; } // Check for fast retransmission if (numDuplicateACKS == 0) { duplicateACKVal = ACKHeader.ackSeq; numDuplicateACKS++; } else if (ACKHeader.ackSeq == duplicateACKVal) { numDuplicateACKS++; if (numDuplicateACKS == FAST_RTX_NUM) { //printf("RECV-DEBUG: Fast retransmit signalled\n"); properties->fastRetxPackets++; RetransmitBase(properties); } } else { numDuplicateACKS = 0; } } }
/************************************************************* * > File Name : T96526.cpp * > Author : Tony * > Created Time : 2019/10/26 09:15:17 * > Algorithm : DS **************************************************************/ #include <bits/stdc++.h> using namespace std; typedef long long LL; inline LL read() { LL x = 0; LL f = 1; char ch = getchar(); while (!isdigit(ch)) {if (ch == '-') f = -1; ch = getchar();} while (isdigit(ch)) {x = x * 10 + ch - 48; ch = getchar();} return x * f; } const LL maxn = 100010; const LL mod = 19260817; LL mul_mod(LL a, LL b, LL n){ LL res = 0; while (b > 0) { if (b & 1) res = (res + a) % n; a = (a + a) % n; b >>= 1; } return res; } LL pow_mod(LL a, LL p, LL n){ LL res = 1; while (p) { if (p & 1) res = 1LL * res * a % n; a = 1LL * a * a % n; p >>= 1; } return res; } vector<LL> G[maxn]; LL w[maxn], n, m, ans; bool vis[maxn]; LL dep[maxn], siz[maxn]; void dfs1(LL x) { vis[x] = true; siz[x] = 1; for (LL i = 0; i < G[x].size(); ++i) { LL& v = G[x][i]; if (vis[v]) continue; dep[v] = dep[x] + 1; dfs1(v); siz[x] += siz[v]; } } vector<LL> val; void dfs(LL x) { val.push_back(w[x]); for (LL i = 0; i < G[x].size(); ++i) { LL&v = G[x][i]; if (dep[v] < dep[x]) continue; dfs(v); } } int main() { n = read(); m = read(); for (LL i = 1; i <= n; ++i) w[i] = read(); for (LL i = 1; i < n; ++i) { LL u = read(), v = read(); G[u].push_back(v); G[v].push_back(u); } dfs1(1); for (LL i = 1; i <= m; ++i) { LL x = read(); val.clear(); dfs(x); LL a = 1, b = pow_mod(2, siz[x] * (mod - 2), mod); for (LL i = 0; i < val.size(); ++i) { a *= val[i] + 1; a %= mod; } a--; ans += mul_mod(a, b, mod); ans %= mod; } printf("%lld\n", ans); return 0; }
/* GPA2 - IFC Criado Por: Natalia Kelim Thiel Data: 11/03/2016 Descrição: Cabeçalho (header) da biblioteca para processos de variáveis */ #ifndef Variavel_h #define Variavel_h #include "Arduino.h" class Variavel { public: // Construtor (vazio) Variavel(); // Atualiza mínima e máxima void atualizarMinMax(String data, float var, String varTempo); // Faz a média do array float media(); // Formata casas decimais String formatar(String variavel, int casa, int maximo); // Retorna a atual float getAtual(); // Seta a atual void setAtual(float atual); // Retorna a máxima e tempo dela float getMaxima(); String getMaxTempo(); // Retorna a mínima e tempo dela float getMinima(); String getMinTempo(); // Retorna o titulo String getTitulo(); // Retorna o arquivo String getArquivo(); // Le o sensor virtual float ler(){ Serial.println("Variavel ler"); return 0; }; // Coleta a variável e armazena no array virtual boolean coletar() { Serial.println("Variavel coletar"); return false; }; protected: int _indice; float _atual; float _maxima; float _minima; String _maxTempo; String _minTempo; float _array[15]; // inicial do arquivo no cartão SD String _arquivo; // titulo que aparece no display String _titulo; private: // Remove valores extrapolantes float _removeIsolados(float media); }; #endif
#include "XmlResourceLoader.h" #include "../../Application.h" namespace liman { extern Application* g_pApp; bool XmlResourceLoader::VLoadResource(char* rawBuffer, unsigned int rawSize, ResHandle* handle) { if (rawSize <= 0) return false; XmlResourceExtraData* pExtraData = new XmlResourceExtraData(); pExtraData->ParseXml(rawBuffer); handle->SetExtra((XmlResourceExtraData*) (pExtraData)); return true; } tinyxml2::XMLElement* XmlResourceLoader::LoadAndReturnRootXmlElement(const char* resourceString) { Resource resource(resourceString); ResHandle* pResourceHandle = g_pApp->GetResCahe()->GetHandle(&resource); XmlResourceExtraData* pExtraData = (XmlResourceExtraData*) (pResourceHandle->GetExtra()); return pExtraData->GetRoot(); } IResourceLoader* CreateXmlResourceLoader() { return new XmlResourceLoader; } }
#include <iostream> using namespace std; int main() { int a; cout << "정수 입력: "; cin >> a; cout << a<< "번째" << " 영어 대문자는" <<(char)(a+'A')<< endl; }
#pragma once #include <vector> #include <GL/glew.h> #include "Textures.h" #include "Utility.h" #include <glm/mat4x4.hpp> #include <glm/glm.hpp> #include <glm/vec4.hpp> #include <glm/vec3.hpp> #include <memory> #include <list> #include <map> // all information for individual vertex6 struct Vertex { glm::vec4 loc; // Location vector in NDC glm::vec3 normal; // Vertex unit normal in NDC glm::vec2 texLoc; // Texture location for 2-D mapping glm::vec3 tangent; glm::vec3 biTangent; Vertex() {} Vertex(glm::vec4 lc, glm::vec3 n, glm::vec2 t, glm::vec4 nT = glm::vec4(0, 0, 0,0), glm::vec4 nBT = glm::vec4(0, 0, 0,0)) : loc(lc), normal(n), texLoc(t), tangent(nT), biTangent(nBT) {} // Transform loc by lXfm and normal by nXfm void ApplyXForm(const glm::mat4 &, const glm::mat3 &, const glm::mat4 &); }; // A set of triangles, described by a series of vertex indices, interpreted in // triangle-strip fashion to avoid needless repeats, but ultimately rendered as // individual triangles, not a strip struct TriangleSet { std::string mDescription; // Description e.g. "table leg 4" for debug std::shared_ptr<Texture> mTex; // Texture to apply to this triangle set std::vector<uint> mIndices; // Indices of vertices forming the set TriangleSet(std::string d, std::shared_ptr<Texture> t, const std::vector<uint> &i) : mDescription(d), mTex(t), mIndices(i) {} // Fill in a uint vector with values x in range [lo, hi). (Useful for many // index-vector creation cases.) static std::vector<uint> MakeRangeVec(int lo, int hi); }; // Map from Texture pointers to lists of vectors of Vertexes. typedef std::map<std::shared_ptr<Texture>, std::list<std::vector<Vertex>>> VMap; // Map from Texture pointers to lists of TriangleSets typedef std::map<std::shared_ptr<Texture>, std::list<TriangleSet>> TMap; typedef std::map<std::shared_ptr<Texture>, int> IMap; typedef std::map<std::shared_ptr<Texture>, std::shared_ptr<Texture>> NMap; // Abstract interface for all model scenetree nodes class Model { protected: // member data std::string mName; public: Model(std::string n) : mName(n) {} virtual std::string getName() const {return mName;} virtual IMap GetNumVertices() const = 0; // Count vertices per tex // Return all vertices in model, per texture, transformed by tfm virtual VMap GetVertices(const glm::mat4x4 &, const glm::mat4x4 &) const = 0; // Return all TriangleSets in model, per texture, index-referencing // the vertices. virtual TMap GetTriangles() const = 0; // return the normal for the texture virtual NMap GetNormal() const = 0; }; // holds pointers to multiple models. class CmpModel : public Model { public: // member data struct Child { glm::mat4x4 xform; glm::mat4x4 texXfm; std::shared_ptr<Model> mdl; Child(const glm::mat4x4 &xf, const glm::mat4x4 &texXfm, std::shared_ptr<Model> m) : xform(xf),texXfm(texXfm), mdl(std::move(m)) {} }; CmpModel(std::string n, const std::vector<Child> &refs) : Model(n), mChildren(refs) {} void addChild(const glm::mat4x4 &xf, const glm::mat4x4 &texXfm, std::shared_ptr<Model> m) { mChildren.push_back(Child(xf, texXfm, m)); }; IMap GetNumVertices() const override; VMap GetVertices(const glm::mat4x4 &, const glm::mat4x4 &) const override; TMap GetTriangles() const override; NMap GetNormal() const override; protected: std::vector<Child> mChildren = std::vector<Child>(); }; // Model initialized via constructor-passed information class DirectModel : public Model { public: DirectModel(std::string n, std::vector<Vertex> vertices, std::vector<TriangleSet> meshes); }; // Model initialized by file contents class FileModel : public Model { public: FileModel(std::string n, std::string fN); }; // Model formed by an x/y figure defined by a parametric polar distance function, // sampled at points specified in the constructor, with domain 0.0 to 2pi // Resultant cylinder is centered at NDC origin, stretching from -1 to 1 in Z, // and is closed at top and bottom. X/Y extent is determined by the parametric // function, but it's expected to stay within -1 to 1 range in X and Y class CylinderModel : public Model { protected: // member data std::vector<float> mSamplePts; // Vals in [0, 2pi) on which to call polarDist std::shared_ptr<Texture> mTex; std::shared_ptr<Texture> mTexNormal; int mUReps; // Number of tex repeats around cylinder (int to avoid seam) float mVReps; // Number of tex repeats down cylinder virtual float polarDist(float x) const = 0; public: CylinderModel(std::string n, std::shared_ptr<Texture> t, int uReps, float vReps, const std::vector<float> &pts, std::shared_ptr<Texture> nT) : Model(n), mTex(t), mUReps(uReps), mVReps(vReps), mSamplePts(pts), mTexNormal(nT) {} IMap GetNumVertices() const override; VMap GetVertices(const glm::mat4x4 &, const glm::mat4x4 &) const override; TMap GetTriangles() const override; NMap GetNormal() const override; }; class CircleCylinderModel : public CylinderModel { public: CircleCylinderModel(std::string n, std::shared_ptr<Texture> t, int uReps, float vReps, const std::vector<float> &pts, std::shared_ptr<Texture> nT) : CylinderModel(n, t, uReps, vReps, pts, nT) {} float polarDist(float x) const override {return 1.0;} }; // model formed by six verts and transformed into the // positions and sizes needed class PlaneModel : public Model { // member data std::shared_ptr<Texture> mTex; std::shared_ptr<Texture> mTexNormal; std::vector<Vertex> mVerts; public: PlaneModel(std::string n, std::shared_ptr<Texture> t, std::shared_ptr<Texture> nT); IMap GetNumVertices() const override; VMap GetVertices(const glm::mat4x4 &, const glm::mat4x4 &) const override; TMap GetTriangles() const override; NMap GetNormal() const override; }; // perfect cube model, all sides have individual vertices for correct normals class CubeModel : public Model { // member data std::shared_ptr<Texture> mTex; std::shared_ptr<Texture> mTexNormal; std::vector<Vertex> mVerts; public: CubeModel(std::string n, std::shared_ptr<Texture> t, std::shared_ptr<Texture> nT); IMap GetNumVertices() const override; VMap GetVertices(const glm::mat4x4 &, const glm::mat4x4 &) const override; TMap GetTriangles() const override; NMap GetNormal() const override; };
// header inclusion #include <stdio.h> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <opencv2/core/core_c.h> #include <cmath> #include <opencv2/objdetect.hpp> #include <opencv2/imgproc.hpp> #include <vector> using namespace cv; using namespace std; #define pi 3.14159265 void getThresholdedMag(Mat& input, Mat& output, int magThrFun); int main(int argc, char** argv){ // LOADING THE IMAGE Mat image; image = imread("dart1.jpg", 1); image.convertTo(image, CV_32F); Mat image2 = image.clone(); // add the following lines if (image.empty()) std::cout << "failed to open img.jpg" << std::endl; else std::cout << "image loaded OK" << std::endl; // CONVERT COLOUR, BLUR AND SAVE Mat gray_image; gray_image.create(image.size(), CV_32F); cvtColor(image, gray_image, cv::COLOR_BGR2GRAY); GaussianBlur(gray_image, gray_image, Size(9, 9), 2, 2); // instilize two filtires dx and dy Mat dx, dy, dxKernel, dyKernel; dx.create(image.size(), CV_32F); dy.create(image.size(), CV_32F); dxKernel = (Mat_<float>(3, 3) << -1, 0, 1, -2, 0, 2, -1, 0, 1); dyKernel = (Mat_<float>(3, 3) << -1, -2, -1, 0, 0, 0, 1, 2, 1); Mat Gx, Gy; Gx.create(image.size(), CV_32F); Gy.create(image.size(), CV_32F); Point anchor = Point(-1, -1); double delta = 0; filter2D(gray_image, Gx, 5, dxKernel, anchor, delta, BORDER_DEFAULT); filter2D(gray_image, Gy, 5, dyKernel, anchor, delta, BORDER_DEFAULT); int rho_width = gray_image.rows; int rho_height = gray_image.cols; Mat Mag, Angle; //Mag.create(gray_image.size(),CV_64F); Angle.create(gray_image.size(), CV_32F); cartToPolar(Gx, Gy, Mag, Angle, 1); float angle = 0.0; float radian = 0.0; float radians = 0.0; float rho_value = 0.0; float theta_value = 0.0; Mat MagThresh; MagThresh.create(Mag.size(), CV_32F); // THRESHOLDS int magThr = 160; // 0 to 255 int rMin = 40; int rMax = 60; int houghValueTh = 50; // 0 to 360 getThresholdedMag(Mag, MagThresh, magThr); int sizes[] = { 2 * (rho_width + rho_height), 2 * 360 + 1, rMax - rMin }; Mat houghspaceCircle(3, sizes, CV_32F, Scalar(0)); // create houghspace for circles from threshholded magnitude image for (int i = 0; i < MagThresh.rows; i++) { for (int j = 0; j < MagThresh.cols; j++) { if (MagThresh.at<float>(i, j) > 0) { // value is either 0 or 255 for (int r = 0; r < rMax - rMin; r++) { for (int theta = 0; theta < 360; theta++) { radians = theta * (pi / 180); int x0 = i - (r + rMin) * cos(radians); int y0 = j - (r + rMin) * sin(radians); if (x0 > 0 && x0 < MagThresh.cols && y0 > 0 && y0 < MagThresh.cols) { houghspaceCircle.at<float>(x0, y0, r) += 1; } } } } } } int count = 0; for (int i = 0; i < sizes[0]; i++) { for (int j = 0; j < sizes[1]; j++) { for (int r = 0; r < rMax - rMin; r++) { float val = 0.0; val = houghspaceCircle.at<float>(i, j, r); if (val > houghValueTh) { //houghspaceCircle.at<float>(i, j, r) = 255; count++; //cout << "store r = " << r << endl; //cout << "count " << count << endl; //cout << "val " << val << endl; } } } } cout << "count " << count << endl; vector<float> rhoValues; vector<float> thetaValues; vector<float> radiusValues; rhoValues.resize(count); thetaValues.resize(count); radiusValues.resize(count); int index = 0; for (int i = 0; i < sizes[0]; i++) { for (int j = 0; j < sizes[1]; j++) { for (int r = 0; r < rMax - rMin; r++) { float val = 0.0; val = houghspaceCircle.at<float>(i, j, r); if (val > houghValueTh) { //cout << "taken r = " << r << endl; radiusValues[index] = r + rMin; rhoValues[index] = i; //rho = i - 2 * radiusValues[index]; thetaValues[index] = j; //theta2 = j ; //cout << "actual r" << radiusValues[index] <<endl; index++; } } } } //float maxX = 0; //float maxY = 0; //float maxR = 0; //cout << image.cols << " " << image.rows; //float minX = image.cols; //float minY = image.rows; //float sumX = 0; //float sumY = 0; //float sumR = 0; for (int i = 0; i < count; i++) { //cout << "rho: " << rhoValues[i]; //cout << "theta: " << thetaValues[i]; float r = radiusValues[i]; //float radians = (thetaValues[i]) * pi / 180; float x0 = rhoValues[i]; float y0 = thetaValues[i]; //cout << thetaValues[i] << endl; //sumX += x0; //sumY += y0; //sumR += r; //cout << "x0; " << x0 << endl; //cout << "y0; " << y0 << endl; //if (x0 > maxX) maxX = x0; //if (y0 > maxY) maxY = y0; //if (r > maxR) maxR = r; //if (x0 < minX) minX = x0; //if (y0 < minY) minY = y0; Point center; center.x = y0; center.y = x0; //cout << "theta: " << thetaValues[i] << endl; //cout << "r: " << r; circle(image2, center, 1, Scalar(0, 0, 255), 2); //cout << "x0 " << center.x << " y0 " << center.y << endl; } //circle(image2, Point((minX + maxX) / 2, (minY + maxY) / 2), (maxX - minX) / 2, Scalar(0, 255, 0), 2); //rectangle(image2, Point(minY, minX), Point(maxY, maxX), Scalar(0, 255, 0), 2); // storing images imwrite("1edgeGx.jpg", Gx); imwrite("2edgeGY.jpg", Gy); imwrite("3circles.jpg", image2); imwrite("4image.jpg", image); imwrite("6Mag.jpg", Mag); imwrite("7MagThresh.jpg", MagThresh); imwrite("8Angle.jpg", Angle); cout << "images written"; return 0; } // apply threshhold to magnitude void getThresholdedMag(Mat& input, Mat& output, int magThr) { Mat img; img.create(input.size(), CV_32F); normalize(input, img, 0, 255, NORM_MINMAX); for (int y = 0; y < input.rows; y++) { for (int x = 0; x < input.cols; x++) { double val = 0; val = img.at<float>(y, x); if (val > magThr) output.at<float>(y, x) = 255.0; else output.at<float>(y, x) = 0.0; } } }
#include "device.h" #include "pin.h" #include "spi.h" #include "delay.h" #include "dma.h" #include "pit.h" #ifndef FLASHSPI_H #define FLASHSPI_H namespace flashCommands { const uint8_t WriteEnable = 0x06; const uint8_t WriteDisable = 0x04; const uint8_t ReadStatusReg1 = 0x05; const uint8_t ReadStatusReg2 = 0x35; const uint8_t ReadStatusReg3 = 0x15; const uint8_t WriteStatusReg = 0x01; const uint8_t ReadData = 0x03; const uint8_t FastReadData = 0x0B; const uint8_t FastReadDual = 0x3B; const uint8_t PageProgram = 0x02; const uint8_t BlockErase = 0xD8; const uint8_t SectorErase = 0x20; const uint8_t ChipErase = 0xC7; const uint8_t PowerDown = 0xB9; const uint8_t ReleasePowerDown = 0xAB; const uint8_t DeviceID = 0xAB; const uint8_t ManufactDeviceID = 0x90; const uint8_t JedecDeviceID = 0x9F; } class Flash { private: Spi * driver; Pin cs; uint16_t deviceId, dummy; uint8_t manufacturId; Dma * transmitter; Dma * txDummy; Pit * timer; public: Flash (Spi &, Gpio::Port p, uint8_t pin); void writeByte (uint8_t); void writePage (const uint8_t * buffer, uint32_t addr, uint16_t n); void writePage16 (const uint16_t * buffer, uint32_t addr, uint16_t n); void write (uint8_t * buffer, uint32_t addr, uint16_t n); void readID (); uint16_t readStatus1 (); uint16_t readStatus2 (); uint16_t readStatus3 (); void writeStatus (uint8_t); void writeEnable (); void writeDisable (); void read (uint8_t * buffer, uint32_t addr, uint16_t n); void read16 (uint16_t * buffer, uint32_t addr, uint16_t n); void read16Dma (uint16_t * buffer, uint32_t addr, uint32_t n); void txToDma (uint32_t dest, uint32_t addr, uint32_t n); void dataDma (uint32_t dest, uint32_t n); void txDum (uint32_t n); void eraseSector (uint32_t addr); void eraseChip (); bool flagBusy (); uint8_t command (uint8_t); uint16_t command16 (uint8_t h, uint8_t l); void powerDown (); void powerUp (); void getCapacity (); void setDma (Dma &tx, Dma &dum); }; #endif
//============================================================================ // Name : bubble-sort.cpp // Author : Oneal Abdulrahim // Date : 14 September 2016 // Copyright : // Description : Implementation of bubble sort in C++ //============================================================================ #include "sort.h" void BubbleSort::sort(int A[], int size) { // main entry point /* Complete this function with the implementation of bubble sort algorithm Record number of comparisons in variable num_cmps of class Sort */ while (!testIfSorted(A, size)) { // as long as we are not sorted for (int i = 0; i < size; ++i) { // loop through the array if (A[i] > A[i + 1]) { // find the larger element // fancy way to swap integers // muh efficiency A[i] = A[i] ^ A[i + 1]; A[i + 1] = A[i] ^ A[i + 1]; A[i] = A[i] ^ A[i + 1]; } num_cmps++; // we do only one comparison per interation } } }
#ifndef DATE_H #define DATE_H #include <string> #include <vector> #include <iostream> #include "kattistime.h" #include <ctime> #include <cmath> #include <iomanip> #include <stdexcept> #define KATTIS #define MOD_JULIAN_DATE_DIFF 2400000.5 #define GREGORIAN_EPOCH 1721425.5 namespace lab2 { /** * @brief Abstract class that serves only as an interface. No data is contained * here, just the functions declaration. */ class Date { public: virtual ~Date(); virtual Date& operator=(const Date& src) = 0; //This is required. Otherwise an implicit operator= is used! virtual int year() const = 0; virtual int month() const = 0; virtual int day() const = 0; virtual int week_day() const = 0; virtual int days_per_week() const = 0; virtual int days_this_month() const = 0; virtual int months_per_year() const = 0; virtual std::string week_day_name() const = 0; virtual std::string month_name() const = 0; virtual Date& operator++() = 0; virtual Date& operator--() = 0; virtual Date& operator+=(int n) = 0; virtual Date& operator-=(int n) = 0; virtual Date& add_month(int n = 1) = 0; virtual Date& add_year (int n = 1) = 0; virtual int operator-(const Date& src) const = 0; virtual bool operator==(const Date& src) const = 0; virtual bool operator!=(const Date& src) const = 0; virtual bool operator< (const Date& src) const = 0; virtual bool operator<=(const Date& src) const = 0; virtual bool operator> (const Date& src) const = 0; virtual bool operator>=(const Date& src) const = 0; virtual int mod_julian_day() const = 0; virtual void check_date(int day, int month, int year) const = 0; // For extra exercise virtual const std::vector<std::string>& get_day_names() const = 0; protected: private: }; /** * @brief Prints a date * @param os ostream * @param d date * @return */ std::ostream& operator<<(std::ostream& os, const Date& d); /** * @brief Modulus function (also valid for negative numbers, as opposed to %) * @param a * @param b * @return */ int mod(int a, int b); /** * @brief sign function * @param x * @return 1 if x>=0, -1 if x < 0 */ int sign(double x); // ============================================================================= // ============================================================================= // ============================================================================= /** * @brief Implementation of the common functionalities of a Date class */ class Date_impl : public Date { public: Date_impl(); Date_impl(int year, int month, int day); Date_impl(const Date& src); virtual Date& operator=(const Date& src) = 0; ~Date_impl(); // Already virtual since base destructor is virtual int year() const; int month() const; int day() const; int week_day() const; int days_per_week() const; int days_this_month() const; int months_per_year() const; std::string week_day_name() const; std::string month_name() const; Date& operator++(); Date& operator--(); Date& operator+=(int n); Date& operator-=(int n); int operator-(const Date& src) const; Date& add_month(int n = 1); Date& add_year(int n = 1); bool operator==(const Date& src) const; bool operator!=(const Date& src) const; bool operator<(const Date& src) const; bool operator<=(const Date& src) const; bool operator>(const Date& src) const; bool operator>=(const Date& src) const; int mod_julian_day() const; void check_date(int day, int month, int year) const; // For extra exercise const std::vector<std::string>& get_day_names() const; protected: int day_, month_, year_; double julian_day_; int days_week_, months_year_; virtual double julian_from_date(int day, int month, int year) const = 0; virtual void date_from_julian(double julian, int& day, int&month, int& year) const = 0; virtual bool is_leap_year(int year) const = 0; int days_in_month(int month, int year) const; private: /** * @brief Retrieves current date (GMT). This is given only Gregorian format, so * we need to convert to Julian afterwards if needed. * @param day * @param month * @param year */ void currentDate(int& day, int& month, int&year); /** * @brief Computes the julian day assuming a Gregorian date input * @param day * @param month * @param year * @return */ double julian_day_default(int day, int month, int year); }; // Common to Gregorian and Julian static std::vector<int> month_n_days_{31,28,31,30,31,30,31,31,30,31,30,31}; static std::vector<std::string> day_names_ ={"monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"}; static std::vector<std::string> month_names_ = {"january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"}; } // namespace lab2 #endif // DATE_H
/** * File: path.cpp * -------------- * This file implements the Path class. */ #include "path.h" #include "strlib.h" void Path::addArc(Arc *newone) { pathcost += newone->cost; pathofarcs.add(newone); } void Path::addNode(Node *newnode) { newnode->dist = pathcost; pathofnodes.add(newnode); } Node *Path::getNode() { Node *result = pathofnodes[pathofnodes.size() -1]; return result; } std::string Path::getRoute() { string result = ""; for (int i = 0; i < pathofnodes.size(); i++) { Node *next = pathofnodes[i]; string nodename = next->name; if (i < pathofnodes.size() - 1) { result = result + " " + nodename + " ->"; } else if (i == pathofnodes.size() - 1) { string coststring = integerToString(pathcost); result = result + " " + nodename + " (" + coststring + ")"; } } return result; } std::string Path::getNextArcs() { string result = ""; Node *last = pathofnodes[pathofnodes.size() -1]; Set<Arc *> nextarcs = last->arcs; foreach(Arc* next in nextarcs) { Node *place = next->finish; string add = place->name; result = result + add + ", "; } result[result.size() - 1] = ')'; return result; } Vector<Node *> Path::getNodePath() { return pathofnodes; } Vector<Arc *> Path::getArcPath() { return pathofarcs; }
#include "stdafx.h" #include "NewGame.h" #include "MainMenu.h" void NewGame::Init() { m_states.resize(GS_NUM_STATES, nullptr); MainMenu *Menu = new MainMenu(this); m_states[GS_MAIN_MENU] = Menu; m_current = Menu; Menu->Enter(); } void NewGame::Close() { for ( unsigned int i = 0; i < m_states.size(); i++ ) if ( m_states[i] ) delete m_states[i]; }
#pragma once #include "Point.h" /////////////////////////////////////////////////////////////////////////////////// //链表定义 class Line //链表定义 { public: int N; /////////////////////头指针 Point *head; Line(); ~Line(); /////////////////////插入节点 void Insert(Point b); /////////////////////删除节点,成功则返回1 bool Delete(Point x); bool DeleteAll(); /////////////////////判断链表是否为空 bool Isempty(); /////////////////////按序号查找,并返回该序号对应节点 Point Search(int x); /////////////////////按节点查找,并返回对应序号 int Search1(Point b); /////////////////////找上一个节点并返回序号,用于从终点找回起点,需要完整路径时使用 int FindLastPoint(Point b); }; inline Line::Line() { Point *p; p = new Point; //添加表头节点 p->f[g] = 0; p->f[h] = 0; p->Last_ID = ' '; p->Point_ID = ' '; p->next = p; head = p; N = 0; } inline Line::~Line() { Point *p, *q; p = head->next; while (p != head) { q = p; p = p->next; delete q; } delete head; } //插入节点 inline void Line::Insert(Point b) { //链表始终为f的升序 Point *p, *q; p = new Point; //申请一个新结点 *p = b; //置新结点的数据域 q = head; while ((q->next != head) && ((q->next->f[g] + q->next->f[h]) < (b.f[g] + b.f[h]))) //寻找链表第一个f值大于插入结点的位置 q = q->next; p->next = q->next; q->next = p; //新结点p插入到结点q之后 N++; } //删除节点,成功则返回1 inline bool Line::Delete(Point x) { Point *p, *q; q = head; while ((q->next != head) && ((q->next->Point_ID) != x.Point_ID)) q = q->next; //寻找包含元素x的前一个结点q if (q->next == head) return 0; //循环链表中无删除的元素 p = q->next; q->next = p->next; //删除q的下一个结点p delete p; //释放结点p的存储空间 N--; return 1; } inline bool Line::DeleteAll() { Point *p, *q; q = head; while (q->next != head) { p = q->next; q->next = p->next; //删除q的下一个结点p delete p; //释放结点p的存储空间 N--; } return 1; } //判断链表是否为空 inline bool Line::Isempty() { Point *p; p = head; if (p->next == head) { return true; } else return false; } //按序号查找,并返回该序号对应节点 inline Point Line::Search(int x) { Point *p; p = head; while (x--) { if (p->next != head) { p = p->next; } else break; } return *p; } //按节点查找,并返回对应序号 inline int Line::Search1(Point b) { Point *p = head; int x = 0; while (1) { if (p->next != head) { p = p->next; x++; if (p->Point_ID == b.Point_ID) { return x; } } else { return 0; //找完整个表 } } } //找上一个节点并返回序号,用于从终点找回起点,需要完整路径时使用 inline int Line::FindLastPoint(Point b) { Point *p = head; int x = 0; while (1) { if (p->next != head) { p = p->next; x++; if (p->Point_ID == b.Last_ID) { return x; } } else { return 0; //找完整个表 } } }
// pyramid 11 #include<iostream.h> #include<conio.h> void main() { clrscr(); int i,j,a; // logic for the reqyired pyramid for(i=1;i<=5;i++) { a=1; for(j=1;j<=i;j++) cout<<a++; cout<<endl; } getch(); }
/** * @File test_hash_table.cpp * @Brief file_description * Details: * @Author guohainan * @Version v0.0.1 * @date 2017-09-10 10:15:39 */ #include "gtest/gtest.h" #define UNIT_TEST true #include "gomoku/hash_table.h" using namespace gomoku; TEST(HashTable, test) { HashTable<int> hashTable(97); ChessBoard board; ChessBoard b0 = board; ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 0); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_BLACK, 7, 7)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 1); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 6, 7)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 2); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_BLACK, 7, 6)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 3); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 6, 5)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 4); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_BLACK, 6, 6)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 5); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 6, 8)); ChessBoard b6 = board; ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 6); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_BLACK, 8, 6)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 7); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 6, 9)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 8); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_BLACK, 9, 6)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 9); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 5, 6)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 10); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 4, 7)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 11); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 3, 8)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 12); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 2, 9)); ChessBoard b13 = board; ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 13); ASSERT_TRUE(hashTable.contains(board)); board.playChess(ChessMove(COLOR_WHITE, 14, 8)); ASSERT_FALSE(hashTable.contains(board)); EXPECT_EQ(NULL, hashTable.get(board)); hashTable.put(board, 14); ASSERT_TRUE(hashTable.contains(board)); EXPECT_EQ(0, * (hashTable.get(b0) ) ); EXPECT_EQ(6, * (hashTable.get(b6) ) ); EXPECT_EQ(13, * (hashTable.get(b13) ) ); }
//$Id$ //------------------------------------------------------------------------------ // TestEarthModel //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Author: Wendy Shoan // Created: 2016.05.11 // /** * Unit-test driver for the Earth model */ //------------------------------------------------------------------------------ #include <iostream> #include <string> #include <ctime> #include <cmath> #include "gmatdefs.hpp" #include "GmatConstants.hpp" #include "Rvector6.hpp" #include "RealUtilities.hpp" #include "MessageInterface.hpp" #include "ConsoleMessageReceiver.hpp" #include "AbsoluteDate.hpp" #include "OrbitState.hpp" #include "Earth.hpp" #include "TimeTypes.hpp" using namespace std; using namespace GmatMathConstants; //------------------------------------------------------------------------------ // int main(int argc, char *argv[]) //------------------------------------------------------------------------------ int main(int argc, char *argv[]) { std::string outFormat = "%16.9f "; Real tolerance = 1e-15; ConsoleMessageReceiver *consoleMsg = ConsoleMessageReceiver::Instance(); MessageInterface::SetMessageReceiver(consoleMsg); std::string outPath = "./"; MessageInterface::SetLogFile(outPath + "GmatLog.txt"); MessageInterface::ShowMessage("%s\n", GmatTimeUtil::FormatCurrentTime().c_str()); // Set global format setting GmatGlobal *global = GmatGlobal::Instance(); global->SetActualFormat(false, false, 16, 1, false); char *buffer = NULL; buffer = getenv("OS"); if (buffer != NULL) { MessageInterface::ShowMessage("Current OS is %s\n", buffer); } else { MessageInterface::ShowMessage("Buffer is NULL\n"); } MessageInterface::ShowMessage("*** START TEST ***\n"); try { // Test the AbsoluteDate MessageInterface::ShowMessage("*** TEST*** EarthModel\n"); // Create the Earth Earth earth; Real GMT = earth.ComputeGMT(2457260.12345679); MessageInterface::ShowMessage("Calculated GMT = %12.10f\n", GMT); // Need to verify the sign. (compares hi-fi output from GMAT/STK with // low-fi model in TAT-C, hence the loose tolerance if (GmatMathUtil::Abs(GMT*180/PI - 198.002628503035)/198.002628503035 >= 1e-5) MessageInterface::ShowMessage("*** ERROR - error calculating GMT!!\n"); else MessageInterface::ShowMessage("OK - GMT calculation is OK!\n"); cout << endl; cout << "Hit enter to end" << endl; cin.get(); MessageInterface::ShowMessage("*** END TEST ***\n"); } catch (BaseException &be) { MessageInterface::ShowMessage("Exception caught: %s\n", be.GetFullMessage().c_str()); } }
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QFileDialog> #include <math.h> #include <float.h> #include <stdlib.h> #include <time.h> //#include <kmlp.h> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void Addaweek (QString aline); int numofhistory; int** historylist; double* nvInput; double* nvHidden; double* nvOutput; double* nvOutput_Target; double** nvInputProbability; double** weight_w; double** weight_v; double error; double learning_rate; double* m_netH; double* m_netO; double* delta_k; double* delta_j; int n_input; int n_hidden; int n_history; int n_training; void debug(QString text); long long calmoney(int n_match, int index); double sigmoid(double x) { return 1./(1.+exp(-1.*x));} double sigmoidInv(double x) {return sigmoid(x)*(1-sigmoid(x));} long long compute_error(); void forward(); void backward(); void setTarget(int n_inputhistory, int n_outputhistory); double weight_change; private slots: void on_pushButton_clicked(); void on_pushButton_2_clicked(); void on_pushButton_3_clicked(); void on_pushButton_4_clicked(); void on_pushButton_6_clicked(); private: Ui::MainWindow *ui; }; #endif // MAINWINDOW_H
#include <bits/stdc++.h> using namespace std; int main() { int r, km, ha, horas, sf, salario; cin >> km >> ha >> horas >> sf >> salario; r = ((km+ha+horas)*sf)-salario; cout << "Nao creio, Seu Armando! " << r << endl; return 0; }
//Initialize IR sensor #include <SharpIR.h> #define ir A0 #define model 1080 SharpIR sharp(ir, 25, 93, model); int dis; boolean present; float defaultIrMin = 14; //Setup Pins void setup() { Serial.begin(9600); pinMode (ir, INPUT); } void loop(){ dis = sharp.distance(); present = (dis<defaultIrMin); Serial.println(dis); if(present) Serial.println("Object Detected"); else Serial.println("No Object Detected"); delay(1000); }
#pragma once #ifndef __PLAYPAUSE_H__ #define __PLAUPAUSE_H__ #include "Panel.h" class PlayPause : public Panel { public: void Draw(Application* App); }; #endif // !__PANEL_PLAYPAUSE_H__
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; typedef pair<int, int> ii; int find(vector<ii> &V, int C) { if (V[C].first != C) { V[C].first = find(V, V[C].first); } return V[C].first; } void merge(vector<ii> &V, int I, int J) { int P1 = find(V, I); int P2 = find(V, J); if (P1 == P2) return; if (V[P1].second >= V[P2].second) { V[P2].first = P1; V[P1].second += V[P2].second; } else { V[P1].first = P2; V[P2].second += V[P1].second; } } int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int N, Q; cin >> N >> Q; vector<ii> V(N + 1); for (int i = 1; i <= N; i++) { V[i].first = i; V[i].second = 1; } for (int i = 0; i < Q; i++) { char T; cin >> T; if (T == 'Q') { int C; cin >> C; int P = find(V, C); cout << V[P].second << endl; } else if (T == 'M') { int I, J; cin >> I >> J; merge(V, I, J); } } return 0; }
/* * Runnable.hpp * * Created on: Jun 24, 2018 * Author: yyhu */ #ifndef INCLUDE_RUNNABLE_HPP_ #define INCLUDE_RUNNABLE_HPP_ #include <iostream> #include <string> #include <sstream> #include "SLFException/SLFException.hpp" #include "BulkMem/BulkMem.hpp" namespace slf { class Runnable { public: typedef enum { OK = 0, ERROR = -1 }RES_t; public: Runnable(std::string& name); Runnable(const std::string& name); virtual ~Runnable(void); virtual Runnable::RES_t run(void); void set_name(std::string& name); std::string& get_name(void); static void show_size_of_types(void); protected: void show_header(void); void show_footer(void); protected: std::string mName; // The name of this Runnable object. }; } #endif /* INCLUDE_RUNNABLE_HPP_ */
// // Updatable.h // Boids // // Created by Yanjie Chen on 3/2/15. // // #ifndef __Boids__Updatable__ #define __Boids__Updatable__ namespace boids { class Updatable { public: virtual void updateFrame( float delta ) = 0; }; } #endif /* defined(__Boids__Updatable__) */
#include "ConditionCommand.h" int ConditionCommand::execute() { return 3; }
class Solution { public: int largestRectangleArea(vector<int>& heights) { stack<int> stk; int index = 0; int size = 0, maxSize = 0; heights.push_back(0); while(index < heights.size()) { if(stk.size() == 0 || heights[stk.top()] <= heights[index]) { stk.push(index); index++; } else { int height = heights[stk.top()]; stk.pop(); if(stk.size() == 0) { size = height * index; } else { size = height * (index - stk.top() - 1); } if(size > maxSize) maxSize = size; } } return maxSize; } };
#include <stdafx.h> #include "CoorTransEquations.h" #include "Geometry.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define SIN_COS_ABNORMAL_LIMIT 1.02f // // 对给定x值的绝对值进行限制,使它的绝对值不超过fLimitValue。 // 注意,这里fLimitValue必须为正数。 // float LimitAbs(float x, float fLimitValue) { if (x >= 0) { return min(x, fLimitValue); } else { return max(x, -fLimitValue); } } ////////////////////////////////////////////////////////////////////////////// CCoorTransEquations::CCoorTransEquations(int nMaxRows, int nCols) : CLinearEquations(nMaxRows, nCols) { } // // 求解最小二乘法。 // bool CCoorTransEquations::LeastSquareSolve(float* pX, int nNum) { // 求解最小二乘法 CTransform trans; float f[4]; bool bAbnormal = false; if (CLinearEquations::LeastSquareSolve(f, 4)) { float sin = f[0]; float cos = f[1]; float x = f[2]; float y = f[3]; // 考虑到求解结果中sin,cos大于1的情况,需要特殊处理 if (fabs(sin) > SIN_COS_ABNORMAL_LIMIT) { sin = LimitAbs(sin, 1); cos = 0; bAbnormal = true; } else if (fabs(cos) > SIN_COS_ABNORMAL_LIMIT) { cos = LimitAbs(cos, 1); sin = 0; bAbnormal = true; } if (bAbnormal) SpecialProcess(sin, cos, x, y); pX[0] = sin; pX[1] = cos; pX[2] = x; pX[3] = y; return true; } else return false; } // // 坐标变换方程组的特殊处理过程。当变量为(x, y, sin(thita), cos(thita))的坐标变换方程组采用 // 最小二乘法来进行求解时,如果sin(thita)或cos(thita)的值大于1,结果将不正确。在此情况下,通过 // 强制sin(thita)或cos(thita)为1,可以另外得到一组程,通过最小二乘法求解这个方程组的最优解, // 得到坐标变换矩阵。 // bool CCoorTransEquations::SpecialProcess(float fSin, float fCos, float& x, float& y) { float a[2][2], b[2]; float f[2]; int nNewRows = m_nMaxRows; CLinearEquations* pLsm = new CLinearEquations(nNewRows, 2); pLsm->Start(); for (int i = 0; i < nNewRows / 2; i++) { int nRow = 2 * i; pLsm->A.SetAt(nRow, 0, 1); pLsm->A.SetAt(nRow, 1, 0); pLsm->A.SetAt(nRow+1, 0, 0); pLsm->A.SetAt(nRow+1, 1, 1); float b1, b2; b1 = B.GetAt(nRow, 0) - A.GetAt(nRow, 0) * fSin - A.GetAt(nRow, 1) * fCos; b2 = B.GetAt(nRow+1, 0) - A.GetAt(nRow, 1) * fSin + A.GetAt(nRow, 0) * fCos; pLsm->B.SetAt(nRow, 0, b1); pLsm->B.SetAt(nRow + 1, 0, b2); } pLsm->m_nRows = m_nRows; bool bResult = pLsm->LeastSquareSolve(f, 2); x = f[0]; y = f[1]; delete pLsm; return bResult; }
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "number_solutions.hpp" using std::ostream; ostream& operator<< (ostream& out, number_solutions s) { switch (s) { case number_solutions::none: out << "number_solutions::none"; break; case number_solutions::one: out << "number_solutions::one"; break; case number_solutions::many: out << "number_solutions::many"; break; default: assert (false); break; } return out; }
/******************************************************************************* * Cristian Alexandrescu * * 2163013577ba2bc237f22b3f4d006856 * * 11a4bb2c77aca6a9927b85f259d9af10db791ce5cf884bb31e7f7a889d4fb385 * * bc9a53289baf23d369484f5343ed5d6c * *******************************************************************************/ /* Problem 10773 - Back to Intermediate Math */ #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { int nNoTestCases; cin >> nNoTestCases; for (int nCaseLoop = 1; nCaseLoop <= nNoTestCases; nCaseLoop++) { double fD, fV, fU; cin >> fD >> fV >> fU; if (fV < fU && fV > 0 && fU > 0) cout << "Case " << nCaseLoop << ": " << fixed << setprecision(3) << fD / sqrt(fU * fU - fV * fV) - fD / fU << endl; else cout << "Case " << nCaseLoop << ": can't determine" << endl; } return 0; }
#include "DUIRenderEngine.h" #include "DUIDdb.h" DUI_BGN_NAMESPCE CDUIRenderClip::CDUIRenderClip(HDC dc, RECT& rtItem) { RECT rcClip = { 0 }; ::GetClipBox(dc, &rcClip); m_hRgnOld = ::CreateRectRgnIndirect(&rcClip); m_hRgnNew = ::CreateRectRgnIndirect(&rtItem); ::ExtSelectClipRgn(dc, m_hRgnNew, RGN_AND); m_dc = dc; } CDUIRenderClip::~CDUIRenderClip() { DUI_ASSERT(::GetObjectType(m_dc)==OBJ_DC || ::GetObjectType(m_dc)==OBJ_MEMDC); DUI_ASSERT(::GetObjectType(m_hRgnNew)==OBJ_REGION); DUI_ASSERT(::GetObjectType(m_hRgnOld)==OBJ_REGION); ::SelectClipRgn(m_dc, m_hRgnOld); ::DeleteObject(m_hRgnOld); ::DeleteObject(m_hRgnNew); } //this function need improvement, do not use alpha channel here VOID CDUIRenderEngine::DrawRoundRectBorder(HDC dc, const RECT& rt, INT nCornerWidth, INT nCornerHeight, INT nBorderWidth, const CARGB& clr) { if(nBorderWidth <= 0 || IsRectEmpty(&rt)) { DUI_ASSERT(FALSE); return; } COLORREF clrBorder = clr.GetColor(); HPEN hNewPen = CreatePen(PS_SOLID|PS_INSIDEFRAME, nBorderWidth, clrBorder); HPEN hOldPen = (HPEN)SelectObject(dc, hNewPen); HBRUSH hOldBrush = (HBRUSH)SelectObject(dc, GetStockObject(NULL_BRUSH)); RoundRect(dc, rt.left, rt.top, rt.right-1, rt.bottom-1, nCornerWidth, nCornerHeight); SelectObject(dc, hOldBrush); SelectObject(dc, hOldPen); DeleteObject(hNewPen); } VOID CDUIRenderEngine::DrawRectangleBorder(HDC dc, const RECT& rt, const RECT& rtBorder, const CARGB& clr) { DUI_ASSERT(rtBorder.left >= 0 && rtBorder.top >= 0 && rtBorder.right >= 0 && rtBorder.bottom >= 0); INT nWidth = rt.right - rt.left; INT nHeight = rt.bottom - rt.top; if(rtBorder.left + rtBorder.right >= nWidth || rtBorder.top + rtBorder.bottom >= nHeight) { DrawColor(dc, rt, clr); return; } RECT rtTop = rt; rtTop.bottom = rtTop.top + rtBorder.top; RECT rtBottom = rt; rtBottom.top = rtBottom.bottom - rtBorder.bottom; RECT rtLeft = rt; rtLeft.top = rtTop.bottom; rtLeft.bottom = rtBottom.top; rtLeft.right = rtLeft.left + rtBorder.left; RECT rtRight = rtLeft; rtRight.right = rt.right; rtRight.left = rtRight.right - rtBorder.right; DrawColor(dc, rtLeft, clr); DrawColor(dc, rtRight, clr); DrawColor(dc, rtTop, clr); DrawColor(dc, rtBottom, clr); } VOID CDUIRenderEngine::DrawColor(HDC dc, const RECT& rt, const CARGB& clr) { if(IsRectEmpty(&rt)) return; BYTE alpha = clr.GetA(); if(alpha == 0 || alpha == 0xFF) // not use alpha chanel { ::SetBkColor(dc, clr.GetColor()); ::ExtTextOut(dc, 0, 0, ETO_OPAQUE, &rt, NULL, 0, NULL); } else { CDibSection newDIB; if(newDIB.Create(1, 1, 32)) { newDIB.SetPixel(0, 0, clr); } CBitmapCommonFunction::AlphaBlend(dc, newDIB.GetBitmap(), rt, alpha); } } VOID CDUIRenderEngine::DrawGradien(HDC dc, const RECT& rt, const CARGB& clrStart, const CARGB& clrEnd, BOOL bVertical) { if(IsRectEmpty(&rt)) return; BYTE alpha1 = clrStart.GetA(); BYTE alpha2 = clrEnd.GetA(); BYTE alpha = (alpha1 + alpha2) / 2; COLORREF clr1 = clrStart.GetColor(); COLORREF clr2 = clrEnd.GetColor(); if(alpha == 0 || alpha == 0xFF) { GradientFill(dc, rt, clr1, clr2, bVertical); return; } INT nWidth = rt.right - rt.left; INT nHeight = rt.bottom - rt.top; HDC dcMem = CreateCompatibleDC(dc); CDibSection newDIB; if(!newDIB.Create(nWidth, nHeight, 32)) return; HBITMAP hBmpOld = (HBITMAP)::SelectObject(dcMem, newDIB.GetBitmap()); RECT rtDraw = {0, 0, nWidth, nHeight}; GradientFill(dcMem, rtDraw, clr1, clr2, bVertical); BLENDFUNCTION bf = { AC_SRC_OVER, 0, alpha, AC_SRC_ALPHA }; AlphaBlend(dc, rt.left, rt.top, nWidth, nHeight, dcMem, 0, 0, nWidth, nHeight, bf); ::SelectObject(dcMem, hBmpOld); DeleteDC(dcMem); } VOID CDUIRenderEngine::GradientFill(HDC dc, const RECT& rtDraw, COLORREF clrStart, COLORREF clrEnd, BOOL bVertical) { TRIVERTEX vert[2] ; GRADIENT_RECT gRect; vert [0] .x = rtDraw.left; vert [0] .y = rtDraw.top; vert [0] .Red = GetRValue(clrStart) << 8; vert [0] .Green = GetGValue(clrStart) << 8; vert [0] .Blue = GetBValue(clrStart) << 8; vert [0] .Alpha = 0xFF00; vert [1] .x = rtDraw.right; vert [1] .y = rtDraw.bottom; vert [1] .Red = GetRValue(clrEnd) << 8; vert [1] .Green = GetGValue(clrEnd) << 8; vert [1] .Blue = GetBValue(clrEnd) << 8; vert [1] .Alpha = 0xFF00; gRect.UpperLeft = 0; gRect.LowerRight = 1; if(!bVertical) { ::GradientFill(dc,vert,2,&gRect,1,GRADIENT_FILL_RECT_H); } else { ::GradientFill(dc,vert,2,&gRect,1,GRADIENT_FILL_RECT_V); } } SIZE CDUIRenderEngine::GetTextIdealSize(const CDUIString& strText, HFONT hFont, INT nWidthLimit /* = 0 */, UINT uFormat /* = DT_LEFT | DT_WORDBREAK */) { DUI_ASSERT(hFont != NULL); RECT rtText = {0, 0, nWidthLimit, 0}; uFormat |= DT_SINGLELINE; uFormat &= ~DT_WORDBREAK; HDC dc = GetDC(NULL); HFONT hFontOld = (HFONT)SelectObject(dc, hFont); DrawText(dc, strText.c_str(), strText.size(), &rtText, uFormat | DT_CALCRECT); SelectObject(dc, hFontOld); ::ReleaseDC(NULL, dc); SIZE sizeRet = { rtText.right - rtText.left, rtText.bottom - rtText.top }; return sizeRet; } INT CDUIRenderEngine::DrawText( HDC hDC, LPCTSTR lpString, INT nCount, LPRECT lpRect, UINT uFormat) { return ::DrawText(hDC, lpString, nCount, lpRect, uFormat); } DUI_END_NAMESPCE
// Game: Road Rage COPYRIGHT; // By the AAs (Abdullah Mehboob and Ain E Muhammad); // Copying this game's code will result on extreme punishments due to the law of copyright; #include <iostream> #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include <windows.h> #include <cstdlib> #include <ctime> #include <fstream> using namespace std; // macro funtions // #define RANDOM (130 + (rand() % 460)); // helper // int end = 0; int score = 0; char score1[10]; int x = 0; // speed increaser; // car global variables // int cx1 = 200, cy1 = 580, cx2 = 280, cy2 = 700; // enemy global variables // int e1x1 = RANDOM; int e1y1 = -120; int e2x1 = RANDOM; int e2y1 = -480; int e3x1 = RANDOM; int e3y1 = -840; int e1x2; int e1y2; int e2x2; int e2y2; int e3x2; int e3y2; // function prototypes // void grass (); void road (); void car (); void enemy (); void collision(); void Endgame(); int main () { initwindow (800, 750, "ROAD"); settextstyle(0,0,8); setcolor(WHITE); outtextxy(20,200,"Road RageŠ"); settextstyle(9,0,4); outtextxy(170,300,"PRESS S TO START"); if(kbhit) { int key=getch(); if(key==115 || key==83) { road(); } setvisualpage(2); Endgame(); } while (!kbhit()) { delay (200); } return 0; } void collision() { if (((cx2 >= e1x1) && (cx1 <= e1x2) && (cy2 >= e1y1) && (cy1 <= e1y2))) { end = 5; } if(((cx2 >= e2x1) && (cx1 <= e2x2 ) && (cy2 >= e2y1) && (cy1 <= e2y2))) { end = 5; } if(((cx2 >= e3x1) && (cx1 <= e3x2 ) && (cy2 >= e3y1 ) && (cy1 <= e3y2))) { end = 5; } if (cx1 <= 120 || cx2 >= 680) { end = 5; } } void grass () { setfillstyle (CLOSE_DOT_FILL, GREEN); bar (0, 0, 120, 750); // left grass; bar (680, 0, 800, 750); // right grass; } void enemy () { setfillstyle(LINE_FILL, BROWN); if (e1y1 >= 750) { e1x1 = RANDOM; e1y1 = -380; score += 5; } if (e2y1 >= 750) { e2x1 = RANDOM; e2y1 = -380; score += 5; } if (e3y1 >= 750) { e3x1 = RANDOM; e3y1 = -380; score += 5; } e1y1 = e1y1 + x + 5; e2y1 = e2y1 + x + 5; e3y1 = e3y1 + x + 5; e1x2 = e1x1 + 80; e1y2 = e1y1 + 120; e2x2 = e2x1 + 80; e2y2 = e2y1 + 120; e3x2 = e3x1 + 80; e3y2 = e3y1 + 120; setcolor(GREEN); setfillstyle(1,GREEN); bar(e1x1, e1y1, e1x2, e1y2); floodfill(e1x1+20,e1y1+20,GREEN);// car; setcolor(8); setfillstyle(15,8); ellipse(e1x1+40,e1y1+30,50,50,38,10); fillellipse(e1x1+40,e1y1+30,38, 10); rectangle(e1x1+10,e1y1+70,e1x2-10,e1y1+90); floodfill(e1x1+20,e1y1+80, 8); setcolor(RED); setfillstyle(1,RED); rectangle(e1x1,e1y1,e1x1+10,e1y1+10); floodfill(e1x1+3,e1y1+3, RED); rectangle(e1x2-10,e1y1,e1x2,e1y1+10); floodfill(e1x2-5,e1y1+3, RED); // enemy1; setcolor(BLUE); setfillstyle(1,BLUE); bar(e2x1, e2y1, e2x2, e2y2); floodfill(e2x1+20,e2y1+20,BLUE);// car; setcolor(8); setfillstyle(15,8); ellipse(e2x1+40,e2y1+30,50,50,38,10); fillellipse(e2x1+40,e2y1+30, 38,10); rectangle(e2x1+10,e2y1+70,e2x2-10,e2y1+90); floodfill(e2x1+20,e2y1+80, 8); setcolor(RED); setfillstyle(1,RED); rectangle(e2x1,e2y1,e2x1+10,e2y1+10); floodfill(e2x1+3,e2y1+3, RED); rectangle(e2x2-10,e2y1,e2x2,e2y1+10); floodfill(e2x2-5,e2y1+3, RED); // enemy2; setcolor(YELLOW); setfillstyle(1,YELLOW); bar(e3x1, e3y1, e3x2, e3y2); floodfill(e3x1+20,e3y1+20,YELLOW);// car; setcolor(8); setfillstyle(15,8); ellipse(e3x1+40,e3y1+30,50,50,38,10); floodfill(e3x1+40,e3y1+30, 8); rectangle(e3x1+10,e3y1+70,e3x2-10,e3y1+90); floodfill(e3x1+20,e3y1+80, 8); setcolor(RED); setfillstyle(1,RED); rectangle(e3x1,e3y1,e3x1+10,e3y1+10); floodfill(e3x1+3,e3y1+3, RED); rectangle(e3x2-10,e3y1,e3x2,e3y1+10); floodfill(e3x2-5,e3y1+3, RED); // enemy3; collision(); } void car () { setfillstyle (1, WHITE); setcolor(WHITE); if (GetAsyncKeyState(VK_RIGHT)) { cx1 = cx1 + 5; cx2 = cx2 + 5; } if (GetAsyncKeyState(VK_LEFT)) { cx1 = cx1 - 5; cx2 = cx2 - 5; } bar (cx1, cy1, cx2, cy2); floodfill(cx1+20,cy1+20,WHITE);// car; setcolor(8); setfillstyle(15,8); ellipse(cx1+40,cy1+30,50,50,38,10); floodfill(cx1+40,cy1+30, 8); rectangle(cx1+10,cy1+70,cx2-10,cy1+90); floodfill(cx1+20,cy1+80, 8); setcolor(RED); setfillstyle(1,RED); rectangle(cx1,cy1,cx1+10,cy1+10); floodfill(cx1+3,cy1+3, RED); rectangle(cx2-10,cy1,cx2,cy1+10); floodfill(cx2-5,cy1+3, RED); collision(); if (cx1 == 120 || cx2== 680) { end = 5; } } void road () { int i = 0; int page = 0; while (end == 0) { while (i <= 890 && end == 0) { // DONT TOUCH THIS!!; setvisualpage (1 - page); setactivepage (page); cleardevice(); grass(); car(); enemy(); itoa(score, score1, 10); // score text // settextstyle(0,0,2); setcolor(WHITE); outtextxy(550,20,"SCORE: "); settextstyle(0,0,2); setcolor(WHITE); outtextxy(650,20, score1); // road lines // setfillstyle(SOLID_FILL, WHITE); bar(400, -1040 + i, 405, -990 + i); bar(400, -890 + i, 405, -840 + i); bar(400, -740 + i, 405, -690 + i); bar(400, -590 + i, 405, -540 + i); bar(400, -440 + i, 405, -390 + i); bar(400, -290 + i, 405, -240 + i); bar(400, -140 + i, 405, -90 + i); bar(400, 10 + i, 405, 60 + i); bar(400, 160 + i, 405, 210 + i); bar(400, 310 + i, 405, 360 + i); bar(400, 460 + i, 405, 510 + i); bar(400, 610 + i, 405, 660 + i); delay(5); page = 1 - page; i += 3; } x++; i = 0; } } void Endgame() { setactivepage (2); setbkcolor(WHITE); settextstyle(0,0,8); setcolor(BLACK); outtextxy(100,200,"GAME OVER!"); Beep(10,100); if(kbhit) { getch(); delay(5000); } }
const int MAX_N = 10000; int prime[MAX_N]; bool is_prime[MAX_N + 1]; // number of primes below N int sieve(int n){ int p = 0; for (int i=0; i<=n; i++) is_prime[i]=true; is_prime[0] = is_prime[1] = false; for (int i=2; i<=n; i++){ if (is_prime[i]){ prime[p++] = i; for (int j=2*i; j<=n; j+=i) is_prime[j] = false; } } return p; }
#include <iostream> #include <stdlib.h> #include <time.h> #include <math.h> #include "inout.h" #include "wyarray.h" #include "proassign.h" using namespace std; class SolverAssDual { private: int niter; int inner; int iprint; int nx, nusr, nmsg; double lambda; double epsilon; double *w, *b; double *cm; string logFilename; string outFilename; public: SolverAssDual (double *, double *, int, int); void SetFilename(string, string); void GetInitDualValue (double *); void UpdatePrimal(double *, double *, double *); void ComputeGradient (double *, double *); double GetInitStep (double *, double *); double LossDual(double *, double *); double LossPrim(double *); void UpdateAlpha (double *, double *, double *, double); void GradientDescent(double *); };
#ifndef CONTROLLER_H #define CONTROLLER_H #include <QObject> #include "connectwindow.h" #include "clientlistwindow.h" #include "chatwindow.h" #include "Client.h" #include "connection.h" class Controller : public QObject { Q_OBJECT public: explicit Controller(QObject *parent = 0); signals: //Client window (****NOT CHAT) meant to be called async void newClientOnServer(Client c); //Transmit when user joins void clientLeftServer(Client c); //Transmit when user leaves //Chat window related void userJoined(QString name); //User X joined void userLeft(QString name); //User X left void userChat(QString name, QString msg); //name> msg void displayBuddyMessage(QString name, QString msg); public slots: //Connect window -> Client List void ConnectWindowAttemptConnection(Client c); //Pressed connected //Client list -> Chat Window void ClientListAttemptConnection(Client c); //Pressed connect //Chat Window -> Client list void BackToClientList(); // Quit entire program void quit(); //Asynchronous callbacks void OnUserMessage(QString name, QString msg); //User sent a message in the chat window // Process message from server void receiveMsg(Message msg); private slots: void buddyDisconnect(Client c); private: ConnectWindow *connectWindow; ClientListWindow *clientListWindow; ChatWindow *chatWindow; Client myInfo; Client buddy; Connection connection; }; #endif // CONTROLLER_H
#include "FrameWnd.h" #include <errno.h> #include <stdlib.h> #include <string.h> #include<stdio.h> #include<algorithm>//因为用了sort()函数 #include<functional>//因为用了greater<int>() #include "D:\\code\\glib\\glib\\glib\\gstring.h" #include "D:\\code\\glib\\glib\\glib\\MemoryModule.h" #include "D:\\code\\glib\\glib\\glib\\glog.h" #include "D:\\code\\glib\\glib\\glib\\gprocess.h" #include "D:\\code\\glib\\glib\\glib\\gManage.h" #include "D:\\code\\glib\\glib\\glib\\gMd5.h" #include "D:\\code\\Detours Pro v3.0.316\\include\\detours.h" #include "D:\\code\\zlib\\zlib\\zlib.h" #include "D:\\code\\zlib\\zlib\\zconf.h" #ifdef _DEBUG #ifdef _WIN64 #pragma comment(lib,"D:\\code\\glib\\x64\\Debug\\glib.lib") #else #pragma comment(lib,"D:\\code\\glib\\Debug\\glib.lib") #pragma comment(lib,"D:\\code\\zlib\\Debug\\zlib.lib") #endif #else #ifdef _WIN64 #pragma comment(lib,"D:\\code\\glib\\x64\\Release\\glib.lib") #pragma comment(lib,"D:\\code\\Detours Pro v3.0.316\\lib.X64\\detours.lib") #pragma comment(lib,"D:\\code\\zlib\\x64\\Release\\zlib.lib") #else #pragma comment(lib,"D:\\code\\glib\\Release\\glib.lib") #pragma comment(lib,"D:\\code\\Detours Pro v3.0.316\\lib.X86\\detours.lib") #pragma comment(lib,"D:\\code\\zlib\\Release\\zlib.lib") #endif #endif #include <comutil.h> #include <atlbase.h> #include <MsHTML.h> #include <winternl.h> #pragma comment(lib,"wininet.lib") #include "detour64.h" #include "detour32.h" NTSTATUS ZwQueryVirtualMemory( _In_ HANDLE ProcessHandle, _In_opt_ PVOID BaseAddress, _In_ MEMORY_INFORMATION_CLASS MemoryInformationClass, _Out_ PVOID MemoryInformation, _In_ SIZE_T MemoryInformationLength, _Out_opt_ PSIZE_T ReturnLength ); typedef struct _PROCESS_BASIC_INFORMATION64 { NTSTATUS ExitStatus; UINT32 Reserved0; UINT64 PebBaseAddress; UINT64 AffinityMask; UINT32 BasePriority; UINT32 Reserved1; UINT64 UniqueProcessId; UINT64 InheritedFromUniqueProcessId; } PROCESS_BASIC_INFORMATION64; typedef struct _PROCESS_BASIC_INFORMATION32 { NTSTATUS ExitStatus; UINT32 PebBaseAddress; UINT32 AffinityMask; UINT32 BasePriority; UINT32 UniqueProcessId; UINT32 InheritedFromUniqueProcessId; } PROCESS_BASIC_INFORMATION32; #define NT_SUCCESS(x) ((x) >= 0) #define ProcessBasicInformation 0 typedef NTSTATUS(WINAPI *pfnNtWow64QueryInformationProcess64) (HANDLE ProcessHandle, UINT32 ProcessInformationClass, PVOID ProcessInformation, UINT32 ProcessInformationLength, UINT32* ReturnLength); typedef NTSTATUS(WINAPI *pfnNtWow64ReadVirtualMemory64) (HANDLE ProcessHandle, PVOID64 BaseAddress, PVOID BufferData, UINT64 BufferLength, PUINT64 ReturnLength); typedef NTSTATUS(WINAPI *pfnNtQueryInformationProcess) (HANDLE ProcessHandle, ULONG ProcessInformationClass, PVOID ProcessInformation, UINT32 ProcessInformationLength, UINT32* ReturnLength); CFrameWnd::CFrameWnd(LPCTSTR pszXMLPath) { m_strXMLPath = pszXMLPath; } CFrameWnd::CFrameWnd(LPCTSTR pszXMLPath, int uid) { m_strXMLPath = pszXMLPath; CListLabelElementUI *plb = new CListLabelElementUI(); } LPCTSTR CFrameWnd::GetWindowClassName() const { return _T("MainWnd"); } CDuiString CFrameWnd::GetSkinFile() { return m_strXMLPath; } void CFrameWnd::InitWindow() { gProcess::EnableAllPrivilege(TRUE); gProcess::EnableDebugPrivilege(); m_plistuser = static_cast<CListUI*>(m_PaintManager.FindControl(_T("socketlist"))); refreshPro(); } void CFrameWnd::Notify(TNotifyUI &msg) { if(msg.sType == _T("menu")) { } if(msg.sType == _T("click")) { CDuiString name = msg.pSender->GetName(); if(_stricmp(name.GetData(), "refresh") == 0) { this->refreshPro(); } else if(_stricmp(name.GetData(), "kill") == 0) { this->KillPro(); } else if(_stricmp(name.GetData(), "inject") == 0) { this->Inject(0); } else if(_stricmp(name.GetData(), "startinject") == 0) { this->Inject(1); } else if(_stricmp(name.GetData(), "getmodullist") == 0) { this->EnumModule(); } } __super::Notify(msg); } LRESULT CFrameWnd::HandleCustomMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) { if(uMsg == WM_USER + 1) { OnUser(uMsg, wParam, lParam, bHandled); bHandled = false; return 0; } else if(uMsg == WM_USER + 2) { bHandled = false; return 0; } _RET: bHandled = false; return 0; } LRESULT CFrameWnd::OnUser(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) { if(wParam == 2) { } _ret: //gstring::tip("%s",wParam); return 1; } std::string CFrameWnd::GetDataDir(string name) { char pdir[216] = { 0 }; GetModuleFileNameA(NULL, pdir, 216); PCHAR pfind = strrchr((char *)pdir, '\\'); if(pfind) { memset(pfind + 1, 0, 40); strcat(pdir, name.c_str()); } return string(pdir); } int CFrameWnd::IsNum(char s[]) { int i = 0; for(i = 0; i < strlen(s); i++) { if(s[i] < '0' || s[i] > '9') { return 0; } } return 1; } void CFrameWnd::SetSkin(string xml) { m_strXMLPath = CDuiString(xml.c_str()); } void CFrameWnd::refreshPro() { m_plistuser->RemoveAll(); HANDLE hProcessSnap = ::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if(hProcessSnap != INVALID_HANDLE_VALUE) { PROCESSENTRY32 pe32; pe32.dwSize = sizeof(pe32); BOOL bMore = ::Process32First(hProcessSnap, &pe32); while(bMore) { CListTextElementUI* pListElement = new CListTextElementUI; //m_plistuser->Add(pListElement); m_plistuser->AddAt(pListElement, 0); char vvv[20] = {0}; int n = m_plistuser->GetCount(); sprintf(vvv, "%d", n); pListElement->SetText(0, vvv); char pid[20] = {0}; sprintf(pid, "%d(%x)", pe32.th32ProcessID, pe32.th32ProcessID); char parentid[20] = {0}; sprintf(parentid, "%d(%x)", pe32.th32ParentProcessID, pe32.th32ParentProcessID); pListElement->SetText(1, pid); pListElement->SetText(2, pe32.szExeFile); pListElement->SetText(3, parentid); if(gstring::Is64BitPorcess(pe32.th32ProcessID)) { pListElement->SetText(4, "64"); } else { pListElement->SetText(4, "32"); } //printf("进程名称:%s \n", pe32.szExeFile); //printf("进程ID号: %u \n\n", pe32.th32ProcessID); //pe32.th32ParentProcessID bMore = ::Process32Next(hProcessSnap, &pe32); } ::CloseHandle(hProcessSnap); } } void CFrameWnd::KillPro() { int ncur = m_plistuser->GetCurSel(); if(ncur == -1) { gstring::tip("请选择操作的进程"); return; } CListTextElementUI* pText = (CListTextElementUI*) m_plistuser->GetItemAt(ncur); if(pText) { string strpid = pText->GetText(1); strpid = gstring::getStringContent(strpid.c_str(), "(", ")"); DWORD dwPid = strtol(strpid.c_str(), NULL, 16); HANDLE hPro = OpenProcess(PROCESS_TERMINATE, FALSE, dwPid); if(hPro != INVALID_HANDLE_VALUE) { TerminateProcess(hPro, 0); this->refreshPro(); } } } void CFrameWnd::Inject(int type) { int ncur = m_plistuser->GetCurSel(); if(ncur == -1) { gstring::tip("请选择操作的进程"); return; } CListTextElementUI* pText = (CListTextElementUI*) m_plistuser->GetItemAt(ncur); if(pText) { string strpid = pText->GetText(1); strpid = gstring::getStringContent(strpid.c_str(), "(", ")"); DWORD dwPid = strtol(strpid.c_str(), NULL, 16); string dllname = ""; COptionUI* m_pO1 = static_cast<COptionUI*>(m_PaintManager.FindControl(_T("o1"))); if(m_pO1->IsSelected()) { dllname = "dllpath32"; //32 inject } else { dllname = "dllpath64"; } CEditUI* pdllui = static_cast<CEditUI*>(m_PaintManager.FindControl(dllname.c_str())); if(pdllui) { string dllpath = pdllui->GetText(); if(_access(dllpath.c_str(), 0) == 0) { if(type == 0) { wstring wdllpath = gstring::s2w(dllpath); BOOL bLoad = gProcess::LoadDll(wdllpath.c_str(), dwPid); //gstring::tip("%d", bLoad); } else { char temp[1024] = {0}; GetTempPathA(1024, temp); if(m_pO1->IsSelected()) { strcat(temp, "detourDll32.dll"); MyWriteFile(temp, hexData, sizeof(hexData)); } else { strcat(temp, "detourDll64.dll"); MyWriteFile(temp, hexData64, sizeof(hexData64)); } CEditUI* pexepathui = static_cast<CEditUI*>(m_PaintManager.FindControl(_T("exepath"))); string exepath = pexepathui->GetText(); gstring::tip("begin inject"); STARTUPINFOA si = {0}; PROCESS_INFORMATION pi = {0}; DWORD dwFlags = CREATE_DEFAULT_ERROR_MODE | CREATE_SUSPENDED; BOOL bdetour = DetourCreateProcessWithDllExA(exepath.c_str(), (LPSTR)dllpath.c_str(), NULL, NULL, TRUE, dwFlags, NULL, NULL, &si, &pi, temp, NULL); if(bdetour) { ResumeThread(pi.hThread); } } } else { gstring::tip("请填写正确的dll路径"); } } } } BOOL CFrameWnd::MyWriteFile(const char* file, PVOID pdata, int writelen) { BOOL bret = FALSE; HANDLE hFile = ::CreateFileA(file, GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if(hFile != INVALID_HANDLE_VALUE) { int towrite = 0; BOOL bwrite = WriteFile(hFile, pdata, writelen, (LPDWORD)&towrite, NULL); bret = bwrite; CloseHandle(hFile); } return bret; } typedef struct _PEB32 // Size: 0x1D8 { UCHAR InheritedAddressSpace; UCHAR ReadImageFileExecOptions; UCHAR BeingDebugged; UCHAR SpareBool; HANDLE Mutant; ULONG ImageBaseAddress; ULONG Ldr; ULONG ProcessParameters; //进程参数块 } PEB32, *PPEB32; typedef struct _PEB64 // Size: 0x1D8 { UCHAR InheritedAddressSpace; UCHAR ReadImageFileExecOptions; UCHAR BeingDebugged; UCHAR SpareBool[5]; ULONG64 Mutant; ULONG64 ImageBaseAddress; ULONG64 Ldr; ULONG64 ProcessParameters; //进程参数块 } PEB64, *PPEB64; //typedef struct _PEB64 //{ // UCHAR InheritedAddressSpace; // UCHAR ReadImageFileExecOptions; // UCHAR BeingDebugged; // UCHAR BitField; // ULONG64 Mutant; // ULONG64 ImageBaseAddress; // ULONG64 Ldr; // ULONG64 ProcessParameters; // ULONG64 SubSystemData; // ULONG64 ProcessHeap; // ULONG64 FastPebLock; // ULONG64 AtlThunkSListPtr; // ULONG64 IFEOKey; // ULONG64 CrossProcessFlags; // ULONG64 UserSharedInfoPtr; // ULONG SystemReserved; // ULONG AtlThunkSListPtr32; // ULONG64 ApiSetMap; //} PEB64, *PPEB64; typedef struct _PEB_LDR_DATA_ { DWORD Length; UCHAR Initialized; PVOID SsHandle; LIST_ENTRY InLoadOrderModuleList; LIST_ENTRY InMemoryOrderModuleList; LIST_ENTRY InInitializationOrderModuleList; PVOID EntryInProgress; } PEB_LDR_DATA_, *PPEB_LDR_DATA_; typedef struct _LDR_DATA_TABLE_ENTRY_ { LIST_ENTRY InLoadOrderLinks; LIST_ENTRY InMemoryOrderLinks; LIST_ENTRY InInitializationOrderLinks; PVOID DllBase; PVOID EntryPoint; DWORD SizeOfImage; UNICODE_STRING FullDllName; UNICODE_STRING BaseDllName; DWORD Flags; WORD LoadCount; WORD TlsIndex; LIST_ENTRY HashLinks; PVOID SectionPointer; DWORD CheckSum; DWORD TimeDateStamp; PVOID LoadedImports; PVOID EntryPointActivationContext; PVOID PatchInformation; } LDR_DATA_TABLE_ENTRY_, *PLDR_DATA_TABLE_ENTRY_; typedef struct _UNICODE_STRING64 { USHORT Length; USHORT MaximumLength; ULONG64 Buffer; } UNICODE_STRING64, *PUNICODE_STRING64; typedef struct _LDR_DATA_TABLE_ENTRY64 { LIST_ENTRY64 InLoadOrderLinks; LIST_ENTRY64 InMemoryOrderModuleList; LIST_ENTRY64 InInitializationOrderModuleList; ULONG64 DllBase; ULONG64 EntryPoint; ULONG SizeOfImage; UNICODE_STRING64 FullDllName; UNICODE_STRING64 BaseDllName; ULONG Flags; USHORT LoadCount; USHORT TlsIndex; union { LIST_ENTRY64 HashLinks; ULONG64 SectionPointer; }; ULONG CheckSum; union { ULONG TimeDateStamp; ULONG64 LoadedImports; }; ULONG64 EntryPointActivationContext; ULONG64 PatchInformation; } LDR_DATA_TABLE_ENTRY64, *PLDR_DATA_TABLE_ENTRY64; typedef struct _PEB_LDR_DATA64 { ULONG Length; BOOLEAN Initialized; ULONG64 SsHandle; LIST_ENTRY64 InLoadOrderModuleList; LIST_ENTRY64 InMemoryOrderModuleList; LIST_ENTRY64 InInitializationOrderModuleList; ULONG64 EntryInProgress; } PEB_LDR_DATA64, *PPEB_LDR_DATA64; void CFrameWnd::EnumModule() { DWORD64 dwStartAddr = 0x00000000; ULONG num = 0; BYTE szBuffer[MAX_PATH * 2 + 4] = {0}; WCHAR szModuleName[MAX_PATH] = {0}; WCHAR szPathName[MAX_PATH] = {0}; MEMORY_BASIC_INFORMATION mbi; PUNICODE_STRING usSectionName; ZWQUERYVIRTUALMEMORY fnZwQueryVirtualMemory; BOOL modulex64 = FALSE; HANDLE hProcess = NULL; ULONG dwRetVal = 0; int ncur = m_plistuser->GetCurSel(); if(ncur == -1) { gstring::tip("请选择操作的进程"); return; } CListTextElementUI* pText = (CListTextElementUI*) m_plistuser->GetItemAt(ncur); if(pText) { string strpid = pText->GetText(1); strpid = gstring::getStringContent(strpid.c_str(), "(", ")"); DWORD dwProcessId = strtol(strpid.c_str(), NULL, 16); glog::trace("begin EnumModule dwProcessId:%d(%x)", dwProcessId, dwProcessId); string bit = pText->GetText(4); CListUI* m_plistModule = static_cast<CListUI*>(m_PaintManager.FindControl(_T("modulelist"))); m_plistModule->RemoveAll(); if(bit == "32") { HMODULE NtdllModule = GetModuleHandleW(L"ntdll.dll"); pfnNtQueryInformationProcess NtQueryInformationProcess = (pfnNtQueryInformationProcess)GetProcAddress(NtdllModule, "NtQueryInformationProcess"); PROCESS_BASIC_INFORMATION32 pbi = { 0 }; UINT32 ReturnLength = 0; HANDLE m_ProcessHandle = OpenProcess(PROCESS_ALL_ACCESS, TRUE, dwProcessId); if(m_ProcessHandle == NULL) { glog::traceErrorInfo("OpenProcess", GetLastError()); return; } PROCESS_BASIC_INFORMATION32 pbi32 = { 0 }; if(NT_SUCCESS(NtQueryInformationProcess(m_ProcessHandle, ProcessBasicInformation, &pbi32, sizeof(pbi32), NULL))) { DWORD Ldr32 = 0; LIST_ENTRY ListEntry32 = { 0 }; LDR_DATA_TABLE_ENTRY_ LDTE32 = { 0 }; wchar_t ProPath32[256]; wchar_t ProName32[256]; if(ReadProcessMemory(m_ProcessHandle, (PVOID)(pbi32.PebBaseAddress + offsetof(PEB32, Ldr)), &Ldr32, sizeof(Ldr32), NULL)) { if(ReadProcessMemory(m_ProcessHandle, (PVOID)(Ldr32 + offsetof(PEB_LDR_DATA_, InLoadOrderModuleList)), &ListEntry32, sizeof(LIST_ENTRY32), NULL)) { if(ReadProcessMemory(m_ProcessHandle, (PVOID)(ListEntry32.Flink), &LDTE32, sizeof(LDR_DATA_TABLE_ENTRY), NULL)) { while(1) { if(LDTE32.InLoadOrderLinks.Flink == ListEntry32.Flink) break; ReadProcessMemory(m_ProcessHandle, (PVOID)LDTE32.FullDllName.Buffer, ProPath32, sizeof(ProPath32), NULL); ReadProcessMemory(m_ProcessHandle, (PVOID)LDTE32.BaseDllName.Buffer, ProName32, sizeof(ProName32), NULL); PVOID base = LDTE32.DllBase; ULONG msize = LDTE32.SizeOfImage; string mname = gstring::w2s(ProName32); string mfullname = gstring::w2s(ProPath32); char pbase[30] = {0}; char psize[30] = {0}; sprintf(pbase, "%x", base); sprintf(psize, "%x", msize); CListTextElementUI* pListElement = new CListTextElementUI; m_plistModule->Add(pListElement); pListElement->SetText(0, mname.c_str()); pListElement->SetText(1, pbase); pListElement->SetText(2, psize); pListElement->SetText(3, mfullname.c_str()); if(!ReadProcessMemory(m_ProcessHandle, (PVOID)LDTE32.InLoadOrderLinks.Flink, &LDTE32, sizeof(LDR_DATA_TABLE_ENTRY_), NULL)) break; } } } } } CloseHandle(m_ProcessHandle); } else { HMODULE NtdllModule = GetModuleHandleW(L"ntdll.dll"); pfnNtWow64QueryInformationProcess64 NtWow64QueryInformationProcess64 = (pfnNtWow64QueryInformationProcess64)GetProcAddress(NtdllModule, "NtWow64QueryInformationProcess64"); pfnNtWow64ReadVirtualMemory64 NtWow64ReadVirtualMemory64 = (pfnNtWow64ReadVirtualMemory64)GetProcAddress(NtdllModule, "NtWow64ReadVirtualMemory64"); PROCESS_BASIC_INFORMATION64 pbi64 = { 0 }; HANDLE m_ProcessHandle = OpenProcess(PROCESS_ALL_ACCESS, TRUE, dwProcessId); if(m_ProcessHandle == NULL) { glog::traceErrorInfo("OpenProcess", GetLastError()); return; } if(NT_SUCCESS(NtWow64QueryInformationProcess64(m_ProcessHandle, ProcessBasicInformation, &pbi64, sizeof(pbi64), NULL))) { DWORD64 Ldr64 = 0; LIST_ENTRY64 ListEntry64 = { 0 }; LDR_DATA_TABLE_ENTRY64 LDTE64 = { 0 }; wchar_t ProPath64[256] = {0}; wchar_t ProName64[256] = {0}; if(NT_SUCCESS(NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)(pbi64.PebBaseAddress + offsetof(PEB64, Ldr)), &Ldr64, sizeof(Ldr64), NULL))) { if(NT_SUCCESS(NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)(Ldr64 + offsetof(PEB_LDR_DATA64, InLoadOrderModuleList)), &ListEntry64, sizeof(LIST_ENTRY64), NULL))) { if(NT_SUCCESS(NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)(ListEntry64.Flink), &LDTE64, sizeof(_LDR_DATA_TABLE_ENTRY64), NULL))) { while(1) { if(LDTE64.InLoadOrderLinks.Flink == ListEntry64.Flink) break; NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)LDTE64.FullDllName.Buffer, ProPath64, sizeof(ProPath64), NULL); NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)LDTE64.BaseDllName.Buffer, ProName64, sizeof(ProPath64), NULL); ULONG64 base = LDTE64.DllBase; ULONG msize = LDTE64.SizeOfImage; string mname = gstring::w2s(ProName64); string mfullname = gstring::w2s(ProPath64); char pbase[30] = {0}; char psize[30] = {0}; sprintf(pbase, "%llx", base); sprintf(psize, "%x", msize); CListTextElementUI* pListElement = new CListTextElementUI; m_plistModule->Add(pListElement); pListElement->SetText(0, mname.c_str()); pListElement->SetText(1, pbase); pListElement->SetText(2, psize); pListElement->SetText(3, mfullname.c_str()); if(!NT_SUCCESS(NtWow64ReadVirtualMemory64(m_ProcessHandle, (PVOID64)LDTE64.InLoadOrderLinks.Flink, &LDTE64, sizeof(_LDR_DATA_TABLE_ENTRY64), NULL))) break; } } } } } CloseHandle(m_ProcessHandle); //HMODULE NtdllModule = GetModuleHandleW(L"ntdll.dll"); //pfnNtWow64QueryInformationProcess64 NtWow64QueryInformationProcess64 = (pfnNtWow64QueryInformationProcess64)GetProcAddress(NtdllModule, "NtWow64QueryInformationProcess64"); //pfnNtWow64ReadVirtualMemory64 NtWow64ReadVirtualMemory64 = (pfnNtWow64ReadVirtualMemory64)GetProcAddress(NtdllModule, "NtWow64ReadVirtualMemory64"); //PROCESS_BASIC_INFORMATION64 pbi = { 0 }; //UINT64 ReturnLength = 0; //hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, dwProcessId); //if(hProcess == NULL) // { // glog::traceErrorInfo("OpenProcess", GetLastError()); // return; // } //NTSTATUS Status = NtWow64QueryInformationProcess64(hProcess, ProcessBasicInformation, &pbi,sizeof(PROCESS_BASIC_INFORMATION64), (UINT32*)&ReturnLength); //if(NT_SUCCESS(Status)) // { // PEB64 peb64 = {0}; // Status = NtWow64ReadVirtualMemory64(hProcess, (PVOID)pbi.PebBaseAddress, (PEB64*)&peb64, sizeof(PEB64), NULL); // if(NT_SUCCESS(Status)) // { // PEB_LDR_DATA_ ldr = {0}; // Status = NtWow64ReadVirtualMemory64(hProcess, (PVOID)peb64.DllList, (PEB_LDR_DATA_*)&ldr, sizeof(PEB_LDR_DATA_), NULL); // if(NT_SUCCESS(Status)) // { // LDR_DATA_TABLE_ENTRY_ entry = {0}; // Status = NtWow64ReadVirtualMemory64(hProcess, (PVOID)ldr.InLoadOrderModuleList.Flink, (LDR_DATA_TABLE_ENTRY_*)&entry, sizeof(LDR_DATA_TABLE_ENTRY_), NULL); // if(NT_SUCCESS(Status)) // { // LDR_DATA_TABLE_ENTRY_ EndEntry = {0}; // Status = NtWow64ReadVirtualMemory64(hProcess, (PVOID)entry.InLoadOrderLinks.Flink, (LDR_DATA_TABLE_ENTRY_*)&EndEntry, sizeof(LDR_DATA_TABLE_ENTRY_), NULL); // glog::trace("base:%p size:%x\n", entry.DllBase, entry.SizeOfImage); // CListUI* m_plistModule = static_cast<CListUI*>(m_PaintManager.FindControl(_T("modulelist"))); // int ncount = 0; // if(m_plistModule) // { // m_plistModule->RemoveAll(); // while(NT_SUCCESS(Status) && entry.InLoadOrderLinks.Flink != EndEntry.InLoadOrderLinks.Flink) // { // if(ncount == 0) // { // WCHAR baseName[216] = {0}; // WCHAR FullPath[216] = {0}; // PVOID base = entry.DllBase; // ULONG msize = entry.SizeOfImage; // ReadProcessMemory(hProcess, (PVOID)entry.BaseDllName.Buffer, baseName, entry.BaseDllName.Length, NULL); // ReadProcessMemory(hProcess, (PVOID)entry.FullDllName.Buffer, FullPath, entry.FullDllName.Length, NULL); // string mname = gstring::w2s(baseName); // string mfullname = gstring::w2s(FullPath); // char pbase[20] = {0}; // char psize[20] = {0}; // sprintf(pbase, "%p", base); // sprintf(psize, "%x", msize); // CListTextElementUI* pListElement = new CListTextElementUI; // m_plistModule->Add(pListElement); // pListElement->SetText(0, mname.c_str()); // pListElement->SetText(1, pbase); // pListElement->SetText(2, psize); // pListElement->SetText(3, mfullname.c_str()); // } // else // { // WCHAR baseName[216] = {0}; // WCHAR FullPath[216] = {0}; // PVOID base = EndEntry.DllBase; // ULONG msize = EndEntry.SizeOfImage; // ReadProcessMemory(hProcess, (PVOID)EndEntry.BaseDllName.Buffer, baseName, EndEntry.BaseDllName.Length, NULL); // ReadProcessMemory(hProcess, (PVOID)EndEntry.FullDllName.Buffer, FullPath, EndEntry.FullDllName.Length, NULL); // string mname = gstring::w2s(baseName); // string mfullname = gstring::w2s(FullPath); // char pbase[20] = {0}; // char psize[20] = {0}; // sprintf(pbase, "%p", base); // sprintf(psize, "%x", msize); // CListTextElementUI* pListElement = new CListTextElementUI; // m_plistModule->Add(pListElement); // pListElement->SetText(0, mname.c_str()); // pListElement->SetText(1, pbase); // pListElement->SetText(2, psize); // pListElement->SetText(3, mfullname.c_str()); // glog::trace("base:%p size:%x\n", EndEntry.DllBase, EndEntry.SizeOfImage); // } // ncount += 1; // Status = NtWow64ReadVirtualMemory64(hProcess, (PVOID)EndEntry.InLoadOrderLinks.Flink, (LDR_DATA_TABLE_ENTRY_*)&EndEntry, sizeof(LDR_DATA_TABLE_ENTRY_), NULL); // } // } // } // } // } // } //CloseHandle(hProcess); } //hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, dwProcessId); //if(hProcess == NULL) // { // glog::traceErrorInfo("OpenProcess", GetLastError()); // return; // } //dwStartAddr = 0x0000000000000000; //fnZwQueryVirtualMemory = (ZWQUERYVIRTUALMEMORY)GetProcAddress(GetModuleHandleA("ntdll.dll"), "ZwQueryVirtualMemory"); //if(fnZwQueryVirtualMemory) // { // do // { // if(fnZwQueryVirtualMemory(hProcess, (PVOID64)dwStartAddr, MemoryBasicInformation, &mbi, sizeof(mbi), 0) >= 0) // { // if(mbi.Type == MEM_IMAGE) // { // if(fnZwQueryVirtualMemory(hProcess, (PVOID64)dwStartAddr, MemorySectionName, szBuffer, sizeof(szBuffer), 0) >= 0) // { // usSectionName = (PUNICODE_STRING)szBuffer; // glog::trace("usSectionName:%wZ", usSectionName); // //if(_wcsnicmp(szModuleName, usSectionName->Buffer, usSectionName->Length / sizeof(WCHAR))) // // { // // wcsncpy(szModuleName, usSectionName->Buffer, usSectionName->Length / sizeof(WCHAR)); // // szModuleName[usSectionName->Length / sizeof(WCHAR)] = UNICODE_NULL; // // // DeviceName2PathName(szPathName, szModuleName); // // wprintf(L"[0x%.8llx]\t%s\n", dwStartAddr, szPathName); // // // // } // num++; // } // } // } // // 递增基址,开始下一轮查询! // dwStartAddr += (ULONGLONG)0x4000; // if(!modulex64) // { // if(dwStartAddr > 0x0000000200000000) // { // modulex64 = TRUE; // dwStartAddr = 0x000007fe00000000; // } // } // } // while(dwStartAddr < 0x000007ff00000000); // } //CloseHandle(hProcess); } }
/******************************************************************************** ** Form generated from reading UI file 'setting.ui' ** ** Created by: Qt User Interface Compiler version 5.11.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_SETTING_H #define UI_SETTING_H #include <QtCore/QVariant> #include <QtGui/QIcon> #include <QtWidgets/QApplication> #include <QtWidgets/QDialog> #include <QtWidgets/QFrame> #include <QtWidgets/QLabel> #include <QtWidgets/QLineEdit> #include <QtWidgets/QProgressBar> #include <QtWidgets/QPushButton> #include <QtWidgets/QScrollArea> #include <QtWidgets/QStackedWidget> #include <QtWidgets/QToolButton> #include <QtWidgets/QWidget> QT_BEGIN_NAMESPACE class Ui_Setting { public: QWidget *widget_leftbutton; QPushButton *pushButton_APparameter; QPushButton *pushButton_singlecommand; QPushButton *pushButton_calibration; QFrame *line; QWidget *widget_para; QStackedWidget *stackedWidget; QWidget *page; QScrollArea *scrollArea; QWidget *scrollAreaWidgetContents; QLineEdit *lineEdit_2; QLabel *label_90; QLabel *label_100; QLabel *label_38; QLabel *label_96; QLabel *label_42; QLabel *label_45; QLabel *label_75; QLineEdit *lineEdit_3; QLabel *label_94; QLabel *label_95; QLabel *label_98; QLabel *label_83; QLineEdit *lineEdit_4; QLabel *label_97; QLabel *label_79; QLabel *label_77; QLabel *label_39; QLabel *label_85; QLineEdit *lineEdit_7; QLineEdit *lineEdit_6; QLabel *label_92; QLabel *label_91; QLabel *label_35; QLineEdit *lineEdit_5; QLabel *label_86; QLabel *label_89; QLabel *label_47; QLabel *label_81; QLabel *label_44; QLineEdit *lineEdit_1; QLabel *label_36; QLabel *label_41; QLabel *label_37; QLabel *label_101; QLineEdit *lineEdit_8; QLabel *label_93; QLabel *label_40; QLabel *label_102; QLineEdit *lineEdit_9; QLabel *label_103; QLabel *label_43; QLabel *label_104; QLineEdit *lineEdit_10; QLabel *label_105; QLabel *label_46; QLabel *label_106; QLineEdit *lineEdit_11; QLabel *label_107; QLabel *label_48; QLabel *label_108; QLineEdit *lineEdit_12; QLabel *label_109; QLabel *label_112; QLabel *label_113; QLineEdit *lineEdit_13; QLabel *label_50; QLabel *label_114; QLineEdit *lineEdit_14; QLabel *label_51; QLabel *label_115; QLabel *label_116; QLabel *label_52; QLabel *label_117; QLabel *label_118; QLabel *label_53; QLabel *label_119; QLabel *label_120; QLabel *label_54; QLabel *label_121; QLabel *label_122; QLabel *label_55; QLabel *label_123; QLabel *label_124; QLabel *label_56; QLabel *label_125; QLabel *label_126; QLabel *label_57; QLabel *label_127; QLabel *label_128; QLabel *label_58; QLabel *label_129; QLabel *label_133; QLabel *label_60; QLabel *label_132; QLabel *label_134; QLabel *label_61; QLabel *label_135; QLabel *label_136; QLabel *label_62; QLabel *label_137; QLabel *label_138; QLabel *label_63; QLabel *label_139; QLabel *label_142; QLabel *label_65; QLabel *label_143; QLabel *label_144; QLabel *label_66; QLabel *label_145; QLabel *label_146; QLabel *label_67; QLabel *label_147; QLineEdit *lineEdit_black2; QLabel *label_68; QLabel *label_99; QLabel *label_148; QLineEdit *lineEdit_black3; QLabel *label_69; QLabel *label_110; QLabel *label_149; QLabel *label_111; QLabel *label_150; QLabel *label_70; QLineEdit *lineEdit_black4; QLabel *label_151; QLabel *label_71; QLineEdit *lineEdit_black5; QLabel *label_130; QLabel *label_131; QLineEdit *lineEdit_15; QLineEdit *lineEdit_16; QLineEdit *lineEdit_17; QLineEdit *lineEdit_18; QLineEdit *lineEdit_19; QLineEdit *lineEdit_20; QLineEdit *lineEdit_23; QLineEdit *lineEdit_21; QLineEdit *lineEdit_22; QLineEdit *lineEdit_24; QLineEdit *lineEdit_25; QLineEdit *lineEdit_26; QLineEdit *lineEdit_27; QLineEdit *lineEdit_28; QLineEdit *lineEdit_black1; QLineEdit *lineEdit_value; QLabel *label_152; QLabel *label_153; QLineEdit *lineEdit_29; QLabel *label_72; QLabel *label_154; QLineEdit *lineEdit_30; QLabel *label_73; QLabel *label_155; QLabel *label_156; QLineEdit *lineEdit_31; QLabel *label_157; QLabel *label_74; QLabel *label_158; QLabel *label_159; QLabel *label_76; QLineEdit *lineEdit_32; QLabel *label_160; QLabel *label_161; QLabel *label_78; QLineEdit *lineEdit_33; QLineEdit *lineEdit_34; QLabel *label_162; QLabel *label_163; QLabel *label_80; QLineEdit *lineEdit_35; QLabel *label_164; QLabel *label_165; QLabel *label_82; QLineEdit *lineEdit_36; QLabel *label_166; QLabel *label_167; QLabel *label_84; QLineEdit *lineEdit_37; QLabel *label_168; QLabel *label_169; QLabel *label_87; QLineEdit *lineEdit_38; QLabel *label_170; QLabel *label_171; QLabel *label_88; QLabel *label_140; QLineEdit *lineEdit_39; QLabel *label_172; QLabel *label_173; QLineEdit *lineEdit_40; QLabel *label_174; QLabel *label_175; QLabel *label_141; QLineEdit *lineEdit_41; QLabel *label_176; QLabel *label_177; QLabel *label_178; QLineEdit *lineEdit_42; QLabel *label_179; QLabel *label_180; QLabel *label_181; QLineEdit *lineEdit_43; QLabel *label_182; QLabel *label_183; QLabel *label_184; QLineEdit *lineEdit_44; QLabel *label_185; QLabel *label_186; QLabel *label_187; QLabel *label_188; QLabel *label_189; QLineEdit *lineEdit_45; QLabel *label_190; QLabel *label_191; QLabel *label_192; QLineEdit *lineEdit_46; QLabel *label_193; QLabel *label_194; QLabel *label_195; QLineEdit *lineEdit_47; QLabel *label_196; QLabel *label_197; QLabel *label_198; QLineEdit *lineEdit_48; QLabel *label_199; QLabel *label_200; QLabel *label_201; QLineEdit *lineEdit_49; QLabel *label_202; QLabel *label_203; QLabel *label_204; QLineEdit *lineEdit_50; QLabel *label_205; QLabel *label_206; QLabel *label_207; QLineEdit *lineEdit_51; QLabel *label_208; QLabel *label_209; QLabel *label_210; QLineEdit *lineEdit_52; QLabel *label_211; QLabel *label_212; QLabel *label_213; QLineEdit *lineEdit_53; QLabel *label_214; QLabel *label_215; QLabel *label_216; QLineEdit *lineEdit_54; QLabel *label_217; QLabel *label_218; QLabel *label_219; QLineEdit *lineEdit_55; QLabel *label_220; QLabel *label_221; QLabel *label_222; QLineEdit *lineEdit_56; QLabel *label_223; QLabel *label_224; QLabel *label_225; QLineEdit *lineEdit_57; QLabel *label_226; QLabel *label_227; QLabel *label_228; QLineEdit *lineEdit_58; QLabel *label_229; QLabel *label_230; QLabel *label_231; QLineEdit *lineEdit_59; QLabel *label_232; QLabel *label_233; QLabel *label_234; QLineEdit *lineEdit_60; QLabel *label_235; QLabel *label_236; QLabel *label_237; QLabel *label_238; QLineEdit *lineEdit_61; QLineEdit *lineEdit_62; QLabel *label_239; QLabel *label_240; QLabel *label_241; QLineEdit *lineEdit_63; QLabel *label_242; QLabel *label_243; QLabel *label_244; QLineEdit *lineEdit_64; QLabel *label_245; QLabel *label_246; QLabel *label_247; QLabel *label_248; QLabel *label_249; QLineEdit *lineEdit_65; QLabel *label_250; QLabel *label_251; QLabel *label_252; QLineEdit *lineEdit_66; QLabel *label_253; QLabel *label_254; QLabel *label_255; QLineEdit *lineEdit_67; QLabel *label_256; QLabel *label_257; QLabel *label_258; QLineEdit *lineEdit_68; QLabel *label_259; QLabel *label_260; QLabel *label_261; QLineEdit *lineEdit_69; QLabel *label_262; QLabel *label_485; QLabel *label_486; QLabel *label_487; QLineEdit *lineEdit_black5_3; QLabel *label_488; QLabel *label_489; QLabel *label_490; QLineEdit *lineEdit_black5_4; QLabel *label_491; QLabel *label_492; QLabel *label_493; QLineEdit *lineEdit_black5_5; QPushButton *pushButton_send; QWidget *page_2; QToolButton *toolButton_1; QToolButton *toolButton_2; QToolButton *toolButton_3; QToolButton *toolButton_4; QToolButton *toolButton_5; QToolButton *toolButton_6; QToolButton *toolButton_7; QToolButton *toolButton_8; QToolButton *toolButton_15; QToolButton *toolButton_11; QToolButton *toolButton_10; QToolButton *toolButton_12; QToolButton *toolButton_9; QToolButton *toolButton_13; QToolButton *toolButton_16; QToolButton *toolButton_14; QToolButton *toolButton_23; QToolButton *toolButton_21; QToolButton *toolButton_24; QToolButton *toolButton_18; QToolButton *toolButton_19; QToolButton *toolButton_22; QToolButton *toolButton_17; QToolButton *toolButton_20; QToolButton *toolButton_39; QToolButton *toolButton_40; QToolButton *toolButton_41; QToolButton *toolButton_26; QToolButton *toolButton_57; QToolButton *toolButton_58; QToolButton *toolButton_25; QToolButton *toolButton_60; QToolButton *toolButton_28; QToolButton *toolButton_224; QToolButton *toolButton_223; QToolButton *toolButton_225; QToolButton *toolButton_226; QToolButton *toolButton_27; QToolButton *toolButton_220; QToolButton *toolButton_221; QToolButton *toolButton_29; QToolButton *toolButton_30; QToolButton *toolButton_43; QToolButton *toolButton_44; QToolButton *toolButton_45; QToolButton *toolButton_46; QToolButton *toolButton_47; QToolButton *toolButton_48; QToolButton *toolButton_49; QToolButton *toolButton_50; QToolButton *toolButton_51; QToolButton *toolButton_52; QToolButton *toolButton_53; QToolButton *toolButton_54; QToolButton *toolButton_55; QToolButton *toolButton_56; QProgressBar *progressBar_left2; QWidget *widget_leftbutton_2; QPushButton *pushButton_input; QToolButton *toolButton_exit_2; QToolButton *toolButton_exit_3; QToolButton *toolButton_save; QLabel *label_2; QLabel *label_3; QLabel *label_4; QLineEdit *lineEdit_configname; QToolButton *toolButton_load; QLabel *label_8; QWidget *widget; QToolButton *toolButton_exit; QLabel *label; void setupUi(QDialog *Setting) { if (Setting->objectName().isEmpty()) Setting->setObjectName(QStringLiteral("Setting")); Setting->resize(431, 551); Setting->setStyleSheet(QStringLiteral("background-color: rgb(255, 255, 255);")); widget_leftbutton = new QWidget(Setting); widget_leftbutton->setObjectName(QStringLiteral("widget_leftbutton")); widget_leftbutton->setGeometry(QRect(-10, 20, 441, 50)); widget_leftbutton->setStyleSheet(QLatin1String("background-color: rgb(240, 240, 240);\n" "border:1px solid;\n" "border-bottom-color: rgb(0, 0, 0);\n" "border-right-color: transparent;")); pushButton_APparameter = new QPushButton(widget_leftbutton); pushButton_APparameter->setObjectName(QStringLiteral("pushButton_APparameter")); pushButton_APparameter->setGeometry(QRect(10, 2, 210, 23)); pushButton_APparameter->setStyleSheet(QLatin1String("QPushButton{background-color: rgb(200, 200, 220);\n" "border-bottom-color: rgb(0, 0, 0);\n" "border-right-color: rgb(186, 189, 182);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(186, 189, 182);\n" "}\n" "\n" "QPushButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QPushButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); pushButton_singlecommand = new QPushButton(widget_leftbutton); pushButton_singlecommand->setObjectName(QStringLiteral("pushButton_singlecommand")); pushButton_singlecommand->setGeometry(QRect(221, 2, 221, 23)); pushButton_singlecommand->setStyleSheet(QLatin1String("QPushButton{background-color: rgb(200, 200, 220);\n" "border-bottom-color: rgb(0, 0, 0);\n" "border-right-color: rgb(186, 189, 182);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(186, 189, 182);\n" "}\n" "\n" "QPushButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QPushButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); pushButton_calibration = new QPushButton(widget_leftbutton); pushButton_calibration->setObjectName(QStringLiteral("pushButton_calibration")); pushButton_calibration->setGeometry(QRect(10, 26, 431, 23)); pushButton_calibration->setStyleSheet(QLatin1String("QPushButton{background-color: rgb(200, 200, 220);\n" "border-bottom-color: rgb(0, 0, 0);\n" "border-right-color: rgb(186, 189, 182);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(186, 189, 182);\n" "}\n" "\n" "QPushButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QPushButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); line = new QFrame(Setting); line->setObjectName(QStringLiteral("line")); line->setGeometry(QRect(30, 180, 511, 0)); line->setStyleSheet(QLatin1String("border :1px solid;\n" "background-color: rgb(0, 0, 0);")); line->setFrameShape(QFrame::HLine); line->setFrameShadow(QFrame::Sunken); widget_para = new QWidget(Setting); widget_para->setObjectName(QStringLiteral("widget_para")); widget_para->setGeometry(QRect(0, 70, 431, 381)); stackedWidget = new QStackedWidget(widget_para); stackedWidget->setObjectName(QStringLiteral("stackedWidget")); stackedWidget->setGeometry(QRect(-20, -20, 471, 421)); stackedWidget->setStyleSheet(QStringLiteral("")); stackedWidget->setFrameShape(QFrame::VLine); stackedWidget->setFrameShadow(QFrame::Sunken); stackedWidget->setLineWidth(10); page = new QWidget(); page->setObjectName(QStringLiteral("page")); scrollArea = new QScrollArea(page); scrollArea->setObjectName(QStringLiteral("scrollArea")); scrollArea->setGeometry(QRect(0, 0, 431, 401)); scrollArea->setFrameShadow(QFrame::Sunken); scrollArea->setLineWidth(1); scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); scrollArea->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents); scrollArea->setWidgetResizable(false); scrollAreaWidgetContents = new QWidget(); scrollAreaWidgetContents->setObjectName(QStringLiteral("scrollAreaWidgetContents")); scrollAreaWidgetContents->setGeometry(QRect(0, -459, 415, 1580)); lineEdit_2 = new QLineEdit(scrollAreaWidgetContents); lineEdit_2->setObjectName(QStringLiteral("lineEdit_2")); lineEdit_2->setGeometry(QRect(310, 60, 60, 21)); lineEdit_2->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_90 = new QLabel(scrollAreaWidgetContents); label_90->setObjectName(QStringLiteral("label_90")); label_90->setGeometry(QRect(20, 20, 291, 20)); label_90->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_90->setLineWidth(1); label_90->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_90->setMargin(0); label_90->setIndent(-1); label_90->setTextInteractionFlags(Qt::NoTextInteraction); label_100 = new QLabel(scrollAreaWidgetContents); label_100->setObjectName(QStringLiteral("label_100")); label_100->setGeometry(QRect(370, 180, 41, 21)); label_100->setLayoutDirection(Qt::LeftToRight); label_100->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_100->setFrameShape(QFrame::NoFrame); label_100->setFrameShadow(QFrame::Sunken); label_100->setLineWidth(1); label_100->setTextFormat(Qt::AutoText); label_100->setScaledContents(false); label_100->setAlignment(Qt::AlignCenter); label_38 = new QLabel(scrollAreaWidgetContents); label_38->setObjectName(QStringLiteral("label_38")); label_38->setGeometry(QRect(0, 120, 20, 20)); label_38->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_38->setAlignment(Qt::AlignCenter); label_96 = new QLabel(scrollAreaWidgetContents); label_96->setObjectName(QStringLiteral("label_96")); label_96->setGeometry(QRect(370, 100, 41, 21)); label_96->setLayoutDirection(Qt::LeftToRight); label_96->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_96->setFrameShape(QFrame::NoFrame); label_96->setFrameShadow(QFrame::Sunken); label_96->setLineWidth(1); label_96->setTextFormat(Qt::AutoText); label_96->setScaledContents(false); label_96->setAlignment(Qt::AlignCenter); label_42 = new QLabel(scrollAreaWidgetContents); label_42->setObjectName(QStringLiteral("label_42")); label_42->setGeometry(QRect(0, 60, 20, 20)); label_42->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_42->setAlignment(Qt::AlignCenter); label_45 = new QLabel(scrollAreaWidgetContents); label_45->setObjectName(QStringLiteral("label_45")); label_45->setGeometry(QRect(0, 20, 20, 20)); label_45->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_75 = new QLabel(scrollAreaWidgetContents); label_75->setObjectName(QStringLiteral("label_75")); label_75->setGeometry(QRect(20, 140, 291, 20)); label_75->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_3 = new QLineEdit(scrollAreaWidgetContents); lineEdit_3->setObjectName(QStringLiteral("lineEdit_3")); lineEdit_3->setGeometry(QRect(310, 80, 60, 21)); lineEdit_3->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_94 = new QLabel(scrollAreaWidgetContents); label_94->setObjectName(QStringLiteral("label_94")); label_94->setGeometry(QRect(370, 60, 41, 21)); label_94->setLayoutDirection(Qt::LeftToRight); label_94->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_94->setFrameShape(QFrame::NoFrame); label_94->setFrameShadow(QFrame::Sunken); label_94->setLineWidth(1); label_94->setTextFormat(Qt::AutoText); label_94->setScaledContents(false); label_94->setAlignment(Qt::AlignCenter); label_95 = new QLabel(scrollAreaWidgetContents); label_95->setObjectName(QStringLiteral("label_95")); label_95->setGeometry(QRect(370, 80, 41, 21)); label_95->setLayoutDirection(Qt::LeftToRight); label_95->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_95->setFrameShape(QFrame::NoFrame); label_95->setFrameShadow(QFrame::Sunken); label_95->setLineWidth(1); label_95->setTextFormat(Qt::AutoText); label_95->setScaledContents(false); label_95->setAlignment(Qt::AlignCenter); label_98 = new QLabel(scrollAreaWidgetContents); label_98->setObjectName(QStringLiteral("label_98")); label_98->setGeometry(QRect(370, 140, 41, 21)); label_98->setLayoutDirection(Qt::LeftToRight); label_98->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_98->setFrameShape(QFrame::NoFrame); label_98->setFrameShadow(QFrame::Sunken); label_98->setLineWidth(1); label_98->setTextFormat(Qt::AutoText); label_98->setScaledContents(false); label_98->setAlignment(Qt::AlignCenter); label_83 = new QLabel(scrollAreaWidgetContents); label_83->setObjectName(QStringLiteral("label_83")); label_83->setGeometry(QRect(20, 60, 291, 20)); label_83->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_4 = new QLineEdit(scrollAreaWidgetContents); lineEdit_4->setObjectName(QStringLiteral("lineEdit_4")); lineEdit_4->setGeometry(QRect(310, 100, 60, 21)); lineEdit_4->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_97 = new QLabel(scrollAreaWidgetContents); label_97->setObjectName(QStringLiteral("label_97")); label_97->setGeometry(QRect(370, 120, 41, 21)); label_97->setLayoutDirection(Qt::LeftToRight); label_97->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_97->setFrameShape(QFrame::NoFrame); label_97->setFrameShadow(QFrame::Sunken); label_97->setLineWidth(1); label_97->setTextFormat(Qt::AutoText); label_97->setScaledContents(false); label_97->setAlignment(Qt::AlignCenter); label_79 = new QLabel(scrollAreaWidgetContents); label_79->setObjectName(QStringLiteral("label_79")); label_79->setGeometry(QRect(20, 100, 291, 20)); label_79->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_77 = new QLabel(scrollAreaWidgetContents); label_77->setObjectName(QStringLiteral("label_77")); label_77->setGeometry(QRect(20, 120, 291, 20)); label_77->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_39 = new QLabel(scrollAreaWidgetContents); label_39->setObjectName(QStringLiteral("label_39")); label_39->setGeometry(QRect(0, 100, 20, 20)); label_39->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_39->setAlignment(Qt::AlignCenter); label_85 = new QLabel(scrollAreaWidgetContents); label_85->setObjectName(QStringLiteral("label_85")); label_85->setGeometry(QRect(20, 40, 291, 20)); label_85->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_7 = new QLineEdit(scrollAreaWidgetContents); lineEdit_7->setObjectName(QStringLiteral("lineEdit_7")); lineEdit_7->setGeometry(QRect(310, 180, 60, 21)); lineEdit_7->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_6 = new QLineEdit(scrollAreaWidgetContents); lineEdit_6->setObjectName(QStringLiteral("lineEdit_6")); lineEdit_6->setGeometry(QRect(310, 140, 60, 21)); lineEdit_6->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_92 = new QLabel(scrollAreaWidgetContents); label_92->setObjectName(QStringLiteral("label_92")); label_92->setGeometry(QRect(370, 20, 41, 21)); label_92->setLayoutDirection(Qt::LeftToRight); label_92->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_92->setFrameShape(QFrame::NoFrame); label_92->setFrameShadow(QFrame::Sunken); label_92->setLineWidth(1); label_92->setTextFormat(Qt::AutoText); label_92->setScaledContents(false); label_92->setAlignment(Qt::AlignCenter); label_91 = new QLabel(scrollAreaWidgetContents); label_91->setObjectName(QStringLiteral("label_91")); label_91->setGeometry(QRect(20, 0, 291, 20)); label_91->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_35 = new QLabel(scrollAreaWidgetContents); label_35->setObjectName(QStringLiteral("label_35")); label_35->setGeometry(QRect(0, 180, 20, 20)); label_35->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_35->setAlignment(Qt::AlignCenter); lineEdit_5 = new QLineEdit(scrollAreaWidgetContents); lineEdit_5->setObjectName(QStringLiteral("lineEdit_5")); lineEdit_5->setGeometry(QRect(310, 120, 60, 21)); lineEdit_5->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_86 = new QLabel(scrollAreaWidgetContents); label_86->setObjectName(QStringLiteral("label_86")); label_86->setGeometry(QRect(370, 0, 41, 21)); label_86->setLayoutDirection(Qt::LeftToRight); label_86->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_86->setFrameShape(QFrame::NoFrame); label_86->setFrameShadow(QFrame::Sunken); label_86->setLineWidth(1); label_86->setTextFormat(Qt::AutoText); label_86->setScaledContents(false); label_86->setAlignment(Qt::AlignCenter); label_89 = new QLabel(scrollAreaWidgetContents); label_89->setObjectName(QStringLiteral("label_89")); label_89->setGeometry(QRect(20, 180, 291, 20)); label_89->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_47 = new QLabel(scrollAreaWidgetContents); label_47->setObjectName(QStringLiteral("label_47")); label_47->setGeometry(QRect(0, 0, 20, 20)); label_47->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_47->setAlignment(Qt::AlignCenter); label_81 = new QLabel(scrollAreaWidgetContents); label_81->setObjectName(QStringLiteral("label_81")); label_81->setGeometry(QRect(20, 80, 291, 20)); label_81->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_44 = new QLabel(scrollAreaWidgetContents); label_44->setObjectName(QStringLiteral("label_44")); label_44->setGeometry(QRect(0, 40, 20, 20)); label_44->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_44->setAlignment(Qt::AlignCenter); lineEdit_1 = new QLineEdit(scrollAreaWidgetContents); lineEdit_1->setObjectName(QStringLiteral("lineEdit_1")); lineEdit_1->setGeometry(QRect(310, 40, 60, 21)); lineEdit_1->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "\n" "")); label_36 = new QLabel(scrollAreaWidgetContents); label_36->setObjectName(QStringLiteral("label_36")); label_36->setGeometry(QRect(0, 140, 20, 20)); label_36->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_36->setAlignment(Qt::AlignCenter); label_41 = new QLabel(scrollAreaWidgetContents); label_41->setObjectName(QStringLiteral("label_41")); label_41->setGeometry(QRect(0, 80, 20, 20)); label_41->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_41->setAlignment(Qt::AlignCenter); label_37 = new QLabel(scrollAreaWidgetContents); label_37->setObjectName(QStringLiteral("label_37")); label_37->setGeometry(QRect(0, 200, 20, 20)); label_37->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_37->setAlignment(Qt::AlignCenter); label_101 = new QLabel(scrollAreaWidgetContents); label_101->setObjectName(QStringLiteral("label_101")); label_101->setGeometry(QRect(370, 200, 41, 21)); label_101->setLayoutDirection(Qt::LeftToRight); label_101->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_101->setFrameShape(QFrame::NoFrame); label_101->setFrameShadow(QFrame::Sunken); label_101->setLineWidth(1); label_101->setTextFormat(Qt::AutoText); label_101->setScaledContents(false); label_101->setAlignment(Qt::AlignCenter); lineEdit_8 = new QLineEdit(scrollAreaWidgetContents); lineEdit_8->setObjectName(QStringLiteral("lineEdit_8")); lineEdit_8->setGeometry(QRect(310, 200, 60, 21)); lineEdit_8->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_93 = new QLabel(scrollAreaWidgetContents); label_93->setObjectName(QStringLiteral("label_93")); label_93->setGeometry(QRect(20, 200, 291, 20)); label_93->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_40 = new QLabel(scrollAreaWidgetContents); label_40->setObjectName(QStringLiteral("label_40")); label_40->setGeometry(QRect(0, 220, 20, 20)); label_40->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_40->setAlignment(Qt::AlignCenter); label_102 = new QLabel(scrollAreaWidgetContents); label_102->setObjectName(QStringLiteral("label_102")); label_102->setGeometry(QRect(370, 220, 41, 21)); label_102->setLayoutDirection(Qt::LeftToRight); label_102->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_102->setFrameShape(QFrame::NoFrame); label_102->setFrameShadow(QFrame::Sunken); label_102->setLineWidth(1); label_102->setTextFormat(Qt::AutoText); label_102->setScaledContents(false); label_102->setAlignment(Qt::AlignCenter); lineEdit_9 = new QLineEdit(scrollAreaWidgetContents); lineEdit_9->setObjectName(QStringLiteral("lineEdit_9")); lineEdit_9->setGeometry(QRect(310, 220, 60, 21)); lineEdit_9->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_103 = new QLabel(scrollAreaWidgetContents); label_103->setObjectName(QStringLiteral("label_103")); label_103->setGeometry(QRect(20, 220, 291, 20)); label_103->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_43 = new QLabel(scrollAreaWidgetContents); label_43->setObjectName(QStringLiteral("label_43")); label_43->setGeometry(QRect(0, 240, 20, 20)); label_43->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_43->setAlignment(Qt::AlignCenter); label_104 = new QLabel(scrollAreaWidgetContents); label_104->setObjectName(QStringLiteral("label_104")); label_104->setGeometry(QRect(370, 240, 41, 21)); label_104->setLayoutDirection(Qt::LeftToRight); label_104->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_104->setFrameShape(QFrame::NoFrame); label_104->setFrameShadow(QFrame::Sunken); label_104->setLineWidth(1); label_104->setTextFormat(Qt::AutoText); label_104->setScaledContents(false); label_104->setAlignment(Qt::AlignCenter); lineEdit_10 = new QLineEdit(scrollAreaWidgetContents); lineEdit_10->setObjectName(QStringLiteral("lineEdit_10")); lineEdit_10->setGeometry(QRect(310, 240, 60, 21)); lineEdit_10->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_105 = new QLabel(scrollAreaWidgetContents); label_105->setObjectName(QStringLiteral("label_105")); label_105->setGeometry(QRect(20, 240, 291, 20)); label_105->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_46 = new QLabel(scrollAreaWidgetContents); label_46->setObjectName(QStringLiteral("label_46")); label_46->setGeometry(QRect(0, 260, 20, 20)); label_46->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_46->setAlignment(Qt::AlignCenter); label_106 = new QLabel(scrollAreaWidgetContents); label_106->setObjectName(QStringLiteral("label_106")); label_106->setGeometry(QRect(370, 260, 41, 21)); label_106->setLayoutDirection(Qt::LeftToRight); label_106->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_106->setFrameShape(QFrame::NoFrame); label_106->setFrameShadow(QFrame::Sunken); label_106->setLineWidth(1); label_106->setTextFormat(Qt::AutoText); label_106->setScaledContents(false); label_106->setAlignment(Qt::AlignCenter); lineEdit_11 = new QLineEdit(scrollAreaWidgetContents); lineEdit_11->setObjectName(QStringLiteral("lineEdit_11")); lineEdit_11->setGeometry(QRect(310, 260, 60, 21)); lineEdit_11->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_107 = new QLabel(scrollAreaWidgetContents); label_107->setObjectName(QStringLiteral("label_107")); label_107->setGeometry(QRect(20, 260, 291, 20)); label_107->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_48 = new QLabel(scrollAreaWidgetContents); label_48->setObjectName(QStringLiteral("label_48")); label_48->setGeometry(QRect(0, 280, 20, 20)); label_48->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_48->setAlignment(Qt::AlignCenter); label_108 = new QLabel(scrollAreaWidgetContents); label_108->setObjectName(QStringLiteral("label_108")); label_108->setGeometry(QRect(370, 280, 41, 21)); label_108->setLayoutDirection(Qt::LeftToRight); label_108->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_108->setFrameShape(QFrame::NoFrame); label_108->setFrameShadow(QFrame::Sunken); label_108->setLineWidth(1); label_108->setTextFormat(Qt::AutoText); label_108->setScaledContents(false); label_108->setAlignment(Qt::AlignCenter); lineEdit_12 = new QLineEdit(scrollAreaWidgetContents); lineEdit_12->setObjectName(QStringLiteral("lineEdit_12")); lineEdit_12->setGeometry(QRect(310, 280, 60, 21)); lineEdit_12->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_109 = new QLabel(scrollAreaWidgetContents); label_109->setObjectName(QStringLiteral("label_109")); label_109->setGeometry(QRect(20, 280, 291, 20)); label_109->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_112 = new QLabel(scrollAreaWidgetContents); label_112->setObjectName(QStringLiteral("label_112")); label_112->setGeometry(QRect(370, 320, 41, 21)); label_112->setLayoutDirection(Qt::LeftToRight); label_112->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_112->setFrameShape(QFrame::NoFrame); label_112->setFrameShadow(QFrame::Sunken); label_112->setLineWidth(1); label_112->setTextFormat(Qt::AutoText); label_112->setScaledContents(false); label_112->setAlignment(Qt::AlignCenter); label_113 = new QLabel(scrollAreaWidgetContents); label_113->setObjectName(QStringLiteral("label_113")); label_113->setGeometry(QRect(20, 320, 291, 20)); label_113->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_13 = new QLineEdit(scrollAreaWidgetContents); lineEdit_13->setObjectName(QStringLiteral("lineEdit_13")); lineEdit_13->setGeometry(QRect(310, 320, 60, 21)); lineEdit_13->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_50 = new QLabel(scrollAreaWidgetContents); label_50->setObjectName(QStringLiteral("label_50")); label_50->setGeometry(QRect(0, 320, 20, 20)); label_50->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_50->setAlignment(Qt::AlignCenter); label_114 = new QLabel(scrollAreaWidgetContents); label_114->setObjectName(QStringLiteral("label_114")); label_114->setGeometry(QRect(20, 340, 291, 20)); label_114->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_14 = new QLineEdit(scrollAreaWidgetContents); lineEdit_14->setObjectName(QStringLiteral("lineEdit_14")); lineEdit_14->setGeometry(QRect(310, 340, 60, 21)); lineEdit_14->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_51 = new QLabel(scrollAreaWidgetContents); label_51->setObjectName(QStringLiteral("label_51")); label_51->setGeometry(QRect(0, 340, 20, 20)); label_51->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_51->setAlignment(Qt::AlignCenter); label_115 = new QLabel(scrollAreaWidgetContents); label_115->setObjectName(QStringLiteral("label_115")); label_115->setGeometry(QRect(370, 340, 41, 21)); label_115->setLayoutDirection(Qt::LeftToRight); label_115->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_115->setFrameShape(QFrame::NoFrame); label_115->setFrameShadow(QFrame::Sunken); label_115->setLineWidth(1); label_115->setTextFormat(Qt::AutoText); label_115->setScaledContents(false); label_115->setAlignment(Qt::AlignCenter); label_116 = new QLabel(scrollAreaWidgetContents); label_116->setObjectName(QStringLiteral("label_116")); label_116->setGeometry(QRect(20, 360, 291, 20)); label_116->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_52 = new QLabel(scrollAreaWidgetContents); label_52->setObjectName(QStringLiteral("label_52")); label_52->setGeometry(QRect(0, 360, 20, 20)); label_52->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_52->setAlignment(Qt::AlignCenter); label_117 = new QLabel(scrollAreaWidgetContents); label_117->setObjectName(QStringLiteral("label_117")); label_117->setGeometry(QRect(370, 360, 41, 21)); label_117->setLayoutDirection(Qt::LeftToRight); label_117->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_117->setFrameShape(QFrame::NoFrame); label_117->setFrameShadow(QFrame::Sunken); label_117->setLineWidth(1); label_117->setTextFormat(Qt::AutoText); label_117->setScaledContents(false); label_117->setAlignment(Qt::AlignCenter); label_118 = new QLabel(scrollAreaWidgetContents); label_118->setObjectName(QStringLiteral("label_118")); label_118->setGeometry(QRect(20, 380, 291, 20)); label_118->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_53 = new QLabel(scrollAreaWidgetContents); label_53->setObjectName(QStringLiteral("label_53")); label_53->setGeometry(QRect(0, 380, 20, 20)); label_53->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_53->setAlignment(Qt::AlignCenter); label_119 = new QLabel(scrollAreaWidgetContents); label_119->setObjectName(QStringLiteral("label_119")); label_119->setGeometry(QRect(370, 380, 41, 21)); label_119->setLayoutDirection(Qt::LeftToRight); label_119->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_119->setFrameShape(QFrame::NoFrame); label_119->setFrameShadow(QFrame::Sunken); label_119->setLineWidth(1); label_119->setTextFormat(Qt::AutoText); label_119->setScaledContents(false); label_119->setAlignment(Qt::AlignCenter); label_120 = new QLabel(scrollAreaWidgetContents); label_120->setObjectName(QStringLiteral("label_120")); label_120->setGeometry(QRect(20, 400, 291, 20)); label_120->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_54 = new QLabel(scrollAreaWidgetContents); label_54->setObjectName(QStringLiteral("label_54")); label_54->setGeometry(QRect(0, 400, 20, 20)); label_54->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_54->setAlignment(Qt::AlignCenter); label_121 = new QLabel(scrollAreaWidgetContents); label_121->setObjectName(QStringLiteral("label_121")); label_121->setGeometry(QRect(370, 400, 41, 21)); label_121->setLayoutDirection(Qt::LeftToRight); label_121->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_121->setFrameShape(QFrame::NoFrame); label_121->setFrameShadow(QFrame::Sunken); label_121->setLineWidth(1); label_121->setTextFormat(Qt::AutoText); label_121->setScaledContents(false); label_121->setAlignment(Qt::AlignCenter); label_122 = new QLabel(scrollAreaWidgetContents); label_122->setObjectName(QStringLiteral("label_122")); label_122->setGeometry(QRect(20, 420, 291, 20)); label_122->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_55 = new QLabel(scrollAreaWidgetContents); label_55->setObjectName(QStringLiteral("label_55")); label_55->setGeometry(QRect(0, 420, 20, 20)); label_55->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_55->setAlignment(Qt::AlignCenter); label_123 = new QLabel(scrollAreaWidgetContents); label_123->setObjectName(QStringLiteral("label_123")); label_123->setGeometry(QRect(370, 420, 41, 21)); label_123->setLayoutDirection(Qt::LeftToRight); label_123->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_123->setFrameShape(QFrame::NoFrame); label_123->setFrameShadow(QFrame::Sunken); label_123->setLineWidth(1); label_123->setTextFormat(Qt::AutoText); label_123->setScaledContents(false); label_123->setAlignment(Qt::AlignCenter); label_124 = new QLabel(scrollAreaWidgetContents); label_124->setObjectName(QStringLiteral("label_124")); label_124->setGeometry(QRect(20, 440, 291, 20)); label_124->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_56 = new QLabel(scrollAreaWidgetContents); label_56->setObjectName(QStringLiteral("label_56")); label_56->setGeometry(QRect(0, 440, 20, 20)); label_56->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_56->setAlignment(Qt::AlignCenter); label_125 = new QLabel(scrollAreaWidgetContents); label_125->setObjectName(QStringLiteral("label_125")); label_125->setGeometry(QRect(370, 440, 41, 21)); label_125->setLayoutDirection(Qt::LeftToRight); label_125->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_125->setFrameShape(QFrame::NoFrame); label_125->setFrameShadow(QFrame::Sunken); label_125->setLineWidth(1); label_125->setTextFormat(Qt::AutoText); label_125->setScaledContents(false); label_125->setAlignment(Qt::AlignCenter); label_126 = new QLabel(scrollAreaWidgetContents); label_126->setObjectName(QStringLiteral("label_126")); label_126->setGeometry(QRect(20, 460, 291, 20)); label_126->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_57 = new QLabel(scrollAreaWidgetContents); label_57->setObjectName(QStringLiteral("label_57")); label_57->setGeometry(QRect(0, 460, 20, 20)); label_57->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_57->setAlignment(Qt::AlignCenter); label_127 = new QLabel(scrollAreaWidgetContents); label_127->setObjectName(QStringLiteral("label_127")); label_127->setGeometry(QRect(370, 460, 41, 21)); label_127->setLayoutDirection(Qt::LeftToRight); label_127->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_127->setFrameShape(QFrame::NoFrame); label_127->setFrameShadow(QFrame::Sunken); label_127->setLineWidth(1); label_127->setTextFormat(Qt::AutoText); label_127->setScaledContents(false); label_127->setAlignment(Qt::AlignCenter); label_128 = new QLabel(scrollAreaWidgetContents); label_128->setObjectName(QStringLiteral("label_128")); label_128->setGeometry(QRect(20, 480, 291, 20)); label_128->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_58 = new QLabel(scrollAreaWidgetContents); label_58->setObjectName(QStringLiteral("label_58")); label_58->setGeometry(QRect(0, 480, 20, 20)); label_58->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_58->setAlignment(Qt::AlignCenter); label_129 = new QLabel(scrollAreaWidgetContents); label_129->setObjectName(QStringLiteral("label_129")); label_129->setGeometry(QRect(370, 480, 41, 21)); label_129->setLayoutDirection(Qt::LeftToRight); label_129->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_129->setFrameShape(QFrame::NoFrame); label_129->setFrameShadow(QFrame::Sunken); label_129->setLineWidth(1); label_129->setTextFormat(Qt::AutoText); label_129->setScaledContents(false); label_129->setAlignment(Qt::AlignCenter); label_133 = new QLabel(scrollAreaWidgetContents); label_133->setObjectName(QStringLiteral("label_133")); label_133->setGeometry(QRect(370, 520, 41, 21)); label_133->setLayoutDirection(Qt::LeftToRight); label_133->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_133->setFrameShape(QFrame::NoFrame); label_133->setFrameShadow(QFrame::Sunken); label_133->setLineWidth(1); label_133->setTextFormat(Qt::AutoText); label_133->setScaledContents(false); label_133->setAlignment(Qt::AlignCenter); label_60 = new QLabel(scrollAreaWidgetContents); label_60->setObjectName(QStringLiteral("label_60")); label_60->setGeometry(QRect(0, 520, 20, 20)); label_60->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_60->setAlignment(Qt::AlignCenter); label_132 = new QLabel(scrollAreaWidgetContents); label_132->setObjectName(QStringLiteral("label_132")); label_132->setGeometry(QRect(20, 520, 291, 20)); label_132->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_134 = new QLabel(scrollAreaWidgetContents); label_134->setObjectName(QStringLiteral("label_134")); label_134->setGeometry(QRect(20, 540, 291, 20)); label_134->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_61 = new QLabel(scrollAreaWidgetContents); label_61->setObjectName(QStringLiteral("label_61")); label_61->setGeometry(QRect(0, 540, 20, 20)); label_61->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_61->setAlignment(Qt::AlignCenter); label_135 = new QLabel(scrollAreaWidgetContents); label_135->setObjectName(QStringLiteral("label_135")); label_135->setGeometry(QRect(370, 540, 41, 21)); label_135->setLayoutDirection(Qt::LeftToRight); label_135->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_135->setFrameShape(QFrame::NoFrame); label_135->setFrameShadow(QFrame::Sunken); label_135->setLineWidth(1); label_135->setTextFormat(Qt::AutoText); label_135->setScaledContents(false); label_135->setAlignment(Qt::AlignCenter); label_136 = new QLabel(scrollAreaWidgetContents); label_136->setObjectName(QStringLiteral("label_136")); label_136->setGeometry(QRect(20, 560, 291, 20)); label_136->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_62 = new QLabel(scrollAreaWidgetContents); label_62->setObjectName(QStringLiteral("label_62")); label_62->setGeometry(QRect(0, 560, 20, 20)); label_62->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_62->setAlignment(Qt::AlignCenter); label_137 = new QLabel(scrollAreaWidgetContents); label_137->setObjectName(QStringLiteral("label_137")); label_137->setGeometry(QRect(370, 560, 41, 21)); label_137->setLayoutDirection(Qt::LeftToRight); label_137->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_137->setFrameShape(QFrame::NoFrame); label_137->setFrameShadow(QFrame::Sunken); label_137->setLineWidth(1); label_137->setTextFormat(Qt::AutoText); label_137->setScaledContents(false); label_137->setAlignment(Qt::AlignCenter); label_138 = new QLabel(scrollAreaWidgetContents); label_138->setObjectName(QStringLiteral("label_138")); label_138->setGeometry(QRect(20, 580, 291, 20)); label_138->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_63 = new QLabel(scrollAreaWidgetContents); label_63->setObjectName(QStringLiteral("label_63")); label_63->setGeometry(QRect(0, 580, 20, 20)); label_63->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_139 = new QLabel(scrollAreaWidgetContents); label_139->setObjectName(QStringLiteral("label_139")); label_139->setGeometry(QRect(370, 580, 41, 21)); label_139->setLayoutDirection(Qt::LeftToRight); label_139->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_139->setFrameShape(QFrame::NoFrame); label_139->setFrameShadow(QFrame::Sunken); label_139->setLineWidth(1); label_139->setTextFormat(Qt::AutoText); label_139->setScaledContents(false); label_139->setAlignment(Qt::AlignCenter); label_142 = new QLabel(scrollAreaWidgetContents); label_142->setObjectName(QStringLiteral("label_142")); label_142->setGeometry(QRect(20, 620, 291, 20)); label_142->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_65 = new QLabel(scrollAreaWidgetContents); label_65->setObjectName(QStringLiteral("label_65")); label_65->setGeometry(QRect(0, 620, 20, 20)); label_65->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_65->setAlignment(Qt::AlignCenter); label_143 = new QLabel(scrollAreaWidgetContents); label_143->setObjectName(QStringLiteral("label_143")); label_143->setGeometry(QRect(370, 620, 41, 21)); label_143->setLayoutDirection(Qt::LeftToRight); label_143->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_143->setFrameShape(QFrame::NoFrame); label_143->setFrameShadow(QFrame::Sunken); label_143->setLineWidth(1); label_143->setTextFormat(Qt::AutoText); label_143->setScaledContents(false); label_143->setAlignment(Qt::AlignCenter); label_144 = new QLabel(scrollAreaWidgetContents); label_144->setObjectName(QStringLiteral("label_144")); label_144->setGeometry(QRect(20, 640, 291, 20)); label_144->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_66 = new QLabel(scrollAreaWidgetContents); label_66->setObjectName(QStringLiteral("label_66")); label_66->setGeometry(QRect(0, 640, 20, 20)); label_66->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_66->setAlignment(Qt::AlignCenter); label_145 = new QLabel(scrollAreaWidgetContents); label_145->setObjectName(QStringLiteral("label_145")); label_145->setGeometry(QRect(370, 640, 41, 21)); label_145->setLayoutDirection(Qt::LeftToRight); label_145->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_145->setFrameShape(QFrame::NoFrame); label_145->setFrameShadow(QFrame::Sunken); label_145->setLineWidth(1); label_145->setTextFormat(Qt::AutoText); label_145->setScaledContents(false); label_145->setAlignment(Qt::AlignCenter); label_146 = new QLabel(scrollAreaWidgetContents); label_146->setObjectName(QStringLiteral("label_146")); label_146->setGeometry(QRect(20, 660, 291, 20)); label_146->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_67 = new QLabel(scrollAreaWidgetContents); label_67->setObjectName(QStringLiteral("label_67")); label_67->setGeometry(QRect(0, 660, 20, 20)); label_67->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_67->setAlignment(Qt::AlignCenter); label_147 = new QLabel(scrollAreaWidgetContents); label_147->setObjectName(QStringLiteral("label_147")); label_147->setGeometry(QRect(370, 660, 41, 21)); label_147->setLayoutDirection(Qt::LeftToRight); label_147->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_147->setFrameShape(QFrame::NoFrame); label_147->setFrameShadow(QFrame::Sunken); label_147->setLineWidth(1); label_147->setTextFormat(Qt::AutoText); label_147->setScaledContents(false); label_147->setAlignment(Qt::AlignCenter); lineEdit_black2 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black2->setObjectName(QStringLiteral("lineEdit_black2")); lineEdit_black2->setGeometry(QRect(310, 160, 60, 21)); lineEdit_black2->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_68 = new QLabel(scrollAreaWidgetContents); label_68->setObjectName(QStringLiteral("label_68")); label_68->setGeometry(QRect(0, 160, 20, 20)); label_68->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_99 = new QLabel(scrollAreaWidgetContents); label_99->setObjectName(QStringLiteral("label_99")); label_99->setGeometry(QRect(370, 160, 41, 21)); label_99->setLayoutDirection(Qt::LeftToRight); label_99->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_99->setFrameShape(QFrame::NoFrame); label_99->setFrameShadow(QFrame::Sunken); label_99->setLineWidth(1); label_99->setTextFormat(Qt::AutoText); label_99->setScaledContents(false); label_99->setAlignment(Qt::AlignCenter); label_148 = new QLabel(scrollAreaWidgetContents); label_148->setObjectName(QStringLiteral("label_148")); label_148->setGeometry(QRect(20, 160, 291, 20)); label_148->setLayoutDirection(Qt::RightToLeft); label_148->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_148->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); lineEdit_black3 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black3->setObjectName(QStringLiteral("lineEdit_black3")); lineEdit_black3->setGeometry(QRect(310, 300, 60, 21)); lineEdit_black3->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_69 = new QLabel(scrollAreaWidgetContents); label_69->setObjectName(QStringLiteral("label_69")); label_69->setGeometry(QRect(0, 300, 20, 20)); label_69->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_110 = new QLabel(scrollAreaWidgetContents); label_110->setObjectName(QStringLiteral("label_110")); label_110->setGeometry(QRect(370, 300, 41, 21)); label_110->setLayoutDirection(Qt::LeftToRight); label_110->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_110->setFrameShape(QFrame::NoFrame); label_110->setFrameShadow(QFrame::Sunken); label_110->setLineWidth(1); label_110->setTextFormat(Qt::AutoText); label_110->setScaledContents(false); label_110->setAlignment(Qt::AlignCenter); label_149 = new QLabel(scrollAreaWidgetContents); label_149->setObjectName(QStringLiteral("label_149")); label_149->setGeometry(QRect(20, 300, 291, 20)); label_149->setLayoutDirection(Qt::RightToLeft); label_149->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_149->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_111 = new QLabel(scrollAreaWidgetContents); label_111->setObjectName(QStringLiteral("label_111")); label_111->setGeometry(QRect(370, 500, 41, 21)); label_111->setLayoutDirection(Qt::LeftToRight); label_111->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_111->setFrameShape(QFrame::NoFrame); label_111->setFrameShadow(QFrame::Sunken); label_111->setLineWidth(1); label_111->setTextFormat(Qt::AutoText); label_111->setScaledContents(false); label_111->setAlignment(Qt::AlignCenter); label_150 = new QLabel(scrollAreaWidgetContents); label_150->setObjectName(QStringLiteral("label_150")); label_150->setGeometry(QRect(20, 500, 291, 20)); label_150->setLayoutDirection(Qt::RightToLeft); label_150->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_150->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_70 = new QLabel(scrollAreaWidgetContents); label_70->setObjectName(QStringLiteral("label_70")); label_70->setGeometry(QRect(0, 500, 20, 20)); label_70->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); lineEdit_black4 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black4->setObjectName(QStringLiteral("lineEdit_black4")); lineEdit_black4->setGeometry(QRect(310, 500, 60, 21)); lineEdit_black4->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_151 = new QLabel(scrollAreaWidgetContents); label_151->setObjectName(QStringLiteral("label_151")); label_151->setGeometry(QRect(20, 600, 291, 20)); label_151->setLayoutDirection(Qt::RightToLeft); label_151->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_151->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_71 = new QLabel(scrollAreaWidgetContents); label_71->setObjectName(QStringLiteral("label_71")); label_71->setGeometry(QRect(0, 600, 20, 20)); label_71->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); lineEdit_black5 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black5->setObjectName(QStringLiteral("lineEdit_black5")); lineEdit_black5->setGeometry(QRect(310, 600, 60, 21)); lineEdit_black5->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_130 = new QLabel(scrollAreaWidgetContents); label_130->setObjectName(QStringLiteral("label_130")); label_130->setGeometry(QRect(370, 600, 41, 21)); label_130->setLayoutDirection(Qt::LeftToRight); label_130->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_130->setFrameShape(QFrame::NoFrame); label_130->setFrameShadow(QFrame::Sunken); label_130->setLineWidth(1); label_130->setTextFormat(Qt::AutoText); label_130->setScaledContents(false); label_130->setAlignment(Qt::AlignCenter); label_131 = new QLabel(scrollAreaWidgetContents); label_131->setObjectName(QStringLiteral("label_131")); label_131->setGeometry(QRect(370, 40, 41, 21)); label_131->setLayoutDirection(Qt::LeftToRight); label_131->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_131->setFrameShape(QFrame::NoFrame); label_131->setFrameShadow(QFrame::Sunken); label_131->setLineWidth(1); label_131->setTextFormat(Qt::AutoText); label_131->setScaledContents(false); label_131->setAlignment(Qt::AlignCenter); lineEdit_15 = new QLineEdit(scrollAreaWidgetContents); lineEdit_15->setObjectName(QStringLiteral("lineEdit_15")); lineEdit_15->setGeometry(QRect(310, 360, 60, 21)); lineEdit_15->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_16 = new QLineEdit(scrollAreaWidgetContents); lineEdit_16->setObjectName(QStringLiteral("lineEdit_16")); lineEdit_16->setGeometry(QRect(310, 380, 60, 21)); lineEdit_16->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_17 = new QLineEdit(scrollAreaWidgetContents); lineEdit_17->setObjectName(QStringLiteral("lineEdit_17")); lineEdit_17->setGeometry(QRect(310, 400, 60, 21)); lineEdit_17->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_18 = new QLineEdit(scrollAreaWidgetContents); lineEdit_18->setObjectName(QStringLiteral("lineEdit_18")); lineEdit_18->setGeometry(QRect(310, 420, 60, 21)); lineEdit_18->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_19 = new QLineEdit(scrollAreaWidgetContents); lineEdit_19->setObjectName(QStringLiteral("lineEdit_19")); lineEdit_19->setGeometry(QRect(310, 440, 60, 21)); lineEdit_19->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_20 = new QLineEdit(scrollAreaWidgetContents); lineEdit_20->setObjectName(QStringLiteral("lineEdit_20")); lineEdit_20->setGeometry(QRect(310, 460, 60, 21)); lineEdit_20->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_23 = new QLineEdit(scrollAreaWidgetContents); lineEdit_23->setObjectName(QStringLiteral("lineEdit_23")); lineEdit_23->setGeometry(QRect(310, 540, 60, 21)); lineEdit_23->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_21 = new QLineEdit(scrollAreaWidgetContents); lineEdit_21->setObjectName(QStringLiteral("lineEdit_21")); lineEdit_21->setGeometry(QRect(310, 480, 60, 21)); lineEdit_21->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_22 = new QLineEdit(scrollAreaWidgetContents); lineEdit_22->setObjectName(QStringLiteral("lineEdit_22")); lineEdit_22->setGeometry(QRect(310, 520, 60, 21)); lineEdit_22->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_24 = new QLineEdit(scrollAreaWidgetContents); lineEdit_24->setObjectName(QStringLiteral("lineEdit_24")); lineEdit_24->setGeometry(QRect(310, 560, 60, 21)); lineEdit_24->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_25 = new QLineEdit(scrollAreaWidgetContents); lineEdit_25->setObjectName(QStringLiteral("lineEdit_25")); lineEdit_25->setGeometry(QRect(310, 580, 60, 21)); lineEdit_25->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_26 = new QLineEdit(scrollAreaWidgetContents); lineEdit_26->setObjectName(QStringLiteral("lineEdit_26")); lineEdit_26->setGeometry(QRect(310, 620, 60, 21)); lineEdit_26->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_27 = new QLineEdit(scrollAreaWidgetContents); lineEdit_27->setObjectName(QStringLiteral("lineEdit_27")); lineEdit_27->setGeometry(QRect(310, 640, 60, 21)); lineEdit_27->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_28 = new QLineEdit(scrollAreaWidgetContents); lineEdit_28->setObjectName(QStringLiteral("lineEdit_28")); lineEdit_28->setGeometry(QRect(310, 660, 60, 21)); lineEdit_28->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_black1 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black1->setObjectName(QStringLiteral("lineEdit_black1")); lineEdit_black1->setGeometry(QRect(310, 20, 60, 21)); lineEdit_black1->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); lineEdit_value = new QLineEdit(scrollAreaWidgetContents); lineEdit_value->setObjectName(QStringLiteral("lineEdit_value")); lineEdit_value->setGeometry(QRect(310, -2, 60, 23)); lineEdit_value->setStyleSheet(QLatin1String("background-color: rgb(148, 199, 227);\n" "border-bottom-color: rgb(148, 199, 227);\n" "border-color: rgb(148, 199, 227);\n" "\n" "")); lineEdit_value->setAlignment(Qt::AlignCenter); label_152 = new QLabel(scrollAreaWidgetContents); label_152->setObjectName(QStringLiteral("label_152")); label_152->setGeometry(QRect(370, 680, 41, 21)); label_152->setLayoutDirection(Qt::LeftToRight); label_152->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_152->setFrameShape(QFrame::NoFrame); label_152->setFrameShadow(QFrame::Sunken); label_152->setLineWidth(1); label_152->setTextFormat(Qt::AutoText); label_152->setScaledContents(false); label_152->setAlignment(Qt::AlignCenter); label_153 = new QLabel(scrollAreaWidgetContents); label_153->setObjectName(QStringLiteral("label_153")); label_153->setGeometry(QRect(20, 680, 291, 20)); label_153->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_29 = new QLineEdit(scrollAreaWidgetContents); lineEdit_29->setObjectName(QStringLiteral("lineEdit_29")); lineEdit_29->setGeometry(QRect(310, 680, 60, 21)); lineEdit_29->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_72 = new QLabel(scrollAreaWidgetContents); label_72->setObjectName(QStringLiteral("label_72")); label_72->setGeometry(QRect(0, 680, 20, 20)); label_72->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_72->setAlignment(Qt::AlignCenter); label_154 = new QLabel(scrollAreaWidgetContents); label_154->setObjectName(QStringLiteral("label_154")); label_154->setGeometry(QRect(370, 700, 41, 21)); label_154->setLayoutDirection(Qt::LeftToRight); label_154->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_154->setFrameShape(QFrame::NoFrame); label_154->setFrameShadow(QFrame::Sunken); label_154->setLineWidth(1); label_154->setTextFormat(Qt::AutoText); label_154->setScaledContents(false); label_154->setAlignment(Qt::AlignCenter); lineEdit_30 = new QLineEdit(scrollAreaWidgetContents); lineEdit_30->setObjectName(QStringLiteral("lineEdit_30")); lineEdit_30->setGeometry(QRect(310, 700, 60, 21)); lineEdit_30->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_73 = new QLabel(scrollAreaWidgetContents); label_73->setObjectName(QStringLiteral("label_73")); label_73->setGeometry(QRect(0, 700, 20, 20)); label_73->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_73->setAlignment(Qt::AlignCenter); label_155 = new QLabel(scrollAreaWidgetContents); label_155->setObjectName(QStringLiteral("label_155")); label_155->setGeometry(QRect(20, 700, 291, 20)); label_155->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_156 = new QLabel(scrollAreaWidgetContents); label_156->setObjectName(QStringLiteral("label_156")); label_156->setGeometry(QRect(370, 720, 41, 21)); label_156->setLayoutDirection(Qt::LeftToRight); label_156->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_156->setFrameShape(QFrame::NoFrame); label_156->setFrameShadow(QFrame::Sunken); label_156->setLineWidth(1); label_156->setTextFormat(Qt::AutoText); label_156->setScaledContents(false); label_156->setAlignment(Qt::AlignCenter); lineEdit_31 = new QLineEdit(scrollAreaWidgetContents); lineEdit_31->setObjectName(QStringLiteral("lineEdit_31")); lineEdit_31->setGeometry(QRect(310, 720, 60, 21)); lineEdit_31->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_157 = new QLabel(scrollAreaWidgetContents); label_157->setObjectName(QStringLiteral("label_157")); label_157->setGeometry(QRect(20, 720, 291, 20)); label_157->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_74 = new QLabel(scrollAreaWidgetContents); label_74->setObjectName(QStringLiteral("label_74")); label_74->setGeometry(QRect(0, 720, 20, 20)); label_74->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_74->setAlignment(Qt::AlignCenter); label_158 = new QLabel(scrollAreaWidgetContents); label_158->setObjectName(QStringLiteral("label_158")); label_158->setGeometry(QRect(370, 740, 41, 21)); label_158->setLayoutDirection(Qt::LeftToRight); label_158->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_158->setFrameShape(QFrame::NoFrame); label_158->setFrameShadow(QFrame::Sunken); label_158->setLineWidth(1); label_158->setTextFormat(Qt::AutoText); label_158->setScaledContents(false); label_158->setAlignment(Qt::AlignCenter); label_159 = new QLabel(scrollAreaWidgetContents); label_159->setObjectName(QStringLiteral("label_159")); label_159->setGeometry(QRect(20, 740, 291, 20)); label_159->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_76 = new QLabel(scrollAreaWidgetContents); label_76->setObjectName(QStringLiteral("label_76")); label_76->setGeometry(QRect(0, 740, 20, 20)); label_76->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_76->setAlignment(Qt::AlignCenter); lineEdit_32 = new QLineEdit(scrollAreaWidgetContents); lineEdit_32->setObjectName(QStringLiteral("lineEdit_32")); lineEdit_32->setGeometry(QRect(310, 740, 60, 21)); lineEdit_32->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_160 = new QLabel(scrollAreaWidgetContents); label_160->setObjectName(QStringLiteral("label_160")); label_160->setGeometry(QRect(370, 760, 41, 21)); label_160->setLayoutDirection(Qt::LeftToRight); label_160->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_160->setFrameShape(QFrame::NoFrame); label_160->setFrameShadow(QFrame::Sunken); label_160->setLineWidth(1); label_160->setTextFormat(Qt::AutoText); label_160->setScaledContents(false); label_160->setAlignment(Qt::AlignCenter); label_161 = new QLabel(scrollAreaWidgetContents); label_161->setObjectName(QStringLiteral("label_161")); label_161->setGeometry(QRect(20, 760, 291, 20)); label_161->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_78 = new QLabel(scrollAreaWidgetContents); label_78->setObjectName(QStringLiteral("label_78")); label_78->setGeometry(QRect(0, 760, 20, 20)); label_78->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_78->setAlignment(Qt::AlignCenter); lineEdit_33 = new QLineEdit(scrollAreaWidgetContents); lineEdit_33->setObjectName(QStringLiteral("lineEdit_33")); lineEdit_33->setGeometry(QRect(310, 760, 60, 21)); lineEdit_33->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_34 = new QLineEdit(scrollAreaWidgetContents); lineEdit_34->setObjectName(QStringLiteral("lineEdit_34")); lineEdit_34->setGeometry(QRect(310, 780, 60, 21)); lineEdit_34->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_162 = new QLabel(scrollAreaWidgetContents); label_162->setObjectName(QStringLiteral("label_162")); label_162->setGeometry(QRect(370, 780, 41, 21)); label_162->setLayoutDirection(Qt::LeftToRight); label_162->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_162->setFrameShape(QFrame::NoFrame); label_162->setFrameShadow(QFrame::Sunken); label_162->setLineWidth(1); label_162->setTextFormat(Qt::AutoText); label_162->setScaledContents(false); label_162->setAlignment(Qt::AlignCenter); label_163 = new QLabel(scrollAreaWidgetContents); label_163->setObjectName(QStringLiteral("label_163")); label_163->setGeometry(QRect(20, 780, 291, 20)); label_163->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_80 = new QLabel(scrollAreaWidgetContents); label_80->setObjectName(QStringLiteral("label_80")); label_80->setGeometry(QRect(0, 780, 20, 20)); label_80->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_80->setAlignment(Qt::AlignCenter); lineEdit_35 = new QLineEdit(scrollAreaWidgetContents); lineEdit_35->setObjectName(QStringLiteral("lineEdit_35")); lineEdit_35->setGeometry(QRect(310, 800, 60, 21)); lineEdit_35->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_164 = new QLabel(scrollAreaWidgetContents); label_164->setObjectName(QStringLiteral("label_164")); label_164->setGeometry(QRect(370, 800, 41, 21)); label_164->setLayoutDirection(Qt::LeftToRight); label_164->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_164->setFrameShape(QFrame::NoFrame); label_164->setFrameShadow(QFrame::Sunken); label_164->setLineWidth(1); label_164->setTextFormat(Qt::AutoText); label_164->setScaledContents(false); label_164->setAlignment(Qt::AlignCenter); label_165 = new QLabel(scrollAreaWidgetContents); label_165->setObjectName(QStringLiteral("label_165")); label_165->setGeometry(QRect(20, 800, 291, 20)); label_165->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_82 = new QLabel(scrollAreaWidgetContents); label_82->setObjectName(QStringLiteral("label_82")); label_82->setGeometry(QRect(0, 800, 20, 20)); label_82->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_82->setAlignment(Qt::AlignCenter); lineEdit_36 = new QLineEdit(scrollAreaWidgetContents); lineEdit_36->setObjectName(QStringLiteral("lineEdit_36")); lineEdit_36->setGeometry(QRect(310, 840, 60, 21)); lineEdit_36->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_166 = new QLabel(scrollAreaWidgetContents); label_166->setObjectName(QStringLiteral("label_166")); label_166->setGeometry(QRect(370, 840, 41, 21)); label_166->setLayoutDirection(Qt::LeftToRight); label_166->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_166->setFrameShape(QFrame::NoFrame); label_166->setFrameShadow(QFrame::Sunken); label_166->setLineWidth(1); label_166->setTextFormat(Qt::AutoText); label_166->setScaledContents(false); label_166->setAlignment(Qt::AlignCenter); label_167 = new QLabel(scrollAreaWidgetContents); label_167->setObjectName(QStringLiteral("label_167")); label_167->setGeometry(QRect(20, 840, 291, 20)); label_167->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_84 = new QLabel(scrollAreaWidgetContents); label_84->setObjectName(QStringLiteral("label_84")); label_84->setGeometry(QRect(0, 840, 20, 20)); label_84->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_84->setAlignment(Qt::AlignCenter); lineEdit_37 = new QLineEdit(scrollAreaWidgetContents); lineEdit_37->setObjectName(QStringLiteral("lineEdit_37")); lineEdit_37->setGeometry(QRect(310, 860, 60, 21)); lineEdit_37->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_168 = new QLabel(scrollAreaWidgetContents); label_168->setObjectName(QStringLiteral("label_168")); label_168->setGeometry(QRect(370, 860, 41, 21)); label_168->setLayoutDirection(Qt::LeftToRight); label_168->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_168->setFrameShape(QFrame::NoFrame); label_168->setFrameShadow(QFrame::Sunken); label_168->setLineWidth(1); label_168->setTextFormat(Qt::AutoText); label_168->setScaledContents(false); label_168->setAlignment(Qt::AlignCenter); label_169 = new QLabel(scrollAreaWidgetContents); label_169->setObjectName(QStringLiteral("label_169")); label_169->setGeometry(QRect(20, 860, 291, 20)); label_169->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_87 = new QLabel(scrollAreaWidgetContents); label_87->setObjectName(QStringLiteral("label_87")); label_87->setGeometry(QRect(0, 860, 20, 20)); label_87->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_87->setAlignment(Qt::AlignCenter); lineEdit_38 = new QLineEdit(scrollAreaWidgetContents); lineEdit_38->setObjectName(QStringLiteral("lineEdit_38")); lineEdit_38->setGeometry(QRect(310, 880, 60, 21)); lineEdit_38->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_170 = new QLabel(scrollAreaWidgetContents); label_170->setObjectName(QStringLiteral("label_170")); label_170->setGeometry(QRect(370, 880, 41, 21)); label_170->setLayoutDirection(Qt::LeftToRight); label_170->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_170->setFrameShape(QFrame::NoFrame); label_170->setFrameShadow(QFrame::Sunken); label_170->setLineWidth(1); label_170->setTextFormat(Qt::AutoText); label_170->setScaledContents(false); label_170->setAlignment(Qt::AlignCenter); label_171 = new QLabel(scrollAreaWidgetContents); label_171->setObjectName(QStringLiteral("label_171")); label_171->setGeometry(QRect(20, 880, 291, 20)); label_171->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_88 = new QLabel(scrollAreaWidgetContents); label_88->setObjectName(QStringLiteral("label_88")); label_88->setGeometry(QRect(0, 880, 20, 20)); label_88->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_88->setAlignment(Qt::AlignCenter); label_140 = new QLabel(scrollAreaWidgetContents); label_140->setObjectName(QStringLiteral("label_140")); label_140->setGeometry(QRect(0, 900, 20, 20)); label_140->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_140->setAlignment(Qt::AlignCenter); lineEdit_39 = new QLineEdit(scrollAreaWidgetContents); lineEdit_39->setObjectName(QStringLiteral("lineEdit_39")); lineEdit_39->setGeometry(QRect(310, 900, 60, 21)); lineEdit_39->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_172 = new QLabel(scrollAreaWidgetContents); label_172->setObjectName(QStringLiteral("label_172")); label_172->setGeometry(QRect(370, 900, 41, 21)); label_172->setLayoutDirection(Qt::LeftToRight); label_172->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_172->setFrameShape(QFrame::NoFrame); label_172->setFrameShadow(QFrame::Sunken); label_172->setLineWidth(1); label_172->setTextFormat(Qt::AutoText); label_172->setScaledContents(false); label_172->setAlignment(Qt::AlignCenter); label_173 = new QLabel(scrollAreaWidgetContents); label_173->setObjectName(QStringLiteral("label_173")); label_173->setGeometry(QRect(20, 900, 291, 20)); label_173->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_40 = new QLineEdit(scrollAreaWidgetContents); lineEdit_40->setObjectName(QStringLiteral("lineEdit_40")); lineEdit_40->setGeometry(QRect(310, 920, 60, 21)); lineEdit_40->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_174 = new QLabel(scrollAreaWidgetContents); label_174->setObjectName(QStringLiteral("label_174")); label_174->setGeometry(QRect(370, 920, 41, 21)); label_174->setLayoutDirection(Qt::LeftToRight); label_174->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_174->setFrameShape(QFrame::NoFrame); label_174->setFrameShadow(QFrame::Sunken); label_174->setLineWidth(1); label_174->setTextFormat(Qt::AutoText); label_174->setScaledContents(false); label_174->setAlignment(Qt::AlignCenter); label_175 = new QLabel(scrollAreaWidgetContents); label_175->setObjectName(QStringLiteral("label_175")); label_175->setGeometry(QRect(20, 920, 291, 20)); label_175->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_141 = new QLabel(scrollAreaWidgetContents); label_141->setObjectName(QStringLiteral("label_141")); label_141->setGeometry(QRect(0, 920, 20, 20)); label_141->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_141->setAlignment(Qt::AlignCenter); lineEdit_41 = new QLineEdit(scrollAreaWidgetContents); lineEdit_41->setObjectName(QStringLiteral("lineEdit_41")); lineEdit_41->setGeometry(QRect(310, 940, 60, 21)); lineEdit_41->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_176 = new QLabel(scrollAreaWidgetContents); label_176->setObjectName(QStringLiteral("label_176")); label_176->setGeometry(QRect(370, 940, 41, 21)); label_176->setLayoutDirection(Qt::LeftToRight); label_176->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_176->setFrameShape(QFrame::NoFrame); label_176->setFrameShadow(QFrame::Sunken); label_176->setLineWidth(1); label_176->setTextFormat(Qt::AutoText); label_176->setScaledContents(false); label_176->setAlignment(Qt::AlignCenter); label_177 = new QLabel(scrollAreaWidgetContents); label_177->setObjectName(QStringLiteral("label_177")); label_177->setGeometry(QRect(20, 940, 291, 20)); label_177->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_178 = new QLabel(scrollAreaWidgetContents); label_178->setObjectName(QStringLiteral("label_178")); label_178->setGeometry(QRect(0, 940, 20, 20)); label_178->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_178->setAlignment(Qt::AlignCenter); lineEdit_42 = new QLineEdit(scrollAreaWidgetContents); lineEdit_42->setObjectName(QStringLiteral("lineEdit_42")); lineEdit_42->setGeometry(QRect(310, 960, 60, 21)); lineEdit_42->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_179 = new QLabel(scrollAreaWidgetContents); label_179->setObjectName(QStringLiteral("label_179")); label_179->setGeometry(QRect(370, 960, 41, 21)); label_179->setLayoutDirection(Qt::LeftToRight); label_179->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_179->setFrameShape(QFrame::NoFrame); label_179->setFrameShadow(QFrame::Sunken); label_179->setLineWidth(1); label_179->setTextFormat(Qt::AutoText); label_179->setScaledContents(false); label_179->setAlignment(Qt::AlignCenter); label_180 = new QLabel(scrollAreaWidgetContents); label_180->setObjectName(QStringLiteral("label_180")); label_180->setGeometry(QRect(20, 960, 291, 20)); label_180->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_181 = new QLabel(scrollAreaWidgetContents); label_181->setObjectName(QStringLiteral("label_181")); label_181->setGeometry(QRect(0, 960, 20, 20)); label_181->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_181->setAlignment(Qt::AlignCenter); lineEdit_43 = new QLineEdit(scrollAreaWidgetContents); lineEdit_43->setObjectName(QStringLiteral("lineEdit_43")); lineEdit_43->setGeometry(QRect(310, 1000, 60, 21)); lineEdit_43->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_182 = new QLabel(scrollAreaWidgetContents); label_182->setObjectName(QStringLiteral("label_182")); label_182->setGeometry(QRect(370, 1000, 41, 21)); label_182->setLayoutDirection(Qt::LeftToRight); label_182->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_182->setFrameShape(QFrame::NoFrame); label_182->setFrameShadow(QFrame::Sunken); label_182->setLineWidth(1); label_182->setTextFormat(Qt::AutoText); label_182->setScaledContents(false); label_182->setAlignment(Qt::AlignCenter); label_183 = new QLabel(scrollAreaWidgetContents); label_183->setObjectName(QStringLiteral("label_183")); label_183->setGeometry(QRect(20, 1000, 291, 20)); label_183->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_184 = new QLabel(scrollAreaWidgetContents); label_184->setObjectName(QStringLiteral("label_184")); label_184->setGeometry(QRect(0, 1000, 20, 20)); label_184->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_184->setAlignment(Qt::AlignCenter); lineEdit_44 = new QLineEdit(scrollAreaWidgetContents); lineEdit_44->setObjectName(QStringLiteral("lineEdit_44")); lineEdit_44->setGeometry(QRect(310, 1020, 60, 21)); lineEdit_44->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_185 = new QLabel(scrollAreaWidgetContents); label_185->setObjectName(QStringLiteral("label_185")); label_185->setGeometry(QRect(370, 1020, 41, 21)); label_185->setLayoutDirection(Qt::LeftToRight); label_185->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_185->setFrameShape(QFrame::NoFrame); label_185->setFrameShadow(QFrame::Sunken); label_185->setLineWidth(1); label_185->setTextFormat(Qt::AutoText); label_185->setScaledContents(false); label_185->setAlignment(Qt::AlignCenter); label_186 = new QLabel(scrollAreaWidgetContents); label_186->setObjectName(QStringLiteral("label_186")); label_186->setGeometry(QRect(20, 1020, 291, 20)); label_186->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_187 = new QLabel(scrollAreaWidgetContents); label_187->setObjectName(QStringLiteral("label_187")); label_187->setGeometry(QRect(0, 1020, 20, 20)); label_187->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_187->setAlignment(Qt::AlignCenter); label_188 = new QLabel(scrollAreaWidgetContents); label_188->setObjectName(QStringLiteral("label_188")); label_188->setGeometry(QRect(370, 1040, 41, 21)); label_188->setLayoutDirection(Qt::LeftToRight); label_188->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_188->setFrameShape(QFrame::NoFrame); label_188->setFrameShadow(QFrame::Sunken); label_188->setLineWidth(1); label_188->setTextFormat(Qt::AutoText); label_188->setScaledContents(false); label_188->setAlignment(Qt::AlignCenter); label_189 = new QLabel(scrollAreaWidgetContents); label_189->setObjectName(QStringLiteral("label_189")); label_189->setGeometry(QRect(0, 1040, 20, 20)); label_189->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_189->setAlignment(Qt::AlignCenter); lineEdit_45 = new QLineEdit(scrollAreaWidgetContents); lineEdit_45->setObjectName(QStringLiteral("lineEdit_45")); lineEdit_45->setGeometry(QRect(310, 1040, 60, 21)); lineEdit_45->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_190 = new QLabel(scrollAreaWidgetContents); label_190->setObjectName(QStringLiteral("label_190")); label_190->setGeometry(QRect(20, 1040, 291, 20)); label_190->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_191 = new QLabel(scrollAreaWidgetContents); label_191->setObjectName(QStringLiteral("label_191")); label_191->setGeometry(QRect(370, 1060, 41, 21)); label_191->setLayoutDirection(Qt::LeftToRight); label_191->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_191->setFrameShape(QFrame::NoFrame); label_191->setFrameShadow(QFrame::Sunken); label_191->setLineWidth(1); label_191->setTextFormat(Qt::AutoText); label_191->setScaledContents(false); label_191->setAlignment(Qt::AlignCenter); label_192 = new QLabel(scrollAreaWidgetContents); label_192->setObjectName(QStringLiteral("label_192")); label_192->setGeometry(QRect(0, 1060, 20, 20)); label_192->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_192->setAlignment(Qt::AlignCenter); lineEdit_46 = new QLineEdit(scrollAreaWidgetContents); lineEdit_46->setObjectName(QStringLiteral("lineEdit_46")); lineEdit_46->setGeometry(QRect(310, 1060, 60, 21)); lineEdit_46->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_193 = new QLabel(scrollAreaWidgetContents); label_193->setObjectName(QStringLiteral("label_193")); label_193->setGeometry(QRect(20, 1060, 291, 20)); label_193->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_194 = new QLabel(scrollAreaWidgetContents); label_194->setObjectName(QStringLiteral("label_194")); label_194->setGeometry(QRect(370, 1080, 41, 21)); label_194->setLayoutDirection(Qt::LeftToRight); label_194->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_194->setFrameShape(QFrame::NoFrame); label_194->setFrameShadow(QFrame::Sunken); label_194->setLineWidth(1); label_194->setTextFormat(Qt::AutoText); label_194->setScaledContents(false); label_194->setAlignment(Qt::AlignCenter); label_195 = new QLabel(scrollAreaWidgetContents); label_195->setObjectName(QStringLiteral("label_195")); label_195->setGeometry(QRect(0, 1080, 20, 20)); label_195->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_195->setAlignment(Qt::AlignCenter); lineEdit_47 = new QLineEdit(scrollAreaWidgetContents); lineEdit_47->setObjectName(QStringLiteral("lineEdit_47")); lineEdit_47->setGeometry(QRect(310, 1080, 60, 21)); lineEdit_47->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_196 = new QLabel(scrollAreaWidgetContents); label_196->setObjectName(QStringLiteral("label_196")); label_196->setGeometry(QRect(20, 1080, 291, 20)); label_196->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_197 = new QLabel(scrollAreaWidgetContents); label_197->setObjectName(QStringLiteral("label_197")); label_197->setGeometry(QRect(370, 1100, 41, 21)); label_197->setLayoutDirection(Qt::LeftToRight); label_197->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_197->setFrameShape(QFrame::NoFrame); label_197->setFrameShadow(QFrame::Sunken); label_197->setLineWidth(1); label_197->setTextFormat(Qt::AutoText); label_197->setScaledContents(false); label_197->setAlignment(Qt::AlignCenter); label_198 = new QLabel(scrollAreaWidgetContents); label_198->setObjectName(QStringLiteral("label_198")); label_198->setGeometry(QRect(0, 1100, 20, 20)); label_198->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_198->setAlignment(Qt::AlignCenter); lineEdit_48 = new QLineEdit(scrollAreaWidgetContents); lineEdit_48->setObjectName(QStringLiteral("lineEdit_48")); lineEdit_48->setGeometry(QRect(310, 1100, 60, 21)); lineEdit_48->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_199 = new QLabel(scrollAreaWidgetContents); label_199->setObjectName(QStringLiteral("label_199")); label_199->setGeometry(QRect(20, 1100, 291, 20)); label_199->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_200 = new QLabel(scrollAreaWidgetContents); label_200->setObjectName(QStringLiteral("label_200")); label_200->setGeometry(QRect(370, 1120, 41, 21)); label_200->setLayoutDirection(Qt::LeftToRight); label_200->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_200->setFrameShape(QFrame::NoFrame); label_200->setFrameShadow(QFrame::Sunken); label_200->setLineWidth(1); label_200->setTextFormat(Qt::AutoText); label_200->setScaledContents(false); label_200->setAlignment(Qt::AlignCenter); label_201 = new QLabel(scrollAreaWidgetContents); label_201->setObjectName(QStringLiteral("label_201")); label_201->setGeometry(QRect(0, 1120, 20, 20)); label_201->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_201->setAlignment(Qt::AlignCenter); lineEdit_49 = new QLineEdit(scrollAreaWidgetContents); lineEdit_49->setObjectName(QStringLiteral("lineEdit_49")); lineEdit_49->setGeometry(QRect(310, 1120, 60, 21)); lineEdit_49->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_202 = new QLabel(scrollAreaWidgetContents); label_202->setObjectName(QStringLiteral("label_202")); label_202->setGeometry(QRect(20, 1120, 291, 20)); label_202->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_203 = new QLabel(scrollAreaWidgetContents); label_203->setObjectName(QStringLiteral("label_203")); label_203->setGeometry(QRect(370, 1140, 41, 21)); label_203->setLayoutDirection(Qt::LeftToRight); label_203->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_203->setFrameShape(QFrame::NoFrame); label_203->setFrameShadow(QFrame::Sunken); label_203->setLineWidth(1); label_203->setTextFormat(Qt::AutoText); label_203->setScaledContents(false); label_203->setAlignment(Qt::AlignCenter); label_204 = new QLabel(scrollAreaWidgetContents); label_204->setObjectName(QStringLiteral("label_204")); label_204->setGeometry(QRect(0, 1140, 20, 20)); label_204->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_204->setAlignment(Qt::AlignCenter); lineEdit_50 = new QLineEdit(scrollAreaWidgetContents); lineEdit_50->setObjectName(QStringLiteral("lineEdit_50")); lineEdit_50->setGeometry(QRect(310, 1140, 60, 21)); lineEdit_50->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_205 = new QLabel(scrollAreaWidgetContents); label_205->setObjectName(QStringLiteral("label_205")); label_205->setGeometry(QRect(20, 1140, 291, 20)); label_205->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_206 = new QLabel(scrollAreaWidgetContents); label_206->setObjectName(QStringLiteral("label_206")); label_206->setGeometry(QRect(370, 1160, 41, 21)); label_206->setLayoutDirection(Qt::LeftToRight); label_206->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_206->setFrameShape(QFrame::NoFrame); label_206->setFrameShadow(QFrame::Sunken); label_206->setLineWidth(1); label_206->setTextFormat(Qt::AutoText); label_206->setScaledContents(false); label_206->setAlignment(Qt::AlignCenter); label_207 = new QLabel(scrollAreaWidgetContents); label_207->setObjectName(QStringLiteral("label_207")); label_207->setGeometry(QRect(0, 1160, 20, 20)); label_207->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_207->setAlignment(Qt::AlignCenter); lineEdit_51 = new QLineEdit(scrollAreaWidgetContents); lineEdit_51->setObjectName(QStringLiteral("lineEdit_51")); lineEdit_51->setGeometry(QRect(310, 1160, 60, 21)); lineEdit_51->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_208 = new QLabel(scrollAreaWidgetContents); label_208->setObjectName(QStringLiteral("label_208")); label_208->setGeometry(QRect(20, 1160, 291, 20)); label_208->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_209 = new QLabel(scrollAreaWidgetContents); label_209->setObjectName(QStringLiteral("label_209")); label_209->setGeometry(QRect(370, 1180, 41, 21)); label_209->setLayoutDirection(Qt::LeftToRight); label_209->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_209->setFrameShape(QFrame::NoFrame); label_209->setFrameShadow(QFrame::Sunken); label_209->setLineWidth(1); label_209->setTextFormat(Qt::AutoText); label_209->setScaledContents(false); label_209->setAlignment(Qt::AlignCenter); label_210 = new QLabel(scrollAreaWidgetContents); label_210->setObjectName(QStringLiteral("label_210")); label_210->setGeometry(QRect(0, 1180, 20, 20)); label_210->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_210->setAlignment(Qt::AlignCenter); lineEdit_52 = new QLineEdit(scrollAreaWidgetContents); lineEdit_52->setObjectName(QStringLiteral("lineEdit_52")); lineEdit_52->setGeometry(QRect(310, 1180, 60, 21)); lineEdit_52->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_211 = new QLabel(scrollAreaWidgetContents); label_211->setObjectName(QStringLiteral("label_211")); label_211->setGeometry(QRect(20, 1180, 291, 20)); label_211->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_212 = new QLabel(scrollAreaWidgetContents); label_212->setObjectName(QStringLiteral("label_212")); label_212->setGeometry(QRect(370, 1200, 41, 21)); label_212->setLayoutDirection(Qt::LeftToRight); label_212->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_212->setFrameShape(QFrame::NoFrame); label_212->setFrameShadow(QFrame::Sunken); label_212->setLineWidth(1); label_212->setTextFormat(Qt::AutoText); label_212->setScaledContents(false); label_212->setAlignment(Qt::AlignCenter); label_213 = new QLabel(scrollAreaWidgetContents); label_213->setObjectName(QStringLiteral("label_213")); label_213->setGeometry(QRect(0, 1200, 20, 20)); label_213->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_213->setAlignment(Qt::AlignCenter); lineEdit_53 = new QLineEdit(scrollAreaWidgetContents); lineEdit_53->setObjectName(QStringLiteral("lineEdit_53")); lineEdit_53->setGeometry(QRect(310, 1200, 60, 21)); lineEdit_53->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_214 = new QLabel(scrollAreaWidgetContents); label_214->setObjectName(QStringLiteral("label_214")); label_214->setGeometry(QRect(20, 1200, 291, 20)); label_214->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_215 = new QLabel(scrollAreaWidgetContents); label_215->setObjectName(QStringLiteral("label_215")); label_215->setGeometry(QRect(370, 1220, 41, 21)); label_215->setLayoutDirection(Qt::LeftToRight); label_215->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_215->setFrameShape(QFrame::NoFrame); label_215->setFrameShadow(QFrame::Sunken); label_215->setLineWidth(1); label_215->setTextFormat(Qt::AutoText); label_215->setScaledContents(false); label_215->setAlignment(Qt::AlignCenter); label_216 = new QLabel(scrollAreaWidgetContents); label_216->setObjectName(QStringLiteral("label_216")); label_216->setGeometry(QRect(0, 1220, 20, 20)); label_216->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_216->setAlignment(Qt::AlignCenter); lineEdit_54 = new QLineEdit(scrollAreaWidgetContents); lineEdit_54->setObjectName(QStringLiteral("lineEdit_54")); lineEdit_54->setGeometry(QRect(310, 1220, 60, 21)); lineEdit_54->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_217 = new QLabel(scrollAreaWidgetContents); label_217->setObjectName(QStringLiteral("label_217")); label_217->setGeometry(QRect(20, 1220, 291, 20)); label_217->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_218 = new QLabel(scrollAreaWidgetContents); label_218->setObjectName(QStringLiteral("label_218")); label_218->setGeometry(QRect(370, 1240, 41, 21)); label_218->setLayoutDirection(Qt::LeftToRight); label_218->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_218->setFrameShape(QFrame::NoFrame); label_218->setFrameShadow(QFrame::Sunken); label_218->setLineWidth(1); label_218->setTextFormat(Qt::AutoText); label_218->setScaledContents(false); label_218->setAlignment(Qt::AlignCenter); label_219 = new QLabel(scrollAreaWidgetContents); label_219->setObjectName(QStringLiteral("label_219")); label_219->setGeometry(QRect(0, 1240, 20, 20)); label_219->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_219->setAlignment(Qt::AlignCenter); lineEdit_55 = new QLineEdit(scrollAreaWidgetContents); lineEdit_55->setObjectName(QStringLiteral("lineEdit_55")); lineEdit_55->setGeometry(QRect(310, 1240, 60, 21)); lineEdit_55->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_220 = new QLabel(scrollAreaWidgetContents); label_220->setObjectName(QStringLiteral("label_220")); label_220->setGeometry(QRect(20, 1240, 291, 20)); label_220->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_221 = new QLabel(scrollAreaWidgetContents); label_221->setObjectName(QStringLiteral("label_221")); label_221->setGeometry(QRect(370, 1260, 41, 21)); label_221->setLayoutDirection(Qt::LeftToRight); label_221->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_221->setFrameShape(QFrame::NoFrame); label_221->setFrameShadow(QFrame::Sunken); label_221->setLineWidth(1); label_221->setTextFormat(Qt::AutoText); label_221->setScaledContents(false); label_221->setAlignment(Qt::AlignCenter); label_222 = new QLabel(scrollAreaWidgetContents); label_222->setObjectName(QStringLiteral("label_222")); label_222->setGeometry(QRect(0, 1260, 20, 20)); label_222->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_222->setAlignment(Qt::AlignCenter); lineEdit_56 = new QLineEdit(scrollAreaWidgetContents); lineEdit_56->setObjectName(QStringLiteral("lineEdit_56")); lineEdit_56->setGeometry(QRect(310, 1260, 60, 21)); lineEdit_56->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_223 = new QLabel(scrollAreaWidgetContents); label_223->setObjectName(QStringLiteral("label_223")); label_223->setGeometry(QRect(20, 1260, 291, 20)); label_223->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_224 = new QLabel(scrollAreaWidgetContents); label_224->setObjectName(QStringLiteral("label_224")); label_224->setGeometry(QRect(370, 1280, 41, 21)); label_224->setLayoutDirection(Qt::LeftToRight); label_224->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_224->setFrameShape(QFrame::NoFrame); label_224->setFrameShadow(QFrame::Sunken); label_224->setLineWidth(1); label_224->setTextFormat(Qt::AutoText); label_224->setScaledContents(false); label_224->setAlignment(Qt::AlignCenter); label_225 = new QLabel(scrollAreaWidgetContents); label_225->setObjectName(QStringLiteral("label_225")); label_225->setGeometry(QRect(0, 1280, 20, 20)); label_225->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_225->setAlignment(Qt::AlignCenter); lineEdit_57 = new QLineEdit(scrollAreaWidgetContents); lineEdit_57->setObjectName(QStringLiteral("lineEdit_57")); lineEdit_57->setGeometry(QRect(310, 1280, 60, 21)); lineEdit_57->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_226 = new QLabel(scrollAreaWidgetContents); label_226->setObjectName(QStringLiteral("label_226")); label_226->setGeometry(QRect(20, 1280, 291, 20)); label_226->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_227 = new QLabel(scrollAreaWidgetContents); label_227->setObjectName(QStringLiteral("label_227")); label_227->setGeometry(QRect(370, 1300, 41, 21)); label_227->setLayoutDirection(Qt::LeftToRight); label_227->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_227->setFrameShape(QFrame::NoFrame); label_227->setFrameShadow(QFrame::Sunken); label_227->setLineWidth(1); label_227->setTextFormat(Qt::AutoText); label_227->setScaledContents(false); label_227->setAlignment(Qt::AlignCenter); label_228 = new QLabel(scrollAreaWidgetContents); label_228->setObjectName(QStringLiteral("label_228")); label_228->setGeometry(QRect(0, 1300, 20, 20)); label_228->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_228->setAlignment(Qt::AlignCenter); lineEdit_58 = new QLineEdit(scrollAreaWidgetContents); lineEdit_58->setObjectName(QStringLiteral("lineEdit_58")); lineEdit_58->setGeometry(QRect(310, 1300, 60, 21)); lineEdit_58->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_229 = new QLabel(scrollAreaWidgetContents); label_229->setObjectName(QStringLiteral("label_229")); label_229->setGeometry(QRect(20, 1300, 291, 20)); label_229->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_230 = new QLabel(scrollAreaWidgetContents); label_230->setObjectName(QStringLiteral("label_230")); label_230->setGeometry(QRect(370, 1320, 41, 21)); label_230->setLayoutDirection(Qt::LeftToRight); label_230->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_230->setFrameShape(QFrame::NoFrame); label_230->setFrameShadow(QFrame::Sunken); label_230->setLineWidth(1); label_230->setTextFormat(Qt::AutoText); label_230->setScaledContents(false); label_230->setAlignment(Qt::AlignCenter); label_231 = new QLabel(scrollAreaWidgetContents); label_231->setObjectName(QStringLiteral("label_231")); label_231->setGeometry(QRect(0, 1320, 20, 20)); label_231->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_231->setAlignment(Qt::AlignCenter); lineEdit_59 = new QLineEdit(scrollAreaWidgetContents); lineEdit_59->setObjectName(QStringLiteral("lineEdit_59")); lineEdit_59->setGeometry(QRect(310, 1320, 60, 21)); lineEdit_59->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_232 = new QLabel(scrollAreaWidgetContents); label_232->setObjectName(QStringLiteral("label_232")); label_232->setGeometry(QRect(20, 1320, 291, 20)); label_232->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_233 = new QLabel(scrollAreaWidgetContents); label_233->setObjectName(QStringLiteral("label_233")); label_233->setGeometry(QRect(370, 1340, 41, 21)); label_233->setLayoutDirection(Qt::LeftToRight); label_233->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_233->setFrameShape(QFrame::NoFrame); label_233->setFrameShadow(QFrame::Sunken); label_233->setLineWidth(1); label_233->setTextFormat(Qt::AutoText); label_233->setScaledContents(false); label_233->setAlignment(Qt::AlignCenter); label_234 = new QLabel(scrollAreaWidgetContents); label_234->setObjectName(QStringLiteral("label_234")); label_234->setGeometry(QRect(0, 1340, 20, 20)); label_234->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_234->setAlignment(Qt::AlignCenter); lineEdit_60 = new QLineEdit(scrollAreaWidgetContents); lineEdit_60->setObjectName(QStringLiteral("lineEdit_60")); lineEdit_60->setGeometry(QRect(310, 1340, 60, 21)); lineEdit_60->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_235 = new QLabel(scrollAreaWidgetContents); label_235->setObjectName(QStringLiteral("label_235")); label_235->setGeometry(QRect(20, 1340, 291, 20)); label_235->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_236 = new QLabel(scrollAreaWidgetContents); label_236->setObjectName(QStringLiteral("label_236")); label_236->setGeometry(QRect(370, 1360, 41, 21)); label_236->setLayoutDirection(Qt::LeftToRight); label_236->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_236->setFrameShape(QFrame::NoFrame); label_236->setFrameShadow(QFrame::Sunken); label_236->setLineWidth(1); label_236->setTextFormat(Qt::AutoText); label_236->setScaledContents(false); label_236->setAlignment(Qt::AlignCenter); label_237 = new QLabel(scrollAreaWidgetContents); label_237->setObjectName(QStringLiteral("label_237")); label_237->setGeometry(QRect(0, 1360, 20, 20)); label_237->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_237->setAlignment(Qt::AlignCenter); label_238 = new QLabel(scrollAreaWidgetContents); label_238->setObjectName(QStringLiteral("label_238")); label_238->setGeometry(QRect(20, 1360, 291, 20)); label_238->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_61 = new QLineEdit(scrollAreaWidgetContents); lineEdit_61->setObjectName(QStringLiteral("lineEdit_61")); lineEdit_61->setGeometry(QRect(310, 1360, 60, 21)); lineEdit_61->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); lineEdit_62 = new QLineEdit(scrollAreaWidgetContents); lineEdit_62->setObjectName(QStringLiteral("lineEdit_62")); lineEdit_62->setGeometry(QRect(310, 1380, 60, 21)); lineEdit_62->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_239 = new QLabel(scrollAreaWidgetContents); label_239->setObjectName(QStringLiteral("label_239")); label_239->setGeometry(QRect(370, 1380, 41, 21)); label_239->setLayoutDirection(Qt::LeftToRight); label_239->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_239->setFrameShape(QFrame::NoFrame); label_239->setFrameShadow(QFrame::Sunken); label_239->setLineWidth(1); label_239->setTextFormat(Qt::AutoText); label_239->setScaledContents(false); label_239->setAlignment(Qt::AlignCenter); label_240 = new QLabel(scrollAreaWidgetContents); label_240->setObjectName(QStringLiteral("label_240")); label_240->setGeometry(QRect(20, 1380, 291, 20)); label_240->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_241 = new QLabel(scrollAreaWidgetContents); label_241->setObjectName(QStringLiteral("label_241")); label_241->setGeometry(QRect(0, 1380, 20, 20)); label_241->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_241->setAlignment(Qt::AlignCenter); lineEdit_63 = new QLineEdit(scrollAreaWidgetContents); lineEdit_63->setObjectName(QStringLiteral("lineEdit_63")); lineEdit_63->setGeometry(QRect(310, 1400, 60, 21)); lineEdit_63->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_242 = new QLabel(scrollAreaWidgetContents); label_242->setObjectName(QStringLiteral("label_242")); label_242->setGeometry(QRect(370, 1400, 41, 21)); label_242->setLayoutDirection(Qt::LeftToRight); label_242->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_242->setFrameShape(QFrame::NoFrame); label_242->setFrameShadow(QFrame::Sunken); label_242->setLineWidth(1); label_242->setTextFormat(Qt::AutoText); label_242->setScaledContents(false); label_242->setAlignment(Qt::AlignCenter); label_243 = new QLabel(scrollAreaWidgetContents); label_243->setObjectName(QStringLiteral("label_243")); label_243->setGeometry(QRect(20, 1400, 291, 20)); label_243->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_244 = new QLabel(scrollAreaWidgetContents); label_244->setObjectName(QStringLiteral("label_244")); label_244->setGeometry(QRect(0, 1400, 20, 20)); label_244->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_244->setAlignment(Qt::AlignCenter); lineEdit_64 = new QLineEdit(scrollAreaWidgetContents); lineEdit_64->setObjectName(QStringLiteral("lineEdit_64")); lineEdit_64->setGeometry(QRect(310, 1420, 60, 21)); lineEdit_64->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_245 = new QLabel(scrollAreaWidgetContents); label_245->setObjectName(QStringLiteral("label_245")); label_245->setGeometry(QRect(370, 1420, 41, 21)); label_245->setLayoutDirection(Qt::LeftToRight); label_245->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_245->setFrameShape(QFrame::NoFrame); label_245->setFrameShadow(QFrame::Sunken); label_245->setLineWidth(1); label_245->setTextFormat(Qt::AutoText); label_245->setScaledContents(false); label_245->setAlignment(Qt::AlignCenter); label_246 = new QLabel(scrollAreaWidgetContents); label_246->setObjectName(QStringLiteral("label_246")); label_246->setGeometry(QRect(20, 1420, 291, 20)); label_246->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_247 = new QLabel(scrollAreaWidgetContents); label_247->setObjectName(QStringLiteral("label_247")); label_247->setGeometry(QRect(0, 1420, 20, 20)); label_247->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_247->setAlignment(Qt::AlignCenter); label_248 = new QLabel(scrollAreaWidgetContents); label_248->setObjectName(QStringLiteral("label_248")); label_248->setGeometry(QRect(0, 1440, 20, 20)); label_248->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_248->setAlignment(Qt::AlignCenter); label_249 = new QLabel(scrollAreaWidgetContents); label_249->setObjectName(QStringLiteral("label_249")); label_249->setGeometry(QRect(20, 1440, 291, 20)); label_249->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_65 = new QLineEdit(scrollAreaWidgetContents); lineEdit_65->setObjectName(QStringLiteral("lineEdit_65")); lineEdit_65->setGeometry(QRect(310, 1440, 60, 21)); lineEdit_65->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_250 = new QLabel(scrollAreaWidgetContents); label_250->setObjectName(QStringLiteral("label_250")); label_250->setGeometry(QRect(370, 1440, 41, 21)); label_250->setLayoutDirection(Qt::LeftToRight); label_250->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_250->setFrameShape(QFrame::NoFrame); label_250->setFrameShadow(QFrame::Sunken); label_250->setLineWidth(1); label_250->setTextFormat(Qt::AutoText); label_250->setScaledContents(false); label_250->setAlignment(Qt::AlignCenter); label_251 = new QLabel(scrollAreaWidgetContents); label_251->setObjectName(QStringLiteral("label_251")); label_251->setGeometry(QRect(0, 1460, 20, 20)); label_251->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_251->setAlignment(Qt::AlignCenter); label_252 = new QLabel(scrollAreaWidgetContents); label_252->setObjectName(QStringLiteral("label_252")); label_252->setGeometry(QRect(20, 1460, 291, 20)); label_252->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_66 = new QLineEdit(scrollAreaWidgetContents); lineEdit_66->setObjectName(QStringLiteral("lineEdit_66")); lineEdit_66->setGeometry(QRect(310, 1460, 60, 21)); lineEdit_66->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_253 = new QLabel(scrollAreaWidgetContents); label_253->setObjectName(QStringLiteral("label_253")); label_253->setGeometry(QRect(370, 1460, 41, 21)); label_253->setLayoutDirection(Qt::LeftToRight); label_253->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_253->setFrameShape(QFrame::NoFrame); label_253->setFrameShadow(QFrame::Sunken); label_253->setLineWidth(1); label_253->setTextFormat(Qt::AutoText); label_253->setScaledContents(false); label_253->setAlignment(Qt::AlignCenter); label_254 = new QLabel(scrollAreaWidgetContents); label_254->setObjectName(QStringLiteral("label_254")); label_254->setGeometry(QRect(0, 1500, 20, 21)); label_254->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_254->setAlignment(Qt::AlignCenter); label_255 = new QLabel(scrollAreaWidgetContents); label_255->setObjectName(QStringLiteral("label_255")); label_255->setGeometry(QRect(20, 1500, 291, 20)); label_255->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_67 = new QLineEdit(scrollAreaWidgetContents); lineEdit_67->setObjectName(QStringLiteral("lineEdit_67")); lineEdit_67->setGeometry(QRect(310, 1500, 60, 21)); lineEdit_67->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_256 = new QLabel(scrollAreaWidgetContents); label_256->setObjectName(QStringLiteral("label_256")); label_256->setGeometry(QRect(370, 1500, 41, 21)); label_256->setLayoutDirection(Qt::LeftToRight); label_256->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_256->setFrameShape(QFrame::NoFrame); label_256->setFrameShadow(QFrame::Sunken); label_256->setLineWidth(1); label_256->setTextFormat(Qt::AutoText); label_256->setScaledContents(false); label_256->setAlignment(Qt::AlignCenter); label_257 = new QLabel(scrollAreaWidgetContents); label_257->setObjectName(QStringLiteral("label_257")); label_257->setGeometry(QRect(0, 1520, 20, 20)); label_257->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_257->setAlignment(Qt::AlignCenter); label_258 = new QLabel(scrollAreaWidgetContents); label_258->setObjectName(QStringLiteral("label_258")); label_258->setGeometry(QRect(20, 1520, 291, 20)); label_258->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_68 = new QLineEdit(scrollAreaWidgetContents); lineEdit_68->setObjectName(QStringLiteral("lineEdit_68")); lineEdit_68->setGeometry(QRect(310, 1520, 60, 21)); lineEdit_68->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_259 = new QLabel(scrollAreaWidgetContents); label_259->setObjectName(QStringLiteral("label_259")); label_259->setGeometry(QRect(370, 1520, 41, 21)); label_259->setLayoutDirection(Qt::LeftToRight); label_259->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_259->setFrameShape(QFrame::NoFrame); label_259->setFrameShadow(QFrame::Sunken); label_259->setLineWidth(1); label_259->setTextFormat(Qt::AutoText); label_259->setScaledContents(false); label_259->setAlignment(Qt::AlignCenter); label_260 = new QLabel(scrollAreaWidgetContents); label_260->setObjectName(QStringLiteral("label_260")); label_260->setGeometry(QRect(0, 1540, 20, 20)); label_260->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_260->setAlignment(Qt::AlignCenter); label_261 = new QLabel(scrollAreaWidgetContents); label_261->setObjectName(QStringLiteral("label_261")); label_261->setGeometry(QRect(20, 1540, 291, 20)); label_261->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(200, 200, 220);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); lineEdit_69 = new QLineEdit(scrollAreaWidgetContents); lineEdit_69->setObjectName(QStringLiteral("lineEdit_69")); lineEdit_69->setGeometry(QRect(310, 1540, 60, 21)); lineEdit_69->setStyleSheet(QLatin1String("QLineEdit{color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);}\n" "QLineEdit:hover{\n" "background-color: rgb(148, 199, 227);}\n" "")); label_262 = new QLabel(scrollAreaWidgetContents); label_262->setObjectName(QStringLiteral("label_262")); label_262->setGeometry(QRect(370, 1540, 41, 21)); label_262->setLayoutDirection(Qt::LeftToRight); label_262->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_262->setFrameShape(QFrame::NoFrame); label_262->setFrameShadow(QFrame::Sunken); label_262->setLineWidth(1); label_262->setTextFormat(Qt::AutoText); label_262->setScaledContents(false); label_262->setAlignment(Qt::AlignCenter); label_485 = new QLabel(scrollAreaWidgetContents); label_485->setObjectName(QStringLiteral("label_485")); label_485->setGeometry(QRect(20, 1480, 291, 20)); label_485->setLayoutDirection(Qt::RightToLeft); label_485->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_485->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_486 = new QLabel(scrollAreaWidgetContents); label_486->setObjectName(QStringLiteral("label_486")); label_486->setGeometry(QRect(0, 1480, 20, 20)); label_486->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_487 = new QLabel(scrollAreaWidgetContents); label_487->setObjectName(QStringLiteral("label_487")); label_487->setGeometry(QRect(370, 1480, 41, 21)); label_487->setLayoutDirection(Qt::LeftToRight); label_487->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_487->setFrameShape(QFrame::NoFrame); label_487->setFrameShadow(QFrame::Sunken); label_487->setLineWidth(1); label_487->setTextFormat(Qt::AutoText); label_487->setScaledContents(false); label_487->setAlignment(Qt::AlignCenter); lineEdit_black5_3 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black5_3->setObjectName(QStringLiteral("lineEdit_black5_3")); lineEdit_black5_3->setGeometry(QRect(310, 1480, 60, 21)); lineEdit_black5_3->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_488 = new QLabel(scrollAreaWidgetContents); label_488->setObjectName(QStringLiteral("label_488")); label_488->setGeometry(QRect(20, 820, 291, 20)); label_488->setLayoutDirection(Qt::RightToLeft); label_488->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_488->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_489 = new QLabel(scrollAreaWidgetContents); label_489->setObjectName(QStringLiteral("label_489")); label_489->setGeometry(QRect(0, 820, 20, 20)); label_489->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_490 = new QLabel(scrollAreaWidgetContents); label_490->setObjectName(QStringLiteral("label_490")); label_490->setGeometry(QRect(370, 820, 41, 21)); label_490->setLayoutDirection(Qt::LeftToRight); label_490->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_490->setFrameShape(QFrame::NoFrame); label_490->setFrameShadow(QFrame::Sunken); label_490->setLineWidth(1); label_490->setTextFormat(Qt::AutoText); label_490->setScaledContents(false); label_490->setAlignment(Qt::AlignCenter); lineEdit_black5_4 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black5_4->setObjectName(QStringLiteral("lineEdit_black5_4")); lineEdit_black5_4->setGeometry(QRect(310, 820, 60, 21)); lineEdit_black5_4->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); label_491 = new QLabel(scrollAreaWidgetContents); label_491->setObjectName(QStringLiteral("label_491")); label_491->setGeometry(QRect(20, 980, 291, 20)); label_491->setLayoutDirection(Qt::RightToLeft); label_491->setStyleSheet(QLatin1String("color: rgb(255, 255, 255);\n" "\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(0, 0, 0);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(0, 0, 0);\n" "")); label_491->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); label_492 = new QLabel(scrollAreaWidgetContents); label_492->setObjectName(QStringLiteral("label_492")); label_492->setGeometry(QRect(0, 980, 20, 20)); label_492->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);")); label_493 = new QLabel(scrollAreaWidgetContents); label_493->setObjectName(QStringLiteral("label_493")); label_493->setGeometry(QRect(370, 980, 41, 21)); label_493->setLayoutDirection(Qt::LeftToRight); label_493->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(186, 189, 182);\n" "border-bottom-color: rgb(186, 189, 182);")); label_493->setFrameShape(QFrame::NoFrame); label_493->setFrameShadow(QFrame::Sunken); label_493->setLineWidth(1); label_493->setTextFormat(Qt::AutoText); label_493->setScaledContents(false); label_493->setAlignment(Qt::AlignCenter); lineEdit_black5_5 = new QLineEdit(scrollAreaWidgetContents); lineEdit_black5_5->setObjectName(QStringLiteral("lineEdit_black5_5")); lineEdit_black5_5->setGeometry(QRect(310, 980, 60, 21)); lineEdit_black5_5->setStyleSheet(QLatin1String("color: rgb(0, 0, 0);\n" "border:1px solid;\n" "background-color: rgb(0, 0, 0);\n" "border-top-color: rgb(186, 189, 182);\n" "border-right-color: rgb(0, 0, 0);\n" "border-bottom-color: rgb(186, 189, 182);\n" "border-left-color: rgb(255, 255, 255);")); pushButton_send = new QPushButton(scrollAreaWidgetContents); pushButton_send->setObjectName(QStringLiteral("pushButton_send")); pushButton_send->setGeometry(QRect(370, 680, 41, 21)); pushButton_send->setStyleSheet(QLatin1String("QPushButton{color: rgb(0, 0, 0);\n" "border: 2px solid ;\n" "background-color: rgb(220, 220, 220);\n" "border-top-color: rgb(211, 215, 207);\n" "border-left-color: rgb(211, 215, 207);\n" "border-right-color: rgb(85, 87, 83);\n" "border-bottom-color:rgb(85, 87, 83);\n" "}\n" "\n" "QPushButton:hover{border: 2px solid ;\n" "background-color: rgb(220, 220, 220);\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QPushButton:pressed{border: 2px solid ;\n" "background-color: rgb(220, 220, 220);\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon; icon.addFile(QStringLiteral(":/back/setting/arrow_48px_42542_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); pushButton_send->setIcon(icon); scrollArea->setWidget(scrollAreaWidgetContents); label_131->raise(); lineEdit_2->raise(); label_90->raise(); label_100->raise(); label_38->raise(); label_96->raise(); label_42->raise(); label_45->raise(); label_75->raise(); lineEdit_3->raise(); label_94->raise(); label_95->raise(); label_98->raise(); label_83->raise(); lineEdit_4->raise(); label_97->raise(); label_79->raise(); label_77->raise(); label_39->raise(); label_85->raise(); lineEdit_7->raise(); lineEdit_6->raise(); label_92->raise(); label_91->raise(); label_35->raise(); lineEdit_5->raise(); label_86->raise(); label_89->raise(); label_47->raise(); label_81->raise(); label_44->raise(); lineEdit_1->raise(); label_36->raise(); label_41->raise(); label_37->raise(); label_101->raise(); lineEdit_8->raise(); label_93->raise(); label_40->raise(); label_102->raise(); lineEdit_9->raise(); label_103->raise(); label_43->raise(); label_104->raise(); lineEdit_10->raise(); label_105->raise(); label_46->raise(); label_106->raise(); lineEdit_11->raise(); label_107->raise(); label_48->raise(); label_108->raise(); lineEdit_12->raise(); label_109->raise(); label_112->raise(); label_113->raise(); lineEdit_13->raise(); label_50->raise(); label_114->raise(); lineEdit_14->raise(); label_51->raise(); label_115->raise(); label_116->raise(); label_52->raise(); label_117->raise(); label_118->raise(); label_53->raise(); label_119->raise(); label_120->raise(); label_54->raise(); label_121->raise(); label_122->raise(); label_55->raise(); label_123->raise(); label_124->raise(); label_56->raise(); label_125->raise(); label_126->raise(); label_57->raise(); label_127->raise(); label_128->raise(); label_58->raise(); label_129->raise(); label_133->raise(); label_60->raise(); label_132->raise(); label_134->raise(); label_61->raise(); label_135->raise(); label_136->raise(); label_62->raise(); label_137->raise(); label_138->raise(); label_63->raise(); label_139->raise(); label_142->raise(); label_65->raise(); label_143->raise(); label_144->raise(); label_66->raise(); label_145->raise(); label_146->raise(); label_67->raise(); label_147->raise(); lineEdit_black2->raise(); label_68->raise(); label_99->raise(); label_148->raise(); lineEdit_black3->raise(); label_69->raise(); label_110->raise(); label_149->raise(); label_111->raise(); label_150->raise(); label_70->raise(); lineEdit_black4->raise(); label_151->raise(); label_71->raise(); lineEdit_black5->raise(); label_130->raise(); lineEdit_15->raise(); lineEdit_16->raise(); lineEdit_17->raise(); lineEdit_18->raise(); lineEdit_19->raise(); lineEdit_20->raise(); lineEdit_23->raise(); lineEdit_21->raise(); lineEdit_22->raise(); lineEdit_24->raise(); lineEdit_25->raise(); lineEdit_26->raise(); lineEdit_27->raise(); lineEdit_28->raise(); lineEdit_black1->raise(); lineEdit_value->raise(); label_152->raise(); label_153->raise(); lineEdit_29->raise(); label_72->raise(); label_154->raise(); lineEdit_30->raise(); label_73->raise(); label_155->raise(); label_156->raise(); lineEdit_31->raise(); label_157->raise(); label_74->raise(); label_158->raise(); label_159->raise(); label_76->raise(); lineEdit_32->raise(); label_160->raise(); label_161->raise(); label_78->raise(); lineEdit_33->raise(); lineEdit_34->raise(); label_162->raise(); label_163->raise(); label_80->raise(); lineEdit_35->raise(); label_164->raise(); label_165->raise(); label_82->raise(); lineEdit_36->raise(); label_166->raise(); label_167->raise(); label_84->raise(); lineEdit_37->raise(); label_168->raise(); label_169->raise(); label_87->raise(); lineEdit_38->raise(); label_170->raise(); label_171->raise(); label_88->raise(); label_140->raise(); lineEdit_39->raise(); label_172->raise(); label_173->raise(); lineEdit_40->raise(); label_174->raise(); label_175->raise(); label_141->raise(); lineEdit_41->raise(); label_176->raise(); label_177->raise(); label_178->raise(); lineEdit_42->raise(); label_179->raise(); label_180->raise(); label_181->raise(); lineEdit_43->raise(); label_182->raise(); label_183->raise(); label_184->raise(); lineEdit_44->raise(); label_185->raise(); label_186->raise(); label_187->raise(); label_188->raise(); label_189->raise(); lineEdit_45->raise(); label_190->raise(); label_191->raise(); label_192->raise(); lineEdit_46->raise(); label_193->raise(); label_194->raise(); label_195->raise(); lineEdit_47->raise(); label_196->raise(); label_197->raise(); label_198->raise(); lineEdit_48->raise(); label_199->raise(); label_200->raise(); label_201->raise(); lineEdit_49->raise(); label_202->raise(); label_203->raise(); label_204->raise(); lineEdit_50->raise(); label_205->raise(); label_206->raise(); label_207->raise(); lineEdit_51->raise(); label_208->raise(); label_209->raise(); label_210->raise(); lineEdit_52->raise(); label_211->raise(); label_212->raise(); label_213->raise(); lineEdit_53->raise(); label_214->raise(); label_215->raise(); label_216->raise(); lineEdit_54->raise(); label_217->raise(); label_218->raise(); label_219->raise(); lineEdit_55->raise(); label_220->raise(); label_221->raise(); label_222->raise(); lineEdit_56->raise(); label_223->raise(); label_224->raise(); label_225->raise(); lineEdit_57->raise(); label_226->raise(); label_227->raise(); label_228->raise(); lineEdit_58->raise(); label_229->raise(); label_230->raise(); label_231->raise(); lineEdit_59->raise(); label_232->raise(); label_233->raise(); label_234->raise(); lineEdit_60->raise(); label_235->raise(); label_236->raise(); label_237->raise(); label_238->raise(); lineEdit_61->raise(); lineEdit_62->raise(); label_239->raise(); label_240->raise(); label_241->raise(); lineEdit_63->raise(); label_242->raise(); label_243->raise(); label_244->raise(); lineEdit_64->raise(); label_245->raise(); label_246->raise(); label_247->raise(); label_248->raise(); label_249->raise(); lineEdit_65->raise(); label_250->raise(); label_251->raise(); label_252->raise(); lineEdit_66->raise(); label_253->raise(); label_254->raise(); label_255->raise(); lineEdit_67->raise(); label_256->raise(); label_257->raise(); label_258->raise(); lineEdit_68->raise(); label_259->raise(); label_260->raise(); label_261->raise(); lineEdit_69->raise(); label_262->raise(); label_485->raise(); label_486->raise(); label_487->raise(); lineEdit_black5_3->raise(); label_488->raise(); label_489->raise(); label_490->raise(); lineEdit_black5_4->raise(); label_491->raise(); label_492->raise(); label_493->raise(); lineEdit_black5_5->raise(); pushButton_send->raise(); stackedWidget->addWidget(page); page_2 = new QWidget(); page_2->setObjectName(QStringLiteral("page_2")); toolButton_1 = new QToolButton(page_2); toolButton_1->setObjectName(QStringLiteral("toolButton_1")); toolButton_1->setGeometry(QRect(20, 20, 41, 41)); toolButton_1->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_2 = new QToolButton(page_2); toolButton_2->setObjectName(QStringLiteral("toolButton_2")); toolButton_2->setGeometry(QRect(70, 20, 41, 41)); toolButton_2->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_3 = new QToolButton(page_2); toolButton_3->setObjectName(QStringLiteral("toolButton_3")); toolButton_3->setGeometry(QRect(120, 20, 41, 41)); toolButton_3->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_4 = new QToolButton(page_2); toolButton_4->setObjectName(QStringLiteral("toolButton_4")); toolButton_4->setGeometry(QRect(170, 20, 41, 41)); toolButton_4->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_5 = new QToolButton(page_2); toolButton_5->setObjectName(QStringLiteral("toolButton_5")); toolButton_5->setGeometry(QRect(220, 20, 41, 41)); toolButton_5->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_6 = new QToolButton(page_2); toolButton_6->setObjectName(QStringLiteral("toolButton_6")); toolButton_6->setGeometry(QRect(270, 20, 41, 41)); toolButton_6->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_7 = new QToolButton(page_2); toolButton_7->setObjectName(QStringLiteral("toolButton_7")); toolButton_7->setGeometry(QRect(320, 20, 41, 41)); toolButton_7->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_8 = new QToolButton(page_2); toolButton_8->setObjectName(QStringLiteral("toolButton_8")); toolButton_8->setGeometry(QRect(370, 20, 41, 41)); toolButton_8->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_15 = new QToolButton(page_2); toolButton_15->setObjectName(QStringLiteral("toolButton_15")); toolButton_15->setGeometry(QRect(320, 70, 41, 41)); toolButton_15->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_11 = new QToolButton(page_2); toolButton_11->setObjectName(QStringLiteral("toolButton_11")); toolButton_11->setGeometry(QRect(120, 70, 41, 41)); toolButton_11->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_10 = new QToolButton(page_2); toolButton_10->setObjectName(QStringLiteral("toolButton_10")); toolButton_10->setGeometry(QRect(70, 70, 41, 41)); toolButton_10->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_12 = new QToolButton(page_2); toolButton_12->setObjectName(QStringLiteral("toolButton_12")); toolButton_12->setGeometry(QRect(170, 70, 41, 41)); toolButton_12->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_9 = new QToolButton(page_2); toolButton_9->setObjectName(QStringLiteral("toolButton_9")); toolButton_9->setGeometry(QRect(20, 70, 41, 41)); toolButton_9->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_13 = new QToolButton(page_2); toolButton_13->setObjectName(QStringLiteral("toolButton_13")); toolButton_13->setGeometry(QRect(220, 70, 41, 41)); toolButton_13->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_16 = new QToolButton(page_2); toolButton_16->setObjectName(QStringLiteral("toolButton_16")); toolButton_16->setGeometry(QRect(370, 70, 41, 41)); toolButton_16->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_14 = new QToolButton(page_2); toolButton_14->setObjectName(QStringLiteral("toolButton_14")); toolButton_14->setGeometry(QRect(270, 70, 41, 41)); toolButton_14->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_23 = new QToolButton(page_2); toolButton_23->setObjectName(QStringLiteral("toolButton_23")); toolButton_23->setGeometry(QRect(320, 120, 41, 41)); toolButton_23->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_21 = new QToolButton(page_2); toolButton_21->setObjectName(QStringLiteral("toolButton_21")); toolButton_21->setGeometry(QRect(220, 120, 41, 41)); toolButton_21->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_24 = new QToolButton(page_2); toolButton_24->setObjectName(QStringLiteral("toolButton_24")); toolButton_24->setGeometry(QRect(370, 120, 41, 41)); toolButton_24->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_18 = new QToolButton(page_2); toolButton_18->setObjectName(QStringLiteral("toolButton_18")); toolButton_18->setGeometry(QRect(70, 120, 41, 41)); toolButton_18->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_19 = new QToolButton(page_2); toolButton_19->setObjectName(QStringLiteral("toolButton_19")); toolButton_19->setGeometry(QRect(120, 120, 41, 41)); toolButton_19->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_22 = new QToolButton(page_2); toolButton_22->setObjectName(QStringLiteral("toolButton_22")); toolButton_22->setGeometry(QRect(270, 120, 41, 41)); toolButton_22->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_17 = new QToolButton(page_2); toolButton_17->setObjectName(QStringLiteral("toolButton_17")); toolButton_17->setGeometry(QRect(20, 120, 41, 41)); toolButton_17->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_20 = new QToolButton(page_2); toolButton_20->setObjectName(QStringLiteral("toolButton_20")); toolButton_20->setGeometry(QRect(170, 120, 41, 41)); toolButton_20->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_39 = new QToolButton(page_2); toolButton_39->setObjectName(QStringLiteral("toolButton_39")); toolButton_39->setGeometry(QRect(320, 170, 41, 41)); toolButton_39->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_40 = new QToolButton(page_2); toolButton_40->setObjectName(QStringLiteral("toolButton_40")); toolButton_40->setGeometry(QRect(220, 170, 41, 41)); toolButton_40->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_41 = new QToolButton(page_2); toolButton_41->setObjectName(QStringLiteral("toolButton_41")); toolButton_41->setGeometry(QRect(370, 170, 41, 41)); toolButton_41->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_26 = new QToolButton(page_2); toolButton_26->setObjectName(QStringLiteral("toolButton_26")); toolButton_26->setGeometry(QRect(70, 170, 41, 41)); toolButton_26->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_57 = new QToolButton(page_2); toolButton_57->setObjectName(QStringLiteral("toolButton_57")); toolButton_57->setGeometry(QRect(120, 170, 41, 41)); toolButton_57->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_58 = new QToolButton(page_2); toolButton_58->setObjectName(QStringLiteral("toolButton_58")); toolButton_58->setGeometry(QRect(270, 170, 41, 41)); toolButton_58->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_25 = new QToolButton(page_2); toolButton_25->setObjectName(QStringLiteral("toolButton_25")); toolButton_25->setGeometry(QRect(20, 170, 41, 41)); toolButton_25->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_60 = new QToolButton(page_2); toolButton_60->setObjectName(QStringLiteral("toolButton_60")); toolButton_60->setGeometry(QRect(170, 170, 41, 41)); toolButton_60->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_28 = new QToolButton(page_2); toolButton_28->setObjectName(QStringLiteral("toolButton_28")); toolButton_28->setGeometry(QRect(170, 220, 41, 41)); toolButton_28->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_224 = new QToolButton(page_2); toolButton_224->setObjectName(QStringLiteral("toolButton_224")); toolButton_224->setGeometry(QRect(70, 220, 41, 41)); toolButton_224->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_223 = new QToolButton(page_2); toolButton_223->setObjectName(QStringLiteral("toolButton_223")); toolButton_223->setGeometry(QRect(370, 220, 41, 41)); toolButton_223->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_225 = new QToolButton(page_2); toolButton_225->setObjectName(QStringLiteral("toolButton_225")); toolButton_225->setGeometry(QRect(120, 220, 41, 41)); toolButton_225->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_226 = new QToolButton(page_2); toolButton_226->setObjectName(QStringLiteral("toolButton_226")); toolButton_226->setGeometry(QRect(270, 220, 41, 41)); toolButton_226->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_27 = new QToolButton(page_2); toolButton_27->setObjectName(QStringLiteral("toolButton_27")); toolButton_27->setGeometry(QRect(20, 220, 41, 41)); toolButton_27->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 10pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton " "{\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_220 = new QToolButton(page_2); toolButton_220->setObjectName(QStringLiteral("toolButton_220")); toolButton_220->setGeometry(QRect(320, 220, 41, 41)); toolButton_220->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_221 = new QToolButton(page_2); toolButton_221->setObjectName(QStringLiteral("toolButton_221")); toolButton_221->setGeometry(QRect(220, 220, 41, 41)); toolButton_221->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_29 = new QToolButton(page_2); toolButton_29->setObjectName(QStringLiteral("toolButton_29")); toolButton_29->setGeometry(QRect(320, 270, 41, 41)); toolButton_29->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_30 = new QToolButton(page_2); toolButton_30->setObjectName(QStringLiteral("toolButton_30")); toolButton_30->setGeometry(QRect(220, 270, 41, 41)); toolButton_30->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_43 = new QToolButton(page_2); toolButton_43->setObjectName(QStringLiteral("toolButton_43")); toolButton_43->setGeometry(QRect(370, 270, 41, 41)); toolButton_43->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_44 = new QToolButton(page_2); toolButton_44->setObjectName(QStringLiteral("toolButton_44")); toolButton_44->setGeometry(QRect(70, 270, 41, 41)); toolButton_44->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_45 = new QToolButton(page_2); toolButton_45->setObjectName(QStringLiteral("toolButton_45")); toolButton_45->setGeometry(QRect(120, 270, 41, 41)); toolButton_45->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_46 = new QToolButton(page_2); toolButton_46->setObjectName(QStringLiteral("toolButton_46")); toolButton_46->setGeometry(QRect(270, 270, 41, 41)); toolButton_46->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_47 = new QToolButton(page_2); toolButton_47->setObjectName(QStringLiteral("toolButton_47")); toolButton_47->setGeometry(QRect(20, 270, 41, 41)); toolButton_47->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_48 = new QToolButton(page_2); toolButton_48->setObjectName(QStringLiteral("toolButton_48")); toolButton_48->setGeometry(QRect(170, 270, 41, 41)); toolButton_48->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_49 = new QToolButton(page_2); toolButton_49->setObjectName(QStringLiteral("toolButton_49")); toolButton_49->setGeometry(QRect(320, 320, 41, 41)); toolButton_49->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_50 = new QToolButton(page_2); toolButton_50->setObjectName(QStringLiteral("toolButton_50")); toolButton_50->setGeometry(QRect(220, 320, 41, 41)); toolButton_50->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_51 = new QToolButton(page_2); toolButton_51->setObjectName(QStringLiteral("toolButton_51")); toolButton_51->setGeometry(QRect(370, 320, 41, 41)); toolButton_51->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_52 = new QToolButton(page_2); toolButton_52->setObjectName(QStringLiteral("toolButton_52")); toolButton_52->setGeometry(QRect(70, 320, 41, 41)); toolButton_52->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_53 = new QToolButton(page_2); toolButton_53->setObjectName(QStringLiteral("toolButton_53")); toolButton_53->setGeometry(QRect(120, 320, 41, 41)); toolButton_53->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_54 = new QToolButton(page_2); toolButton_54->setObjectName(QStringLiteral("toolButton_54")); toolButton_54->setGeometry(QRect(270, 320, 41, 41)); toolButton_54->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_55 = new QToolButton(page_2); toolButton_55->setObjectName(QStringLiteral("toolButton_55")); toolButton_55->setGeometry(QRect(20, 320, 41, 41)); toolButton_55->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); toolButton_56 = new QToolButton(page_2); toolButton_56->setObjectName(QStringLiteral("toolButton_56")); toolButton_56->setGeometry(QRect(170, 320, 41, 41)); toolButton_56->setStyleSheet(QLatin1String("QToolButton{\n" " border-radius: 4px;\n" " border: none;\n" " width: 75px;\n" " height: 25px;\n" " \n" " font: 75 7pt \"Uroob\";\n" "}\n" "QToolButton:enabled {\n" " background: rgb(120, 170, 220);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QToolButton:enabled:hover{\n" " background: rgb(100, 160, 220);\n" "}\n" "QToolButton:enabled:pressed{\n" " background: rgb(0, 78, 161);\n" "}\n" "\n" "QToolButton#blueButton {\n" " color: white;\n" "}\n" "QToolButton#blueButton:enabled {\n" " background: rgb(0, 78, 161);\n" " color: white;\n" "}\n" "QToolButton:!enabled {\n" " background: rgb(180, 180, 180);\n" " color: white;\n" "}\n" "QPushButton#blueButton:enabled:hover {\n" " background: rgb(2, 65, 132);\n" "}\n" "QPushButton#blueButton:enabled:pressed {\n" " background: rgb(6, 94, 187);\n" "}\n" "\n" "QPushButton#selectButton {" "\n" " border: none;\n" " border-radius: none;\n" " border-left: 1px solid rgb(111, 156, 207);\n" " background: transparent;\n" " image: url(:/White/scan);\n" " color: rgb(51, 51, 51);\n" "}\n" "QPushButton#selectButton:enabled:hover{\n" " background: rgb(187, 212, 238);\n" "}\n" "QPushButton#selectButton:enabled:pressed{\n" " background: rgb(120, 170, 220);\n" "}\n" "\n" "QPushButton#linkButton {\n" " background: transparent;\n" " color: rgb(0, 160, 230);\n" " text-align:left;\n" "}\n" "QPushButton#linkButton:hover {\n" " color: rgb(20, 185, 255);\n" " text-decoration: underline;\n" "}\n" "QPushButton#linkButton:pressed {\n" " color: rgb(0, 160, 230);\n" "}\n" "\n" "QPushButton#transparentButton {\n" " background: transparent;\n" "}\n" "\n" "")); stackedWidget->addWidget(page_2); progressBar_left2 = new QProgressBar(Setting); progressBar_left2->setObjectName(QStringLiteral("progressBar_left2")); progressBar_left2->setGeometry(QRect(0, 451, 431, 10)); progressBar_left2->setStyleSheet(QLatin1String("QProgressBar {\n" " border: 2px solid black;\n" " border-radius: 5px;\n" " background-color: #FFFFFF;\n" "\n" "}\n" " \n" "QProgressBar::chunk {\n" "background-color: rgb(138, 226, 52);\n" " width: 20px;\n" "}\n" " \n" "QProgressBar {\n" " border: 1px solid grey;\n" " border-radius: 1px;\n" " text-align: center;\n" " color: rgb(255, 255, 255);\n" "}")); progressBar_left2->setValue(10); widget_leftbutton_2 = new QWidget(Setting); widget_leftbutton_2->setObjectName(QStringLiteral("widget_leftbutton_2")); widget_leftbutton_2->setGeometry(QRect(-10, 460, 441, 91)); widget_leftbutton_2->setStyleSheet(QStringLiteral("background-color: rgb(200, 200, 220);")); pushButton_input = new QPushButton(widget_leftbutton_2); pushButton_input->setObjectName(QStringLiteral("pushButton_input")); pushButton_input->setGeometry(QRect(420, 0, 21, 20)); pushButton_input->setStyleSheet(QLatin1String("QPushButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QPushButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QPushButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon1; icon1.addFile(QStringLiteral(":/back/setting/input_tablet_128px_1172056_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); pushButton_input->setIcon(icon1); toolButton_exit_2 = new QToolButton(widget_leftbutton_2); toolButton_exit_2->setObjectName(QStringLiteral("toolButton_exit_2")); toolButton_exit_2->setGeometry(QRect(12, 1, 31, 29)); toolButton_exit_2->setStyleSheet(QLatin1String("\n" "QToolButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QToolButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QToolButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon2; icon2.addFile(QStringLiteral(":/back/setting/refresh_32px_505059_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); toolButton_exit_2->setIcon(icon2); toolButton_exit_3 = new QToolButton(widget_leftbutton_2); toolButton_exit_3->setObjectName(QStringLiteral("toolButton_exit_3")); toolButton_exit_3->setGeometry(QRect(12, 60, 30, 30)); toolButton_exit_3->setStyleSheet(QLatin1String("\n" "QToolButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QToolButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QToolButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon3; icon3.addFile(QStringLiteral(":/back/setting/save_Floppy_64px_520123_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); toolButton_exit_3->setIcon(icon3); toolButton_save = new QToolButton(widget_leftbutton_2); toolButton_save->setObjectName(QStringLiteral("toolButton_save")); toolButton_save->setGeometry(QRect(12, 30, 30, 30)); toolButton_save->setStyleSheet(QLatin1String("\n" "QToolButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QToolButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QToolButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon4; icon4.addFile(QStringLiteral(":/back/setting/Save_48px_1118982_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); toolButton_save->setIcon(icon4); label_2 = new QLabel(widget_leftbutton_2); label_2->setObjectName(QStringLiteral("label_2")); label_2->setGeometry(QRect(60, 6, 161, 21)); label_2->setStyleSheet(QStringLiteral("color: rgb(128, 35, 35);")); label_3 = new QLabel(widget_leftbutton_2); label_3->setObjectName(QStringLiteral("label_3")); label_3->setGeometry(QRect(60, 30, 161, 31)); label_3->setStyleSheet(QStringLiteral("color: rgb(128, 35, 35);")); label_4 = new QLabel(widget_leftbutton_2); label_4->setObjectName(QStringLiteral("label_4")); label_4->setGeometry(QRect(60, 60, 161, 31)); label_4->setStyleSheet(QStringLiteral("color: rgb(128, 35, 35);")); lineEdit_configname = new QLineEdit(widget_leftbutton_2); lineEdit_configname->setObjectName(QStringLiteral("lineEdit_configname")); lineEdit_configname->setGeometry(QRect(445, 40, 113, 25)); lineEdit_configname->setStyleSheet(QLatin1String("background-color: rgb(0, 0, 0);\n" "color: rgb(255, 255, 255);")); toolButton_load = new QToolButton(widget_leftbutton_2); toolButton_load->setObjectName(QStringLiteral("toolButton_load")); toolButton_load->setGeometry(QRect(230, 1, 31, 29)); toolButton_load->setStyleSheet(QLatin1String("\n" "QToolButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QToolButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QToolButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon5; icon5.addFile(QStringLiteral(":/back/setting/Loading_32px_533741_easyicon.net.ico"), QSize(), QIcon::Normal, QIcon::Off); toolButton_load->setIcon(icon5); label_8 = new QLabel(widget_leftbutton_2); label_8->setObjectName(QStringLiteral("label_8")); label_8->setGeometry(QRect(270, 0, 101, 31)); label_8->setStyleSheet(QStringLiteral("color: rgb(128, 35, 35);")); widget = new QWidget(Setting); widget->setObjectName(QStringLiteral("widget")); widget->setGeometry(QRect(0, 1, 431, 21)); widget->setStyleSheet(QLatin1String("border-bottom-color: rgb(255, 255, 255);\n" "background-color: rgb(240, 240, 240);\n" "border-top-color: rgb(0, 0, 0);")); toolButton_exit = new QToolButton(widget); toolButton_exit->setObjectName(QStringLiteral("toolButton_exit")); toolButton_exit->setGeometry(QRect(410, 0, 22, 21)); toolButton_exit->setStyleSheet(QLatin1String("\n" "QToolButton{color: rgb(0, 0, 0);\n" "border: 1px solid ;\n" "background-color: white;\n" "border-top-color: rgb(255, 255, 255);\n" "border-left-color: rgb(255, 255, 255);\n" "border-right-color: rgb(136, 138, 133);\n" "}\n" "\n" "QToolButton:hover{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(255, 255, 255);\n" "border-bottom-color: rgb(255, 255, 255);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133);}\n" "\n" "QToolButton:pressed{border: 2px solid ;\n" "background-color: white;\n" "border-right-color: rgb(136, 138, 133);\n" "border-bottom-color: rgb(136, 138, 133);\n" "border-top-color: rgb(136, 138, 133);\n" "border-left-color: rgb(136, 138, 133); \n" "padding-left:3px; padding-top:3px;border-style: inset;}")); QIcon icon6; icon6.addFile(QStringLiteral(":/icons/droneicon/ic_x_pressed.png"), QSize(), QIcon::Normal, QIcon::Off); toolButton_exit->setIcon(icon6); label = new QLabel(widget); label->setObjectName(QStringLiteral("label")); label->setGeometry(QRect(3, 0, 141, 20)); label->setStyleSheet(QStringLiteral("font: 75 9pt \"padmaa-Bold.1.1\";")); retranslateUi(Setting); stackedWidget->setCurrentIndex(0); QMetaObject::connectSlotsByName(Setting); } // setupUi void retranslateUi(QDialog *Setting) { Setting->setWindowTitle(QApplication::translate("Setting", "Dialog", nullptr)); pushButton_APparameter->setText(QApplication::translate("Setting", "AP\350\260\203\350\257\225\345\217\202\346\225\260", nullptr)); pushButton_singlecommand->setText(QApplication::translate("Setting", "\345\215\225\346\216\247\345\210\266\346\214\207\344\273\244", nullptr)); pushButton_calibration->setText(QApplication::translate("Setting", "\346\203\257\345\257\274\347\263\273\347\273\237\346\240\241\345\207\206", nullptr)); label_90->setText(QApplication::translate("Setting", "\346\273\232\350\275\254\346\216\247\345\210\266---", nullptr)); label_100->setText(QApplication::translate("Setting", "->", nullptr)); label_38->setText(QApplication::translate("Setting", "5", nullptr)); label_96->setText(QApplication::translate("Setting", "->", nullptr)); label_42->setText(QApplication::translate("Setting", "2", nullptr)); label_45->setText(QString()); label_75->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\346\273\232\350\275\254\346\216\247\345\210\266\345\220\221\344\270\213 (0..100) (%)", nullptr)); label_94->setText(QApplication::translate("Setting", "->", nullptr)); label_95->setText(QApplication::translate("Setting", "->", nullptr)); label_98->setText(QApplication::translate("Setting", "->", nullptr)); label_83->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\346\273\232\350\275\254\350\247\222\347\247\257\345\210\206", nullptr)); label_97->setText(QApplication::translate("Setting", "->", nullptr)); label_79->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210DD\357\274\211\346\273\232\350\275\254\350\247\222\345\212\240\351\200\237\345\272\246", nullptr)); label_77->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\346\273\232\350\275\254\346\216\247\345\210\266\345\220\221\344\270\212 (0..100) (%)", nullptr)); label_39->setText(QApplication::translate("Setting", "4", nullptr)); label_85->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211 \346\273\232\350\275\254\350\247\222\345\272\246\345\267\256", nullptr)); label_92->setText(QApplication::translate("Setting", "->", nullptr)); label_91->setText(QApplication::translate("Setting", "\345\217\202\346\225\260", nullptr)); label_35->setText(QApplication::translate("Setting", "7", nullptr)); label_86->setText(QString()); label_89->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211\344\277\257\344\273\260\350\247\222\345\272\246\345\267\256", nullptr)); label_47->setText(QApplication::translate("Setting", "N", nullptr)); label_81->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210D\357\274\211\346\273\232\350\275\254\350\247\222\351\200\237\345\272\246", nullptr)); label_44->setText(QApplication::translate("Setting", "1", nullptr)); label_36->setText(QApplication::translate("Setting", "6", nullptr)); label_41->setText(QApplication::translate("Setting", "3", nullptr)); label_37->setText(QApplication::translate("Setting", "8", nullptr)); label_101->setText(QApplication::translate("Setting", "->", nullptr)); label_93->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\344\277\257\344\273\260\350\247\222\347\247\257\345\210\206", nullptr)); label_40->setText(QApplication::translate("Setting", "9", nullptr)); label_102->setText(QApplication::translate("Setting", "->", nullptr)); label_103->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210D\357\274\211\344\277\257\344\273\260\350\247\222\351\200\237\345\272\246", nullptr)); label_43->setText(QApplication::translate("Setting", "10", nullptr)); label_104->setText(QApplication::translate("Setting", "->", nullptr)); label_105->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210DD\357\274\211\344\277\257\344\273\260\350\247\222\345\212\240\351\200\237\345\272\246", nullptr)); label_46->setText(QApplication::translate("Setting", "11", nullptr)); label_106->setText(QApplication::translate("Setting", "->", nullptr)); label_107->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\344\277\257\344\273\260\346\216\247\345\210\266\345\220\221\344\270\212 (0..100) (%)", nullptr)); label_48->setText(QApplication::translate("Setting", "12", nullptr)); label_108->setText(QApplication::translate("Setting", "->", nullptr)); label_109->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\344\277\257\344\273\260\346\216\247\345\210\266\345\220\221\344\270\213 (0..100) (%)", nullptr)); label_112->setText(QApplication::translate("Setting", "->", nullptr)); label_113->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211\345\236\202\347\233\264\351\200\237\345\272\246", nullptr)); label_50->setText(QApplication::translate("Setting", "13", nullptr)); label_114->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\345\236\202\347\233\264\351\200\237\345\272\246\347\247\257\345\210\206", nullptr)); label_51->setText(QApplication::translate("Setting", "14", nullptr)); label_115->setText(QApplication::translate("Setting", "->", nullptr)); label_116->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210D\357\274\211\345\236\202\347\233\264\345\212\240\351\200\237\345\272\246", nullptr)); label_52->setText(QApplication::translate("Setting", "15", nullptr)); label_117->setText(QApplication::translate("Setting", "->", nullptr)); label_118->setText(QApplication::translate("Setting", " \351\253\230\345\272\246\345\267\256\345\220\216\345\236\202\347\233\264\351\200\237\345\272\246", nullptr)); label_53->setText(QApplication::translate("Setting", "16", nullptr)); label_119->setText(QApplication::translate("Setting", "->", nullptr)); label_120->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\345\256\275\350\204\211\345\206\262\350\260\203\345\210\266\345\231\250(0..100) (%)", nullptr)); label_54->setText(QApplication::translate("Setting", "17", nullptr)); label_121->setText(QApplication::translate("Setting", "->", nullptr)); label_122->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\260\217\345\256\275\350\204\211\345\206\262\350\260\203\345\210\266\345\231\250(0..100) (%)", nullptr)); label_55->setText(QApplication::translate("Setting", "18", nullptr)); label_123->setText(QApplication::translate("Setting", "->", nullptr)); label_124->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\345\236\202\347\233\264\351\200\237\345\272\246\345\220\221\344\270\212", nullptr)); label_56->setText(QApplication::translate("Setting", "19", nullptr)); label_125->setText(QApplication::translate("Setting", "->", nullptr)); label_126->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\345\236\202\347\233\264\351\200\237\345\272\246\345\220\221\344\270\213", nullptr)); label_57->setText(QApplication::translate("Setting", "20", nullptr)); label_127->setText(QApplication::translate("Setting", "->", nullptr)); label_128->setText(QApplication::translate("Setting", " \351\231\215\350\220\275\346\227\266\351\251\254\350\276\276\345\201\234\346\255\242\347\232\204\346\227\266\351\227\264", nullptr)); label_58->setText(QApplication::translate("Setting", "21", nullptr)); label_129->setText(QApplication::translate("Setting", "->", nullptr)); label_133->setText(QApplication::translate("Setting", "->", nullptr)); label_60->setText(QApplication::translate("Setting", "22", nullptr)); label_132->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211\350\210\252\345\220\221\350\247\222\345\272\246\345\267\256", nullptr)); label_134->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\350\210\252\345\220\221\350\247\222\347\247\257\345\210\206", nullptr)); label_61->setText(QApplication::translate("Setting", "23", nullptr)); label_135->setText(QApplication::translate("Setting", "->", nullptr)); label_136->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210D\357\274\211\350\210\252\345\220\221\350\247\222\351\200\237\345\272\246", nullptr)); label_62->setText(QApplication::translate("Setting", "24", nullptr)); label_137->setText(QApplication::translate("Setting", "->", nullptr)); label_138->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\346\234\200\345\244\247\345\201\217\350\210\252\346\216\247\345\210\266 (0..100) (%)", nullptr)); label_63->setText(QApplication::translate("Setting", "25", nullptr)); label_139->setText(QApplication::translate("Setting", "->", nullptr)); label_142->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211\345\220\216\346\273\232\350\275\254/\344\277\257\344\273\260\351\200\237\345\272\246\345\267\256", nullptr)); label_65->setText(QApplication::translate("Setting", "26", nullptr)); label_143->setText(QApplication::translate("Setting", "->", nullptr)); label_144->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\345\220\216\346\273\232\350\275\254/\344\277\257\344\273\260\351\200\237\345\272\246\345\267\256\347\247\257\345\210\206 ", nullptr)); label_66->setText(QApplication::translate("Setting", "27", nullptr)); label_145->setText(QApplication::translate("Setting", "->", nullptr)); label_146->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\345\220\216\344\277\257\344\273\260\357\274\210\357\274\211", nullptr)); label_67->setText(QApplication::translate("Setting", "28", nullptr)); label_147->setText(QApplication::translate("Setting", "->", nullptr)); label_68->setText(QApplication::translate("Setting", "\344\277\257\344\273\260\346\216\247\345\210\266", nullptr)); label_99->setText(QApplication::translate("Setting", "\344\277\257\344\273\260\346\216\247\345\210\266", nullptr)); label_148->setText(QApplication::translate("Setting", "\344\277\257\344\273\260\346\216\247\345\210\266---", nullptr)); label_69->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_110->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_149->setText(QApplication::translate("Setting", "\351\251\254\350\276\276---", nullptr)); label_111->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_150->setText(QApplication::translate("Setting", "\345\201\217\350\210\252\346\216\247\345\210\266---", nullptr)); label_70->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); lineEdit_black4->setText(QString()); label_151->setText(QApplication::translate("Setting", "\350\247\222\345\272\246\346\216\247\345\210\266---", nullptr)); label_71->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); lineEdit_black5->setText(QString()); label_130->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_131->setText(QApplication::translate("Setting", "->", nullptr)); lineEdit_value->setText(QApplication::translate("Setting", "\345\200\274", nullptr)); label_152->setText(QApplication::translate("Setting", "->", nullptr)); label_153->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210DD\357\274\211\350\210\252\345\220\221\350\247\222\345\212\240\351\200\237\345\272\246", nullptr)); label_72->setText(QApplication::translate("Setting", "29", nullptr)); label_154->setText(QApplication::translate("Setting", "->", nullptr)); label_73->setText(QApplication::translate("Setting", "30", nullptr)); label_155->setText(QApplication::translate("Setting", " \345\220\216\350\210\252\345\220\221\345\217\230\345\214\226\351\200\237\345\272\246\351\231\220\345\210\266\357\274\210\347\231\276\345\210\206\345\272\246/c\357\274\211", nullptr)); label_156->setText(QApplication::translate("Setting", "->", nullptr)); label_157->setText(QApplication::translate("Setting", " \344\277\257\344\273\260\345\256\232\344\275\215\350\247\222\357\274\210\347\231\276\345\210\206\345\272\246\357\274\211", nullptr)); label_74->setText(QApplication::translate("Setting", "31", nullptr)); label_158->setText(QApplication::translate("Setting", "->", nullptr)); label_159->setText(QApplication::translate("Setting", " \346\273\232\350\275\254\345\256\232\344\275\215\350\247\222\357\274\210\347\231\276\345\210\206\345\272\246\357\274\211", nullptr)); label_76->setText(QApplication::translate("Setting", "32", nullptr)); label_160->setText(QApplication::translate("Setting", "->", nullptr)); label_161->setText(QApplication::translate("Setting", " (Vx-Vz) \347\263\273\346\225\260\357\274\210D\357\274\211\347\224\237\344\272\247\351\200\237\345\272\246\345\220\216\346\273\232\350\275\254/\344\277\257\344\273\260", nullptr)); label_78->setText(QApplication::translate("Setting", "33", nullptr)); label_162->setText(QApplication::translate("Setting", "->", nullptr)); label_163->setText(QApplication::translate("Setting", " \350\210\252\350\277\271\350\247\222\345\220\216\350\210\252\345\220\221\346\215\242\345\220\221\350\243\205\347\275\256(+1/-1)", nullptr)); label_80->setText(QApplication::translate("Setting", "34", nullptr)); label_164->setText(QApplication::translate("Setting", "->", nullptr)); label_165->setText(QApplication::translate("Setting", " \350\210\252\350\277\271\350\247\222\345\220\216\344\277\257\344\273\260\346\215\242\345\220\221\350\243\205\347\275\256(+1/-1)", nullptr)); label_82->setText(QApplication::translate("Setting", "35", nullptr)); label_166->setText(QApplication::translate("Setting", "->", nullptr)); label_167->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210P\357\274\211 \344\270\215\345\220\214\345\235\220\346\240\207\345\220\216\351\200\237\345\272\246", nullptr)); label_84->setText(QApplication::translate("Setting", "36", nullptr)); label_168->setText(QApplication::translate("Setting", "->", nullptr)); label_169->setText(QApplication::translate("Setting", " \347\272\265\345\220\221/\344\276\247\345\220\221\351\200\237\345\272\246\346\234\200\345\244\247\345\220\216\345\212\240\351\200\237\345\272\246(m/c2)", nullptr)); label_87->setText(QApplication::translate("Setting", "37", nullptr)); label_170->setText(QApplication::translate("Setting", "->", nullptr)); label_171->setText(QApplication::translate("Setting", " \347\263\273\346\225\260\357\274\210I\357\274\211\344\270\215\345\220\214\345\235\220\346\240\207\347\247\257\345\210\206\345\220\216\351\200\237\345\272\246\357\274\210I\357\274\211", nullptr)); label_88->setText(QApplication::translate("Setting", "38", nullptr)); label_140->setText(QApplication::translate("Setting", "39", nullptr)); label_172->setText(QApplication::translate("Setting", "->", nullptr)); label_173->setText(QApplication::translate("Setting", " \347\272\265\345\220\221\351\200\237\345\272\246\346\234\200\345\244\247\345\220\216\345\212\240\351\200\237\345\272\246\357\274\210\320\274/\321\2012\357\274\211", nullptr)); label_174->setText(QApplication::translate("Setting", "->", nullptr)); label_175->setText(QApplication::translate("Setting", " X\345\222\214Z\350\275\264\347\272\277\346\234\200\345\244\247\345\220\216\351\200\237\345\272\246\357\274\210\320\274/\321\201\357\274\211", nullptr)); label_141->setText(QApplication::translate("Setting", "40", nullptr)); label_176->setText(QApplication::translate("Setting", "->", nullptr)); label_177->setText(QApplication::translate("Setting", " Y\350\275\264\347\272\277\346\261\237\350\267\257\346\234\200\345\244\247\345\220\216\351\200\237\345\272\246\357\274\210\320\274/\321\201\357\274\211", nullptr)); label_178->setText(QApplication::translate("Setting", "41", nullptr)); label_179->setText(QApplication::translate("Setting", "->", nullptr)); label_180->setText(QApplication::translate("Setting", " \345\220\216\351\200\237\345\272\246\346\250\252\345\220\221\345\201\217\345\267\256\347\263\273\346\225\260", nullptr)); label_181->setText(QApplication::translate("Setting", "42", nullptr)); label_182->setText(QApplication::translate("Setting", "->", nullptr)); label_183->setText(QApplication::translate("Setting", " \347\202\271\347\232\204\350\276\223\345\205\245\345\215\212\345\276\204", nullptr)); label_184->setText(QApplication::translate("Setting", "43", nullptr)); label_185->setText(QApplication::translate("Setting", "->", nullptr)); label_186->setText(QApplication::translate("Setting", " \347\235\200\351\231\206\347\243\201\350\210\252\345\220\221\347\243\201\345\201\217\350\247\222 \357\274\210\347\231\276\345\210\206\345\272\246\357\274\211", nullptr)); label_187->setText(QApplication::translate("Setting", "44", nullptr)); label_188->setText(QApplication::translate("Setting", "->", nullptr)); label_189->setText(QApplication::translate("Setting", "45", nullptr)); label_190->setText(QApplication::translate("Setting", "\351\243\236\350\241\214\345\231\250\347\261\273\345\236\213", nullptr)); label_191->setText(QApplication::translate("Setting", "->", nullptr)); label_192->setText(QApplication::translate("Setting", "46", nullptr)); label_193->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\351\231\215\350\220\275\344\274\236\346\234\200\345\244\247\357\274\2100..50\357\274\211", nullptr)); label_194->setText(QApplication::translate("Setting", "->", nullptr)); label_195->setText(QApplication::translate("Setting", "47", nullptr)); label_196->setText(QApplication::translate("Setting", " \351\231\220\345\210\266\357\274\232\351\231\215\350\220\275\344\274\236\346\234\200\345\260\217\357\274\2100..50\357\274\211", nullptr)); label_197->setText(QApplication::translate("Setting", "->", nullptr)); label_198->setText(QApplication::translate("Setting", "48", nullptr)); label_199->setText(QApplication::translate("Setting", "\351\243\236\350\241\214\345\231\250\346\203\257\346\200\247\345\257\274\350\210\252\347\263\273\347\273\237\345\256\232\345\220\221 \357\274\2100-\346\227\240\357\274\2141..5-\346\234\211\357\274\211 ", nullptr)); label_200->setText(QApplication::translate("Setting", "->", nullptr)); label_201->setText(QApplication::translate("Setting", "49", nullptr)); label_202->setText(QApplication::translate("Setting", " \347\243\201\345\212\233\350\260\203\350\212\202\345\231\250\345\201\234\346\255\242\346\227\266\351\227\264(5.25)\357\274\210\347\247\222\357\274\211", nullptr)); label_203->setText(QApplication::translate("Setting", "->", nullptr)); label_204->setText(QApplication::translate("Setting", "50", nullptr)); label_205->setText(QApplication::translate("Setting", " \346\203\257\346\200\247\345\257\274\350\210\252\347\263\273\347\273\237\346\250\241\345\235\227\345\256\211\350\243\205\345\235\220\346\240\207(X) \357\274\210M\357\274\211", nullptr)); label_206->setText(QApplication::translate("Setting", "->", nullptr)); label_207->setText(QApplication::translate("Setting", "51", nullptr)); label_208->setText(QApplication::translate("Setting", " \346\203\257\346\200\247\345\257\274\350\210\252\347\263\273\347\273\237\346\250\241\345\235\227\345\256\211\350\243\205\345\235\220\346\240\207(Z) \357\274\210M\357\274\211", nullptr)); label_209->setText(QApplication::translate("Setting", "->", nullptr)); label_210->setText(QApplication::translate("Setting", "52", nullptr)); label_211->setText(QApplication::translate("Setting", " \347\235\200\351\231\206\347\243\201\350\210\252\345\220\221\347\243\201\345\201\217\350\247\222 \357\274\210\347\231\276\345\210\206\345\272\246\357\274\211", nullptr)); label_212->setText(QApplication::translate("Setting", "->", nullptr)); label_213->setText(QApplication::translate("Setting", "53", nullptr)); label_214->setText(QApplication::translate("Setting", " \347\235\200\351\231\206\347\243\201\350\210\252\345\220\221\347\243\201\345\201\217\350\247\222 \357\274\210\347\231\276\345\210\206\345\272\246\357\274\211", nullptr)); label_215->setText(QApplication::translate("Setting", "->", nullptr)); label_216->setText(QApplication::translate("Setting", "54", nullptr)); label_217->setText(QApplication::translate("Setting", " \346\234\200\345\244\247\351\243\236\350\241\214\350\267\235\347\246\273(100..1000) (\320\274)", nullptr)); label_218->setText(QApplication::translate("Setting", "->", nullptr)); label_219->setText(QApplication::translate("Setting", "55", nullptr)); label_220->setText(QApplication::translate("Setting", " \351\201\245\346\216\247\345\231\250\357\274\210RC\357\274\211\346\216\245\351\200\232\357\274\210-\346\227\240\357\274\2331-\346\230\257\347\232\204\357\274\2332-\320\240\321\203\320\242\320\265\321\201\321\202\357\274\211", nullptr)); label_221->setText(QApplication::translate("Setting", "->", nullptr)); label_222->setText(QApplication::translate("Setting", "56", nullptr)); label_223->setText(QApplication::translate("Setting", " \344\277\235\346\212\244\357\274\232\350\277\224\350\210\252\357\274\210\351\201\245\346\216\247\343\200\201\350\223\204\347\224\265\346\261\240\357\274\214GPS\357\274\211\357\274\2100-\345\205\263\351\227\255/1-\345\274\200\351\200\232\357\274\211", nullptr)); label_224->setText(QApplication::translate("Setting", "->", nullptr)); label_225->setText(QApplication::translate("Setting", "57", nullptr)); label_226->setText(QApplication::translate("Setting", " \344\277\235\346\212\244\357\274\232\351\201\245\346\204\237\350\277\224\350\210\252\357\274\2100-\345\205\263\351\227\255/1-\345\274\200\351\200\232\357\274\211", nullptr)); label_227->setText(QApplication::translate("Setting", "->", nullptr)); label_228->setText(QApplication::translate("Setting", "58", nullptr)); label_229->setText(QApplication::translate("Setting", " \344\274\240\346\204\237\345\231\250\350\241\245\345\205\205\351\253\230\345\272\246(0-\346\227\240/1- GPS/2- Liddar)", nullptr)); label_230->setText(QApplication::translate("Setting", "->", nullptr)); label_231->setText(QApplication::translate("Setting", "59", nullptr)); label_232->setText(QApplication::translate("Setting", " \346\221\204\345\275\261\347\272\265\345\220\221\350\256\241\347\256\227\345\237\272\346\225\260\357\274\210m\357\274\211", nullptr)); label_233->setText(QApplication::translate("Setting", "->", nullptr)); label_234->setText(QApplication::translate("Setting", "60", nullptr)); label_235->setText(QApplication::translate("Setting", " \346\277\200\346\264\273 \351\242\206\350\210\252\351\231\204\344\273\266\357\274\2100-\350\242\253\345\212\250\343\200\2011-\346\221\204\345\275\261\357\274\2142-\351\233\276\345\214\226\357\274\211", nullptr)); label_236->setText(QApplication::translate("Setting", "->", nullptr)); label_237->setText(QApplication::translate("Setting", "61", nullptr)); label_238->setText(QApplication::translate("Setting", " \351\231\215\350\220\275\344\274\236 \357\274\2100-\345\205\263\351\227\255/1-\345\274\200\351\200\232\357\274\211", nullptr)); label_239->setText(QApplication::translate("Setting", "->", nullptr)); label_240->setText(QApplication::translate("Setting", " \346\227\240\345\212\250\344\275\234\346\227\266\351\227\264\357\274\21010..200\357\274\211\357\274\210\347\247\222\357\274\211", nullptr)); label_241->setText(QApplication::translate("Setting", "62", nullptr)); label_242->setText(QApplication::translate("Setting", "->", nullptr)); label_243->setText(QApplication::translate("Setting", " \350\207\252\345\212\250\351\251\276\351\251\266\344\273\252\346\250\241\345\274\217\351\200\211\346\213\251", nullptr)); label_244->setText(QApplication::translate("Setting", "63", nullptr)); label_245->setText(QApplication::translate("Setting", "->", nullptr)); label_246->setText(QApplication::translate("Setting", " \345\234\250\351\231\215\350\220\275\346\227\266\345\212\240\351\200\237\345\272\246\345\267\262\345\205\263\351\227\255\345\217\221\345\212\250\346\234\272.(m/c2)", nullptr)); label_247->setText(QApplication::translate("Setting", "64", nullptr)); label_248->setText(QApplication::translate("Setting", "65", nullptr)); label_249->setText(QApplication::translate("Setting", " \350\241\245\345\205\205\347\243\201\346\261\207\347\274\226\347\250\213\345\272\217 \357\274\2101-\345\274\200\345\220\257/0-\345\205\263\351\227\255\357\274\211", nullptr)); label_250->setText(QApplication::translate("Setting", "->", nullptr)); label_251->setText(QApplication::translate("Setting", "66", nullptr)); label_252->setText(QApplication::translate("Setting", " \351\231\215\350\220\275\344\274\236 \357\274\2101-\345\274\200\351\200\232/0-\345\205\263\351\227\255\357\274\211", nullptr)); label_253->setText(QApplication::translate("Setting", "->", nullptr)); label_254->setText(QApplication::translate("Setting", "67", nullptr)); label_255->setText(QApplication::translate("Setting", " \345\202\250\345\244\207\346\265\256\345\212\2331 \357\274\210\346\216\250\345\212\250\350\267\235\347\246\273\357\274\214\347\247\222\357\274\211 (10 \342\200\223 Sim. GPS\357\274\211", nullptr)); label_256->setText(QApplication::translate("Setting", "->", nullptr)); label_257->setText(QApplication::translate("Setting", "68", nullptr)); label_258->setText(QApplication::translate("Setting", " \345\202\250\345\244\207\346\265\256\345\212\2332 \357\274\210\346\216\250\345\212\250\350\247\222\357\274\214\345\272\246\357\274\211", nullptr)); label_259->setText(QApplication::translate("Setting", "->", nullptr)); label_260->setText(QApplication::translate("Setting", "69", nullptr)); label_261->setText(QApplication::translate("Setting", " \345\202\250\345\244\207\346\265\256\345\212\2333\357\274\210\346\216\250\345\212\250\346\247\275\357\274\2141-\346\273\232\350\275\254\343\200\2022-\344\277\257\344\273\260\357\274\211", nullptr)); label_262->setText(QApplication::translate("Setting", "->", nullptr)); label_485->setText(QApplication::translate("Setting", "\345\202\250\345\244\207\346\265\256\345\212\233---", nullptr)); label_486->setText(QApplication::translate("Setting", "\345\202\250\345\244\207\346\265\256\345\212\233---", nullptr)); label_487->setText(QApplication::translate("Setting", "\345\202\250\345\244\207\346\265\256\345\212\233---", nullptr)); lineEdit_black5_3->setText(QString()); label_488->setText(QApplication::translate("Setting", "\351\200\237\345\272\246\346\216\247\345\210\266---", nullptr)); label_489->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_490->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); lineEdit_black5_4->setText(QString()); label_491->setText(QApplication::translate("Setting", "\347\273\274\345\220\210\346\216\247\345\210\266---", nullptr)); label_492->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); label_493->setText(QApplication::translate("Setting", "\347\224\265\346\234\272", nullptr)); lineEdit_black5_5->setText(QString()); pushButton_send->setText(QString()); toolButton_1->setText(QApplication::translate("Setting", "\350\210\252\347\202\271\344\273\273\345\212\241", nullptr)); toolButton_2->setText(QApplication::translate("Setting", "\344\270\200\351\224\256\350\277\224\350\210\252", nullptr)); toolButton_3->setText(QApplication::translate("Setting", "\345\217\226\346\266\210\350\277\224\350\210\252", nullptr)); toolButton_4->setText(QApplication::translate("Setting", "\347\264\247\346\200\245\351\231\215\350\220\275", nullptr)); toolButton_5->setText(QApplication::translate("Setting", "\346\211\223\345\274\200\347\224\265\346\234\272", nullptr)); toolButton_6->setText(QApplication::translate("Setting", "\345\205\263\351\227\255\347\224\265\346\234\272", nullptr)); toolButton_7->setText(QApplication::translate("Setting", "\346\265\213\350\257\225\347\224\265\346\234\272", nullptr)); toolButton_8->setText(QApplication::translate("Setting", "PWM", nullptr)); toolButton_15->setText(QApplication::translate("Setting", "\346\202\254\345\201\234", nullptr)); toolButton_11->setText(QApplication::translate("Setting", "\346\211\247\350\241\214\350\210\252\347\202\271", nullptr)); toolButton_10->setText(QApplication::translate("Setting", "\351\207\215\345\220\257", nullptr)); toolButton_12->setText(QApplication::translate("Setting", "\345\215\225\345\220\221\346\240\241\345\207\206", nullptr)); toolButton_9->setText(QApplication::translate("Setting", "\345\205\250\351\235\242\346\240\241\345\207\206", nullptr)); toolButton_13->setText(QApplication::translate("Setting", "\345\201\234\346\255\242\346\240\241\345\207\206", nullptr)); toolButton_16->setText(QApplication::translate("Setting", "\347\233\230\346\227\213", nullptr)); toolButton_14->setText(QApplication::translate("Setting", "\346\240\241\345\207\206\351\233\266\347\202\271", nullptr)); toolButton_23->setText(QApplication::translate("Setting", "\351\243\236\346\234\272\347\263\273\346\225\260", nullptr)); toolButton_21->setText(QApplication::translate("Setting", "\345\220\257\347\224\250\346\240\241\346\255\243", nullptr)); toolButton_24->setText(QApplication::translate("Setting", "INS", nullptr)); toolButton_18->setText(QApplication::translate("Setting", "\344\277\235\345\255\230\346\225\260\346\215\256", nullptr)); toolButton_19->setText(QApplication::translate("Setting", "\351\243\236\350\241\214\346\250\241\346\213\237", nullptr)); toolButton_22->setText(QApplication::translate("Setting", "MR", nullptr)); toolButton_17->setText(QApplication::translate("Setting", "NO FM", nullptr)); toolButton_20->setText(QApplication::translate("Setting", "\347\246\201\347\224\250\346\240\241\346\255\243", nullptr)); toolButton_39->setText(QApplication::translate("Setting", "\346\277\200\346\264\273\346\221\207\346\235\206", nullptr)); toolButton_40->setText(QApplication::translate("Setting", "\350\276\223\345\205\245\346\240\241\345\207\206", nullptr)); toolButton_41->setText(QApplication::translate("Setting", "BOL", nullptr)); toolButton_26->setText(QApplication::translate("Setting", "\345\217\221\351\200\201\346\263\265\351\200\237", nullptr)); toolButton_57->setText(QApplication::translate("Setting", "1000", nullptr)); toolButton_58->setText(QApplication::translate("Setting", "\346\221\207\346\235\206\346\216\247\345\210\266", nullptr)); toolButton_25->setText(QApplication::translate("Setting", "\345\235\220\346\240\207\351\253\230\345\272\246", nullptr)); toolButton_60->setText(QApplication::translate("Setting", "2000", nullptr)); toolButton_28->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_224->setText(QApplication::translate("Setting", "OSN", nullptr)); toolButton_223->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_225->setText(QApplication::translate("Setting", "5S", nullptr)); toolButton_226->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_27->setText(QApplication::translate("Setting", "MAL", nullptr)); toolButton_220->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_221->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_29->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_30->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_43->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_44->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_45->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_46->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_47->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_48->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_49->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_50->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_51->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_52->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_53->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_54->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_55->setText(QApplication::translate("Setting", "...", nullptr)); toolButton_56->setText(QApplication::translate("Setting", "...", nullptr)); pushButton_input->setText(QString()); toolButton_exit_2->setText(QString()); toolButton_exit_3->setText(QString()); toolButton_save->setText(QString()); label_2->setText(QApplication::translate("Setting", "\345\217\202\346\225\260\344\274\240\351\200\222\350\207\263\350\207\252\345\212\250\351\251\276\351\251\266\344\273\252", nullptr)); label_3->setText(QApplication::translate("Setting", "\344\277\235\345\255\230\345\217\202\346\225\260\350\207\263\345\210\235\345\247\213\345\214\226\346\226\207\344\273\266", nullptr)); label_4->setText(QApplication::translate("Setting", "\344\277\235\345\255\230\345\217\202\346\225\260\350\207\263\350\207\252\345\212\250\351\251\276\351\251\266\344\273\252\345\255\230\345\202\250\345\231\250", nullptr)); toolButton_load->setText(QString()); label_8->setText(QApplication::translate("Setting", "\345\212\240\350\275\275\345\217\202\346\225\260\350\207\263\345\234\260\351\235\242\347\253\231", nullptr)); toolButton_exit->setText(QString()); label->setText(QApplication::translate("Setting", "GCS \345\217\202\346\225\260\350\256\276\347\275\256", nullptr)); } // retranslateUi }; namespace Ui { class Setting: public Ui_Setting {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_SETTING_H
/**************************************** * * INSERT-PROJECT-NAME-HERE - INSERT-GENERIC-NAME-HERE * Copyright (C) 2019 Victor Tran * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * *************************************/ #include "onlineapi.h" #include <QNetworkAccessManager> #include <QNetworkReply> #include <QPainter> #include <QPainterPath> #include "onlinewebsocket.h" #include "online/onlineterms.h" #include "private/entertainingsettings.h" struct OnlineApiPrivate { OnlineApi* instance = nullptr; tSettings* settings = EntertainingSettings::instance(); QNetworkAccessManager* mgr; QString loggedInUsername; QMap<QString, QImage> imageCache; }; OnlineApiPrivate* OnlineApi::d = new OnlineApiPrivate(); OnlineApi* OnlineApi::instance() { if (d->instance == nullptr) d->instance = new OnlineApi(); return d->instance; } tPromise<QJsonDocument>* OnlineApi::post(QString endpoint, QJsonObject body) { return new tPromise<QJsonDocument>([ = ](std::function<void(QJsonDocument)> res, std::function<void(QString)> rej) { QUrl url("http://" + serverHost()); url.setScheme(isServerSecure() ? "https" : "http"); url.setPath("/api/" + endpoint); QNetworkRequest req(url); req.setHeader(QNetworkRequest::ContentTypeHeader, "application/json"); QString auth = authorizationHeader(); if (!auth.isEmpty()) { req.setRawHeader("Authorization", auth.toUtf8()); } QNetworkReply* reply = d->mgr->post(req, QJsonDocument(body).toJson(QJsonDocument::Compact)); connect(reply, &QNetworkReply::finished, this, [ = ] { processReply(reply, res, rej); }); }); } tPromise<QJsonDocument>* OnlineApi::get(QString endpoint) { return new tPromise<QJsonDocument>([ = ](std::function<void(QJsonDocument)> res, std::function<void(QString)> rej) { QUrl url("http://" + serverHost()); url.setScheme(isServerSecure() ? "https" : "http"); url.setPath("/api/" + endpoint); QNetworkRequest req(url); req.setHeader(QNetworkRequest::ContentTypeHeader, "application/json"); QString auth = authorizationHeader(); if (!auth.isEmpty()) { req.setRawHeader("Authorization", auth.toUtf8()); } QNetworkReply* reply = d->mgr->get(req); connect(reply, &QNetworkReply::finished, this, [ = ] { processReply(reply, res, rej); }); }); } tPromise<OnlineWebSocket*>* OnlineApi::play(QString applicationName, QString applicationVersion, QWidget* parentWidget) { OnlineWebSocket* ws = new OnlineWebSocket(applicationName, applicationVersion, parentWidget); qRegisterMetaType<QAbstractSocket::SocketState>(); QUrl url("ws://" + serverHost()); url.setScheme(isServerSecure() ? "wss" : "ws"); url.setPath("/api/play"); if (!d->settings->value("online/token").toString().isEmpty()) { QTimer::singleShot(500, this, [ = ] { ws->open(url); }); } return new tPromise<OnlineWebSocket*>([ = ](std::function<void(OnlineWebSocket*)> res, std::function<void(QString)> rej) { if (d->settings->value("online/token").toString().isEmpty()) { rej("!" + tr("You are not logged in.")); return; } QMetaObject::Connection* disconnectedConnection = new QMetaObject::Connection(); *disconnectedConnection = connect(ws, &OnlineWebSocket::disconnected, this, [ = ] { QString error; switch (static_cast<int>(ws->closeCode())) { case QWebSocketProtocol::CloseCodeGoingAway: error = tr("The connection was lost because the server is now undergoing maintenance."); break; case QWebSocketProtocol::CloseCodeProtocolError: case QWebSocketProtocol::CloseCodeMissingExtension: case 1014: //Bad Gateway error = tr("The connection was lost because a server error occurred."); break; case QWebSocketProtocol::CloseCodeDatatypeNotSupported: case QWebSocketProtocol::CloseCodeWrongDatatype: error = tr("The connection was lost because the server couldn't understand our messages."); break; case QWebSocketProtocol::CloseCodeTooMuchData: error = tr("The connection was lost because too much data was sent."); break; case QWebSocketProtocol::CloseCodeBadOperation: error = tr("The connection was lost because an internal error occurred."); break; //Application specific close codes case 4000: //Authentication Error error = tr("The connection was lost because your credentials have expired or are incorrect.\n\nTry connecting again and re-enter your credentials."); //Log the user out because this token is no longer valid this->logOut(); break; case 4001: //Unknown Application error = tr("The connection was lost because the server does not support this application."); break; case 4002: //Bad Version error = tr("The connection was lost because an update is required to continue playing online."); break; case 4003: //Terms Update Required case 4005: { //Terms Acceptance Required OnlineTerms* t = new OnlineTerms(parentWidget, static_cast<int>(ws->closeCode() == 4003) ? OnlineTerms::TermsChanged : OnlineTerms::TermsAcceptance); connect(t, &OnlineTerms::accepted, this, [ = ] { //Attempt to log in again t->deleteLater(); this->play(applicationName, applicationVersion, parentWidget)->then(res)->error(rej); }); connect(t, &OnlineTerms::rejected, this, [ = ] { t->deleteLater(); rej("disconnect"); }); return; } case 4004: //Account Suspension error = tr("The connection was lost because your account has been disabled."); //Log the user out otherwise there is no way to log out this->logOut(); break; case QWebSocketProtocol::CloseCodeAbnormalDisconnection: //maybe come up with a specific message for this later default: error = tr("The connection to the server was lost."); } rej("!" + error); ws->deleteLater(); }); QMetaObject::Connection* errorConnection = new QMetaObject::Connection(); *errorConnection = connect(ws, QOverload<QAbstractSocket::SocketError>::of(&OnlineWebSocket::error), this, [ = ] { QString error; switch (ws->error()) { case QAbstractSocket::ConnectionRefusedError: error = tr("The server refused the connection. It may be undergoing maintenance."); break; case QAbstractSocket::HostNotFoundError: error = tr("The DNS server was unable to locate the IP address of the Entertaining Games server."); break; case QAbstractSocket::SocketTimeoutError: error = tr("The connection to the Entertaining Games server timed out.\n\nTry again later."); break; default: error = ws->errorString(); break; } rej("!" + error); ws->deleteLater(); }); connect(ws, &OnlineWebSocket::ready, this, [ = ] { disconnect(*disconnectedConnection); delete disconnectedConnection; disconnect(*errorConnection); delete errorConnection; res(ws); }); }); } tPromise<QImage>* OnlineApi::profilePicture(QString gravatarHash, int pictureSize) { return new tPromise<QImage>([ = ](std::function<void(QImage)> res, std::function<void(QString)> rej) { auto processImage = [ = ](QImage image) { QImage displayImage(QSize(pictureSize, pictureSize), QImage::Format_ARGB32_Premultiplied); displayImage.fill(Qt::transparent); QPainter painter(&displayImage); painter.setRenderHint(QPainter::Antialiasing); QPainterPath clip; clip.addEllipse(0, 0, pictureSize, pictureSize); painter.setClipPath(clip); painter.drawImage(0, 0, image.scaled(pictureSize, pictureSize, Qt::IgnoreAspectRatio, Qt::SmoothTransformation)); painter.end(); res(displayImage); }; if (d->imageCache.contains(gravatarHash)) { processImage(d->imageCache.value(gravatarHash)); return; } //Get the profile picture QNetworkAccessManager* mgr = new QNetworkAccessManager(); QNetworkReply* reply = mgr->get(QNetworkRequest(QUrl(QStringLiteral("http://gravatar.com/avatar/%1.png?d=404&s=512").arg(gravatarHash)))); connect(reply, &QNetworkReply::finished, this, [ = ] { QImage image; if (reply->error() == QNetworkReply::NoError) { image = QImage::fromData(reply->readAll()); } else { image = QIcon(":/libentertaining/icons/user.svg").pixmap(QSize(512, 512)).toImage(); theLibsGlobal::tintImage(image, Qt::white); } d->imageCache.insert(gravatarHash, image); processImage(image); mgr->deleteLater(); }); }); } QUrl OnlineApi::urlForPath(QString path) { QUrl url("http://" + serverHost()); url.setScheme(isServerSecure() ? "https" : "http"); url.setPath(path); return url; } void OnlineApi::logOut() { d->settings->setValue("online/token", ""); d->settings->sync(); emit loggedOut(); } int OnlineApi::httpStatusCodeFromPromiseRejection(QString rejection) { QStringList parts = rejection.split(":|"); return parts.at(1).toInt(); } QString OnlineApi::errorFromPromiseRejection(QString rejection) { if (rejection.startsWith("!")) return rejection.mid(1); QStringList parts = rejection.split(":|"); switch (httpStatusCodeFromPromiseRejection(rejection)) { case 400: case 500: return tr("The server is not operating correctly. Try again at a later time."); case 401: return tr("You are not authorized to perform this action now."); case 404: return tr("The server may not support this game because the requested path was not found."); default: return parts.at(2); } } QString OnlineApi::getLoggedInUsername() { return d->loggedInUsername; } void OnlineApi::setLoggedInUsername(QString loggedInUsername) { d->loggedInUsername = loggedInUsername; } OnlineApi::OnlineApi(QObject* parent) : QObject(parent) { d->mgr = new QNetworkAccessManager(); } QString OnlineApi::serverHost() { QByteArray server = qgetenv("ENTERTAINING_ONLINE_HOST"); if (server.isEmpty()) server = DEFAULT_ENTERTAINING_ONLINE_HOST; return server; } bool OnlineApi::isServerSecure() { QByteArray isSecure = qgetenv("ENTERTAINING_ONLINE_HOST_IS_SECURE"); bool secure; if (isSecure.isEmpty()) { secure = DEFAULT_ENTERTAINING_ONLINE_HOST_IS_SECURE; } else { secure = isSecure == "true"; } return secure; } QString OnlineApi::authorizationHeader() { if (!d->settings->value("online/token").toString().isEmpty()) { return "Token " + d->settings->value("online/token").toString(); } else { return ""; } } QString OnlineApi::buildRejection(QNetworkReply* reply) { QStringList list; list.append(QString::number(reply->error())); list.append(QString::number(reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt())); list.append(reply->errorString()); return list.join(":|"); } void OnlineApi::processReply(QNetworkReply* reply, std::function<void (QJsonDocument)> res, std::function<void (QString)> rej) { if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() == 204) { //Respond with an empty document res(QJsonDocument()); } else { QJsonDocument doc = QJsonDocument::fromJson(reply->readAll()); if (doc.isNull()) { if (reply->error() == QNetworkReply::NoError) { rej("!" + tr("The server is not operating correctly.")); } else { rej(OnlineApi::buildRejection(reply)); } } else { res(doc); } } reply->deleteLater(); }
// // Created by lijiaqian on 1/20/21. // #include <rclcpp/rclcpp.hpp> #include <geometry_msgs/msg/twist_stamped.hpp> #include <std_srvs/srv/trigger.hpp> #include <thread> #include <fstream> // moveit #include <moveit/planning_scene_interface/planning_scene_interface.h> #include <moveit/move_group_interface/move_group_interface.h> #include <moveit/planning_scene_monitor/planning_scene_monitor.h> // for pivot transform #include "pivot_msg/msg/pivot.hpp" #include "pivot_transformation.h" #include "homogeneous_matrix.h" #include "pivot_transformation.h" // We'll just set up parameters here const std::string PIVOT_TOPIC = "/pivot"; const std::string TWIST_TOPIC = "/servo_server/delta_twist_cmds"; const size_t ROS_QUEUE_SIZE = 10; const std::string EEF_FRAME_ID = "panda_link_ee"; const std::string BASE_FRAME_ID = "panda_link_0"; static const std::string PLANNING_GROUP = "panda_arm"; static const rclcpp::Logger LOGGER = rclcpp::get_logger("telemanipulator::PivotToTwist"); struct Quaternion { double w, x, y, z; }; struct EulerAngles { double roll, pitch, yaw; }; EulerAngles ToEulerAngles(Quaternion q) { EulerAngles angles; // roll (x-axis rotation) double sinr_cosp = 2 * (q.w * q.x + q.y * q.z); double cosr_cosp = 1 - 2 * (q.x * q.x + q.y * q.y); angles.roll = std::atan2(sinr_cosp, cosr_cosp); // pitch (y-axis rotation) double sinp = 2 * (q.w * q.y - q.z * q.x); if (std::abs(sinp) >= 1) angles.pitch = std::copysign(M_PI / 2, sinp); // use 90 degrees if out of range else angles.pitch = std::asin(sinp); // yaw (z-axis rotation) double siny_cosp = 2 * (q.w * q.z + q.x * q.y); double cosy_cosp = 1 - 2 * (q.y * q.y + q.z * q.z); angles.yaw = std::atan2(siny_cosp, cosy_cosp); return angles; } template <std::size_t N> void array_print(std::array<float, N> &array, std::string name){ std::cout << name << ": "; for(unsigned int i=0; i<array.size(); i++){ std::cout << array[i] << " "; } std::cout << std::endl; } namespace telemanipulator { class PivotToTwist : public rclcpp::Node { public: PivotToTwist(const rclcpp::NodeOptions& options) : Node("pivot_to_twist", options), frame_to_publish_(BASE_FRAME_ID) { // Setup pub/sub pivot_sub_ = this->create_subscription<pivot_msg::msg::Pivot>( PIVOT_TOPIC, ROS_QUEUE_SIZE, std::bind(&PivotToTwist::pivotCB, this, std::placeholders::_1)); twist_pub_ = this->create_publisher<geometry_msgs::msg::TwistStamped>(TWIST_TOPIC, ROS_QUEUE_SIZE); // Create a service client to start the ServoServer servo_start_client_ = this->create_client<std_srvs::srv::Trigger>("/servo_server/start_servo"); if (servo_start_client_->wait_for_service(std::chrono::seconds(10))) { servo_start_client_->async_send_request(std::make_shared<std_srvs::srv::Trigger::Request>()); RCLCPP_INFO(LOGGER, "service is available"); } else { RCLCPP_WARN(LOGGER, "service not available, waiting again..."); } result_file.open("result.dat"); } void pivotCB(const pivot_msg::msg::Pivot::SharedPtr msg) { if (first_message){ tf_buffer_ = std::make_shared<tf2_ros::Buffer>(this->get_clock()); planning_scene_monitor_ = std::make_shared<planning_scene_monitor::PlanningSceneMonitor>( this->shared_from_this(), robot_description_name, tf_buffer_, "planning_scene_monitor_pivot"); planning_scene_monitor_->startStateMonitor("/panda/joint_states"); first_message = false; return; } if (second_message){ moveit::core::RobotStatePtr robotStatePtr = planning_scene_monitor_->getStateMonitor()->getCurrentState(); ee_position = robotStatePtr->getGlobalLinkTransform(EEF_FRAME_ID).translation(); ee_orientation = robotStatePtr->getGlobalLinkTransform(EEF_FRAME_ID).rotation().eulerAngles(0,1,2);// roll,pitch, yaw, for (unsigned i=0; i<3; i++){ pivot_point_position[i] = ee_position(i);} for (unsigned i=0; i<3; i++){ pivot_point_orientation[i] = ee_orientation(i);} pivotTransform.updateTrocarPoseAbsolute(pivot_point_position, pivot_point_orientation); second_message = false; } period_ = 0.03; pan_ = msg->pan; tilt_ = msg->tilt; spin_ = msg->spin; depth_ = msg->depth; timer_ =shared_from_this()->create_wall_timer(std::chrono::duration<double>(period_), std::bind(&PivotToTwist::twist_pub, this)); } void twist_pub(){ moveit::core::RobotStatePtr robotStatePtr = planning_scene_monitor_->getStateMonitor()->getCurrentState(); ee_position = robotStatePtr->getGlobalLinkTransform(EEF_FRAME_ID).translation(); ee_orientation = robotStatePtr->getGlobalLinkTransform(EEF_FRAME_ID).rotation().eulerAngles(0,1,2);// roll,pitch, yaw, // 1. msg(delta span,tilt,spin,depth) -> pivot pose pivotTransform.updateTransformationRelative(pan_*period_, tilt_*period_, spin_*period_, depth_*period_); RotationMatrix pivot_rotate = pivotTransform.getRotationMatrix(); Eigen::Matrix3d Rotation; //std::cout << "rotate_matrix" << std::endl; for (unsigned int i=0; i<3; i++){ for (unsigned int j=0; j<3; j++){ Rotation(i, j) = pivot_rotate[i][j]; //std::cout << Rotation(i, j) << " "; } } //std::cout << std::endl; Eigen::Vector3d eulerAngles = Rotation.eulerAngles(0,1,2); // Quaternion new_quaternion; // new_quaternion.x = pivotTransform.getPivotPose()[3]; // new_quaternion.y = pivotTransform.getPivotPose()[4]; // new_quaternion.z = pivotTransform.getPivotPose()[5]; // new_quaternion.w = pivotTransform.getPivotPose()[6]; //// EulerAngles eulerAngles = ToEulerAngles(new_quaternion); // Eigen::Quaterniond quaterniond(new_quaternion.w, new_quaternion.x, new_quaternion.y, new_quaternion.z); // Eigen::Vector3d eulerAngles = quaterniond.matrix().eulerAngles(0, 1, 2); std::array<float, 3> translation = pivotTransform.getTranslationVector(); ////***********************************************************************//// bool debug = true; count++; if(debug&&(count%10==1)){ write_result(eulerAngles, result_file); array_print(translation, "soll_position"); std::cout << " ist_position" << std::endl << ee_position << std::endl; // std::cout << "soll_orientation : " << eulerAngles.roll << " "<< eulerAngles.pitch <<" " << eulerAngles.yaw <<std::endl; std::cout << "soll_orientation " << eulerAngles[0] << " "<< eulerAngles[1]<<" " << eulerAngles[2] <<std::endl; std::cout << " ist_orientation" << std::endl << ee_orientation << std::endl; std::array<float, 4> PivotState = pivotTransform.getPivotState(); std::array<float, 7> PivotPose = pivotTransform.getPivotPose(); std::array<float, 6> TrocarState = pivotTransform.getTrocarState(); std::array<float, 7> TrocarPose = pivotTransform.getTrocarPose(); array_print(TrocarState, "TrocarState"); array_print(TrocarPose, "TrocarPose"); array_print(PivotState, "PivotState"); array_print(PivotPose, "PivotPose"); std::cout << "////***********************************************************************////" <<std::endl; } ////***************************************************************************//// // 2. calculate delta x,y,z, delta phi_x,phi_y,phi_z as twist auto twist_msg = std::make_unique<geometry_msgs::msg::TwistStamped>(); twist_msg->twist.linear.x = (translation[0] - ee_position[0])/period_; twist_msg->twist.linear.y = (translation[1] - ee_position[1])/period_; twist_msg->twist.linear.z = (translation[2] - ee_position[2])/period_; // twist_msg->twist.angular.x = calculate_angle(eulerAngles.roll, ee_orientation[0])/period_; // twist_msg->twist.angular.y = calculate_angle(eulerAngles.pitch, ee_orientation[1])/period_; // twist_msg->twist.angular.z = calculate_angle(eulerAngles.yaw, ee_orientation[2])/period_; twist_msg->twist.angular.x = calculate_angle(eulerAngles[0], ee_orientation[0])/period_; twist_msg->twist.angular.y = calculate_angle(eulerAngles[1], ee_orientation[1])/period_; twist_msg->twist.angular.z = calculate_angle(eulerAngles[2], ee_orientation[2])/period_; // 3. Create the messages we might publish twist_msg->header.frame_id = frame_to_publish_; twist_msg->header.stamp = this->now(); twist_pub_->publish(std::move(twist_msg)); } double calculate_angle(double angle_1, double angle_2){ if (std::abs(angle_1-M_PI)<0.5 && std::abs(angle_2+M_PI)<0.5) angle_2 = angle_2 + 2*M_PI; else if (std::abs(angle_2-M_PI)<0.5 && std::abs(angle_1+M_PI)<0.5) angle_1 = angle_1 + 2*M_PI; else if(angle_1<0 && angle_2<0) return angle_2-angle_1; return angle_1 - angle_2; } void write_result(Eigen::Vector3d& soll_orientation, std::ofstream& file_name){ if(file_name){ file_name << soll_orientation[0] << " " << soll_orientation[1] << " " << soll_orientation[2] << " " << std::endl; } } void write_result(EulerAngles& soll_orientation, std::ofstream& file_name){ if(file_name){ file_name << soll_orientation.roll << " " << soll_orientation.pitch << " " << soll_orientation.yaw << " " << std::endl; } } private: rclcpp::Subscription<pivot_msg::msg::Pivot>::SharedPtr pivot_sub_; rclcpp::Publisher<geometry_msgs::msg::TwistStamped>::SharedPtr twist_pub_; rclcpp::Client<std_srvs::srv::Trigger>::SharedPtr servo_start_client_; std::string frame_to_publish_; std::shared_ptr<tf2_ros::Buffer> tf_buffer_; std::shared_ptr<planning_scene_monitor::PlanningSceneMonitor> planning_scene_monitor_; std::string robot_description_name = "robot_description"; Eigen::Vector3d ee_position; Eigen::Vector3d ee_orientation; std::array<float, 3> pivot_point_position; std::array<float, 3> pivot_point_orientation; bool first_message = true; bool second_message = true; PivotTransform pivotTransform; //is_degree set to false double period_; double pan_, tilt_, spin_, depth_; rclcpp::TimerBase::SharedPtr timer_; int count=0; std::ofstream result_file; }; // class PivotToTwist } // namespace telemanipulator // Register the component with class_loader #include <rclcpp_components/register_node_macro.hpp> RCLCPP_COMPONENTS_REGISTER_NODE(telemanipulator::PivotToTwist)
#include <graph/graph.hpp> #include <graph/graph_algorithms.hpp> #include "../catch.hpp" #include "fixture.hpp" #include <iostream> void printPath(std::size_t number_of_rows, std::size_t number_of_columns, float2 source, float2 destination, const std::vector<float2>& path) { std::cout << "Path size: " << path.size() << std::endl; std::cout << "Edges: "; for (const auto& e : path) std::cout << "(" << e.x << "," << e.y << ") "; std::cout << std::endl; for (std::size_t c = 0; c < number_of_columns; ++c) { for (std::size_t r = 0; r < number_of_rows; ++r) { const float2 p(r, c); if (p == source) std::cout << "s "; else if (p == destination) std::cout << "d "; else { const bool found = std::find(path.begin(), path.end(), p) != path.end(); std::cout << (found ? "1 " : ". "); } } std::cout << std::endl; } } TEST_CASE("Graph algorithms, small", "[graph][algorithm][dijkstra]" ) { SECTION("distance") { const float2 source(1, 2); const float2 destination(12, 13); const float euclidan_distance = sqrt(pow(source.x - destination.x, 2) + pow(source.y - destination.y, 2)); REQUIRE( std::distanceOf2float2s()(source, destination) == euclidan_distance ); } SECTION("empty graph") { Graph<int> g; const int source(0); const int destination(1); const std::vector<int> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2ints()); REQUIRE( shortestPath.size() == 0 ); } SECTION("nonexisting destination") { Graph<int> g = { {1, 2}, {1, 3}, {1, 4}, {2, 4}, {3, 4} }; const int source(1); const int destination(10); const std::vector<int> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2ints()); REQUIRE( shortestPath.size() == 0 ); } SECTION("nonexisting source") { Graph<int> g = { {1, 2}, {1, 3}, {1, 4}, {2, 4}, {3, 4} }; const int source(10); const int destination(1); const std::vector<int> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2ints()); REQUIRE( shortestPath.size() == 0 ); } SECTION("not connected source and destination") { Graph<int> g = { {1, 2}, {3, 4} }; const int source(1); const int destination(4); const std::vector<int> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2ints()); REQUIRE( shortestPath.size() == 0 ); } SECTION("Simple") { constexpr std::size_t number_of_rows = 3; constexpr std::size_t number_of_columns = 3; const std::vector<typename Graph<float2>::Edge>* edges = createEdges<float2>(number_of_rows, number_of_columns); Graph<float2> g(*edges); const float2 source(0, 0); const float2 destination(2, 2); const std::vector<float2> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2float2s()); const float euclidan_distance = sqrt(pow(source.x - destination.x, 2) + pow(source.y - destination.y, 2)); REQUIRE( std::distanceOf2float2s()(source, destination) == euclidan_distance ); REQUIRE( shortestPath.size() == 3 ); REQUIRE( shortestPath[0] == float2(0, 0) ); REQUIRE( shortestPath[1] == float2(1, 1) ); REQUIRE( shortestPath[2] == float2(2, 2) ); delete edges; } } TEST_CASE_METHOD(Fixture<float2>, "Graph algorithms, big graph", "[graph][algorithm][dijkstra][performance]" ) { constexpr std::size_t number_of_rows = 1000; constexpr std::size_t number_of_columns = number_of_rows; Fixture<float2>::initOnce(number_of_rows, number_of_columns); SECTION("Simple") { const std::vector<typename Graph<float2>::Edge> edges = Fixture<float2>::getEdges(); Graph<float2> g(edges); const float2 source(0, 0); const float2 destination(number_of_rows-1, number_of_columns-1); const std::vector<float2> shortestPath = dijkstra_shortest_path_to(g, source, destination, std::distanceOf2float2s()); REQUIRE( shortestPath.size() == number_of_rows); for (std::size_t i = 0; i < number_of_rows; ++i) REQUIRE( shortestPath[i] == float2(i, i) ); } SECTION("teardown") { Fixture<float2>::tearDown(); } }
/* * SortMergeJoin.cpp * * Created on: Jul 21, 2010 * Author: root */ #include "SortMergeJoin.h" #include "../EntityIDBuffer.h" #include "util/Timestamp.h" //#define MERGE_DEBUG SortMergeJoin::SortMergeJoin() { // TODO Auto-generated constructor stub //pool = new CThreadPool(THREAD_NUMBER); temp1 = (ID*) malloc(4096 * sizeof(ID)); temp2 = (ID*) malloc(4096 * sizeof(ID)); } SortMergeJoin::~SortMergeJoin() { // TODO Auto-generated destructor stub if (temp1 != NULL) free(temp1); temp1 = NULL; if (temp2 != NULL) free(temp2); temp2 = NULL; } void SortMergeJoin::Join(EntityIDBuffer* entBuffer1, EntityIDBuffer* entBuffer2, int joinKey1, int joinKey2, bool secondModify /* = true */) { #ifdef MERGE_DEBUG cout << "joinKey1: " << joinKey1 << " joinKey2: " << joinKey2 << endl; #endif Timestamp tcase10; entBuffer1->sort(joinKey1); entBuffer2->sort(joinKey2); Timestamp tcase11; cout << ">>>>>on sort # merge Join time:" << (static_cast<double>(tcase11-tcase10)/1000.0) << endl; joinKey1--; joinKey2--; if (secondModify) { Merge1(entBuffer1, entBuffer2, joinKey1, joinKey2); } else { Merge2(entBuffer1, entBuffer2, joinKey1, joinKey2); } } void SortMergeJoin::Merge1(EntityIDBuffer* entBuffer1, EntityIDBuffer* entBuffer2, int joinKey1, int joinKey2) { #ifdef MERGE_DEBUG cout << "before Merge1 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "before Merge1 entBuffer2 size: " << entBuffer2->getSize() << endl; size_t count = 0; #endif register size_t i = 0; register size_t j = 0; register int k; register size_t pos1 = 0, pos2 = 0; size_t size1 = 0, size2 = 0; register ID keyValue; ID* buffer1 = entBuffer1->getBuffer(); ID* buffer2 = entBuffer2->getBuffer(); size_t length1 = entBuffer1->getSize(); size_t length2 = entBuffer2->getSize(); int IDCount1 = entBuffer1->getIDCount(); int IDCount2 = entBuffer2->getIDCount(); #ifdef MERGE_DEBUG cout << "IDCount1: " << IDCount1 << " IDCount2: " << IDCount2 << endl; #endif while (i < length1 && j < length2) { keyValue = buffer1[i * IDCount1 + joinKey1]; while (buffer2[j * IDCount2 + joinKey2] < keyValue && j < length2) { j++; } if (buffer2[j * IDCount2 + joinKey2] == keyValue) { while (buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1) { if (pos1 == 4096) { memcpy(buffer1 + size1, temp1, 4096 * sizeof(ID)); size1 = size1 + pos1; pos1 = 0; } for (k = 0; k < IDCount1; k++) { temp1[pos1] = buffer1[i * IDCount1 + k]; pos1++; } i++; } while (buffer2[j * IDCount2 + joinKey2] == keyValue && j < length2) { #ifdef MERGE_DEBUG count++; #endif if (pos2 == 4096) { memcpy(buffer2 + size2, temp2, 4096 * sizeof(ID)); size2 = size2 + pos2; pos2 = 0; } for (k = 0; k < IDCount2; k++) { temp2[pos2] = buffer2[j * IDCount2 + k]; pos2++; } j++; } } else { while (buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1) { i++; } } } memcpy(buffer1 + size1, temp1, pos1 * sizeof(ID)); size1 = size1 + pos1; entBuffer1->usedSize = size1; memcpy(buffer2 + size2, temp2, pos2 * sizeof(ID)); size2 = size2 + pos2; entBuffer2->usedSize = size2; #ifdef MERGE_DEBUG cout << "count: " << count << endl; cout << "after Merge1 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "after Merge1 entBuffer2 size: " << entBuffer2->getSize() << endl; #endif } void SortMergeJoin::Merge2(EntityIDBuffer* entBuffer1, EntityIDBuffer* entBuffer2, int joinKey1, int joinKey2) { #ifdef MERGE_DEBUG cout << "before Merge2 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "before Merge2 entBuffer2 size: " << entBuffer2->getSize() << endl; #endif register int i = 0; register int j = 0; register int k; register size_t pos1 = 0; size_t size1 = 0; register ID keyValue; ID* buffer1 = entBuffer1->getBuffer(); ID* buffer2 = entBuffer2->getBuffer(); int length1 = entBuffer1->getSize(); int length2 = entBuffer2->getSize(); int IDCount1 = entBuffer1->getIDCount(); int IDCount2 = entBuffer2->getIDCount(); while (i < length1 && j < length2) { keyValue = buffer1[i * IDCount1 + joinKey1]; while (buffer2[j * IDCount2 + joinKey2] < keyValue && j < length2) { j++; } if (buffer2[j * IDCount2 + joinKey2] == keyValue) { while (buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1) { if (pos1 == 4096) { memcpy(buffer1 + size1, temp1, 4096 * sizeof(ID)); size1 = size1 + pos1; pos1 = 0; } for (k = 0; k < IDCount1; k++) { temp1[pos1] = buffer1[i * IDCount1 + k]; pos1++; } i++; } while (buffer2[j * IDCount2 + joinKey2] == keyValue && j < length2) { j++; } } else { while (buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1) { i++; } } } memcpy(buffer1 + size1, temp1, pos1 * sizeof(ID)); size1 = size1 + pos1; entBuffer1->usedSize = size1; #ifdef MERGE_DEBUG cout << "after Merge2 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "after Merge2 entBuffer2 size: " << entBuffer2->getSize() << endl; #endif } void SortMergeJoin::Join(EntityIDBuffer *entBuffer1, ResultIDBuffer *entBuffer2, int joinKey1, int joinKey2, bool secondModify /* = true */){ if(entBuffer2->isEntityIDBuffer()){ Join(entBuffer1, entBuffer2->getEntityIDBuffer(), joinKey1, joinKey2, secondModify); return; } entBuffer1->sort(joinKey1); // entBuffer2->sort(joinKey2); joinKey1--; joinKey2--; if(secondModify){ Merge1(entBuffer1, entBuffer2, joinKey1, joinKey2); } else{ Merge2(entBuffer1, entBuffer2, joinKey1, joinKey2); } } void SortMergeJoin::Merge1(EntityIDBuffer *entBuffer1, ResultIDBuffer *entBuffer2, int joinKey1, int joinKey2){ // #ifdef MERGE_DEBUG cout << "Before Merge1 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "Before Merge1 entBuffer2 Size: " << entBuffer2->getSize() << endl; size_t count = 0; #endif register size_t i = 0, posX = 0, posXY = 0; register int k; register size_t pos1 = 0; size_t size1 = 0; register ID keyValue; ID *buffer1 = entBuffer1->getBuffer(); size_t length1 = entBuffer1->getSize(); int IDCount1 = entBuffer1->getIDCount(); int IDCount2 = entBuffer2->getIDCount(); #ifdef MERGE_DEBUG cout << "IDCount1: " << IDCount1 << " IDCount2: " << IDCount2 << endl; #endif map<ID, EntityIDBuffer*>::iterator iterX, iterXY, iterXEnd, iterXYEnd; EntityIDBuffer *buffer = BufferManager::getInstance()->getNewBuffer(); buffer->empty(); buffer->setIDCount(IDCount2); buffer->setSortKey(0); buffer->resizeForSortMergeJoin(entBuffer2->getTaskPackage()->getTotalSize()); iterX = entBuffer2->getTaskPackage()->xTempBuffer.begin(); iterXY = entBuffer2->getTaskPackage()->xyTempBuffer.begin(); iterXEnd = entBuffer2->getTaskPackage()->xTempBuffer.end(); iterXYEnd = entBuffer2->getTaskPackage()->xyTempBuffer.end(); ID *bufferX = NULL, *bufferXY = NULL; size_t lengthX = 0, lengthXY = 0; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); } if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); } while(i < length1 && (iterX != iterXEnd || iterXY != iterXYEnd)){ keyValue = buffer1[i * IDCount1 + joinKey1]; while(iterXY != iterXYEnd){ if(posXY == lengthXY){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; continue; } else{ break; } } if(bufferXY[posXY * IDCount2 + joinKey2] < keyValue){ posXY++; } else{ break; } } while(iterX != iterXEnd){ if(posX == lengthX){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; continue; } else{ break; } } if(bufferX[posX * IDCount2 + joinKey2] < keyValue){ posX++; } else{ break; } } if((iterXY != iterXYEnd && bufferXY[posXY * IDCount2 + joinKey2] == keyValue) || (iterX != iterXEnd && bufferX[posX * IDCount2 + joinKey2] == keyValue)){ while(buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1){ if(pos1 == 4096){ memcpy(buffer1 + size1, temp1, 4096*sizeof(ID)); size1 += pos1; pos1 = 0; } for(k = 0; k < IDCount1; k++){ temp1[pos1] = buffer1[i * IDCount1 + k]; pos1++; } i++; } while(iterXY != iterXYEnd){ if(posXY == lengthXY){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; continue; } else{ break; } } if(bufferXY[posXY * IDCount2 + joinKey2] == keyValue){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferXY[posXY * IDCount2 + k]); } posXY++; } else{ break; } } while(iterX != iterXEnd){ if(posX == lengthX){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; continue; } else{ break; } } if(bufferX[posX * IDCount2 + joinKey2] == keyValue){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferX[posX * IDCount2 + k]); } posX++; } else{ break; } } } else{ while(buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1){ i++; } } } memcpy(buffer1 + size1, temp1, pos1 * sizeof(ID)); size1 += pos1; entBuffer1->usedSize = size1; while(iterX != iterXEnd){ delete iterX->second; iterX->second = NULL; iterX++; } while(iterXY != iterXYEnd){ delete iterXY->second; iterXY->second = NULL; iterXY++; } entBuffer2->setEntityIDBuffer(buffer); #ifdef MERGE_DEBUG cout << "count: " << count << endl; cout << "After Merge1 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "After Merge1 entBuffer2 Size: " << entBuffer2->getSize() << endl; #endif } void SortMergeJoin::Merge2(EntityIDBuffer *entBuffer1, ResultIDBuffer *entBuffer2, int joinKey1, int joinKey2){ #ifdef MERGE_DEBUG cout << "Before Merge1 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "Before Merge2 entBuffer2 Size: " << entBuffer2->getSize() << endl; #endif register size_t i = 0, posX = 0, posXY = 0; register int k = 0; register size_t pos1 = 0; size_t size1 = 0; register ID keyValue = 0; ID *buffer1 = entBuffer1->getBuffer(); size_t length1 = entBuffer1->getSize(); int IDCount1 = entBuffer1->getIDCount(); int IDCount2 = entBuffer2->getIDCount(); map<ID, EntityIDBuffer*>::iterator iterX, iterXY, iterXEnd, iterXYEnd; EntityIDBuffer *buffer = BufferManager::getInstance()->getNewBuffer(); buffer->empty(); buffer->setIDCount(IDCount2); buffer->setSortKey(0); buffer->resizeForSortMergeJoin(entBuffer2->getTaskPackage()->getTotalSize()); iterX = entBuffer2->getTaskPackage()->xTempBuffer.begin(); iterXEnd = entBuffer2->getTaskPackage()->xTempBuffer.end(); iterXY = entBuffer2->getTaskPackage()->xyTempBuffer.begin(); iterXYEnd = entBuffer2->getTaskPackage()->xyTempBuffer.end(); ID *bufferX = NULL, *bufferXY = NULL; size_t lengthX = 0, lengthXY = 0; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); } if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); } while(i < length1 && (iterX != iterXEnd || iterXY != iterXYEnd)){ keyValue = buffer1[i * IDCount1 + joinKey1]; while(iterXY != iterXYEnd){ while(bufferXY[posXY * IDCount2 + joinKey2] < keyValue && posXY < lengthXY){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferXY[posXY * IDCount2 + k]); } posXY++; } if(posXY == lengthXY){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; } else{ break; } } else{ break; } } while(iterX != iterXEnd){ while(bufferX[posX * IDCount2 + joinKey2] < keyValue && posX < lengthX){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferX[posX * IDCount2 + k]); } posX++; } if(posX == lengthX){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; } else{ break; } } else{ break; } } if((iterXY != iterXYEnd && bufferXY[posXY * IDCount2 + joinKey2] == keyValue) || (iterX != iterXEnd && bufferX[posX * IDCount2 + joinKey2] == keyValue)){ while(buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1){ if(pos1 == 4096){ memcpy(buffer1 + size1, temp1, 4096 * sizeof(ID)); size1 += pos1; pos1 = 0; } for(k = 0; k < IDCount1; k++){ temp1[pos1] = buffer1[i * IDCount1 + k]; pos1++; } i++; } while(iterXY != iterXYEnd){ while(bufferXY[posXY * IDCount2 + joinKey2] == keyValue && posXY < lengthXY){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferXY[posXY * IDCount2 + k]); } posXY++; } if(posXY == lengthXY){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; } else{ break; } } else{ break; } } while(iterX != iterXEnd){ while(bufferX[posX * IDCount2 + joinKey2] == keyValue && posX < lengthX){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferX[posX * IDCount2 + k]); } posX++; } if(posX == lengthX){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; } else{ break; } } else{ break; } } } else{ while(buffer1[i * IDCount1 + joinKey1] == keyValue && i < length1){ i++; } } } memcpy(buffer1 + size1, temp1, pos1 * sizeof(ID)); size1 += pos1; entBuffer1->usedSize = size1; if(posXY == lengthXY && iterXY != iterXYEnd){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; } } if(posX == lengthX && iterX != iterXEnd){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; } } register ID keyValueX, keyValueXY; while(iterX != iterXEnd && iterXY != iterXYEnd){ keyValueXY = bufferXY[posXY * IDCount2 + joinKey2]; keyValueX = bufferX[posX * IDCount2 + joinKey2]; if(keyValueXY <= keyValueX){ while(iterXY != iterXYEnd){ while(bufferXY[posXY * IDCount2 + joinKey2] <= keyValueX && posXY < lengthXY){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferXY[posXY * IDCount2 + k]); } posXY++; } if(posXY == lengthXY){ delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; } else{ break; } } else{ break; } } } while(iterX != iterXEnd){ while(bufferX[posX * IDCount2 + joinKey2] == keyValueX && posX < lengthX){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferX[posX * IDCount2 + k]); } posX++; } if(posX == lengthX){ delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; } else{ break; } } else{ break; } } } while(iterXY != iterXYEnd){ while(posXY < lengthXY){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferXY[posXY * IDCount2 + k]); } posXY++; } delete iterXY->second; iterXY->second = NULL; iterXY++; if(iterXY != iterXYEnd){ bufferXY = iterXY->second->getBuffer(); lengthXY = iterXY->second->getSize(); posXY = 0; } } while(iterX != iterXEnd){ while(posX < lengthX){ for(k = 0; k < IDCount2; k++){ buffer->insertID(bufferX[posX * IDCount2 + k]); } posX++; } delete iterX->second; iterX->second = NULL; iterX++; if(iterX != iterXEnd){ bufferX = iterX->second->getBuffer(); lengthX = iterX->second->getSize(); posX = 0; } } entBuffer2->setEntityIDBuffer(buffer); #ifdef MERGE_DEBUG cout << "After Merge2 entBuffer1 size: " << entBuffer1->getSize() << endl; cout << "After Merge2 entBuffer2 Size: " << entBuffer2->getSize() << endl; #endif }
/* NO WARRANTY * * BECAUSE THE PROGRAM IS IN THE PUBLIC DOMAIN, THERE IS NO * WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE * LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE AUTHORS * AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT * WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO * THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD * THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL * NECESSARY SERVICING, REPAIR OR CORRECTION. * * IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN * WRITING WILL ANY AUTHOR, OR ANY OTHER PARTY WHO MAY MODIFY * AND/OR REDISTRIBUTE THE PROGRAM, BE LIABLE TO YOU FOR DAMAGES, * INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL * DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM * (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING * RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES * OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER * PROGRAMS), EVEN IF SUCH AUTHOR OR OTHER PARTY HAS BEEN ADVISED * OF THE POSSIBILITY OF SUCH DAMAGES. */ #include "stdafx.h" #include "Application\DigitalSimulatorApp.h" #include "Application\Configuration\ParameterManager.h" #include "Application\Debug\LogManager.h" #include "Application\Dialogs\ObjectDialogs\DialogSerielInOption.h" #include "SerialInNode.h" #include "SerialPluginManager.h" IMPLEMENT_SERIAL(CSerialInNode, DragDropArea, 1) const CSerialInNode::m_version = 1; //---------------------------------------------------------------------------- CSerialInNode::CSerialInNode(){ //---------------------------------------------------------------------------- PROC_TRACE; SetResizable(FALSE); m_contextInfo = NULL; m_inputContext = NULL; m_label = NULL; m_icon = NULL; } //---------------------------------------------------------------------------- CSerialInNode::CSerialInNode(CPoint position){ //---------------------------------------------------------------------------- PROC_TRACE; int loop; CSize size(150,0); m_icon = NULL; CString name=WMF_PATH("obj_serielin.wmf"); // create the image for the DragDrop object // m_icon = new DragDropMetaFile(position,size,name, TRUE); m_icon->SetSelectable(FALSE); AddChildAtHead(m_icon); // create the labe text for the object // CPoint botleft = m_icon->GetSpotLocation(DragDropObject::spotBottomCenter); m_label = new DragDropText(CPoint(botleft.x, botleft.y-10), CSize(0,40), "",DragDropText::DefaultFaceName, FW_NORMAL, FALSE, FALSE, TextTopMiddle); m_label->SetTextColor(RGB(0,0,0)); m_label->SetBkMode(TRANSPARENT); m_label->SetSelectable(FALSE); AddChildAtTail(m_label); CElectricPort *m_tmpPort; for( loop=0; loop<8;loop++) { m_tmpPort = new CElectricPort(position, PSRight, PSRight); m_tmpPort->Init(); AddChildAtTail(m_tmpPort); m_ports.Add(m_tmpPort); } for(loop=0 ;loop <m_ports.GetSize() ; loop++) { m_ports[loop]->SetInverter(false); m_ports[loop]->SetInput(false); m_ports[loop]->SetOutput(true); } long elements = m_ports.GetSize(); CPoint bottomRight= m_icon->GetBoundingRect().BottomRight(); CPoint topLeft = m_icon->GetBoundingRect().TopLeft(); float yOffset = m_icon->GetBoundingRect().Height() / (float)(elements+1); for(loop=0 ;loop <elements ; loop++){ int xPos = bottomRight.x; int yPos = (int)(topLeft.y+(yOffset*(loop+1))); m_ports[loop]->SetSpotLocation(DragDropObject::spotLeftCenter,xPos,yPos); } SetResizable(FALSE); m_contextInfo = NULL; m_inputContext = NULL; updateLabel(); } //---------------------------------------------------------------------------- CSerialInNode::~CSerialInNode(){ //---------------------------------------------------------------------------- PROC_TRACE; if( m_contextInfo != NULL){ m_contextInfo->Destroy(); m_contextInfo=NULL; } if( m_inputContext != NULL){ m_inputContext->Destroy(); m_inputContext=NULL; } // will bee deleted by the DragDropArray // // m_icon // m_label } //---------------------------------------------------------------------------- DragDropObject* CSerialInNode::Clone() const{ //---------------------------------------------------------------------------- PROC_TRACE; CSerialInNode* pNode = (CSerialInNode*)inherited::Clone(); POSITION p= pNode->GetFirstChildPos() ; pNode->m_icon = (DragDropMetaFile*)pNode->GetNextChild(p); pNode->m_label = (DragDropText*)pNode->GetNextChild(p); pNode->m_contextInfo = NULL; pNode->m_inputContext = NULL; while( p) { pNode->m_ports.Add(pNode->GetNextChild(p)); } pNode->updateLabel(); return pNode; } //---------------------------------------------------------------------------- void CSerialInNode::DoCalculate(){ //---------------------------------------------------------------------------- PROC_TRACE; assert(m_ports.GetSize()>=8); if(m_inputContext!=NULL){ char value = m_inputContext->read(); value &1 ? m_ports[0]->SetValue(CLogicValue::High) :m_ports[0]->SetValue(CLogicValue::Low); value &2 ? m_ports[1]->SetValue(CLogicValue::High) :m_ports[1]->SetValue(CLogicValue::Low); value &4 ? m_ports[2]->SetValue(CLogicValue::High) :m_ports[2]->SetValue(CLogicValue::Low); value &8 ? m_ports[3]->SetValue(CLogicValue::High) :m_ports[3]->SetValue(CLogicValue::Low); value &16 ? m_ports[4]->SetValue(CLogicValue::High) :m_ports[4]->SetValue(CLogicValue::Low); value &32 ? m_ports[5]->SetValue(CLogicValue::High) :m_ports[5]->SetValue(CLogicValue::Low); value &64 ? m_ports[6]->SetValue(CLogicValue::High) :m_ports[6]->SetValue(CLogicValue::Low); value &128? m_ports[7]->SetValue(CLogicValue::High) :m_ports[7]->SetValue(CLogicValue::Low); } else{ } } //---------------------------------------------------------------------------- BOOL CSerialInNode::DoOption(){ //---------------------------------------------------------------------------- PROC_TRACE; if(m_contextInfo != NULL){ m_contextInfo->DoOption(); updateLabel(); } return TRUE; } //---------------------------------------------------------------------------- CElectricPort* CSerialInNode::GetOutput(int index){ //---------------------------------------------------------------------------- PROC_TRACE; return m_ports[index]; } //---------------------------------------------------------------------------- long CSerialInNode::GetOutputCount(){ //---------------------------------------------------------------------------- PROC_TRACE; return m_ports.GetSize(); } //---------------------------------------------------------------------------- BOOL CSerialInNode::DoExtendedOption(){ //---------------------------------------------------------------------------- PROC_TRACE; CDialogSerielInOption d; char buffer[200]; if(m_contextInfo != NULL){ m_contextInfo->getKey(buffer,sizeof(buffer)-1); d.m_pluginKey = CString(buffer); } if(d.DoModal()==IDOK){ // Altes Interface zerstoeren und neues anlegen // if(m_contextInfo != NULL){ m_contextInfo->getKey(buffer,sizeof(buffer)-1); // Falls der neu gewählte Typ von Interface der gleiche wie der // bestehende ist muss man nichts tun // if(CString(buffer) == d.m_pluginKey) return FALSE; // das bestehende Interface zerstören // m_contextInfo->Destroy(); } m_contextInfo = (IPluginInfo*)SerialPluginManager::createInstance(d.m_pluginKey,"IPluginInfo"); m_contextInfo->QueryInterface("IInputContext",(IPluginBase**)&m_inputContext); return DoOption(); } return FALSE; } //---------------------------------------------------------------------------- void CSerialInNode::Serialize(CArchive& ar){ //---------------------------------------------------------------------------- PROC_TRACE; inherited::Serialize(ar); m_ports.Serialize(ar); if (ar.IsStoring()){ ar << m_version; char key[200] = ""; char param[200] = ""; if(m_contextInfo != NULL){ m_contextInfo->getKey(key,sizeof(key)-1); m_contextInfo->Get(param,sizeof(param)-1); } ar << m_icon; ar << m_label; ar << CString(key); ar << CString(param); } else{ int version; ar >> version; switch (version){ case 1: { CString key; CString param; ar >> m_icon; ar >> m_label; ar >> key; ar >> param; m_contextInfo = (IPluginInfo*)SerialPluginManager::createInstance(key,"IPluginInfo"); if(m_contextInfo != NULL){ m_contextInfo->Set((LPCSTR)param); m_contextInfo->QueryInterface("IInputContext",(IPluginBase**)&m_inputContext); } m_icon->SetMetaFileName(WMF_PATH("obj_serielin.wmf")); updateLabel(); } break; default: LM::log(LM::error,"Unknown objekt version %d during serializing of class %s found",version,GetClassName()); break; } } } //---------------------------------------------------------------------------- void CSerialInNode::updateLabel(){ //---------------------------------------------------------------------------- PROC_TRACE; if(m_label != NULL && m_contextInfo!= NULL){ char buffer[200]; m_contextInfo->getLabel(buffer, sizeof(buffer)-1); m_label->SetString(buffer); } else if(m_label != NULL){ m_label->SetString("- no PlugIn selected -"); } else{ } } //---------------------------------------------------------------------------- void CSerialInNode::OnTimerStart(){ //---------------------------------------------------------------------------- PROC_TRACE; if(m_contextInfo != NULL){ m_contextInfo->onStart(); } } //---------------------------------------------------------------------------- void CSerialInNode::OnTimerEnd(){ //---------------------------------------------------------------------------- PROC_TRACE; if(m_contextInfo != NULL){ m_contextInfo->onStop(); } }
/* * Copyright: * Daniel D. Neilson (ddneilson@ieee.org) * University of Saskatchewan * All rights reserved * * Permission granted to use for use in assignments and * projects for CMPT 485 & CMPT 829 at the University * of Saskatchewan. */ #include "GL3/gl3w.h" #include <GL/glext.h> #include <GL/glfw.h> #include <cstdio> #include <cstdlib> #include "UI/ui.h" #include "glUtils.h" #include "demo.h" #include "assign1.h" int main(int argc, char *argv[]) { if ( !UI::init(640,480) || isGLError() ) { fprintf(stderr, "ERROR: Could not initialize UI.\n"); UI::shutdown(); return EXIT_FAILURE; } // Print out some info on the runtime state fprintf(stdout, "GL VERSION: %s\n", glGetString(GL_VERSION)); fprintf(stdout, "GLSL VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION)); fprintf(stdout, "Window settings:\n\trgba bits: (%d,%d,%d,%d)\n" "\tdepth bits: %d\n" "\tstencil bits: %d\n", glfwGetWindowParam(GLFW_RED_BITS), glfwGetWindowParam(GLFW_GREEN_BITS), glfwGetWindowParam(GLFW_BLUE_BITS), glfwGetWindowParam(GLFW_ALPHA_BITS), glfwGetWindowParam(GLFW_DEPTH_BITS), glfwGetWindowParam(GLFW_STENCIL_BITS)); if (isExtensionSupported("GL_EXT_framebuffer_sRGB")) { printf("sRGB framebuffer supported\n"); glEnable(GL_FRAMEBUFFER_SRGB_EXT); if (isGLError()) { UI::shutdown(); return EXIT_FAILURE; } printf("sRGB framebuffer enabled\n"); } // Turn on backface culling glEnable(GL_CULL_FACE); // Turn on the depth buffer glEnable(GL_DEPTH_TEST); if (isGLError()) { UI::shutdown(); return EXIT_FAILURE; } // Set the window's title UI::setWindowTitle("Assignment 1"); // Create & initialize the program object // Change this 0 to a 1 to start the assignment #if 1 Assignment1 program; if ( !program.init() ) { printf("FAIL\n"); UI::shutdown(); return EXIT_FAILURE; } UI::setCallbacks(&program); #else DemoProgram demo; if ( !demo.init() ) { UI::shutdown(); return EXIT_FAILURE; } UI::setCallbacks(&demo); #endif // Event loop UI::mainLoop(); // Clean up the UI before exit UI::shutdown(); return EXIT_SUCCESS; }
// // Created by Liang on 2019-08-24. // #include <vector> #include <algorithm> #include <iostream> #include <sstream> using namespace std; namespace { string int2string(int x){ stringstream ss; string string1; ss<<x; ss>>string1; return string1; } bool cmp_str(string a, string b){ return a > b; } long long string2long(string string1){ stringstream ss; long long result; ss<<string1; ss>>result; return result; } bool cmp(int a, int b){ string a_str = int2string(a); string b_str = int2string(b); return cmp_str(a_str + b_str, b_str + a_str); // string a_str = int2string(a); // string b_str = int2string(b); // long long a_b = string2long(a_str + b_str); // long long b_a = string2long(b_str + a_str); // if(a_b > b_a) // return true; // return false; } } class Solution { public: string largestNumber(vector<int>& nums) { sort(nums.begin(), nums.end(), cmp); string string1; if(nums.size() == 0 || nums[0] == 0) return "0"; for(auto num: nums){ string1 += int2string(num); } return string1; } static void solution(){ vector<int> nums = {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; Solution solution1; cout<<solution1.largestNumber(nums)<<endl; } };
#include <gtest/gtest.h> #include <libndgpp/algorithm/accumulate.hpp> TEST(noargs, test) { EXPECT_EQ(0, ndgpp::accumulate()); } TEST(sumzero, test) { EXPECT_EQ(0, ndgpp::accumulate(1, -1)); } TEST(boolsum, test) { EXPECT_EQ(2, ndgpp::accumulate(true, true)); } TEST(negative, test) { EXPECT_EQ(-2, ndgpp::accumulate(-1, -1)); }
// Copyright (C) 2017 Elviss Strazdins // This file is part of the Ouzel engine. #pragma once #include "math/Vector2.h" namespace ouzel { class Size3; class Size2 { public: float v[2]; Size2() { v[0] = 0.0f; v[1] = 0.0f; } Size2(float w, float h) { v[0] = w; v[1] = h; } Size2(const Vector2& point) { v[0] = point.v[0]; v[1] = point.v[1]; } Size2& operator=(const Vector2& point) { v[0] = point.v[0]; v[1] = point.v[1]; return *this; } Size2(const Size3& s); Size2& operator=(const Size3& s); float& width() { return v[0]; } float& height() { return v[1]; } float width() const { return v[0]; } float height() const { return v[1]; } float& operator[](size_t index) { return v[index]; } float operator[](size_t index) const { return v[index]; } Size2 operator+(const Size2& size) const { return Size2(v[0] + size.v[0], v[1] + size.v[1]); } inline Size2& operator+=(const Size2& size) { v[0] += size.v[0]; v[1] += size.v[1]; return *this; } Size2 operator-(const Size2& size) const { return Size2(v[0] - size.v[0], v[1] - size.v[1]); } inline Size2& operator-=(const Size2& size) { v[0] -= size.v[0]; v[1] -= size.v[1]; return *this; } Size2 operator*(float a) const { return Size2(v[0] * a, v[1] * a); } inline Size2& operator*=(float scalar) { v[0] *= scalar; v[1] *= scalar; return *this; } Size2 operator/(float a) const { return Size2(v[0] / a, v[1] / a); } inline Size2& operator/=(float scalar) { v[0] /= scalar; v[1] /= scalar; return *this; } inline bool operator==(const Size2& size) const { return v[0] == size.v[0] && v[1] == size.v[1]; } inline bool operator!=(const Size2& size) const { return v[0] != size.v[0] || v[1] != size.v[1]; } bool isZero() const { return v[0] == 0.0f && v[1] == 0.0f; } bool isOne() const { return v[0] == 1.0f && v[1] == 1.0f; } float area() const { return v[0] * v[1]; } void scale(float scalar) { v[0] *= scalar; v[1] *= scalar; } void scale(const Vector2& scale) { v[0] *= scale.v[0]; v[1] *= scale.v[1]; } }; inline Size2 operator*(const Size2& size, const Vector2& v) { return Size2(size.v[0] * v.v[0], size.v[1] * v.v[1]); } inline Size2 operator/(const Size2& size, const Vector2& v) { return Size2(size.v[0] / v.v[0], size.v[1] / v.v[1]); } }
#ifndef GPUPROGRAMGL_H #define GPUPROGRAMGL_H #include "renderer/ShaderProgram.h" #include "renderer/ShaderType.h" #include "renderer/gl/UniformGL.h" namespace revel { namespace renderer { namespace gl { class ShaderProgramGL : public ShaderProgram { public: ShaderProgramGL(const std::string& vs, const std::string& fs); ShaderProgramGL(const std::string& vs, const std::string& fs, const std::string& gs); virtual ~ShaderProgramGL(); void use(); protected: void setup_uniforms(); void setup_attributes(); //std::unique_ptr<UniformBase> create_uniform(); bool link(); }; } // ::revel::renderer::gl } // ::revel::renderer } // ::revel #endif // GPUPROGRAMGL_H
/******************************************************************************* * Cristian Alexandrescu * * 2163013577ba2bc237f22b3f4d006856 * * 11a4bb2c77aca6a9927b85f259d9af10db791ce5cf884bb31e7f7a889d4fb385 * * bc9a53289baf23d369484f5343ed5d6c * *******************************************************************************/ /* Problem 10102 - The path in the colored field */ #include <iostream> #include <string> #include <vector> using namespace std; int main() { for (string oLine; getline(cin, oLine) ; ) { const int nN = stoi(oLine); class CPosition { public: CPosition(int nRow, int nColumn) : m_nRow(nRow), m_nColumn(nColumn) { } int DistanceTo(const CPosition &roPosition) const { return abs(m_nRow - roPosition.m_nRow) + abs(m_nColumn - roPosition.m_nColumn); } private: int m_nRow, m_nColumn; }; vector<CPosition> oVecoSources, oVecoDestinations; for (int nLoopRow = 0; nLoopRow < nN; nLoopRow++) { getline(cin, oLine); for (int nLoopColumn = 0; nLoopColumn < nN; nLoopColumn++) { switch (oLine[nLoopColumn]) { case '1': oVecoSources.push_back(CPosition(nLoopRow, nLoopColumn)); break; case '3': oVecoDestinations.push_back(CPosition(nLoopRow, nLoopColumn)); break; } } } int nMaxDist = 0; for (auto oItSource = oVecoSources.cbegin(); oItSource != oVecoSources.cend(); ++oItSource) { int nMinDist = 2 * nN; for (auto oItDestination = oVecoDestinations.cbegin(); oItDestination != oVecoDestinations.cend(); ++oItDestination) { auto nDist = oItSource->DistanceTo(*oItDestination); if (nMinDist > nDist) nMinDist = nDist; } if (nMaxDist < nMinDist) nMaxDist = nMinDist; } cout << nMaxDist << endl; } return 0; }
// // Created by Wesley Moncrief on 4/9/16. // #ifndef RAYTRACING_PLANE_H #define RAYTRACING_PLANE_H #include <iostream> #include <vector> #include "Point.h" #include "Pixel.h" #include "Ray.h" #include "Color.h" #include "LightSource.h" #include "Shape.h" #include "Sphere.h" class Plane : public Shape { double d; Vec3 normal; Color plane_color; //color of object double reflection_coeff; double ambient_coeff = .4; double diffuse_coeff = .5; double specular_refl_coeff = .7; double specular_n_value = 5; //this is the exponent bool get_intersect_pt(Ray ray, Point &pt); public: Point eye_pt; //when two solutions, this returns the minimum Plane(Point plane_pt, Vec3 plane_norm, Color color) : normal(plane_norm), plane_color(color) { normal.normalize(); d = (plane_norm.x * plane_pt.x) + (plane_norm.y * plane_pt.y) + (plane_norm.z * plane_pt.z); d = -d; reflection_coeff = 0; } Plane(Point plane_pt, Vec3 plane_norm, Color color, double reflection_coeff) : normal(plane_norm), plane_color(color), reflection_coeff(reflection_coeff) { normal.normalize(); d = (plane_norm.x * plane_pt.x) + (plane_norm.y * plane_pt.y) + (plane_norm.z * plane_pt.z); d = -d; } Plane(Point plane_pt, const Vec3 &plane_norm, const Color &plane_color, double reflection_coeff, double ambient_coeff, double diffuse_coeff, double specular_refl_coeff, double specular_n_value) : normal(plane_norm), plane_color(plane_color), reflection_coeff( reflection_coeff), ambient_coeff(ambient_coeff), diffuse_coeff(diffuse_coeff), specular_refl_coeff( specular_refl_coeff), specular_n_value( specular_n_value) { normal.normalize(); d = (plane_norm.x * plane_pt.x) + (plane_norm.y * plane_pt.y) + (plane_norm.z * plane_pt.z); d = -d; } Plane(double d, Vec3 plane_norm, Color color) : d(d), normal(plane_norm), plane_color(color) { normal.normalize(); } // Sphere(Point center, double radius, const Color &color) // : center(center), radius(radius), sphere_color(color) { } //this returns a boolean and modifies the pixel so that it has color and location information. //Pixel information can be used if a ray intersects multiple //objects. it will help determine which one to draw. //boolean is useful for when there is no intersection. bool intersect(const Ray &ray, const vector<LightSource> &lights, vector<Shape *> shapes, int count, Pixel &pixel); Color calc_ambient(); bool is_occluding(const Ray &shadow_ray, const LightSource &light) const; bool is_occluded(Ray shadow_ray, vector<Shape *> shapes, const LightSource &light); Color calc_diffuse(Point intersect_pt, const vector<LightSource> &lights, vector<Shape *> shapes); Color calc_specular(Point intersect_pt, const vector<LightSource> &lights, vector<Shape *> shapes); }; #endif //RAYTRACING_PLANE_H
// BinocularDlg.h : 头文件 // #pragma once #include "afxwin.h" //自定义的 相机类 #include "Camera.h" //自定义的 投影仪类 #include "Projector.h" #include <string> #include "afxeditbrowsectrl.h" #define CAM_FINDER_TIMER_ID 1 //用于动态发现是否有相机接入/拔出的TIMER #define CAM_FRAMERATE_GET_ID 2 //用于动态获得相机图像张数的TIMER #define PROJ_FINDER_TIMER_ID 3 //用于动态发现是否有投影仪接入/拔出的TIMER #define MAX_CAMERA_NUM 20 // CBinocularDlg 对话框 class CBinocularDlg : public CDialogEx { // 构造 public: CBinocularDlg(CWnd* pParent = NULL); // 标准构造函数 ~CBinocularDlg(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_BINOCULAR_V_1_DIALOG }; #endif //一些重要的变量 Camera* left_Camera; Camera* right_Camera; Projector* projector; unsigned long cam_online_num; std::string log_buffer; CWinThread* left_thread; CWinThread* right_thread; unsigned long frmcnt_buffer_l; unsigned long frmcnt_buffer_r; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 // 实现 protected: HICON m_hIcon; // 生成的消息映射函数 virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); //各种时钟 添加在这里 afx_msg void OnTimer(UINT_PTR uId); DECLARE_MESSAGE_MAP() public: CString _setted_exp_val; DWORD _left_ip; DWORD _right_ip; CComboBox _triger_type; CEdit _log_ctrl; CStatic _right_frate; CStatic _left_frate; CEdit _left_expose_value; CEdit _right_expose_value; CEdit _frame_set_l; CEdit _frame_set_r; CButton _is_saving; CMFCEditBrowseCtrl _dir_path; CMFCEditBrowseCtrl _ini_path; CButton _btn_connectproj; CButton _btn_closeproj; afx_msg void OnSelchangeCmbTrigger(); afx_msg void OnBnClickedBtnopenleft(); afx_msg void OnBnClickedBtncloseleft(); afx_msg void OnBnClickedBtnopenright(); afx_msg void OnBnClickedBtncloseright(); afx_msg void OnBnClickedBtnStartacq(); afx_msg void OnBnClickedBtnStopacq(); afx_msg void OnBnClickedBtnSetexposel(); afx_msg void OnBnClickedBtnSetexposer(); afx_msg void OnBnClickedChkIssaving(); afx_msg void OnEnChangeMfceditbrowse1(); afx_msg void OnBnClickedBtnStartexp(); afx_msg void OnEnChangeMfceditbrowse2(); CRITICAL_SECTION Log_Protection; //日志单线程操作需要的保护 //各种有用的函数 今后可以添加在这里 void append_log(std::string& log_data); //对Log进行添加 void update_projector_status(); //更新投影仪的状态信息 }; //单相机 单线程采集函数 UINT Left_ThreadCapture(LPVOID lpParam); UINT Right_ThreadCapture(LPVOID lpParam);
#pragma once #include <glm/glm.hpp> #include <vector> void TransformVector(std::vector<glm::vec3>& vertices, const glm::mat4x4& transform); void TransformVector(std::vector<glm::vec4>& vertices, const glm::mat4x4& transform);
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QMessageBox> #include <QHBoxLayout> #include <QSlider> #include <iostream> #include "viewer.h" extern "C" { #include "callbacks.h" } #include "processor.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QFrame *f = new QFrame(this); v = new Viewer(this); QHBoxLayout *l = new QHBoxLayout(f); f->setLayout(l); l->addWidget(v); QSlider *s = new QSlider(Qt::Vertical,f); s->setObjectName("levelSlider"); s->setMinimum(0); s->setMaximum(127); s->setSingleStep(1); l->addWidget(s); setCentralWidget(f); connect(ui->actionOpen,SIGNAL(triggered()),this,SLOT(open())); connect(s,SIGNAL(valueChanged(int)),v,SLOT(repaint())); } MainWindow::~MainWindow() { delete ui; } void MainWindow::open() { QString dirName = QFileDialog::getExistingDirectory(this,"Save directory"); if (!dirName.isEmpty()) load(dirName); } void MainWindow::load(const QString &dirName) { curDir = dirName; // get where the player is register_named_tag( "Pos", &position ) ; QString level(curDir + "/level.dat"); Named_Tag* level_tag = process_file(level.toStdString().c_str()); NT_dispose(level_tag); unregister_named_tag( "Pos") ; // set the initial height to where the player is QSlider *s = findChild<QSlider*>("levelSlider"); s->setValue((int)Player.y); // load in the block data register_named_tag( "xPos", set_x_position ) ; register_named_tag( "zPos", set_z_position ) ; register_named_tag( "Blocks", save_blocks ) ; process_dir(curDir.toStdString().c_str()) ; std::cout << "Load complete" << std::endl; repaint(); }
#ifndef POINTSVIEWMODEL_H #define POINTSVIEWMODEL_H #include <QAbstractTableModel> #include "route.h" class PointsViewModel : public QAbstractTableModel { Q_OBJECT public: PointsViewModel(Route* route = nullptr, QObject* parent = nullptr); int rowCount(const QModelIndex &parent = QModelIndex()) const override; int columnCount(const QModelIndex &parent = QModelIndex()) const override; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; public slots: void addPoints(QVector<QVector3D>& points, QVector<int>& positions); void editPoints(QVector<QVector3D>& points, QVector<int>& positions); void removePoints(QVector<int>& positions); void setRoute(Route* newRoute); public: int getRouteSize(); private: Route* route; const int defaultColumnCount = 3; }; #endif // POINTSVIEWMODEL_H
#include "CEGUI/String.h" #include "CEGUI/GeometryBuffer.h" #include "CEGUI/Texture.h" #include "CEGUI/TextureTarget.h" #include "CEGUI/GUIContext.h" #include "CEGUI/RendererModules/Ogre/Renderer.h" #include "CEGUI/RendererModules/Ogre/ResourceProvider.h" #include "CEGUI/RendererModules/Ogre/ImageCodec.h" namespace Ogre { class Root{}; class RenderSystem{}; class RenderTarget{}; #if (CEGUI_OGRE_VERSION < ((1 << 16) | (9 << 8) | 0)) class TexturePtr{}; #else template<typename T> class SharedPtr{}; class Texture{}; typedef SharedPtr<Texture> TexturePtr; #endif class Matrix4{}; }
#include <cassert> #include <string> #include <cstring> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <unistd.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/core/utility.hpp> #include "TensorSSD.hpp" using namespace std; ICudaEngine* TensorSSD::engine; IRuntime* TensorSSD::runtime; IExecutionContext* TensorSSD::context; PluginFactory TensorSSD::pluginFactory; Profiler TensorSSD::gProfiler; char* TensorSSD::INPUT_BLOB_NAME = (char*)"data"; char* TensorSSD::OUTPUT_BLOB_NAME = (char*)"detection_out"; int TensorSSD::SOURCE_WIDTH; //width of raw data int TensorSSD::SOURCE_HEIGHT; //high of raw data cudaError_t cudaPreImageNetMean(float4* input, size_t inputWidth, size_t inputHeight, float* output, size_t outputWidth, size_t outputHeight, const float3& mean_value); TensorSSD::TensorSSD() { } TensorSSD::~TensorSSD() { } int TensorSSD::getTensorVersion() { return getInferLibVersion(); } bool TensorSSD::initialize(int sourceWidth, int sourceHeight) { TensorSSD::engine = { nullptr}; TensorSSD::runtime = { nullptr}; SOURCE_WIDTH = sourceWidth; SOURCE_HEIGHT = sourceHeight; logger = new Logger("TENSOR_LOGGER"); f4RGBA = (float4*) malloc(SOURCE_WIDTH*SOURCE_HEIGHT*sizeof(float4)); return true; } bool TensorSSD::modelCacheExists(const char* modelCachePath) { ifstream modelCache(modelCachePath); return modelCache ? true : false; } float* TensorSSD::allocateMemory(DimsCHW dims, char* info) { float* ptr; size_t size; size = BATCH_SIZE * dims.c() * dims.h() * dims.w(); #ifdef DEBUG printf("[TensorSSD] Allocate memory [%s] size = %d dims.c() = %d ,dims.h() = %d ,dims.w() = %d\r\n", info, (int)size, dims.c(), dims.h(), dims.w()); #endif assert(!cudaMallocManaged(&ptr, size * sizeof(float))); return ptr; } DimsCHW TensorSSD::getTensorDims(const char* name) { for (int b = 0; b < engine->getNbBindings(); b++) { if (!strcmp(name, engine->getBindingName(b))) return static_cast<DimsCHW&&>(engine->getBindingDimensions(b)); } return DimsCHW { 0, 0, 0 }; } bool TensorSSD::imageInference(NvBuffer *buffer, std::vector<cv::Rect>* rectList, int nbBuffer) { int j = 0; for (int i = 0; i < SOURCE_WIDTH * SOURCE_HEIGHT; i += 4) { //printf("%d %d %d %d \n",*(buffer->planes[0].data+i),*(buffer->planes[0].data+i+1),*(buffer->planes[0].data+i+2),*(buffer->planes[0].data+i+3)); *(f4RGBA + j) = make_float4(*(buffer->planes[0].data + i), *(buffer->planes[0].data + i + 1), *(buffer->planes[0].data + i + 2), *(buffer->planes[0].data + i + 3)); j++; } memcpy(imgCPU, f4RGBA, SOURCE_WIDTH * sizeof(float4) * SOURCE_HEIGHT); if (CUDA_FAILED(cudaPreImageNetMean((float4* )imgCPU, SOURCE_WIDTH, SOURCE_HEIGHT, inputData, dimsInputData.w(), dimsInputData.h(), make_float3(127.0f, 127.0f, 127.0f))) ) { printf("[TensorSSD] Cuda prepare imagenet mean failed\n"); return false; } //assert(engine->getNbBindings() == nbBuffer); context->execute(BATCH_SIZE, buffers); int i = 0; rectList->clear(); rectList->push_back(cv::Rect(0, 0, 1, 1)); int tmp = 0; for (;;) { cv::Rect rect(0, 0, 0, 0); if ((*(detectOutput + 1 + i * 7) == Bus || *(detectOutput + 1 + i * 7) == Car) && *(detectOutput + 2 + i * 7) > detectConfidence) { //#ifdef DEBUG // // printf("\033[32;43m[TensorSSD] Dection output %d [id = %f , class = %f , confidence = %f , xMin = %f , yMin = %f , xMax = %f , yMax = %f \033[0m\n", // i, // *(detectOutput + i * 7), // *(detectOutput + 1 + i * 7), // *(detectOutput + 2 + i * 7), // *(detectOutput + 3 + i * 7), // *(detectOutput + 4 + i * 7), // *(detectOutput + 5 + i * 7), // *(detectOutput + 6 + i * 7)); //#endif rect.x = (*(detectOutput + 3 + i * 7) * (float)SOURCE_WIDTH); rect.y = (*(detectOutput + 4 + i * 7) * (float)SOURCE_HEIGHT); rect.width = (*(detectOutput + 5 + i * 7) * (float)SOURCE_WIDTH) - rect.x; rect.height = (*(detectOutput + 6 + i * 7) * (float)SOURCE_HEIGHT) - rect.y; rectList->push_back(rect); i++; } else { i = 0; break; } } return true; } bool TensorSSD::prepareInference(float confidence) { printf("\033[5;34m ----->>>>> TRT : SOURCE_WIDTH: %d , SOURCE_HEIGHT: %d \033[0m \n", SOURCE_WIDTH, SOURCE_HEIGHT); if (!cudaAllocMapped(&imgCPU, &imgCUDA, SOURCE_WIDTH * sizeof(float4) * SOURCE_HEIGHT)) { printf(LOG_CUDA "Cuda failed to allocate (size=%lu)\n", SOURCE_WIDTH * sizeof(float4) * SOURCE_HEIGHT); return false; } detectConfidence = confidence; dimsInputData = getTensorDims(INPUT_BLOB_NAME); dimsOutputData = getTensorDims(OUTPUT_BLOB_NAME); inputData = allocateMemory(dimsInputData, (char*)"input blob"); detectOutput = allocateMemory(dimsOutputData, (char*)"output blob"); buffers[0] = inputData; buffers[1] = detectOutput; context = engine->createExecutionContext(); context->setProfiler(&gProfiler); return true; } int TensorSSD::loadTensorSSDModel(const char* tensorSSDModelPath) { stringstream tensorrt_model_stream; tensorrt_model_stream.seekg(0, tensorrt_model_stream.beg); ifstream tensorrt_model_cache_load(tensorSSDModelPath); //model cache to load if (!tensorrt_model_cache_load) { return 0; } printf("[TensorSSD] Cached TensorRT model found, start loading...\n"); tensorrt_model_stream << tensorrt_model_cache_load.rdbuf(); tensorrt_model_cache_load.close(); printf("[TensorSSD] Cached TensorRT model load complete.\n"); // Create inference runtime engine. runtime = createInferRuntime(*logger); if (!runtime) { printf("[TensorSSD] Failed to create inference runtime!\n"); exit (EXIT_FAILURE); } // support for stringstream deserialization was deprecated in TensorRT v2 // instead, read the stringstream into a memory buffer and pass that to TRT. tensorrt_model_stream.seekg(0, ios::end); const int modelSize = tensorrt_model_stream.tellg(); tensorrt_model_stream.seekg(0, ios::beg); #ifdef DEBUG printf("[TensorSSD] Cached model size : %d\n", modelSize); #endif void* modelMem = malloc(modelSize); if (!modelMem) { printf("[TensorSSD] Failed to allocate memory to deserialize model!\n"); exit (EXIT_FAILURE); } tensorrt_model_stream.read((char*)modelMem, modelSize); engine = runtime->deserializeCudaEngine(modelMem, modelSize, &pluginFactory); free(modelMem); if (!engine) { printf("[TensorSSD] Failed to deserialize CUDA engine!\n"); exit (EXIT_FAILURE); } #ifdef DEBUG printf("[TensorSSD] Deserialize model ok. Number of binding indices %d \n", engine->getNbBindings()); #endif tensorrt_model_stream.str(""); return modelSize; } bool TensorSSD::convertCaffeSSDModel(const std::string& deployFile, const std::string& modelFile, const std::string& outFile) { printf("\033[31;32m%s %s\033[0m\n", deployFile.c_str(), modelFile.c_str()); if (access(deployFile.c_str(), 0) == -1 || access(modelFile.c_str(), 0) == -1) { return false; } // create a GIE model from the caffe model and serialize it to a stream IHostMemory *gieModelStream { nullptr }; std::vector<std::string> vecOutputBlobs = { OUTPUT_BLOB_NAME}; caffeToGIEModel(deployFile, modelFile, vecOutputBlobs, BATCH_SIZE, &pluginFactory, &gieModelStream); // cache the trt model std::ofstream trtModelFile(outFile.c_str()); trtModelFile.write((char *)gieModelStream->data(), gieModelStream->size()); printf("Convert model to tensor model cache : %s completed.\n", outFile.c_str()); trtModelFile.close(); gieModelStream->destroy(); return true; } void TensorSSD::caffeToGIEModel(const std::string& deployFile, // name for caffe prototxt const std::string& modelFile, // name for model const std::vector<std::string>& outputs, // network outputs unsigned int maxBatchSize, // batch size - NB must be at least as large as the batch we want to run with) nvcaffeparser1::IPluginFactory* pluginFactory, // factory for plugin layers IHostMemory **gieModelStream) // output stream for the GIE model { // create the builder IBuilder* builder = createInferBuilder(*logger); // parse the caffe model to populate the network, then set the outputs INetworkDefinition* network = builder->createNetwork(); ICaffeParser* parser = createCaffeParser(); parser->setPluginFactory(pluginFactory); bool fp16 = builder->platformHasFastFp16(); const IBlobNameToTensor* blobNameToTensor = parser->parse( deployFile.c_str(), modelFile.c_str(), *network, fp16 ? DataType::kHALF : DataType::kFLOAT); // specify which tensors are outputs for (auto& s : outputs) { network->markOutput(*blobNameToTensor->find(s.c_str())); } // build the engine builder->setMaxBatchSize(maxBatchSize); builder->setMaxWorkspaceSize(512 << 20); /* *fp16 unuseable on Tx2 TensorRT(3000) will fix in TensorRT(304) officially *more details :https://devtalk.nvidia.com/default/topic/1030035/jetson-tx2/memory-issue-with-half2mode-in-tensorrt-3/ */ builder->setHalf2Mode(fp16); ICudaEngine* _engine = builder->buildCudaEngine(*network); assert(_engine); //destroy the network and the parser network->destroy(); parser->destroy(); // serialize the engine (*gieModelStream) = _engine->serialize(); _engine->destroy(); builder->destroy(); shutdownProtobufLibrary(); } /* * Unused */ void TensorSSD::printBindings() { for (int bi = 0; bi < engine->getNbBindings(); bi++) { if (engine->bindingIsInput(bi) == true) { printf("Binding %d (%s): Input.\n", bi, engine->getBindingName(bi)); } else { printf("Binding %d (%s): Output.\n", bi, engine->getBindingName(bi)); } } } bool TensorSSD::shutdown() { context->destroy(); engine->destroy(); runtime->destroy(); pluginFactory.destroyPlugin(); return true; }
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); connect(ui->btnGuardar,SIGNAL(clicked()),this,SLOT(openDisplay())); } MainWindow::~MainWindow(){ delete ui; } void MainWindow::openDisplay(){ //Creamos el objeto perro = new Perro(); perro->setNombre(ui->txtNombre->text()); perro->setRaza(ui->txtRaza->text()); perro->setEdad(ui->sbEdad->value()); /* Creamos el dialogo y enviamos el objeto como parametro, * de esta forma evitamos que se habra mas de un dialogo */ Display display(perro,this); if(display.exec() == QDialog::Accepted){ perro = display.getModel(); } qDebug() << "Perro @ Main" << perro->getNombre(); qDebug() << "Perro @ Display" << display.getModel()->getNombre(); //Actualizamos cualquier cambio hecho en el dialogo update(); } void MainWindow::update(){ qDebug("Nombre: %s Edad %d Raza: %s",qPrintable(this->perro->getNombre()),this->perro->getEdad(),qPrintable(this->perro->getRaza())); ui->txtNombre->setText(this->perro->getNombre()); ui->txtRaza->setText(this->perro->getRaza()); ui->sbEdad->setValue(this->perro->getEdad()); }
/* * SPDX-FileCopyrightText: 2020 Rolf Eike Beer <eike@sf-mail.de> * * SPDX-License-Identifier: GPL-3.0-or-later */ #pragma once #include <osm.h> #include <QAbstractTableModel> #include <string> #include <vector> class TagModel : public QAbstractTableModel { Q_OBJECT Q_DISABLE_COPY(TagModel) osm_t::TagMap m_tags; struct tag { tag() = default; tag(const QString &k, const QString &v) : key(k), value(v) {} tag(const tag &) = default; tag(tag &&) = default; tag &operator=(const tag &) = default; tag &operator=(tag &&) = default; QString key, value; bool collision = false; bool is_discardable() const; }; std::vector<tag> m_data; enum TagState { Unchanged, ///< the same key/value pair is in m_originalTags Created, ///< the key does not exist in m_originalTags Modified, ///< the key is in m_originalTags, but with a different value Deleted, ///< the key exists only in m_originalTags }; /** * @brief determine the state of a given tag * * This will check in which state the tag is, but will ignore collisions, * i.e. it will usually return Modified for most of the colliding entries * as their value differ from the first tag it finds with the given key. */ TagState tagState(const tag &t, osm_t::TagMap::const_iterator *it = nullptr) const; /** * @brief convert m_tags to m_data */ void tagsToVector(); public: TagModel(QObject *parent, object_t &obj, const base_object_t *original); int rowCount(const QModelIndex &parent) const override; int columnCount(const QModelIndex &parent) const override; QVariant data(const QModelIndex &index, int role) const override; QVariant headerData(int section, Qt::Orientation orientation, int role) const override; bool removeRows(int row, int count, const QModelIndex &parent) override; bool setData(const QModelIndex &index, const QVariant &value, int role) override; Qt::ItemFlags flags(const QModelIndex &index) const override; void replaceTags(const osm_t::TagMap &tags); inline const osm_t::TagMap &tags() const { return m_tags; } QModelIndex addTag(const QString &key, const QString &value); const osm_t::TagMap m_originalTags; };
#include "Item.h" Item::Item(const char* textureFile, uint x, uint y) : super(textureFile, x, y) { m_Behavior = BehaviorManager::getInstance().getBehavior(std::string(textureFile, 1)); } void Item::trigger(Player& player) { m_Behavior(player); } Item::~Item() { }
#include "Despesa.h" #include "ControleDeGastos.h" #include <iostream> #include <string> #define MAX 10 using namespace std; //g++ SistemaDeControleDeGastosDeMesada.cpp ControleDeGastos.cpp Despesa.cpp int main(){ double vl; string tg; int sair; Despesa d; int i; ControleDeGastos c; cout << " Sistema de controle de gastos de mesada" << endl; cout << endl; cout << "Iniciando" << endl; cout << "Adicione suas despesas: " << endl; cout << endl; for(i = 0; i < MAX; i++){ cout << " Despesa " << i << endl; cout << "Valor: " << endl; cin >> vl; d.setValor(vl); cout << "Tipo de gasto: " << endl; cin >> tg; d.setTipoDeGasto(tg); } c.calculaTotalDeDespesas(); c.existeDespesaDoTipo(d.getTipoDeGasto()); return 0; }
#include<bits/stdc++.h> using namespace std; int sum(int n) { int sum1=0; while(n>0) { sum1+=n%10; n=n/10; } return sum1; } int main() { int n; cin>>n; int x=0; while(n) { x++; if(sum(x)==10) { n--; } } cout<<x<<endl; }
#include "Utility.h" #include "Node.cpp" #include "Lists.cpp"
#include "GLContext.h" #include <GL/GL.h> #include "GL/glext.h" #include "GL/wglext.h" struct SAppContext { SAppContext() { hdc = NULL; context = NULL; wglChoosePixelFormatARB = NULL; } HDC hdc; HGLRC context; PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB; }; GLContext::GLContext(const HWND& HWnd) { m_pAppContext = new SAppContext(); bool bOk = CreateContext(HWnd); if(!bOk) throw int(1); } GLContext::~GLContext() { delete m_pAppContext; m_pAppContext = NULL; } bool GLContext::CreateContext(const HWND& HWnd) { if(m_pAppContext->context != NULL) if(m_pAppContext->context != NULL) { wglMakeCurrent(m_pAppContext->hdc,NULL); wglDeleteContext(m_pAppContext->context); m_pAppContext->context = NULL; } // get new hdc if(m_pAppContext->hdc != NULL) { ReleaseDC(HWnd, m_pAppContext->hdc); m_pAppContext->hdc = NULL; } m_pAppContext->hdc = GetDC(HWnd); if(m_pAppContext->hdc == NULL) { return 0; } // pixel format descriptor PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMATDESCRIPTOR), 1, PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER | PFD_SWAP_EXCHANGE, PFD_TYPE_RGBA, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 8, 0, PFD_MAIN_PLANE, 0, 0, 0, 0 }; // create simple opengl context if(m_pAppContext->wglChoosePixelFormatARB == NULL) { // choose pixel format int pixelformat = ChoosePixelFormat(m_pAppContext->hdc,&pfd); SetPixelFormat(m_pAppContext->hdc,pixelformat,&pfd); // create simple context HGLRC old_context = m_pAppContext->context; m_pAppContext->context = wglCreateContext(m_pAppContext->hdc); if(m_pAppContext->context == NULL) { ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->hdc = NULL; return 0; } // share context if(old_context && wglShareLists(old_context,m_pAppContext->context) == 0) { wglDeleteContext(m_pAppContext->context); ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->context = NULL; m_pAppContext->hdc = NULL; return 0; } // set current context if(wglMakeCurrent(m_pAppContext->hdc,m_pAppContext->context) == 0) { wglDeleteContext(m_pAppContext->context); ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->context = NULL; m_pAppContext->hdc = NULL; return 0; } // get proc address m_pAppContext->wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)wglGetProcAddress("wglChoosePixelFormatARB"); if(m_pAppContext->wglChoosePixelFormatARB == NULL) { wglMakeCurrent(m_pAppContext->hdc,NULL); wglDeleteContext(m_pAppContext->context); ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->context = NULL; m_pAppContext->hdc = NULL; return 0; } // destroy context wglMakeCurrent(m_pAppContext->hdc,NULL); wglDeleteContext(m_pAppContext->context); m_pAppContext->context = NULL; } // attributes GLint attributes[] = { WGL_DRAW_TO_WINDOW_ARB, GL_TRUE, WGL_ACCELERATION_ARB, WGL_FULL_ACCELERATION_ARB, WGL_DOUBLE_BUFFER_ARB, GL_TRUE, WGL_COLOR_BITS_ARB, 32, WGL_DEPTH_BITS_ARB, 24, WGL_STENCIL_BITS_ARB, 8, 0, }; // choose pixel format int pixelformat; unsigned int num_formats; m_pAppContext->wglChoosePixelFormatARB(m_pAppContext->hdc,attributes,NULL,1,&pixelformat,&num_formats); if(num_formats == 0) pixelformat = ChoosePixelFormat(m_pAppContext->hdc,&pfd); // set pixel format SetPixelFormat(m_pAppContext->hdc,pixelformat,&pfd); HGLRC old_context = m_pAppContext->context; // create context m_pAppContext->context = wglCreateContext(m_pAppContext->hdc); if(m_pAppContext->context == NULL) { ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->hdc = NULL; return 0; } // share context if(old_context && wglShareLists(old_context,m_pAppContext->context) == 0) { wglDeleteContext(m_pAppContext->context); ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->context = NULL; m_pAppContext->hdc = NULL; return 0; } // set current context if(wglMakeCurrent(m_pAppContext->hdc,m_pAppContext->context) == 0) { wglDeleteContext(m_pAppContext->context); ReleaseDC(HWnd,m_pAppContext->hdc); m_pAppContext->context = NULL; m_pAppContext->hdc = NULL; return 0; } GLExt::init(); } void GLContext::Clear() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClearColor(0,0,0,1); } void GLContext::Swap() { SwapBuffers(m_pAppContext->hdc); } void GLContext::Resize(int w, int h) { glViewport(0, 0,w,h); }
// -*- C++ -*- // // Copyright (C) 1998, 1999, 2000, 2002 Los Alamos National Laboratory, // Copyright (C) 1998, 1999, 2000, 2002 CodeSourcery, LLC // // This file is part of FreePOOMA. // // FreePOOMA is free software; you can redistribute it and/or modify it // under the terms of the Expat license. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Expat // license for more details. // // You should have received a copy of the Expat license along with // FreePOOMA; see the file LICENSE. // //----------------------------------------------------------------------------- // BrickEngine test code //----------------------------------------------------------------------------- #include "Pooma/Pooma.h" #include "Utilities/PAssert.h" #include "Utilities/Tester.h" #include "Domain/Interval.h" #include "Domain/Range.h" #include "Engine/BrickEngine.h" #include <iomanip> typedef Engine<1,double,Brick> Array_t; typedef Engine<2,double,Brick> Array2_t; typedef Engine<1,double,BrickView> View1_t; typedef Engine<1,double,BrickView> View2_t; void print(const Array2_t &, Pooma::Tester &tester); int main(int argc, char *argv[]) { Pooma::initialize(argc,argv); Pooma::Tester tester(argc,argv); #if POOMA_EXCEPTIONS try { #endif tester.out() << "\nTesting BrickEngine with Fortran-like offsets." << std::endl; Interval<1> I(1,4); Interval<2> II(I,I); Array2_t a(II), b(II), c(II); for (int i = 1; i <=4; i++) for (int j = 1; j <= 4; j++) { a(i,j) = i; b(i,j) = j; } for (int i = 1; i <=4; i++) for (int j = 1; j <= 4; j++) c(i,j) = 0.0; for (int i = 1; i <=4; i++) for (int j = 1; j <= 4; j++) for (int k = 1; k <= 4; k++) { c(i,j) += a(i,k)*b(k,j); } tester.out() << "\na = " << std::endl; print(a,tester); tester.out() << "\nb = " << std::endl; print(b,tester); tester.out() << "\nc = matmul(a,b) = " << std::endl; print(c,tester); #if POOMA_EXCEPTIONS } catch(const char *err) { tester.exceptionHandler( err ); tester.set( false ); } catch(const Pooma::Assertion &err) { tester.exceptionHandler( err ); tester.set( false ); } #endif int ret = tester.results("brick_test4"); Pooma::finalize(); return ret; } void print(const Array2_t &a, Pooma::Tester &tester) { for (int i = 1; i <= 4; i++) { for (int j = 1; j <=4; j++) { tester.out() << std::setw(4) << a(i,j) << " "; } tester.out() << std::endl; } } // ACL:rcsinfo // ---------------------------------------------------------------------- // $RCSfile: brick_test4.cpp,v $ $Author: richard $ // $Revision: 1.14 $ $Date: 2004/11/01 18:16:38 $ // ---------------------------------------------------------------------- // ACL:rcsinfo
#include "Gyroscope.h" #include "cppcompat.h" #include "I2COp.h" Gyroscope::Gyroscope(I2CController* i2c, bool sdo) : RegisterDevice(i2c, GYRO_ADDR_BASE | sdo) { I2COp* reset = new I2COp(addr, true, 2); reset->data.enqueue(GYRO_REG_CTRL_REG5); reset->data.enqueue(0x80); // reboot memory content i2c->pendingOps.enqueue(reset); I2COp* init = new I2COp(addr, true, 6); init->data.enqueue(GYRO_REG_CTRL_REG1 | 0x80); init->data.enqueue(0x0F); // REG 1 - Power up - all axees // init->data.enqueue(0x0C); // REG 1 - Power up just z init->data.enqueue(0x00); // REG 2 - default init->data.enqueue(0x00); // REG 3 - default init->data.enqueue(0x80); // REG 4 - Block data update, 250 degrees per second init->data.enqueue(0x00); // REG 5 - default i2c->pendingOps.enqueue(init); }
#include "Pawn.h" #include "ChessBoard.h" void Pawn::Initialize(sf::Color PlayerColor, sf::Vector2f Position) { sf::String fileName = "../Resources/PawnTexture_"; fileName += (PlayerColor == sf::Color::Black ? "black.png" : "white.png"); // Load texture, set it to the sprite and set what part of the sprite sheet to draw. if (!mTexture.loadFromFile(fileName)) { fileName; } Position += mSprite.getOrigin(); mSprite.setPosition(Position); mSprite.setSize(sf::Vector2f((float)SQUARE_SIZE, (float)SQUARE_SIZE)); mSprite.setTexture(&mTexture); mColor = PlayerColor; } bool Pawn::IsMoveLegal(ChessBoard* Board, sf::Vector2u Origin, sf::Vector2u Destination) { //Check if Origin and Destination are equal; if so, act as if move is illegal { if (Origin == Destination) return false; } //Check if moving "forward" int DeltaX = Origin.x - Destination.x; int DeltaY = Origin.y - Destination.y; int ColorMultiplier = (mColor == WHITE ? 1 : -1); //White pieces move "up" to go forward, black moves down if (IsWithinRange(DeltaY*ColorMultiplier, 0, 2 - bHasMoved) && (DeltaX) == 0) { //Check if destination has a piece on it (Pawns cannot attack straight ahead, only diagonally) ChessPiece* PieceOnDestination = Board->GetSquare(Destination.x, Destination.y)->GetPieceOccupyingSquare(); if (PieceOnDestination) return false; //Before we attempt to move 2 steps, make sure nothing is blocking our path there if (DeltaY == 2 * ColorMultiplier) { ChessPiece* PieceBlockingPath = Board->GetSquare(Destination.x, Destination.y + ColorMultiplier)->GetPieceOccupyingSquare(); if (PieceBlockingPath) return false; } return true; } else if (DeltaY == ColorMultiplier && abs(DeltaX) == 1) { ChessPiece* PieceOnDestination = Board->GetSquare(Destination.x, Destination.y)->GetPieceOccupyingSquare(); sf::Color ColorOfPieceOnDestination; if (PieceOnDestination) { ColorOfPieceOnDestination = PieceOnDestination->GetColor(); if (ColorOfPieceOnDestination != mColor) return true; else return false; } else return false; } else { return false; } } Pawn::Pawn() { } Pawn::~Pawn() { }
#pragma once #ifndef __INC_PLANE_H_ #define __INC_PLANE_H_ #include "Point.h" #include <string> namespace MathsLib { class Matrix4x4; class Vector3; /** A plane is mathematical set of points in 3-dimensional euclidean space. Points satisfy the equation: A*x + B*y + C*z + D = 0. @par The plane is described by the normal vector (perpendicular to the plane) and the point belonging to this plane. */ class Plane { protected: Vector3 m_vecNormal; ///< Plane's normal vector float D; ///< D = - A*x0 - B*y0 - C*z0 Point m_ptPoint; ///< Point lying on the plane void calculatePoint(const Vector3& _normal, float _d); public: /// Some static constants static const Plane UNIT_X; static const Plane UNIT_Y; static const Plane UNIT_Z; static const Plane NEGATIVE_UNIT_X; static const Plane NEGATIVE_UNIT_Y; static const Plane NEGATIVE_UNIT_Z; public: Plane(); explicit Plane(float _a, float _b, float _c, float _d); explicit Plane(const Vector3& _normal, float _d); explicit Plane(const Vector3& _normal, const Point& _pt); /** The plane can be also made of 2 vectors. Normal vector is than equal to their cross product. */ explicit Plane(const Vector3& _vec1, const Vector3& _vec2, const Point& _pt); /// Plane can be also constructed from 3 points which lay on it. explicit Plane(const Vector3& _vec1, const Vector3& _vec2, const Vector3& _vec3); ~Plane(); /// Returns plane normal. const Vector3& getPlaneNormal() const; /// Returns plane D parameter. float getPlaneD() const; /// Returns point P0 belonging to the plane. const Point& getPlanePoint() const; /** Sets plane. @param _normal normal vector of the plane @param _d d parameter of the plane. */ void setPlane(const Vector3& _normal, float _d); /** Sets plane. @param _normal normal vector of the plane @param _pt point P0 laying on the plane. */ void setPlane(const Vector3& _normal, const Point& _pt); /// Sets plane. void setPlane(float _a, float _b, float _c, float _d); /// Constructs a plane from 3 points belonging to it. void setPlane(const Vector3& _vec1, const Vector3& _vec2, const Vector3& _vec3); /** Transforms the plane by the matrix. @param _transform transformation matrix has to be inverse transpose of the actual matrix to properly transform both normal and point of the plane. */ void transform(const Matrix4x4& _transform); /// Calculates distance from the plane for a given point. float getDistanceFromPlane(const Vector3& _vec) const; /** Creates Plane from string. @param _string keeping data of plane. Three formats are accepted: "a b c d", "a;b;c;d" and "a,b,c,d". */ void fromString(const std::string& _string); /// Writes Plane to string as "a b c d". std::string toString(); }; } #endif
#include "device.h" // Device header #include "shape.h" #include "colors16bit.h" #include "font.h" #ifndef SSTRING_H #define SSTRING_H class Sstring : public Shape { private: uint16_t x, y, color, fon; char * str; Font * font_; uint8_t interval, nChar; public: Sstring (uint16_t x_, uint16_t y_, uint16_t color_, uint16_t fon_, char *str_, Font *f, uint8_t interval_); Sstring (uint16_t x_, uint16_t y_, uint16_t color_, uint16_t fon_, uint8_t n, Font *f, uint8_t interval_); void setElement (uint8_t n, char val); void setFont (Font *f); void copy (const char *); ~Sstring (); void draw () const override; void setPosition (uint16_t, uint16_t) override; }; #endif
#include <stdint.h> #include "interface.hh" #include <bitset> #include <vector> #include <cstdio> using std::vector; struct PrefetchDecision { explicit PrefetchDecision() : prefetchAddresses() { /*empty */} explicit PrefetchDecision(const std::vector<Addr> &addrs) : prefetchAddresses(addrs) { /* empty */ } std::vector<Addr> prefetchAddresses; }; class Prefetcher { public: virtual ~Prefetcher() {}; virtual unsigned int prefetch_attempts() const = 0; virtual unsigned int prefetch_hits() const = 0; virtual void increase_aggressiveness() = 0; virtual void decrease_aggressiveness() = 0; virtual PrefetchDecision react_to_access(AccessStat stat) = 0; }; class StridePrefetcher : public Prefetcher { private: unsigned int attempts, hits, addressesToPrefetch, hitsBeforePrefetch, numberOfStrides, currentDelta; bool strideInProgress; Addr lastAccessedAddress; Addr lastPrefetchedAddress; void updateNumberOfStrides(Addr addr); PrefetchDecision getPrefetchedAddresses(Addr address); public: StridePrefetcher() {}; ~StridePrefetcher() {}; PrefetchDecision react_to_access(AccessStat stat); void increase_aggressiveness() {++addressesToPrefetch;}; void decrease_aggressiveness() {--addressesToPrefetch;}; unsigned int prefetch_attempts() const {return attempts;}; void prefetch_access(); void prefetch_init(); unsigned int prefetch_hits() const {return hits;}; }; StridePrefetcher prefetcher; void StridePrefetcher::prefetch_init() { hitsBeforePrefetch = 4; addressesToPrefetch = 15; attempts = 0; hits = 0; currentDelta = 0; lastAccessedAddress = -1; numberOfStrides = 0; } PrefetchDecision StridePrefetcher::react_to_access(AccessStat stat) { if(!stat.miss) return PrefetchDecision(); Addr addressNumber = stat.mem_addr; updateNumberOfStrides(addressNumber); if(numberOfStrides >= hitsBeforePrefetch) return getPrefetchedAddresses(addressNumber); else return PrefetchDecision(); } void StridePrefetcher::updateNumberOfStrides(Addr address) { if(lastAccessedAddress == -1) { lastAccessedAddress = address; return; } int diff = address - lastAccessedAddress; int diffFromLastPrefetchedAddress = address - lastPrefetchedAddress; // The stride is still going if(diff == currentDelta || diffFromLastPrefetchedAddress == currentDelta) { ++numberOfStrides; } // Start a new stride with the new diff else { currentDelta = diff; numberOfStrides = 0; } lastAccessedAddress = address; } PrefetchDecision StridePrefetcher::getPrefetchedAddresses(Addr address) { std::vector<Addr> addrs; for(int i = 1; i <= addressesToPrefetch; ++i) { Addr tmp = address + (i * currentDelta); addrs.push_back(tmp); } lastPrefetchedAddress = address + (addressesToPrefetch * currentDelta); return PrefetchDecision(addrs); } /* * Functions that are called by the simulator, with implementation * provided by the user. The implementation may be an empty function. */ /* * The simulator calls this before any memory access to let the prefetcher * initialize itself. */ extern "C" void prefetch_init(void) { prefetcher.prefetch_init(); } /* * The simulator calls this function to notify the prefetcher about * a cache access (both hits and misses). */ extern "C" void prefetch_access(AccessStat stat){ PrefetchDecision d = prefetcher.react_to_access(stat); typedef std::vector<Addr>::const_iterator It; for (It it = d.prefetchAddresses.begin(), e = d.prefetchAddresses.end(); it != e; ++it) { if (!in_cache(*it) && !in_mshr_queue(*it)) { if (*it <= MAX_PHYS_MEM_ADDR) { issue_prefetch(*it); } } } } /* * The simulator calls this function to notify the prefetcher that * a prefetch load to address addr has just completed. */ extern "C" void prefetch_complete(Addr addr) {}
#include "../headers/Profiling.h" #include <gmock/gmock.h> TEST(nuskaitymas, ns){ vector<Studentas> studentai; Studentas *k; std::ifstream fd; try { fd.open( "test.txt", std::ios::in); if (!fd.good()) throw "Error opening file"; } catch (string &e){ cout << e << endl; return; }catch (char const* e){ cout << "Duomenu failas neegzistuoja" << endl; return; } while (!fd.eof()) { k = new Studentas(fd); if (fd.eof()) break; try { studentai.push_back(*k); }catch (std::exception exc){ cout << exc.what() << endl; std::terminate(); } } EXPECT_EQ(10, studentai.size()); EXPECT_EQ(studentai[0].vardas(), "Pavarde1"); } TEST(vidurkis, vid){ std::ifstream fd; try { fd.open( "test.txt", std::ios::in); if (!fd.good()) throw "Error opening file"; } catch (string &e){ cout << e << endl; return; }catch (char const* e){ cout << "Duomenu failas neegzistuoja" << endl; return; } Studentas k(fd); EXPECT_DOUBLE_EQ(k.Vidurkis(), double(5.6)); } //is kolegu trina jeigu yra geekas TEST(rusiavimas, rs){ vector<Studentas> studentai, geek; Nuskaitymas(studentai, "test.txt"); EXPECT_EQ(studentai.size(), 10); ArKietas(studentai,geek,true); EXPECT_EQ(studentai.size(), 1); EXPECT_EQ(geek.size(), 9); EXPECT_EQ(studentai[0].vardas(), "Pavarde1"); } int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); RUN_ALL_TESTS(); }
/*************************************************************************** Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. 2010-2020 DADI ORISTAR TECHNOLOGY DEVELOPMENT(BEIJING)CO.,LTD FileName: OSBufferPool.h Description: Provide fast access to fixed size buffers, used in RTPPacketResender.cpp. Comment: copy from Darwin Streaming Server 5.5.5 Author: taoyunxing@dadimedia.com Version: v1.0.0.1 CreateDate: 2010-08-16 LastUpdate: 2010-08-19 ****************************************************************************/ #ifndef __OS_BUFFER_POOL_H__ #define __OS_BUFFER_POOL_H__ #include "OSQueue.h" #include "OSMutex.h" class OSBufferPool { public: OSBufferPool(UInt32 inBufferSize) : fBufSize(inBufferSize), fTotNumBuffers(0) {} // This object currently *does not* clean up for itself when you destruct it! ~OSBufferPool() {} // ACCESSORS /* 得到总的缓存片段总数 */ UInt32 GetTotalNumBuffers() { return fTotNumBuffers; } /* 得到可用的缓存片段总数 */ UInt32 GetNumAvailableBuffers() { return fQueue.GetLength(); } // All these functions are thread-safe // Gets a buffer out of the pool. This buffer must be replaced // by calling Put when you are done with it. /* 从buffer池中取出一个buffer,它必须是被Put()放入buffer池的 */ void* Get(); // Returns a buffer (retreived by Get) back to the pool. /* 将指定的buffer(通过Get()检索得到)放回缓存池 */ void Put(void* inBuffer); private: /* 缓存池互斥锁 */ OSMutex fMutex; /* 所有的缓存片段组成的队列 */ OSQueue fQueue; /* 每片缓存真实长度 */ UInt32 fBufSize; /* 缓存片段总数,赋值参见OSBufferPool::Get(),好像没有多大作用,队列长度就足够了?? */ UInt32 fTotNumBuffers; }; #endif //__OS_BUFFER_POOL_H__
/* * add.h */ #ifndef ADD_H_ #define ADD_H_ #include <string> #include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; BigInteger gcd(BigInteger a, BigInteger b); BigInteger modPow(BigInteger base, BigInteger exp, BigInteger modulus); BigInteger modInv(BigInteger a, BigInteger b); BigInteger Encryption(BigInteger g, BigInteger m, BigInteger nsquare, BigInteger n, BigInteger r); BigInteger Decryption(BigInteger g, BigInteger lambda, BigInteger c, BigInteger nsquare, BigInteger n); BigInteger createRandom(const int len); BigInteger findLargePrime(const int len); bool Miller(BigInteger p); #endif /* ADD_H_ */
#ifndef ADMINSERVICE_H #define ADMINSERVICE_H #include "AdminRepository.h" #include "DrinkRepository.h" #include "SideDishRepository.h" #include "ToppingRepository.h" #include "ComboRepository.h" class AdminService { public: AdminService(); void add_drink_to_drinklist(); void remove_drink_from_drinklist(); void add_dish_to_side_dish_list(); void remove_dish_from_side_dish_list(); void add_topping_to_topping_list(); void remove_topping_from_topping_list(); void remove_combo_from_list(); void add_combo_to_list(); private: DrinkRepository drinkRepo; SideDishRepository sideRepo; ToppingRepository toppingRepo; ComboRepository comboRepo; }; #endif // ADMINSERVICE_H
/******************************************************************************* * Cristian Alexandrescu * * 2163013577ba2bc237f22b3f4d006856 * * 11a4bb2c77aca6a9927b85f259d9af10db791ce5cf884bb31e7f7a889d4fb385 * * bc9a53289baf23d369484f5343ed5d6c * *******************************************************************************/ /* Problem 573 - The Snail */ #include <iostream> using namespace std; int main() { double fH, fU, fD, fF; while ((cin >> fH >> fU >> fD >> fF), fH) { fF *= fU / 100; double fCurrentUp = fU; double fCurrentH = fH; for (int nDay = 1; ; nDay++) { fCurrentH -= fCurrentUp; if (fCurrentH < 0) { (cout << "success on day " << nDay << endl); break; } fCurrentUp -= fF; if (fCurrentUp < 0) fCurrentUp = 0; fCurrentH += fD; if (fCurrentH > fH) { cout << "failure on day " << nDay << endl; break; } } } return 0; }
#include "Board.h" #include <queue> void Board::initializeCells() { const uint32_t piecesPerPlayer = (boardSize * boardSize - 2 * boardSize) / 4; uint32_t counter = 0; for (size_t i = 0; i < boardSize && counter < piecesPerPlayer; i++) { for (size_t j = 0; j < boardSize && counter < piecesPerPlayer; j++) { if ((i + j) % 2 == 1) { counter++; cells[i][j].status = CellStatusEnum::PLAYER2; } } } counter = 0; for (int i = boardSize - 1; i >= 0 && counter < piecesPerPlayer; i--) { for (int j = boardSize - 1; j >= 0 && counter < piecesPerPlayer; j--) { if ((i + j) % 2 == 1) { counter++; cells[i][j].status = CellStatusEnum::PLAYER1; } } } } bool Board::isBoardPositionValid(int i, int j) { return ((i >= 0 && i < boardSize) && (j >= 0 && j < boardSize)); } void Board::convertToPosition(int posI, char posJ, size_t* i, size_t* j) { *i = posI - 1; *j = posJ - 'A'; } Board::Board(uint32_t boardSize) { if (boardSize % 2 != 0) throw "boardSize cannot be an odd number"; this->boardSize = boardSize; this->cells = new Cell*[boardSize]; for (size_t i = 0; i < boardSize; i++) { cells[i] = new Cell[boardSize]; for (size_t j = 0; j < boardSize; j++) { cells[i][j].i = i; cells[i][j].j = j; } } this->selectedCell = NULL; this->cachedValidPositions = {}; cells[3][3].status = PLAYER2; cells[4][2].status = PLAYER1; cells[4][4].status = PLAYER1; cells[6][6].status = PLAYER1; cells[8][6].status = PLAYER1; //initializeCells(); } Board::~Board() { for (size_t i = 0; i < boardSize; i++) delete[] cells[i]; delete[] cells; } bool Board::selectPiece(int posI, char posJ) { size_t i; size_t j; convertToPosition(posI, posJ, &i, &j); std::vector<Position> validPositions = {}; Cell& cell = cells[i][j]; if (cell.status == EMPTY) { cachedValidPositions = validPositions; return false; } const CellStatusEnum opponent = (cell.status == PLAYER1) ? PLAYER2:PLAYER1; const size_t iDirection = (cell.status == PLAYER1) ? -1 : +1; const size_t jDirections[] = { 1, -1 }; //find just emptys for (size_t jDirection : jDirections) { const size_t currentI = i + iDirection; const size_t currentJ = j + jDirection; if (isBoardPositionValid(currentI, currentJ)) { Cell& currentCell = cells[currentI][currentJ]; if (currentCell.status == EMPTY) validPositions.push_back(Position{ currentI, currentJ }); } } std::queue<Position> metaMoves; metaMoves.push(Position{ i, j, {} }); while (metaMoves.size() != 0) { Position p = metaMoves.front(); metaMoves.pop(); const size_t metaI = p.i; const size_t metaJ = p.j; bool stopHere = true; for (size_t jDirection : jDirections) { const size_t currentI = metaI + iDirection; const size_t currentJ = metaJ + jDirection; if (isBoardPositionValid(currentI, currentJ)) { Cell& currentCell = cells[currentI][currentJ]; if (currentCell.status == opponent && isBoardPositionValid(currentI + iDirection, currentJ + jDirection) && cells[currentI + iDirection][currentJ + jDirection].status == EMPTY) { std::vector<Position> killeds = p.killeds; killeds.push_back(Position{ currentI, currentJ, {} }); Position newMetaMove = { currentI + iDirection, currentJ + jDirection, killeds }; metaMoves.push(newMetaMove); stopHere = false; } } } if (stopHere && (metaI != i || metaJ != j)) { validPositions.push_back(Position{ metaI, metaJ, p.killeds }); } } /*for (size_t jDirection : jDirections) { const size_t currentI = i + iDirection; const size_t currentJ = j + jDirection; if (isBoardPositionValid(currentI, currentJ)) { Cell& currentCell = cells[currentI][currentJ]; if (currentCell.status == EMPTY) validPositions.push_back(Position{ currentI, currentJ }); else if (currentCell.status == opponent && isBoardPositionValid(currentI + iDirection, currentJ + jDirection) && cells[currentI + iDirection][currentJ + jDirection].status == EMPTY) { std::vector<Position> killeds{ Position{ currentI, currentJ } }; validPositions.push_back( Position { currentI + iDirection, currentJ + jDirection, killeds }); } } }*/ selectedCell = &cell; cachedValidPositions = validPositions; return true; } void Board::play(int posI, char posJ) { if (selectedCell == NULL) return; size_t i; size_t j; convertToPosition(posI, posJ, &i, &j); for (Position p : cachedValidPositions) { if (p.i == i && p.j == j) { cells[p.i][p.j].status = selectedCell->status; selectedCell->status = EMPTY; for (Position killedPieces : p.killeds) cells[killedPieces.i][killedPieces.j].status = EMPTY; } } cachedValidPositions = {}; selectedCell = NULL; } void Board::printBoard() { std::string buffer; const size_t maxPadding = std::to_string(boardSize).length(); for (size_t i = 0; i <= maxPadding; i++) { buffer.append(" "); } for (char i = 'A'; i < 'A' + boardSize; i++) { buffer.push_back(i); } buffer.append("\n"); for (size_t i = 0; i < boardSize; i++) { const int padding = maxPadding - std::to_string(i + 1).length(); for (size_t p = 0; p < padding; p++) buffer.append(" "); buffer.append(std::to_string(i + 1)).append(" "); for (size_t j = 0; j < boardSize; j++) { Cell& currentCell = cells[i][j]; std::string bkgColor = ((i + j) % 2 == 0) ? "\033[47m" : "\033[40m"; if (cachedValidPositions.size() != 0) { for (Position p : cachedValidPositions) { if (p.i == i && p.j == j) bkgColor = "\033[42m"; } } buffer.append(bkgColor); if (currentCell.status == EMPTY) buffer.append(" "); else if (currentCell.status == PLAYER1) buffer.append("\033[31m").append("1").append("\033[0m"); else buffer.append("\033[34m").append("2").append("\033[0m"); buffer.append("\033[0m"); } buffer.append("\n"); } for (size_t i = 0; i <= maxPadding; i++) { buffer.append(" "); } for (char i = 'A'; i < 'A' + boardSize; i++) { buffer.push_back(i); } std::cout << buffer; }
#include <cstdlib> #include <string> #include <iostream> #include "CinemaSimulation.h" CinemaSimulation::CinemaSimulation(int len, int timeBetweenPeople): simulationLen(len), timeBetweenPeople(timeBetweenPeople), incomingPeopleCountdown(timeBetweenPeople), tickets(30), popcorn(90), glasses(15) { } void CinemaSimulation::run() { for (int i = 0; i < simulationLen; i++) { tick(); } } void CinemaSimulation::tick() { incomingPeopleCountdown--; if (incomingPeopleCountdown == 0) { int numPeople = rand() % 11; addPeopleToTicketQueue(numPeople); incomingPeopleCountdown = timeBetweenPeople; } std::string movingPerson; if (tickets.tick(movingPerson)) { int chance = rand() % 10; if (chance < 7) { popcorn.enqueue(movingPerson); } else { glasses.enqueue(movingPerson); } } if (popcorn.tick(movingPerson)) { glasses.enqueue(movingPerson); } glasses.tick(movingPerson); } void CinemaSimulation::addPeopleToTicketQueue(int numPeople) { for (int i = 0; i < numPeople; i++) { tickets.enqueue("Person"); } } void CinemaSimulation::printStats() const { int peopleLeft = tickets.remainingPeople(); peopleLeft += popcorn.remainingPeople(); peopleLeft += glasses.remainingPeople(); std::cout << peopleLeft << " could not enter on time" << std::endl; std::cout << "Ticket desk was idle " << tickets.getIdleTime() << " ticks" << std::endl; }
//----------------------------------------------------------------------------- // VST Plug-Ins SDK // VSTGUI: Graphical User Interface Framework for VST plugins // // Version 4.2 // //----------------------------------------------------------------------------- // VSTGUI LICENSE // (c) 2013, Steinberg Media Technologies, All Rights Reserved //----------------------------------------------------------------------------- // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // * Neither the name of the Steinberg Media Technologies nor the names of its // contributors may be used to endorse or promote products derived from this // software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE // OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED // OF THE POSSIBILITY OF SUCH DAMAGE. //----------------------------------------------------------------------------- #ifndef __cgraphicstransform__ #define __cgraphicstransform__ #include "cpoint.h" #include "crect.h" #ifndef M_PI #define M_PI 3.14159265358979323846264338327950288 #endif namespace VSTGUI { static inline double radians (double degrees) { return degrees * M_PI / 180; } //----------------------------------------------------------------------------- /// @brief Graphics Transform Matrix /// @ingroup new_in_4_0 //----------------------------------------------------------------------------- struct CGraphicsTransform { double m11; double m12; double m21; double m22; double dx; double dy; CGraphicsTransform (double _m11 = 1., double _m12 = 0., double _m21 = 0., double _m22 = 1., double _dx = 0., double _dy = 0.) : m11 (_m11), m12 (_m12), m21 (_m21), m22 (_m22), dx (_dx), dy (_dy) {} CGraphicsTransform& translate (double x, double y) { *this = CGraphicsTransform (1, 0, 0, 1, x, y) * this; return *this; } CGraphicsTransform& translate (const CPoint& p) { return translate (p.x, p.y); } CGraphicsTransform& scale (double x, double y) { *this = CGraphicsTransform (x, 0., 0., y, 0., 0.) * this; return *this; } CGraphicsTransform& scale (const CPoint& p) { return scale (p.x, p.y); } CGraphicsTransform& rotate (double angle) { angle = radians (angle); *this = CGraphicsTransform (cos (angle), -sin (angle), sin (angle), cos (angle), 0, 0) * this; return *this; } CGraphicsTransform& rotate (double angle, const CPoint& center) { return translate (-center.x, -center.y).rotate (angle).translate (center.x, center.y); } CGraphicsTransform& skewX (double angle) { *this = CGraphicsTransform (1, std::tan (radians (angle)), 0, 1, 0, 0) * *this; return *this; } CGraphicsTransform& skewY (double angle) { *this = CGraphicsTransform (1, 0, std::tan (radians (angle)), 1, 0, 0) * *this; return *this; } bool isInvariant () const { return *this == CGraphicsTransform (); } void transform (CCoord& x, CCoord& y) const { CCoord x2 = m11*x + m12*y + dx; CCoord y2 = m21*x + m22*y + dy; x = x2; y = y2; } void transform (CCoord& left, CCoord& right, CCoord& top, CCoord& bottom) const { transform (left, top); transform (right, bottom); } CPoint& transform (CPoint& p) const { transform (p.x, p.y); return p; } CRect& transform (CRect& r) const { transform (r.left, r.right, r.top, r.bottom); return r; } CGraphicsTransform inverse () const { CGraphicsTransform result; const double denominator = m11 * m22 - m12 * m21; if (denominator != 0) { result.m11 = m22 / denominator; result.m12 = -m12 / denominator; result.m21 = -m21 / denominator; result.m22 = m11 / denominator; result.dx = ((m12 * dy) - (m22 * dx)) / denominator; result.dy = ((m21 * dx) - (m11 * dy)) / denominator; } return result; } CGraphicsTransform operator* (const CGraphicsTransform& t) const { CGraphicsTransform result; result.m11 = (m11 * t.m11) + (m12 * t.m21); result.m21 = (m21 * t.m11) + (m22 * t.m21); result.dx = (m11 * t.dx) + (m12 * t.dy) + dx; result.m12 = (m11 * t.m12) + (m12 * t.m22); result.m22 = (m21 * t.m12) + (m22 * t.m22); result.dy = (m21 * t.dx) + (m22 * t.dy) + dy; return result; } CGraphicsTransform operator* (const CGraphicsTransform* t) const { return *this * *t; } bool operator== (const CGraphicsTransform& t) const { return m11 == t.m11 && m12 == t.m12 && m21 == t.m21 && m22 == t.m22 && dx == t.dx && dy == t.dy; } bool operator!= (const CGraphicsTransform& t) const { return m11 != t.m11 || m12 != t.m12 || m21 != t.m21 || m22 != t.m22 || dx != t.dx || dy != t.dy; } }; } #endif // __cgraphicstransform__
#include <memory> #include <mutex> #include <ostream> #include <vector> #include <string> #include <gazebo/common/Events.hh> #include <gazebo/physics/Collision.hh> #include <gazebo/physics/Contact.hh> #include <gazebo/physics/ContactManager.hh> #include <gazebo/physics/Joint.hh> #include <gazebo/physics/Link.hh> #include <gazebo/physics/Model.hh> #include <gazebo/physics/PhysicsEngine.hh> #include <gazebo/physics/World.hh> #include <gazebo/transport/Node.hh> #include <gazebo/transport/Subscriber.hh> #include "nist_gear/AssemblyPlugin.hh" #include "nist_gear/ARIAC.hh" namespace gazebo { /// \internal /// \brief Private data for the AssemblyPlugin class struct AssemblyPluginPrivate { /// \brief Model that contains this gripper. public: physics::ModelPtr model; /// \brief Pointer to the world. public: physics::WorldPtr world; /// \brief A fixed joint to connect the gripper to an object. public: physics::JointPtr fixedJoint; /// \brief The assembly surface link. public: physics::LinkPtr assembly_surface_link; /// \brief Connection event. public: event::ConnectionPtr connection; /// \brief The collision for the surface link. public: std::map<std::string, physics::CollisionPtr> collisions; /// \brief The current contacts. public: std::vector<msgs::Contact> contacts; /// \brief Mutex used to protect reading/writing the sonar message. public: std::mutex mutex; /// \brief True if the assembly surface has an object. public: bool attached = false; /// \brief Rate at which to update the plugin. public: common::Time updateRate; /// \brief Previous time when the plugin was updated. public: common::Time prevUpdateTime; /// \brief Number of iterations the surface was contacting the same /// object. public: int posCount; /// \brief Number of iterations the surface was not contacting the same /// object. public: int zeroCount; /// \brief Minimum number of links touching. public: unsigned int minContactCount; /// \brief Steps touching before engaging fixed joint public: int attachSteps; /// \brief Name of the model. public: std::string name; /// \brief Node for communication. public: transport::NodePtr node; /// \brief Subscription to contact messages from the physics engine. public: transport::SubscriberPtr contactSub; /// \brief Whether to grip all models or only specific types. public: bool onlyGrippableModels = false; /// \brief Whitelist of the grippable model types to detect public: std::vector<std::string> grippableModelTypes; /// \brief Attached model type. public: std::string attachedObjType; /// \brief Collision with the model in contact. public: physics::CollisionPtr modelCollision; /// \brief Normal of the contact with the model in collision. public: ignition::math::Vector3d modelContactNormal; }; } using namespace gazebo; using namespace physics; GZ_REGISTER_MODEL_PLUGIN(AssemblyPlugin) ///////////////////////////////////////////////// AssemblyPlugin::AssemblyPlugin() : dataPtr(new AssemblyPluginPrivate) { gzmsg << "Assembly plugin loaded" << std::endl; this->dataPtr->attached = false; this->dataPtr->updateRate = common::Time(0, common::Time::SecToNano(0.1)); } ///////////////////////////////////////////////// AssemblyPlugin::~AssemblyPlugin() { if (this->dataPtr->world && this->dataPtr->world->Running()) { auto mgr = this->dataPtr->world->Physics()->GetContactManager(); auto filter_name = this->dataPtr->model->GetName() + this->dataPtr->name; mgr->RemoveFilter(filter_name); } } ///////////////////////////////////////////////// void AssemblyPlugin::Load(physics::ModelPtr _model, sdf::ElementPtr _sdf) { this->dataPtr->model = _model; this->dataPtr->world = this->dataPtr->model->GetWorld(); this->dataPtr->node = transport::NodePtr(new transport::Node()); this->dataPtr->node->Init(this->dataPtr->world->Name()); this->dataPtr->name = _sdf->Get<std::string>("name"); // Create the joint that will attach the objects to the assembly this->dataPtr->fixedJoint = this->dataPtr->world->Physics()->CreateJoint( "fixed", this->dataPtr->model); this->dataPtr->fixedJoint->SetName(this->dataPtr->model->GetName() + "__assembly_fixed_joint__" + this->dataPtr->name); // Read the SDF parameters sdf::ElementPtr contactCheck = _sdf->GetElement("contact_check"); this->dataPtr->minContactCount = contactCheck->Get<unsigned int>("min_contact_count"); this->dataPtr->attachSteps = contactCheck->Get<int>("attach_steps"); sdf::ElementPtr assemblySurfaceLinkElem = _sdf->GetElement("assembly_surface_link"); this->dataPtr->assembly_surface_link = this->dataPtr->model->GetLink(assemblySurfaceLinkElem->Get<std::string>()); if (!this->dataPtr->assembly_surface_link) { gzerr << "Assembly surface link [" << assemblySurfaceLinkElem->Get<std::string>() << "] not found!\n"; return; } this->dataPtr->onlyGrippableModels = false; if (_sdf->HasElement("grippable_model_types")) { this->dataPtr->onlyGrippableModels = true; this->dataPtr->grippableModelTypes.clear(); sdf::ElementPtr grippableModelTypesElem = _sdf->GetElement("grippable_model_types"); if (!grippableModelTypesElem->HasElement("type")) { gzerr << "Unable to find <type> elements in the <grippable_model_types> section\n"; return; } sdf::ElementPtr grippableModelTypeElem = grippableModelTypesElem->GetElement("type"); while (grippableModelTypeElem) { // Parse the model type, which is encoded in model names. std::string type = grippableModelTypeElem->Get<std::string>(); gzdbg << "New grippable model type: " << type << "\n"; this->dataPtr->grippableModelTypes.push_back(type); grippableModelTypeElem = grippableModelTypeElem->GetNextElement("type"); } } // Find out the collision elements of the assembly surface for (auto j = 0u; j < this->dataPtr->assembly_surface_link->GetChildCount(); ++j) { physics::CollisionPtr collision = this->dataPtr->assembly_surface_link->GetCollision(j); std::map<std::string, physics::CollisionPtr>::iterator collIter = this->dataPtr->collisions.find(collision->GetScopedName()); if (collIter != this->dataPtr->collisions.end()) continue; this->dataPtr->collisions[collision->GetScopedName()] = collision; gzdbg << collision->GetScopedName() << std::endl; } if (!this->dataPtr->collisions.empty()) { // Create a filter to receive collision information auto mgr = this->dataPtr->world->Physics()->GetContactManager(); auto filter_name = this->dataPtr->model->GetName() + this->dataPtr->name; auto topic = mgr->CreateFilter(filter_name, this->dataPtr->collisions); if (!this->dataPtr->contactSub) { this->dataPtr->contactSub = this->dataPtr->node->Subscribe(topic, &AssemblyPlugin::OnContacts, this); } } this->Reset(); this->dataPtr->connection = event::Events::ConnectWorldUpdateEnd( boost::bind(&AssemblyPlugin::OnUpdate, this)); } ///////////////////////////////////////////////// void AssemblyPlugin::Reset() { this->dataPtr->prevUpdateTime = this->dataPtr->world->SimTime(); this->dataPtr->zeroCount = 0; this->dataPtr->posCount = 0; this->dataPtr->attached = false; } ///////////////////////////////////////////////// void AssemblyPlugin::OnUpdate() { this->Publish(); std::lock_guard<std::mutex> lock(this->dataPtr->mutex); if (this->dataPtr->world->SimTime() - this->dataPtr->prevUpdateTime < this->dataPtr->updateRate) { return; } bool modelInContact = this->CheckModelContact(); if (modelInContact) { this->HandleAttach(); } this->dataPtr->prevUpdateTime = this->dataPtr->world->SimTime(); } ///////////////////////////////////////////////// void AssemblyPlugin::OnContacts(ConstContactsPtr &_msg) { std::lock_guard<std::mutex> lock(this->dataPtr->mutex); this->dataPtr->contacts.clear(); for (int i = 0; i < _msg->contact_size(); ++i) { CollisionPtr collision1 = boost::dynamic_pointer_cast<Collision>( this->dataPtr->world->EntityByName(_msg->contact(i).collision1())); CollisionPtr collision2 = boost::dynamic_pointer_cast<Collision>( this->dataPtr->world->EntityByName(_msg->contact(i).collision2())); /*if ((collision1 && !collision1->IsStatic()) && (collision2 && !collision2->IsStatic())) { this->dataPtr->contacts.push_back(_msg->contact(i)); }*/ this->dataPtr->contacts.push_back(_msg->contact(i)); } } ///////////////////////////////////////////////// bool AssemblyPlugin::GetContactNormal() { physics::CollisionPtr collisionPtr; ignition::math::Vector3d contactNormal; // Get the pointer to the collision that's not the gripper's. // This function is only called from the OnUpdate function so // the call to contacts.clear() is not going to happen in // parallel with the reads in the following code, no mutex needed. for (unsigned int i = 0; i < this->dataPtr->contacts.size(); ++i) { std::string name1 = this->dataPtr->contacts[i].collision1(); std::string name2 = this->dataPtr->contacts[i].collision2(); gzdbg << "Collision between '" << name1 << "' and '" << name2 << "'\n"; if (this->dataPtr->collisions.find(name1) == this->dataPtr->collisions.end()) { // Model in contact is the second name this->dataPtr->modelCollision = boost::dynamic_pointer_cast<Collision>( this->dataPtr->world->EntityByName(name1)); this->dataPtr->modelContactNormal = -1 * msgs::ConvertIgn(this->dataPtr->contacts[i].normal(0)); return true; } if (this->dataPtr->collisions.find(name2) == this->dataPtr->collisions.end()) { // Model in contact is the first name -- frames are reversed this->dataPtr->modelCollision = boost::dynamic_pointer_cast<Collision>( this->dataPtr->world->EntityByName(name2)); this->dataPtr->modelContactNormal = msgs::ConvertIgn(this->dataPtr->contacts[i].normal(0)); return true; } } if (!collisionPtr) { gzdbg << "The assembly was in collision with its own model.\n"; } return false; } ///////////////////////////////////////////////// void AssemblyPlugin::HandleAttach() { if (this->dataPtr->attached) { return; } this->dataPtr->attached = true; this->dataPtr->fixedJoint->Load(this->dataPtr->assembly_surface_link, this->dataPtr->modelCollision->GetLink(), ignition::math::Pose3d()); this->dataPtr->fixedJoint->Init(); auto modelPtr = this->dataPtr->modelCollision->GetLink()->GetModel(); auto name = modelPtr->GetName(); std::string objectType = ariac::DetermineModelType(name); gzdbg << "Product attached to gripper: " << objectType << " named " << name << std::endl; } ///////////////////////////////////////////////// bool AssemblyPlugin::CheckModelContact() { bool modelInContact = false; if (this->dataPtr->contacts.size() > 0) { gzdbg << "Number of collisions with surface: " << this->dataPtr->contacts.size() << std::endl; } if (this->dataPtr->contacts.size() >= this->dataPtr->minContactCount) { gzdbg << "More collisions than the minContactCount: " << this->dataPtr->minContactCount << std::endl; this->dataPtr->posCount++; this->dataPtr->zeroCount = 0; } else { this->dataPtr->zeroCount++; this->dataPtr->posCount = std::max(0, this->dataPtr->posCount - 1); } if (this->dataPtr->posCount > this->dataPtr->attachSteps && !this->dataPtr->attached) { if (!this->GetContactNormal()) { return false; } if (this->dataPtr->onlyGrippableModels) { // Only attach whitelisted models auto modelPtr = this->dataPtr->modelCollision->GetLink()->GetModel(); auto modelName = modelPtr->GetName(); gzdbg << "Product in contact with gripper: " << modelName << std::endl; std::string modelType = ariac::DetermineModelType(modelName); auto it = std::find(this->dataPtr->grippableModelTypes.begin(), this->dataPtr->grippableModelTypes.end(), modelType); bool grippableModel = it != this->dataPtr->grippableModelTypes.end(); if (!grippableModel) { gzdbg << "Not a grippable type." << std::endl; return false; } } // Only consider models with collision normals aligned with the normal of the gripper auto gripperLinkPose = this->dataPtr->assembly_surface_link->WorldPose(); ignition::math::Vector3d gripperLinkNormal = gripperLinkPose.Rot().RotateVector(ignition::math::Vector3d(0, 0, 1)); double alignment = gripperLinkNormal.Dot(this->dataPtr->modelContactNormal); // Alignment of > 0.95 represents alignment angle of < acos(0.95) = ~18 degrees if (alignment > 0.95) { modelInContact = true; } } return modelInContact; } ///////////////////////////////////////////////// void AssemblyPlugin::Publish() const { }
// 2. sum関数を実装しよう! // 関数名はsum_array(配列) // 戻り値は合計 // 最初にデータ数Nを入力し // N個分のデータを入力し合計を表示せよ #include <iostream> int sum_array(int a[]){ int i=0,go=0; while(a[i] != NULL){ go += a[i]; i++; } return go; } int main(){ // insert code here... //std::cout << "Hello, World!\n"; int N = 0; int *a; // ポインタ変数 int ans; // データの個数を取得 std::cin >> N; // データを取得する(N個分) a = new int[N]; for(int i=0;i<N;i++){ std::cin >> a[i]; } std::cout << std::endl; for(int i=0;i<N;i++){ std::cout << "a[" << i << "]" << a[i] << std::endl; } ans = sum_array(a); std::cout << "ans=" << ans << std::endl; return 0; }
/* Copyright (c) 2005-2023, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the University of Oxford nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef NHSCONTRACTIONMODEL_HPP_ #define NHSCONTRACTIONMODEL_HPP_ #include "AbstractOdeBasedContractionModel.hpp" #include "Exception.hpp" /** * NHS (Niederer, Hunter, Smith) model of active tension in cardiac cells. * * A system of ODEs which determines the active potential, given the intracellular * calcium concentration, the stretch (lambda) of the cell, and the stretch rate * (dlambda_dt) of the cell. * * The state variables are, in order: Calcium_troponin, z, Q1, Q2, Q3 * * Reference: S.A. Niederer, N.P. Smith, P.J. Hunter, "New developments in a strongly * coupled cardiac electro-mechanical model" Europace 7, S118-S127 * * The active tension is returned in KPa. */ class NhsContractionModel : public AbstractOdeBasedContractionModel { friend class TestContractionModels; protected : /** The stretch. To be specified by the caller */ double mLambda; /** The stretch rate. To be specified by the caller */ double mDLambdaDt; /** The intracellular calcium concentration. To be specified by the caller */ double mCalciumI; /** A parameter only dependent on constants and lambda, so updated whenever lambda is updated */ double mCalciumTrop50; /** A constant determined from the other constrants. Set up in the constructor */ double mK1; /** A constant determined from the other constrants. Set up in the constructor */ double mK2; // Parameters /** See reference. (mMols)^-1 (ms)^-1 */ static const double mKon; /** See reference. (ms)^-1 */ static const double mKrefoff; /** See reference. Dimensionless */ static const double mGamma; /** See reference. mMols */ static const double mCalciumTroponinMax; /** See reference. (ms)^-1 */ static const double mAlphaR1; /** See reference. (ms)^-1 */ static const double mAlphaR2; /** See reference. Dimensionless */ static const double mKZ; /** See reference. Dimensionless */ static const unsigned mNr; /** See reference. Dimensionless */ static const double mBeta1; /** See reference. (ms)^-1 */ static const double mAlpha0; /** See reference. Dimensionless */ static const unsigned mN; /** See reference. Dimensionless */ static const double mZp; /** See reference. mMols */ static const double mCalcium50ref; /** See reference. kPa */ static const double mTref; /** See reference. Dimensionless */ static const double mBeta0; /** See reference. Dimensionless */ static const double mA; /** See reference. Dimensionless */ static const double mA1; /** See reference. Dimensionless */ static const double mA2; /** See reference. Dimensionless */ static const double mA3; /** See reference. (ms)^-1 */ static const double mAlpha1; /** See reference. (ms)^-1 */ static const double mAlpha2; /** See reference. (ms)^-1 */ static const double mAlpha3; /** * Compute the calcium_trop50 concentration. This is a function of constants and * lambda, so only needs to be called in the constructor or when lambda is set */ void CalculateCalciumTrop50(); /** * @return T0. This is a function of constants, lambda and z * * @param z */ double CalculateT0(double z); public : /** * Constructor. Initialises all state variables to zero, lambda to 1, dlambda_dt * to 0 and intracellular calcium concentration to 0 */ NhsContractionModel(); /** * Set the current stretch and the stretch rate of the cell/fibre * * @param lambda current stretch * @param dlambdaDt current stretch rate */ void SetStretchAndStretchRate(double lambda, double dlambdaDt); /** * Set the current intracellular calcium concentration * * @param rInputParameters input parameters (calcium, voltage, time, of which only calcium is used) */ void SetInputParameters(ContractionModelInputParameters& rInputParameters); /** * Directly set the intracellular calcium concentration. * @param calciumConcentration calcium concentration. */ void SetIntracellularCalciumConcentration(double calciumConcentration); /** * @return the current Calcium Troponin (one of the state variables) value. This * may be needed if the cell model has Calcium troponin and might need overwriting */ double GetCalciumTroponinValue(); /** * Evaluate the derivatives of the state variables * * @param time the current time, in milliseconds * @param rY current values of the state variables * @param rDY to be filled in with derivatives */ void EvaluateYDerivatives(double time, const std::vector<double> &rY, std::vector<double> &rDY); /** * @return the active tension, which is a function of the constants and current state variables. KILOPASCALS */ double GetActiveTension(); /** * @return GetNextActiveTension() normally returns the active tension corresponding to the state variables * that have been computed in RunDoNotUpdate. However, this only applies to when an implicit cardiac * mechanics solver is used, in which case the NhsModelWithBackwardSolver should be used. */ double GetNextActiveTension() { EXCEPTION("If using this in an 'explicit manner' call UpdateStateVariables() and then GetActiveTension(), otherwise use NhsModelWithBackwardSolver"); } /** * @return whether model is stretch-dependent */ bool IsStretchDependent() { return true; } /** * @return whether model is stretch-rate-dependent */ bool IsStretchRateDependent() { return true; } }; #endif /*NHSCONTRACTIONMODEL_HPP_*/
#ifndef RETVAL_INSTRUCTION_H #define RETVAL_INSTRUCTION_H #include "assigni.h" #include "varregister.h" #include "../visitors/codevisitor.h" #include <string> using namespace std; /** * A Return Value instruction is usually generated after a CALL instruction * to load the return value of a function into a register. */ class RetValI: public AssignmentI { public: /** * Creates an instruction A = RETVAL */ RetValI(VarRegister* target): AssignmentI(target) { } string toString() const { return AssignmentI::toString() + "RETVAL"; } void accept(CodeVisitor* v) { Instruction::accept(v); v->visitReturnValInstruction(this); } }; #endif
#include "gui.hpp" bool purriGUI::GUI::freeInteractable(purriGUI::Interactable* interactable) { if(interactable == nullptr) { std::cerr << "Error in purriGUI::GUI::freeInteractable(): null pointer inserted into function!\n"; return false; } purriGUI::Interactable* interactablePointer = interactable; //check if the said pointer even exists in the gui, if it doesn't, the gui should be able to communicate an exception with the host program for(auto it = interactables.begin(); it != interactables.end(); it++) { if((*it) == interactablePointer) { (*it)->free(); return true; } } //no purriGUI::Interactable of such adress was found! returns false! return false; } bool purriGUI::GUI::freeListener(void* listener) { if(listener == nullptr) { std::cerr << "Error in purriGUI::GUI::freelistener(): null pointer inserted into function!\n"; return false; } purriGUI::SignalListener* listenerPointer = (purriGUI::SignalListener*)listener; //check if the said pointer even exists in the gui, if it doesn't, the gui should be able to communicate an exception with the host program for(auto it = listeners.begin(); it != listeners.end(); it ++) { if(*it == listenerPointer) { (*it)->free(); return true; } } //no purriGUI::Interactable of such adress was found! returns false! return false; } bool purriGUI::GUI::freeDrawable(void* drawable) { if(drawable == nullptr) { std::cerr << "Error in purriGUI::GUI::freelistener(): null pointer inserted into function!\n"; return false; } sf::Drawable* drawablePointer = (sf::Drawable*)drawable; //check if the said pointer even exists in the gui, if it doesn't, the gui should be able to communicate an exception with the host program for(auto it = drawables.begin(); it != drawables.end(); it ++) { if((*it).second == drawablePointer) { (*it).first.free(); return true; } } //no purriGUI::Interactable of such adress was found! returns false! return false; } sf::String purriGUI::handleTextInput(sf::String input, sf::String oldText) { if(input.getSize() == 1) { //if the text being forwarded to the textfield is a backspace character, then erase the last character in the string switch ( *(input.begin()) ) { case 0x08: { if( oldText.isEmpty() ) { return oldText; } else { oldText.erase(oldText.getSize()-1); return oldText; } } //escape case 27: { return oldText; } //enter case 0x000D: { return oldText; } } } return oldText + input; } void purriGUI::GUI::manageListeners() { for(auto it = listeners.begin(); it != listeners.end(); it++) { (*it)->handleMe(); } } void purriGUI::GUI::manageInteractables(sf::RenderWindow& window) { for(auto it = interactables.begin(); it != interactables.end(); it++) { (*it)->loopMe(window); } } void purriGUI::GUI::manageDrawables(sf::RenderWindow& window) { for(auto it = drawables.begin(); it != drawables.end(); it++) { window.draw(*(*it).second); } } void purriGUI::GUI::destroyListeners() { for(auto it = listeners.begin(); it != listeners.end(); it++) { if((*it) != NULL) { delete (*it); listeners.erase(it); } } listeners.clear(); } void purriGUI::GUI::freeListeners() { for(auto it = listeners.begin(); it != listeners.end(); it++) { if((*it) != NULL) { (*it)->free(); } } } void purriGUI::GUI::forwardKeyPresses(sf::Event::KeyEvent keyEvent) { for(auto it = interactables.begin(); it != interactables.end(); it++) { if( (*it)->isSelected() ) { (*it)->onForwardedKeyEvents(keyEvent); } } } void purriGUI::GUI::forwardTextInput(sf::String textInput) { for(auto it = interactables.begin(); it != interactables.end(); it++) { if( (*it)->isSelected() ) { (*it)->onForwardedText(textInput); } } } void purriGUI::GUI::handleGUIEventActions(sf::Event event) { switch(event.type) { case sf::Event::TextEntered: { forwardTextInput(event.text.unicode); } case sf::Event::KeyPressed: { forwardKeyPresses(event.key); } default: { break; } } } void purriGUI::GUI::addConsole(sf::RectangleShape mesh, float textSize, int amountofTextRows, int numberOfCharactersDisplayedPerRow) { if(console == nullptr) { console = new GuiConsole(textSize, amountofTextRows, numberOfCharactersDisplayedPerRow, mesh, this); } else { std::cerr << "Error in purriGUI::GUI::addConsole(): a GuiConsole already existed in this hud when calling addConsole(console pointer was not null)"; } } void purriGUI::GUI::destroyInteractables() { std::cout << "GUI::destroyInteractables()\n"; for(auto it = interactables.begin(); it != interactables.end(); it++) { if((*it) != NULL) { delete (*it); interactables.erase(it); } } interactables.clear(); std::cout << "GUI::destroyInteractables() end\n"; } void purriGUI::GUI::freeInteractables() { for(auto it = interactables.begin(); it != interactables.end(); it++) { if((*it) != NULL) { (*it)->free(); } } } void purriGUI::GUI::freeDrawables() { for(auto it = drawables.begin(); it != drawables.end(); it++) { if((*it).second != NULL) { (*it).first.free(); } } } void purriGUI::GUI::destroyDrawables() { for(auto it = drawables.begin(); it != drawables.end(); it++) { if((*it).second != NULL) { delete (*it).second; drawables.erase(it); } } drawables.clear(); } void purriGUI::GUI::selectInteractableExclusively(Interactable* interactable) { interactable->select(); for(auto it = interactables.begin(); it != interactables.end(); it++) { if( (*it) != interactable && (*it)->isActive()) { (*it)->deselect(); } } } void purriGUI::GUI::manageHUD(sf::RenderWindow& window) { manageInteractables(window); manageListeners(); manageDrawables(window); destroyFreedObjects(); } //should not actually be a part of gui library, rather math library, but this own function makes the gui library more math library independant while having the convention of using the function //in it's internal calculations float purriGUI::getDistance( float x1, float x2, float y1, float y2) { return sqrtf( (x2-x1)*(x2-x1) + (y2-y1)*(y2-y1) ); } purriGUI::Interactable* purriGUI::GUI::addInteractableToList(purriGUI::Interactable* interactable) { interactables.push_back(interactable); return interactables.back(); } void purriGUI::Interactable::onForwardedKeyEvents(sf::Event::KeyEvent keyEvent) { switch(keyEvent.code) { case sf::Keyboard::Escape: { deselect(); } case sf::Keyboard::Return: { deselect(); } default: { break; } } } void purriGUI::Interactable::loopMe(sf::RenderWindow& window) { if( !isActive() ) { return; } float tempX = (float)sf::Mouse::getPosition(window).x; float tempY = (float)sf::Mouse::getPosition(window).y; sf::Vector2f mouseCoord = sf::Vector2f(tempX, tempY ); //the code below will send a signal, if the button is pressed in an intuitive way if( reactionShape->isContainedWithin(mouseCoord) ) { if( sf::Mouse::isButtonPressed(sf::Mouse::Left) ) { if( previousMousePressedState == false ) { if(clickingExclusiveSelects) { selectExclusively(); } else { select(); } previousMousePressedState = true; } } else { previousMousePressedState = false; } } else { //if the cursor is not contained inside the button, previousMouseButtonPresedState = true //this is so that someone dragging the cursor within the button, while holding the mouse key down will not trigger the button, which would be counter-intuitive previousMousePressedState = true; } (*reactionShape).drawMe(window); loopChildFunctionality(window); } void purriGUI::Interactable::selectExclusively() { if(!isSelectable()) { return; } hud->selectInteractableExclusively(this); } purriGUI::SignalListener* purriGUI::GUI::addListenerToList(purriGUI::SignalListener* listener) { listeners.push_back(listener); return listeners.back(); } std::pair<purriGUI::DrawableData, sf::Drawable*>* purriGUI::GUI::addDrawableToList(std::pair<purriGUI::DrawableData, sf::Drawable*> drawable) { drawables.push_back(drawable); return &drawables.back(); } std::pair<purriGUI::DrawableData, sf::Drawable*>* purriGUI::GUI::addDrawableToList(sf::Drawable* drawable) { std::pair<purriGUI::DrawableData, sf::Drawable*> couple; couple.second = drawable; couple.first = purriGUI::DrawableData(); drawables.push_back(couple); return &drawables.back(); } void purriGUI::GUI::destroyFreedObjects() { //std::cout << "destroying listeners\n"; for(auto it = listeners.begin(); it != listeners.end();) { if((*it)->isFreed()) { //std::cout << "deleting listener... "; delete (*it); it = listeners.erase(it); //std::cout << "listener DELETED!\n"; continue; } it++; } //std::cout << "destroying interactables\n"; for(auto it = interactables.begin(); it != interactables.end();) { if((*it)->isFreed()) { //std::cout << "deleting interactable... " << (*it) << " "; if ((*it) == nullptr) { std::cerr << "Error in GUI::destroyFreedObjects(): null pointer was among objects being deleted!\n"; } delete (*it); //std::cout << "...delete command trough!... "; it = interactables.erase(it); //std::cout << "interactable DELETED!\n"; continue; } it++; } //std::cout << "destroying drawables\n"; for(auto it = drawables.begin(); it != drawables.end();) { if((*it).first.isFreed()) { delete (*it).second; it = drawables.erase(it); continue; } it++; } //std::cout << "destroyingFreedObjects returning \n"; } void purriGUI::Interactable::select() { if(!isSelectable()) { return; } if(xorSelectMode) { if(selected) { deselect(); return; } } if( selectingTriggers ) { if( signalSlot != nullptr ) { signalSlot->trigger(); } } selected = true; onSelection(); } void purriGUI::Interactable::deselect() { if( !isSelectable() ) { return; } selected = false; if( deselectingTriggers ) { if(signalSlot != nullptr) { signalSlot->trigger(); } } onDeselection(); } purriGUI::Interactable::Interactable(sf::CircleShape buttonMesh, GUI* _hud, SignalListener* _signalSlot) { buttonMesh.setOrigin(buttonMesh.getRadius(), buttonMesh.getRadius()); reactionShape = std::unique_ptr<ButtonShape>((ButtonShape*)new CircleButtonShape(buttonMesh)); activate(); dead = false; selectable = true; clickingExclusiveSelects = false; hud = _hud; selected = false; signalSlot = _signalSlot; selectingTriggers = true; deselectingTriggers = false; xorSelectMode = false; freed = false; } purriGUI::Interactable::Interactable(sf::RectangleShape buttonMesh, GUI* _hud, SignalListener* _signalSlot) { reactionShape = std::unique_ptr<ButtonShape>((ButtonShape*)new RectangleButtonShape(buttonMesh)); activate(); hud = _hud; dead = false; selectable = true; clickingExclusiveSelects = false; selected = false; signalSlot = _signalSlot; selectingTriggers = true; deselectingTriggers = false; xorSelectMode = false; freed = false; } purriGUI::Button* purriGUI::TextField::createButton(purriGUI::GUI& hud, sf::CircleShape shape, sf::Text text, SignalListener* slot) { Button* button = new Button(shape, &hud, text, slot); hud.addInteractableToList((Interactable*)button); return button; } purriGUI::Button* purriGUI::TextField::createButton(purriGUI::GUI& hud, sf::RectangleShape shape, sf::Text text, SignalListener* slot) { Button* button = new Button(shape, &hud, text, slot); hud.addInteractableToList((Interactable*)button); return button; } purriGUI::TextField* purriGUI::TextField::createTextField(purriGUI::GUI& hud, sf::RectangleShape shape, sf::Text defaultText, SignalListener* slot) { TextField* textField = new TextField(shape, &hud, defaultText, slot); hud.addInteractableToList((Interactable*)textField); return textField; } purriGUI::TextField::TextField(sf::RectangleShape shape, GUI* _hud, sf::Text defaultText, SignalListener* _listener): Button(shape, _hud, defaultText, _listener) { setClickingExclusiveSelectsState(true); selectingEmpties = false; firstSelect = true; firstSelectingEmpties = true; } purriGUI::MenuSwitchListener* purriGUI::MenuSwitchListener::createMenuSwitchListener( GUI& hud) { MenuSwitchListener* listener = new MenuSwitchListener(); hud.addListenerToList((SignalListener*)listener); return listener; } bool purriGUI::MenuSwitchListener::menuSwitchChanged(sf::Time currentTime) { if(menuSwitch != positionSinceLastChangedCall) { positionSinceLastChangedCall = menuSwitch; return true; } return false; } purriGUI::InputBox* purriGUI::InputBox::createInputBox( GUI& hud) { InputBox* listener = new InputBox(); hud.addListenerToList((SignalListener*)listener); return listener; }
#include <chrono> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <thread> #include <vector> #include <fstream> #include <Windows.h> #include <iomanip> #define SIZE 1000 #define THREAD_SLEEP 10 typedef std::chrono::high_resolution_clock Clock; typedef std::chrono::duration<double, std::milli> milliseconds; typedef std::chrono::duration<double, std::micro> microseconds; using namespace std; using std::chrono::duration_cast; double measure_static_mem_allocation(int n) { LARGE_INTEGER frequency, start, end; double interval; QueryPerformanceFrequency(&frequency); QueryPerformanceCounter(&start); for (int i = 0; i < n; i++) { int array[SIZE] = {0}; } QueryPerformanceCounter(&end); interval = (double)(end.QuadPart - start.QuadPart) * 1000000 / frequency.QuadPart; return interval / n; } double measure_dynamic_mem_allocation(int n) { LARGE_INTEGER frequency, start, end; double interval; QueryPerformanceFrequency(&frequency); QueryPerformanceCounter(&start); for (int i = 0; i < n; i++) { int* array = new int[SIZE]; } QueryPerformanceCounter(&end); interval = (double)(end.QuadPart - start.QuadPart) * 1000000 / frequency.QuadPart; return interval / n; } double measure_memory_access(int n) { int arr[SIZE] = {}; LARGE_INTEGER frequency, start, end; double interval; QueryPerformanceFrequency(&frequency); QueryPerformanceCounter(&start); for(int i = 0; i < n; i++) for (int j = 0; j < SIZE; j++) { arr[j]++; } QueryPerformanceCounter(&end); interval = (double)(end.QuadPart - start.QuadPart) * 1000000 / frequency.QuadPart; return interval / n; } void thread_foo() { int arr[SIZE] = {}; for (int j = 0; j < SIZE; j++) { arr[j] = 1; } } double thread_creation() { LARGE_INTEGER frequency, start, end, foo_start, foo_end; double foo_time, interval; QueryPerformanceFrequency(&frequency); //measure time needed to execute foo QueryPerformanceCounter(&foo_start); thread_foo(); QueryPerformanceCounter(&foo_end); foo_time = (double)(foo_end.QuadPart - foo_start.QuadPart) * 1000000 / frequency.QuadPart; QueryPerformanceCounter(&start); thread t(thread_foo); t.join(); QueryPerformanceCounter(&end); //cout << "\nt total: " << (end - start).count(); interval = (double)(end.QuadPart - start.QuadPart) * 1000000 / frequency.QuadPart; return interval - foo_time; } double measure_thread_creation(int n) { double total = 0.0; for (int i = 0; i < n; i++) { total += thread_creation(); } return total / n; } //Clock::time_point sleep_end; // //void sleep_foo() { // //cout << "[thread sleep foo started\n"; // this_thread::sleep_for(microseconds(THREAD_SLEEP)); // sleep_end = Clock::now(); // //cout << "[thread sleep ended\n"; //} // //microseconds measure_context_switch1(int n) { // vector<thread> threads; // // Clock::time_point start = Clock::now(); // for (int i = 0; i < n; i++) { // threads.push_back(thread(sleep_foo)); // } // for (auto& t : threads) // t.join(); // Clock::time_point end = Clock::now(); // // microseconds elapsed = (end - start - microseconds(THREAD_SLEEP)) / n; // return elapsed; //} // //microseconds context_switch() { // Clock::time_point start = Clock::now(); // thread t(sleep_foo); // t.join(); // // microseconds elapsed = sleep_end - start; // cout << elapsed.count() << "\n"; // return elapsed - microseconds(THREAD_SLEEP); //} // //microseconds measure_context_switch2(int n) { // microseconds creation_time = measure_thread_creation(n); // // microseconds t10ms(10); // for (int i = 0; i < n; i++) { // t10ms += context_switch() - creation_time; // } // return (t10ms - microseconds(10)) / n; //} LARGE_INTEGER start, endt; static void context_foo() { QueryPerformanceCounter(&endt); } double context_switch3() { LARGE_INTEGER frequency; double duration; HANDLE thread; DWORD thread_id; QueryPerformanceFrequency(&frequency); thread = CreateThread(0, 0, (LPTHREAD_START_ROUTINE) context_foo, 0, CREATE_SUSPENDED, &thread_id); QueryPerformanceCounter(&start); // set high priority so that the thread is resumed as soon as possible SetThreadPriority(thread, 10); ResumeThread(thread); //wait until thread executes WaitForSingleObject(thread, INFINITE); duration = (double)(endt.QuadPart - start.QuadPart) * 1000000 / frequency.QuadPart; return duration; } double measure_context_switch3(int n) { double total = 0.0; for (int i = 0; i< n; i++) { total += context_switch3(); } return total / n; } int main(int argc, char *argv[]) { int n; if (argc < 2) { n = 1000; } else n = atoi(argv[1]); ofstream f; f.open("C:/Users/zenbookx/Documents/Facultate/An III/Sem II/SCS/project/CppBenchmarks/CppBenchmarks/cpp_benchmarks_results.csv"); f << n << "\n"; f << "STATICMEM, Cpp, " << std::fixed << ::setprecision(3) << measure_static_mem_allocation(n) << " us\n"; f << "DYNAMICMEM, Cpp, " << std::fixed << std::setprecision(3) << measure_dynamic_mem_allocation(n) << " us\n"; f << "MEMACCESS, Cpp, " << std::fixed << std::setprecision(3) << measure_memory_access(n)<< " us\n"; f << "THREADCREAT, Cpp, " << std::fixed << std::setprecision(3) << measure_thread_creation(n) << " us\n"; f << "CONTEXTSW, Cpp, " << std::fixed << std::setprecision(3) << measure_context_switch3(n)<< " us\n"; cout << "Cpp benchmarks results written to file!\n"; f.close(); return 0; }
// // Created by Peter Chen on 5/29/16. // #ifndef CUBEWORLD_MANHATTAN_H #define CUBEWORLD_MANHATTAN_H class Manhattan { }; #endif //CUBEWORLD_MANHATTAN_H
#include<iostream> #include<string> #include<vector> using namespace std; class Solution { public: bool isMatch(string s, string p) { if (p.empty()) return s.empty(); if ('*' == p[1]) // x* matches empty string or at least one character: x* -> xx* // *s is to ensure s is non-empty return ( isMatch(s, p.substr(2)) || !s.empty() && (s[0] == p[0] || '.' == p[0]) && isMatch(s.substr(1), p) ); else return !s.empty() &&(s[0] == p[0] || '.' == p[0]) &&isMatch(s.substr(1), p.substr(1)); } }; //int main() //{ // Solution *so = new Solution(); // char* s = "abcbc"; // char* p = ".*bcbc"; // cout << "s=" << s << " " << "p=" << p << "\nThe match result: " << so->isMatch(s, p) << endl; // system("pause"); // return 0; //}
 /// @file src/pt/Assign.cc /// @brief Assign の実装ファイル /// @author Yusuke Matsunaga (松永 裕介) /// /// Copyright (C) 2005-2011 Yusuke Matsunaga /// All rights reserved. #include "Assign.h" #include "PtMgr.h" BEGIN_NAMESPACE_YM_BB // @brief 新しい代入文を追加する. void PtMgr::new_assign(const FileRegion& file_region, ymuint lhs_id, PtNode* rhs) { void* p = mAlloc.get_memory(sizeof(Assign)); Assign* assign = new (p) Assign(file_region, lhs_id, rhs); mAssignList.push_back(assign); } // @brief コンストラクタ // @param[in] file_region ファイル上の位置 // @param[in] lhs_id 左辺の変数番号 // @param[in] rhs 右辺式 Assign::Assign(const FileRegion& file_region, ymuint lhs_id, PtNode* rhs) : mFileRegion(file_region), mLhsId(lhs_id), mRhs(rhs) { } // @brief デストラクタ Assign::~Assign() { } // @brief ファイル上の位置を得る. FileRegion Assign::file_region() const { return mFileRegion; } // @brief 左辺の変数番号を得る. ymuint Assign::lhs_id() const { return mLhsId; } // @brief 右辺式を得る. PtNode* Assign::rhs() const { return mRhs; } END_NAMESPACE_YM_BB
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "master/availability.h" #include <string> #include <gflags/gflags.h> #include <glog/logging.h> #include "common/base/string_ext.h" #include "common/timer.h" #include "utils/string_util.h" DECLARE_bool(tera_master_availability_show_details_enabled); DECLARE_int64(tera_master_availability_error_threshold); DECLARE_int64(tera_master_availability_fatal_threshold); DECLARE_int64(tera_master_availability_warning_threshold); DECLARE_int64(tera_master_not_available_threshold); DECLARE_string(tera_master_meta_table_name); DECLARE_string(tera_master_meta_table_path); namespace tera { namespace master { void TabletAvailability::AddNotReadyTablet(const std::string& path) { MutexLock lock(&mutex_); tablets_.insert(std::pair<std::string, int64_t>(path, get_micros())); } void TabletAvailability::EraseNotReadyTablet(const std::string& path) { MutexLock lock(&mutex_); tablets_.erase(path); } static std::string GetNameFromPath(const std::string& path) { if (path == FLAGS_tera_master_meta_table_path) { return FLAGS_tera_master_meta_table_name; } std::vector<std::string> t; SplitString(path, "/", &t); // table_name/tablet00...001 return t[0]; } void TabletAvailability::LogAvailability() { MutexLock lock(&mutex_); int64_t not_avai_count = 0; int64_t not_avai_warning = 0; int64_t not_avai_error = 0; int64_t not_avai_fatal = 0; int64_t start = ::common::timer::get_micros(); std::map<std::string, int64_t>::iterator it; for (it = tablets_.begin(); it != tablets_.end(); ++it) { std::string table_name = GetNameFromPath(it->first); TablePtr table; if (!tablet_manager_->FindTable(table_name, &table)) { LOG(ERROR) << "[availability] unknown table:" << table_name; continue; } if (table->GetStatus() != kTableEnable) { continue; } if ((start - it->second) > FLAGS_tera_master_not_available_threshold * 1000 * 1000LL) { VLOG(12) << "[availability] not available:" << it->first; not_avai_count++; } if ((start - it->second) > FLAGS_tera_master_availability_fatal_threshold * 1000 * 1000LL) { not_avai_fatal++; if (FLAGS_tera_master_availability_show_details_enabled) { LOG(INFO) << "[availability] fatal-tablet:" << it->first; } } else if ((start - it->second) > FLAGS_tera_master_availability_error_threshold * 1000 * 1000LL) { not_avai_error++; if (FLAGS_tera_master_availability_show_details_enabled) { LOG(INFO) << "[availability] error-tablet:" << it->first; } } else if ((start - it->second) > FLAGS_tera_master_availability_warning_threshold * 1000 * 1000LL) { not_avai_warning++; } } int64_t cost = ::common::timer::get_micros() - start; int64_t all_tablets = tablet_manager_->GetAllTabletsCount(); LOG(INFO) << "[availability][current-status] fatal=" << not_avai_fatal << " f-ratio=" << RoundNumberToNDecimalPlaces((double)not_avai_fatal/all_tablets, 6) << ", error=" << not_avai_error << " e-ratio=" << RoundNumberToNDecimalPlaces((double)not_avai_error/all_tablets, 6) << ", warn=" << not_avai_warning << " w-ratio=" << RoundNumberToNDecimalPlaces((double)not_avai_warning/all_tablets, 6); LOG(INFO) << "[availability][current-status] (not-available/not-ready/all-tablets: " << not_avai_count << "/" << tablets_.size() << "/" << all_tablets << ")" << " available tablets percentage: " << 1 - not_avai_count/(double)all_tablets; LOG(INFO) << "[availability] cost time:" << cost/1000 << " ms"; } } // master } // tera
#include "kernel.h" #include <iostream> #include <vector> #include <algorithm> #include <chrono> #include <opencv2/opencv.hpp> #include <opencv2/cudaarithm.hpp> using namespace std; using namespace cv; int main() { try { Mat src = imread("Lenna.png", CV_LOAD_IMAGE_GRAYSCALE); Mat brightness = adjust_brightness(src, 100); Mat contrast = equalize_histogram(src); Mat otsu = otsu_thresholding(src); imshow("original", src); imshow("brightness", brightness); imshow("contrast", contrast); imshow("Otsu thresholding", otsu); cout << "\n--- histogram benchmark ---\n"; src = imread("Lenna4x4.png", CV_LOAD_IMAGE_GRAYSCALE); int histSize = 256; float range[] { 0, 256 }; const float* histRange{ range }; Mat cpu_hist, gpu_hist; auto start = chrono::high_resolution_clock::now(); calcHist(&src, 1, 0, Mat(), cpu_hist, 1, &histSize, &histRange); auto stop = chrono::high_resolution_clock::now(); cout << "histogram calculation on cpu: " << chrono::duration_cast<chrono::milliseconds>(stop - start).count() << " ms\n"; gpu_hist = calculate_histogram(src); cout << "equality test: " << equal(cpu_hist.begin<float>(), cpu_hist.end<float>(), gpu_hist.begin<float>()) << endl; waitKey(); } catch (const Exception& ex) { std::cout << "Error: " << ex.what() << std::endl; } return 0; }
// Copyright (c) 2015 University of Szeged. // Copyright (c) 2015 The Chromium Authors. // All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "sprocket/browser/javascript_dialog_manager.h" #include "base/strings/utf_string_conversions.h" #include "sprocket/browser/ui/window.h" #include "sprocket/browser/ui/javascript_dialog.h" #include "sprocket/browser/web_contents.h" using namespace base; using namespace content; void SprocketJavaScriptDialogManager::RunJavaScriptDialog( WebContents* web_contents, const GURL& origin_url, const std::string& accept_lang, JavaScriptMessageType javascript_message_type, const string16& message_text, const string16& default_prompt_text, const DialogClosedCallback& callback, bool* did_suppress_message) { if (SprocketWebContents* sprocket_web_contents = SprocketWebContents::From(web_contents)) { SprocketWindow* window = sprocket_web_contents->window(); window->PlatformShowJavaScriptDialog(new SprocketJavaScriptDialog( javascript_message_type, message_text, default_prompt_text, callback)); } } void SprocketJavaScriptDialogManager::RunBeforeUnloadDialog( WebContents* web_contents, const string16& message_text, bool is_reload, const DialogClosedCallback& callback) { if (SprocketWebContents* sprocket_web_contents = SprocketWebContents::From(web_contents)) { SprocketWindow* window = sprocket_web_contents->window(); window->PlatformShowJavaScriptDialog(new SprocketJavaScriptDialog( content::JAVASCRIPT_MESSAGE_TYPE_CONFIRM, string16(UTF8ToUTF16("Are you sure you want to leave this page?")), string16(), callback)); } } bool SprocketJavaScriptDialogManager::HandleJavaScriptDialog( content::WebContents* web_contents, bool accept, const base::string16* prompt_override) { return false; } void SprocketJavaScriptDialogManager::CancelActiveAndPendingDialogs(WebContents* web_contents) { } void SprocketJavaScriptDialogManager::ResetDialogState(WebContents* web_contents) { }
#ifndef POINT2D_INCLUDE_GUARD_H #define POINT2D_INCLUDE_GUARD_H 1 #include "Vector2d.h" class Point2d { public: double x; double y; Point2d (double x, double y); Point2d (); void applyVector(Vector2d &v); double distanceFrom(const Point2d &p); }; #endif
#include <xmorphy/build/PhemDict.h> namespace X { const std::string PhemDict::MAIN_PHEM = "_m"; const std::string PhemDict::FORWARD_PHEM = "_f"; const std::string PhemDict::BACKWARD_PHEM = "_b"; bool PhemDict::contains(const utils::UniString & word) const { return dict->contains(word.toUpperCase().getRawString()); } std::vector<PhemTag> PhemDict::getPhemParse(const utils::UniString & word) const { PhemMarkup markUp = dict->getValue(word.toUpperCase().getRawString()); std::vector<PhemTag> result; for (std::size_t i = 0; i < result.size(); ++i) { result.push_back(markUp.getTag(i)); } return result; } void dropToFiles(const std::unique_ptr<PhemDict> & dct, const std::string & filename) { std::ofstream mofs(filename + PhemDict::MAIN_PHEM); std::ofstream fofs(filename + PhemDict::FORWARD_PHEM); std::ofstream bofs(filename + PhemDict::BACKWARD_PHEM); dct->dict->serialize(mofs); dct->fdict->serialize(fofs); dct->bdict->serialize(bofs); } std::unique_ptr<PhemDict> PhemDict::loadFromFiles(std::istream & mainDictIs, std::istream & forwardIs, std::istream & backwardIs) { InnerPhemDictPtr dct = std::make_shared<dawg::Dictionary<PhemMarkup>>(); dct->deserialize(mainDictIs); InnerCounterPhemDictPtr fdct = std::make_shared<dawg::Dictionary<std::size_t>>(); fdct->deserialize(forwardIs); InnerCounterPhemDictPtr bdct = std::make_shared<dawg::Dictionary<std::size_t>>(); bdct->deserialize(backwardIs); return utils::make_unique<PhemDict>(dct, fdct, bdct); } }
// // Copyright Jason Rice 2016 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include <nbdl/catch.hpp> #include <nbdl/pipe.hpp> #include <nbdl/run_async.hpp> #include <boost/hana.hpp> #include <catch.hpp> #include <functional> namespace hana = boost::hana; namespace { template <int i> auto make_op() { return nbdl::promise([](auto&& resolver, auto&& state) { resolver.resolve(hana::append(state, i)); }); } template <int i> auto op = make_op<i>(); auto tap = [](auto fn) { return nbdl::promise([fn_ = std::move(fn)](auto&& resolve, auto&& state) { using State = decltype(state); fn_(state); resolve(std::forward<State>(state)); }); }; template<typename Fn> struct check_t { Fn fn; int check_count_; template<typename Arg> decltype(auto) operator()(Arg&& arg) { fn(arg); ++check_count_; return std::forward<Arg>(arg); } bool get_check_count() { return check_count_; } }; template <typename Fn> auto make_check(Fn&& fn) { return check_t<Fn>{std::forward<Fn>(fn), 0}; } } TEST_CASE("Pipe asynchronous events", "[pipe]") { auto check_1 = make_check( [](auto const& state) { CHECK(hana::equal(state, hana::make_tuple(42, 1))); } ); auto check_2 = make_check( [](auto const& state) { CHECK(hana::equal(state, hana::make_tuple(42, 1, 2, 3, 4))); } ); nbdl::run_async( nbdl::pipe( op< 1 > , std::ref(check_1) , op< 2 > , op< 3 > , op< 4 > , std::ref(check_2) ) , hana::make_tuple(42) ); CHECK(check_1.get_check_count() == 1); CHECK(check_2.get_check_count() == 1); } TEST_CASE("Pipes are nestable and allow synchronous transformations", "[pipe]") { auto check_1 = make_check( [](auto const& state) { CHECK(hana::equal(state, hana::make_tuple(1, 4, 9, 16, 25, 36, 49))); } ); auto pipe_1 = nbdl::pipe( op< 1 > , op< 2 > , op< 3 > , op< 4 > ); nbdl::run_async( nbdl::pipe( pipe_1 , nbdl::pipe( op< 5 > , op< 6 > , op< 7 > ) , hana::reverse_partial(hana::transform, [](auto x) { return x * x; }) , std::ref(check_1) ) , hana::make_tuple() ); } TEST_CASE("Pipe with a rejection", "[pipe]") { int check_count = 0; nbdl::run_async( nbdl::pipe( op< 1 > , nbdl::promise([](auto&& resolve, auto&&) { resolve.reject(hana::int_c<1>); }) , tap([](auto const&) { CHECK(false); }) , op< 3 > , tap([](auto const&) { CHECK(false); }) , op< 4 > , nbdl::catch_([&](hana::int_<1>) { check_count++; }) , nbdl::catch_([&](hana::int_<2>) { CHECK(false); }) ) , hana::make_tuple(42) ); CHECK(check_count == 1); } TEST_CASE("Pipe with a rejection with a skipped catch", "[pipe]") { int check_count = 0; nbdl::run_async( nbdl::pipe( op< 1 > , nbdl::promise([](auto&& resolve, auto&&) { resolve.reject(hana::int_c<2>); }) , tap([](auto const&) { CHECK(false); }) , op< 3 > , tap([](auto const&) { CHECK(false); }) , op< 4 > , nbdl::catch_([&](hana::int_<1>) { CHECK(false); }) , nbdl::catch_([&](hana::int_<2>) { check_count++; }) ) , hana::make_tuple(42) ); CHECK(check_count == 1); }
#include <cassert> #include "IBaseCloud.hpp" #include "IBaseSim.hpp" #include "CRucio.hpp" IBaseSim::IBaseSim() = default; IBaseSim::~IBaseSim() = default; void IBaseSim::Run(const TickType maxTick) { mCurrentTick = 0; while(mCurrentTick<=maxTick && !mSchedule.empty()) { std::shared_ptr<CScheduleable> element = mSchedule.top(); mSchedule.pop(); assert(mCurrentTick <= element->mNextCallTick); mCurrentTick = element->mNextCallTick; element->OnUpdate(mCurrentTick); if(element->mNextCallTick > mCurrentTick) mSchedule.push(element); } }
#include<bits/stdc++.h> using namespace std; int main(){ int t; scanf("%d", &t); int rs, ps, ss, a, b, c; int n; char s[1000]; while(t--){ scanf("%d", &n); scanf("%d %d %d",&a, &b, &c); scanf("%s", s); rs = 0; ss = 0; ps = 0; for(int i = 0; i < strlen(s); i++){ if(s[i] == 'R') rs++; if(s[i] == 'P') ps++; if(s[i] == 'S') ss++; } int sobraR = 0, sobraP = 0, sobraS = 0; int ganho = 0; ganho += min(rs, b); ganho += min(ps, c); ganho += min(ss, a); sobraR = max(0, a - ss); sobraP = max(0, b - rs); sobraS = max(0, c - ps); if(ganho < (n/2 + (n%2 != 0) ) ){ printf("NO\n"); }else{ printf("YES\n"); for(int i = 0 ; i < strlen(s); i++){ if(s[i] == 'R'){ if(b > 0){ printf("P"); b--; } else{ if(sobraP > 0){ printf("P"); sobraP--; } else if(sobraR > 0){ printf("R"); sobraR--; } else if(sobraS > 0){ printf("S"); sobraS--; } } } if(s[i] == 'P'){ if(c > 0){ printf("S"); c--; } else{ if(sobraP > 0){ printf("P"); sobraP--; } else if(sobraR > 0){ printf("R"); sobraR--; } else if(sobraS > 0){ printf("S"); sobraS--; } } } if(s[i] == 'S'){ if(a > 0){ printf("R"); a--; } else{ if(sobraP > 0){ printf("P"); sobraP--; } else if(sobraR > 0){ printf("R"); sobraR--; } else if(sobraS > 0){ printf("S"); sobraS--; } } } } printf("\n"); } } }