Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 199
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 214
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 228
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 256
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 362
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 383
Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 126
Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 127
Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 133
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 140
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 70
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 80
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 75
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 117
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 90
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 624
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 629
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 639
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 634
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 649
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 644
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 659
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 672
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 681
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 685
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/Message.php on line 159
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/RawMessage.php on line 34
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /var/www/cppe.ru/www/includes/context/RequestContext.php on line 354
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /var/www/cppe.ru/www/includes/parser/Parser.php on line 280
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 232
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46 Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?action=history&feed=atom&title=C%2B%2B%2FQt%2FQDesignerCustomWidgetInterfaceC++/Qt/QDesignerCustomWidgetInterface - История изменений2026-11-08T04:24:42ZИстория изменений этой страницы в викиMediaWiki 1.30.0 Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property PoolCounterWorkViaCallback::$poolCounter is deprecated in /var/www/cppe.ru/www/includes/poolcounter/PoolCounterWork.php on line 39
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property BlockLevelPass::$lineStart is deprecated in /var/www/cppe.ru/www/includes/parser/BlockLevelPass.php on line 60
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48 Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Qt/QDesignerCustomWidgetInterface&diff=1204&oldid=prev в 14:21, 25 мая 20102010-05-25T14:21:06Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr style="vertical-align: top;" lang="ru">
<td colspan="1" style="background-color: white; color:black; text-align: center;">← Предыдущая</td>
<td colspan="1" style="background-color: white; color:black; text-align: center;">Версия 14:21, 25 мая 2010</td>
</tr><tr><td colspan="2" style="text-align: center;" lang="ru"><div class="mw-diff-empty">(нет различий)</div>
</td></tr></table> Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48 Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Qt/QDesignerCustomWidgetInterface&diff=1205&oldid=prevAdmin: 1 версия: Импорт контента...2010-05-25T10:25:08Z<p>1 версия: Импорт контента...</p>
<p><b>Новая страница</b></p><div>==extends QDesignerCustomWidgetInterface==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
Foundations of Qt Development\Chapter06\designerplugin\circlebar.cpp<br />
/*<br />
* Copyright (c) 2006-2007, Johan Thelin<br />
* <br />
* All rights reserved.<br />
* <br />
* Redistribution and use in source and binary forms, with or without modification, <br />
* are permitted provided that the following conditions are met:<br />
* <br />
* * Redistributions of source code must retain the above copyright notice, <br />
* this list of conditions and the following disclaimer.<br />
* * Redistributions in binary form must reproduce the above copyright notice, <br />
* this list of conditions and the following disclaimer in the documentation <br />
* and/or other materials provided with the distribution.<br />
* * Neither the name of APress nor the names of its contributors <br />
* may be used to endorse or promote products derived from this software <br />
* without specific prior written permission.<br />
* <br />
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br />
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br />
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br />
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br />
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br />
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br />
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br />
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br />
*<br />
*/<br />
#include <QPaintEvent><br />
#include <QWheelEvent><br />
#include <QPainter><br />
#include "circlebar.h"<br />
CircleBar::CircleBar( QWidget *parent ) : QWidget( parent )<br />
{<br />
m_value = 0;<br />
<br />
QSizePolicy policy( QSizePolicy::Preferred, QSizePolicy::Preferred );<br />
policy.setHeightForWidth( true );<br />
setSizePolicy( policy );<br />
}<br />
CircleBar::CircleBar( int value, QWidget *parent ) : QWidget( parent )<br />
{<br />
m_value = value;<br />
<br />
QSizePolicy policy( QSizePolicy::Preferred, QSizePolicy::Preferred );<br />
policy.setHeightForWidth( true );<br />
setSizePolicy( policy );<br />
}<br />
int CircleBar::heightForWidth( int width ) const<br />
{<br />
return width;<br />
}<br />
QSize CircleBar::sizeHint() const<br />
{<br />
return QSize( 100, 100 );<br />
}<br />
int CircleBar::value() const<br />
{<br />
return m_value;<br />
}<br />
void CircleBar::setValue( int value )<br />
{<br />
if( value < 0 )<br />
value = 0;<br />
<br />
if( value > 100 )<br />
value = 100;<br />
<br />
if( m_value == value )<br />
return;<br />
<br />
m_value = value;<br />
update();<br />
emit valueChanged( m_value );<br />
}<br />
void CircleBar::paintEvent( QPaintEvent *event )<br />
{<br />
int radius = width()/2;<br />
double factor = m_value/100.0;<br />
<br />
QPainter p( this );<br />
p.setPen( Qt::black );<br />
p.drawEllipse( 0, 0, width()-1, width()-1 );<br />
p.setBrush( Qt::black );<br />
p.drawEllipse( int(radius*(1.0-factor)), int(radius*(1.0-factor)), int((width()-1)*factor)+1, int((width()-1)*factor)+1 );<br />
}<br />
void CircleBar::wheelEvent( QWheelEvent *event )<br />
{<br />
event->accept();<br />
setValue( value() + event->delta()/20 );<br />
}<br />
<br />
Foundations of Qt Development\Chapter06\designerplugin\circlebar.h<br />
/*<br />
* Copyright (c) 2006-2007, Johan Thelin<br />
* <br />
* All rights reserved.<br />
* <br />
* Redistribution and use in source and binary forms, with or without modification, <br />
* are permitted provided that the following conditions are met:<br />
* <br />
* * Redistributions of source code must retain the above copyright notice, <br />
* this list of conditions and the following disclaimer.<br />
* * Redistributions in binary form must reproduce the above copyright notice, <br />
* this list of conditions and the following disclaimer in the documentation <br />
* and/or other materials provided with the distribution.<br />
* * Neither the name of APress nor the names of its contributors <br />
* may be used to endorse or promote products derived from this software <br />
* without specific prior written permission.<br />
* <br />
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br />
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br />
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br />
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br />
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br />
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br />
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br />
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br />
*<br />
*/<br />
#ifndef CIRCLEBAR_H<br />
#define CIRCLEBAR_H<br />
#include <QWidget><br />
#include <QtDesigner><br />
class QDESIGNER_WIDGET_EXPORT CircleBar : public QWidget<br />
{<br />
Q_OBJECT<br />
public:<br />
CircleBar( QWidget *parent = 0 );<br />
CircleBar( int value = 0, QWidget *parent = 0 );<br />
<br />
int value() const;<br />
<br />
int heightForWidth( int ) const;<br />
QSize sizeHint() const; <br />
public slots:<br />
void setValue( int );<br />
<br />
signals:<br />
void valueChanged( int );<br />
<br />
protected:<br />
void paintEvent( QPaintEvent* );<br />
void wheelEvent( QWheelEvent* );<br />
<br />
private:<br />
int m_value;<br />
};<br />
#endif // CIRCLEBAR_H<br />
<br />
Foundations of Qt Development\Chapter06\designerplugin\circlebarplugin.cpp<br />
/*<br />
* Copyright (c) 2006-2007, Johan Thelin<br />
* <br />
* All rights reserved.<br />
* <br />
* Redistribution and use in source and binary forms, with or without modification, <br />
* are permitted provided that the following conditions are met:<br />
* <br />
* * Redistributions of source code must retain the above copyright notice, <br />
* this list of conditions and the following disclaimer.<br />
* * Redistributions in binary form must reproduce the above copyright notice, <br />
* this list of conditions and the following disclaimer in the documentation <br />
* and/or other materials provided with the distribution.<br />
* * Neither the name of APress nor the names of its contributors <br />
* may be used to endorse or promote products derived from this software <br />
* without specific prior written permission.<br />
* <br />
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br />
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br />
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br />
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br />
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br />
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br />
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br />
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br />
*<br />
*/<br />
#include <QtPlugin><br />
#include <QExtensionManager><br />
#include <QDesignerFormEditorInterface><br />
#include <QTimer><br />
#include "circlebar.h"<br />
#include "circlebarplugin.h"<br />
CircleBarPlugin::CircleBarPlugin( QObject *parent )<br />
{<br />
m_initialized = false;<br />
}<br />
bool CircleBarPlugin::isInitialized() const<br />
{<br />
return m_initialized;<br />
}<br />
void CircleBarPlugin::initialize( QDesignerFormEditorInterface *core )<br />
{<br />
if( m_initialized )<br />
return;<br />
m_initialized = true;<br />
}<br />
bool CircleBarPlugin::isContainer() const<br />
{<br />
return false;<br />
}<br />
QIcon CircleBarPlugin::icon() const<br />
{<br />
return QIcon();<br />
}<br />
QString CircleBarPlugin::toolTip() const<br />
{<br />
return "";<br />
}<br />
QString CircleBarPlugin::whatsThis() const<br />
{<br />
return "";<br />
}<br />
QString CircleBarPlugin::codeTemplate() const<br />
{<br />
return "";<br />
}<br />
QString CircleBarPlugin::includeFile() const<br />
{<br />
return "circlebar.h";<br />
}<br />
QString CircleBarPlugin::name() const<br />
{<br />
return "CircleBar";<br />
}<br />
QString CircleBarPlugin::domXml() const<br />
{<br />
return "<widget class=\"CircleBar\" name=\"circleBar\">\n"<br />
"</widget>\n";<br />
}<br />
QString CircleBarPlugin::group() const<br />
{<br />
return "Book Widgets";<br />
}<br />
QWidget *CircleBarPlugin::createWidget( QWidget *parent )<br />
{<br />
return new CircleBar( parent );<br />
}<br />
Q_EXPORT_PLUGIN2( circleBarPlugin, CircleBarPlugin )<br />
<br />
Foundations of Qt Development\Chapter06\designerplugin\circlebarplugin.h<br />
/*<br />
* Copyright (c) 2006-2007, Johan Thelin<br />
* <br />
* All rights reserved.<br />
* <br />
* Redistribution and use in source and binary forms, with or without modification, <br />
* are permitted provided that the following conditions are met:<br />
* <br />
* * Redistributions of source code must retain the above copyright notice, <br />
* this list of conditions and the following disclaimer.<br />
* * Redistributions in binary form must reproduce the above copyright notice, <br />
* this list of conditions and the following disclaimer in the documentation <br />
* and/or other materials provided with the distribution.<br />
* * Neither the name of APress nor the names of its contributors <br />
* may be used to endorse or promote products derived from this software <br />
* without specific prior written permission.<br />
* <br />
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br />
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br />
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br />
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br />
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br />
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br />
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br />
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br />
*<br />
*/<br />
#ifndef CIRCLEBARPLUGIN_H<br />
#define CIRCLEBARPLUGIN_H<br />
#include <QDesignerCustomWidgetInterface><br />
class QExtensionManager;<br />
class CircleBarPlugin : public QObject, public QDesignerCustomWidgetInterface<br />
{<br />
Q_OBJECT<br />
Q_INTERFACES(QDesignerCustomWidgetInterface)<br />
public:<br />
CircleBarPlugin( QObject *parent = 0 );<br />
bool isContainer() const;<br />
bool isInitialized() const;<br />
QIcon icon() const;<br />
QString codeTemplate() const;<br />
QString domXml() const;<br />
QString group() const;<br />
QString includeFile() const;<br />
QString name() const;<br />
QString toolTip() const;<br />
QString whatsThis() const;<br />
QWidget *createWidget( QWidget *parent );<br />
void initialize( QDesignerFormEditorInterface *core );<br />
private:<br />
bool m_initialized;<br />
};<br />
#endif /* CIRCLEBARPLUGIN_H */<br />
<br />
<br />
</source><br />
<br />
<br />
==Model view controller==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
/****************************************************************************<br />
**<br />
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).<br />
** All rights reserved.<br />
** Contact: Nokia Corporation (qt-info@nokia.com)<br />
**<br />
** This file is part of the documentation of the Qt Toolkit.<br />
**<br />
** $QT_BEGIN_LICENSE:LGPL$<br />
** Commercial Usage<br />
** Licensees holding valid Qt Commercial licenses may use this file in<br />
** accordance with the Qt Commercial License Agreement provided with the<br />
** Software or, alternatively, in accordance with the terms contained in<br />
** a written agreement between you and Nokia.<br />
**<br />
** GNU Lesser General Public License Usage<br />
** Alternatively, this file may be used under the terms of the GNU Lesser<br />
** General Public License version 2.1 as published by the Free Software<br />
** Foundation and appearing in the file LICENSE.LGPL included in the<br />
** packaging of this file. Please review the following information to<br />
** ensure the GNU Lesser General Public License version 2.1 requirements<br />
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.<br />
**<br />
** In addition, as a special exception, Nokia gives you certain additional<br />
** rights. These rights are described in the Nokia Qt LGPL Exception<br />
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.<br />
**<br />
** GNU General Public License Usage<br />
** Alternatively, this file may be used under the terms of the GNU<br />
** General Public License version 3.0 as published by the Free Software<br />
** Foundation and appearing in the file LICENSE.GPL included in the<br />
** packaging of this file. Please review the following information to<br />
** ensure the GNU General Public License version 3.0 requirements will be<br />
** met: http://www.gnu.org/copyleft/gpl.html.<br />
**<br />
** If you have questions regarding the use of this file, please contact<br />
** Nokia at qt-info@nokia.com.<br />
** $QT_END_LICENSE$<br />
**<br />
****************************************************************************/<br />
#ifndef VIEW_H<br />
#define VIEW_H<br />
#include <QAbstractItemView><br />
#include <QItemSelection><br />
#include <QItemSelectionModel><br />
#include <QModelIndex><br />
#include <QRect><br />
#include <QSize><br />
#include <QWidget><br />
class LinearView : public QAbstractItemView<br />
{<br />
Q_OBJECT<br />
public:<br />
LinearView(QWidget *parent = 0);<br />
QRect itemViewportRect(const QModelIndex &index) const;<br />
void ensureVisible(const QModelIndex &index);<br />
QModelIndex itemAt(int x, int y) const;<br />
protected slots:<br />
/*void dataChanged(const QModelIndex &topLeft, const QModelIndex<br />
&bottomRight);*/<br />
void rowsInserted(const QModelIndex &parent, int start, int end);<br />
void rowsRemoved(const QModelIndex &parent, int start, int end);<br />
/*void selectionChanged(const QItemSelection &deselected, const QItemSelection &selected);<br />
void verticalScrollbarAction(int action);<br />
void horizontalScrollbarAction(int action);*/<br />
protected:<br />
void setSelection(const QRect&, QItemSelectionModel::SelectionFlags command);<br />
QRect selectionViewportRect(const QItemSelection &selection) const;<br />
QRect itemRect(const QModelIndex &item) const;<br />
bool isIndexHidden(const QModelIndex &index) const;<br />
int horizontalOffset() const;<br />
int verticalOffset() const;<br />
QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction,<br />
Qt::KeyboardModifiers modifiers);<br />
void paintEvent(QPaintEvent *event);<br />
void resizeEvent(QResizeEvent *event);<br />
QSize sizeHint() const;<br />
private:<br />
int rows(const QModelIndex &index = QModelIndex()) const;<br />
void updateGeometries();<br />
};<br />
#endif<br />
<br />
<br />
<br />
/*!<br />
view.cpp<br />
Provides a view to represent a one-dimensional sequence of integers<br />
obtained from a list model as a series of rows.<br />
*/<br />
#include <QAbstractItemModel><br />
#include <QBrush><br />
#include <QItemSelection><br />
#include <QPainter><br />
#include <QPaintEvent><br />
#include <QPen><br />
#include <QPoint><br />
#include <QResizeEvent><br />
#include <QScrollBar><br />
#include <QSizePolicy><br />
#include "view.h"<br />
LinearView::LinearView(QWidget *parent)<br />
: QAbstractItemView(parent)<br />
{<br />
setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);<br />
}<br />
/*!<br />
Returns the position of the item in viewport coordinates.<br />
*/<br />
QRect LinearView::itemViewportRect(const QModelIndex &index) const<br />
{<br />
QRect rect = itemRect(index);<br />
QRect result(rect.left() - horizontalScrollBar()->value(),<br />
rect.top() - verticalScrollBar()->value(),<br />
rect.width(), viewport()->height());<br />
return result;<br />
}<br />
/*!<br />
Returns the rectangle of the item at position \a index in the<br />
model. The rectangle is in contents coordinates.<br />
*/<br />
QRect LinearView::itemRect(const QModelIndex &index) const<br />
{<br />
if (!index.isValid())<br />
return QRect();<br />
else<br />
return QRect(index.row(), 0, 1, 1);<br />
}<br />
<br />
void LinearView::ensureVisible(const QModelIndex &index)<br />
{<br />
QRect area = viewport()->rect();<br />
QRect rect = itemViewportRect(index);<br />
if (rect.left() < area.left())<br />
horizontalScrollBar()->setValue(<br />
horizontalScrollBar()->value() - rect.left());<br />
else if (rect.right() > area.right())<br />
horizontalScrollBar()->setValue(<br />
horizontalScrollBar()->value() + rect.left() - area.width());<br />
}<br />
/*!<br />
Returns the item that covers the coordinate given in the view.<br />
*/<br />
QModelIndex LinearView::itemAt(int x, int /* y */) const<br />
{<br />
int row = x + horizontalScrollBar()->value();<br />
return model()->index(row, 0, QModelIndex());<br />
}<br />
//void LinearView::dataChanged(const QModelIndex &/* topLeft */,<br />
// const QModelIndex &/* bottomRight */)<br />
//{<br />
// updateGeometries();<br />
// if (isVisible())<br />
// repaint();<br />
//}<br />
void LinearView::rowsInserted(const QModelIndex &/* parent */, int /* start */,<br />
int /* end */)<br />
{<br />
updateGeometries();<br />
if (isVisible())<br />
repaint();<br />
}<br />
void LinearView::rowsRemoved(const QModelIndex &/* parent */, int /* start */,<br />
int /* end */)<br />
{<br />
updateGeometries();<br />
if (isVisible())<br />
repaint();<br />
}<br />
/*<br />
void LinearView::verticalScrollbarAction(int action)<br />
{<br />
}<br />
void LinearView::horizontalScrollbarAction(int action)<br />
{<br />
}<br />
*/<br />
/*!<br />
Select the items in the model that lie within the rectangle specified by<br />
\a rect, using the selection \a command.<br />
*/<br />
void LinearView::setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command)<br />
{<br />
QModelIndex leftIndex = itemAt(rect.left(), 0);<br />
QModelIndex rightIndex = itemAt(rect.right(), 0);<br />
QItemSelection selection(leftIndex, rightIndex);<br />
selectionModel()->select(selection, command);<br />
}<br />
QModelIndex LinearView::moveCursor(QAbstractItemView::CursorAction cursorAction,<br />
Qt::KeyboardModifiers)<br />
{<br />
QModelIndex current = currentIndex();<br />
switch (cursorAction) {<br />
case MoveLeft:{<br />
if (current.row() > 0)<br />
return model()->index(current.row() - 1, 0, QModelIndex());<br />
else<br />
return model()->index(0, 0, QModelIndex());<br />
break;}<br />
case MoveRight:{<br />
if (current.row() < rows(current) - 1)<br />
return model()->index(current.row() + 1, 0, QModelIndex());<br />
else<br />
return model()->index(rows(current) - 1, 0,QModelIndex());<br />
break;}<br />
case MoveUp:<br />
return current;<br />
case MoveDown:<br />
return current;<br />
case MovePageUp:<br />
return current;<br />
case MovePageDown:<br />
return current;<br />
case MoveHome:<br />
return model()->index(0, 0, QModelIndex());<br />
case MoveEnd:<br />
return model()->index(rows(current) - 1, 0, QModelIndex());<br />
default:<br />
return current;<br />
}<br />
}<br />
int LinearView::horizontalOffset() const<br />
{<br />
return horizontalScrollBar()->value();<br />
}<br />
int LinearView::verticalOffset() const<br />
{<br />
return verticalScrollBar()->value();<br />
}<br />
/*!<br />
Returns a rectangle corresponding to the selection in viewport cooridinates.<br />
*/<br />
QRect LinearView::selectionViewportRect(const QItemSelection &selection) const<br />
{<br />
int ranges = selection.count();<br />
if (ranges == 0)<br />
return QRect();<br />
// Note that we use the top and bottom functions of the selection range<br />
// since the data is stored in rows.<br />
int firstRow = selection.at(0).top();<br />
int lastRow = selection.at(0).top();<br />
for (int i = 0; i < ranges; ++i) {<br />
firstRow = qMin(firstRow, selection.at(i).top());<br />
lastRow = qMax(lastRow, selection.at(i).bottom());<br />
}<br />
QModelIndex firstItem = model()->index(qMin(firstRow, lastRow), 0,<br />
QModelIndex());<br />
QModelIndex lastItem = model()->index(qMax(firstRow, lastRow), 0,<br />
QModelIndex());<br />
QRect firstRect = itemViewportRect(firstItem);<br />
QRect lastRect = itemViewportRect(lastItem);<br />
return QRect(firstRect.left(), firstRect.top(),<br />
lastRect.right() - firstRect.left(), firstRect.height());<br />
}<br />
void LinearView::paintEvent(QPaintEvent *event)<br />
{<br />
QPainter painter(viewport());<br />
QRect updateRect = event->rect();<br />
QBrush background(Qt::black);<br />
QPen foreground(Qt::white);<br />
painter.fillRect(updateRect, background);<br />
painter.setPen(foreground);<br />
QModelIndex firstItem = itemAt(updateRect.left(), updateRect.top());<br />
if (!firstItem.isValid())<br />
firstItem = model()->index(0, 0, QModelIndex());<br />
QModelIndex lastItem = itemAt(updateRect.right(), updateRect.bottom());<br />
if (!lastItem.isValid())<br />
lastItem = model()->index(rows() - 1, 0, QModelIndex());<br />
int x = updateRect.left();<br />
//int top = updateRect.top();<br />
//int bottom = updateRect.bottom();<br />
int row = firstItem.row();<br />
QModelIndex index = model()->index(row, 0, QModelIndex());<br />
int value = model()->data(index, Qt::DisplayRole).toInt();<br />
int midPoint = viewport()->height()/2;<br />
int y2 = midPoint - int(value * midPoint/255.0);<br />
while (row <= lastItem.row()) {<br />
QModelIndex index = model()->index(row, 0, QModelIndex());<br />
int value = model()->data(index, Qt::DisplayRole).toInt();<br />
int y1 = y2;<br />
y2 = midPoint - int(value * midPoint/255.0);<br />
painter.drawLine(x-1, y1, x, y2);<br />
++row; ++x;<br />
}<br />
}<br />
void LinearView::resizeEvent(QResizeEvent * /* event */)<br />
{<br />
updateGeometries();<br />
}<br />
void LinearView::updateGeometries()<br />
{<br />
if (viewport()->width() < rows()) {<br />
horizontalScrollBar()->setPageStep(viewport()->width());<br />
horizontalScrollBar()->setRange(0, rows() - viewport()->width() - 1);<br />
}<br />
}<br />
QSize LinearView::sizeHint() const<br />
{<br />
return QSize(rows(), 200);<br />
}<br />
int LinearView::rows(const QModelIndex &index) const<br />
{<br />
return model()->rowCount(model()->parent(index));<br />
}<br />
bool LinearView::isIndexHidden(const QModelIndex &index) const<br />
{<br />
return false;<br />
}<br />
<br />
<br />
<br />
#ifndef MODEL_H<br />
#define MODEL_H<br />
#include <QAbstractListModel><br />
#include <QObject><br />
#include <qvector.h><br />
class LinearModel : public QAbstractListModel<br />
{<br />
Q_OBJECT<br />
public:<br />
LinearModel(QObject *parent = 0)<br />
: QAbstractListModel(parent) {}<br />
int rowCount(const QModelIndex &parent = QModelIndex()) const;<br />
QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const;<br />
QVariant data(const QModelIndex &index, int role) const;<br />
Qt::ItemFlags flags(const QModelIndex &index) const;<br />
bool setData(const QModelIndex &index, const QVariant &value,<br />
int role = Qt::EditRole);<br />
bool insertRows(int position, int rows, const QModelIndex &index = QModelIndex());<br />
bool removeRows(int position, int rows, const QModelIndex &index = QModelIndex());<br />
private:<br />
QVector<int> values;<br />
};<br />
#endif<br />
<br />
<br />
<br />
/*<br />
model.cpp<br />
A simple model that uses a QVector as its data source.<br />
*/<br />
#include "model.h"<br />
/*!<br />
Returns the number of items in the string list as the number of rows<br />
in the model.<br />
*/<br />
int LinearModel::rowCount(const QModelIndex &parent) const<br />
{<br />
Q_USING(parent);<br />
return values.count();<br />
}<br />
/*<br />
Returns an appropriate value for the requested data.<br />
If the view requests an invalid index, an invalid variant is returned.<br />
If a header is requested then we just return the column or row number,<br />
depending on the orientation of the header.<br />
Any valid index that corresponds to a string in the list causes that<br />
string to be returned.<br />
*/<br />
/*!<br />
Returns a model index for other component to use when referencing the<br />
item specified by the given row, column, and type. The parent index<br />
is ignored.<br />
*/<br />
QModelIndex LinearModel::index(int row, int column, const QModelIndex &parent) const<br />
{<br />
if (parent == QModelIndex() && row >= 0 && row < rowCount()<br />
&& column == 0)<br />
return createIndex(row, column, 0);<br />
else<br />
return QModelIndex();<br />
}<br />
QVariant LinearModel::data(const QModelIndex &index, int role) const<br />
{<br />
Q_UNUSED(role);<br />
if (!index.isValid())<br />
return QVariant();<br />
return values.at(index.row());<br />
}<br />
/*!<br />
Returns Qt::ItemIsEditable so that all items in the vector can be edited.<br />
*/<br />
Qt::ItemFlags LinearModel::flags(const QModelIndex &index) const<br />
{<br />
// all items in the model are editable<br />
return QAbstractListModel::flags(index) | Qt::ItemIsEditable;<br />
}<br />
/*!<br />
Changes an item in the string list, but only if the following conditions<br />
are met:<br />
* The index supplied is valid.<br />
* The index corresponds to an item to be shown in a view.<br />
* The role associated with editing text is specified.<br />
The dataChanged() signal is emitted if the item is changed.<br />
*/<br />
bool LinearModel::setData(const QModelIndex &index,<br />
const QVariant &value, int role)<br />
{<br />
if (!index.isValid() || role != Qt::EditRole)<br />
return false;<br />
values.replace(index.row(), value.toInt());<br />
emit dataChanged(index, index);<br />
return true;<br />
}<br />
/*!<br />
Inserts a number of rows into the model at the specified position.<br />
*/<br />
bool LinearModel::insertRows(int position, int rows, const QModelIndex &parent)<br />
{<br />
beginInsertRows(parent, position, position + rows - 1);<br />
values.insert(position, rows, 0);<br />
endInsertRows();<br />
return true;<br />
}<br />
/*!<br />
Removes a number of rows from the model at the specified position.<br />
*/<br />
bool LinearModel::removeRows(int position, int rows, const QModelIndex &parent)<br />
{<br />
beginRemoveRows(QModelIndex(), position, position+rows-1);<br />
values.remove(position, rows);<br />
endRemoveRows();<br />
return true;<br />
}<br />
<br />
<br />
<br />
<br />
<br />
#ifndef WINDOW_H<br />
#define WINDOW_H<br />
#include <QMainWindow><br />
#include <QString><br />
#include <QWidget><br />
#include "model.h"<br />
#include "view.h"<br />
class MainWindow : public QMainWindow<br />
{<br />
Q_OBJECT<br />
public:<br />
MainWindow::MainWindow(QWidget *parent = 0);<br />
public slots:<br />
void selectOpenFile();<br />
private:<br />
void setupModelView();<br />
void openFile(const QString &fileName);<br />
LinearModel *model;<br />
LinearView *view;<br />
};<br />
#endif<br />
<br />
<br />
<br />
#include <QAction><br />
#include <QDataStream><br />
#include <QMenu><br />
#include <QMenuBar><br />
#include <QFile><br />
#include <QFileDialog><br />
#include <QListView><br />
#include "window.h"<br />
MainWindow::MainWindow(QWidget *parent)<br />
: QMainWindow(parent)<br />
{<br />
setWindowTitle("Model/View example");<br />
setupModelView();<br />
QAction *openAction = new QAction(tr("&Open"), this);<br />
QAction *quitAction = new QAction(tr("E&xit"), this);<br />
QMenu *fileMenu = new QMenu(tr("&File"), this);<br />
fileMenu->addAction(openAction);<br />
fileMenu->addAction(quitAction);<br />
menuBar()->addMenu(fileMenu);<br />
connect(openAction, SIGNAL(triggered()), this, SLOT(selectOpenFile()));<br />
connect(quitAction, SIGNAL(triggered()), this, SLOT(close()));<br />
setCentralWidget(view);<br />
}<br />
void MainWindow::setupModelView()<br />
{<br />
model = new LinearModel(this);<br />
view = new LinearView(this);<br />
view->setModel(model);<br />
}<br />
void MainWindow::selectOpenFile()<br />
{<br />
QString fileName = QFileDialog::getOpenFileName(this,<br />
tr("Select a file to open"), "", tr("Sound files (*.wav)"));<br />
<br />
if (!fileName.isEmpty())<br />
openFile(fileName);<br />
}<br />
void MainWindow::openFile(const QString &fileName)<br />
{<br />
QFile file(fileName);<br />
int length = file.size();<br />
if (file.open(QFile::ReadOnly)) {<br />
model->removeRows(0, model->rowCount());<br />
int rows = (length - 0x2c)/2;<br />
model->insertRows(0, rows);<br />
// Perform some dodgy tricks to extract the data from the file.<br />
QDataStream stream(&file);<br />
stream.setByteOrder(QDataStream::LittleEndian);<br />
Q_INT16 left;<br />
Q_INT16 right;<br />
for (int row = 0; row < rows; ++row) {<br />
QModelIndex index = model->index(row);<br />
stream >> left >> right;<br />
model->setData(index, int(left / 256));<br />
}<br />
}<br />
}<br />
<br />
<br />
<br />
/*<br />
main.cpp<br />
An example of a main window application that used a subclassed model<br />
and view to display data from sound files.<br />
*/<br />
#include <QApplication><br />
#include "model.h"<br />
#include "view.h"<br />
#include "window.h"<br />
/*!<br />
The main function for the linear model example. This creates and<br />
populates a model with long integers then displays the contents of the<br />
model using a QListView widget.<br />
*/<br />
int main(int argc, char *argv[])<br />
{<br />
QApplication app(argc, argv);<br />
MainWindow *window = new MainWindow;<br />
window->show();<br />
return app.exec();<br />
}<br />
<br />
<br />
</source></div>Admin Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48