Skip to content

Instantly share code, notes, and snippets.

View maisvendoo's full-sized avatar
💭
I may be slow to respond.

Dmitry Pritykin maisvendoo

💭
I may be slow to respond.
View GitHub Profile
#! python3
# Copyright 2020 Benedikt Bitterli
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@maisvendoo
maisvendoo / qtabwidget.css
Created April 19, 2019 20:50 — forked from espdev/qtabwidget.css
A QTabWidget Custom Stylesheet Example
QTabWidget::pane {
border: 1px solid black;
background: white;
}
QTabWidget::tab-bar:top {
top: 1px;
}
QTabWidget::tab-bar:bottom {
@maisvendoo
maisvendoo / CMakeLists.txt
Created July 28, 2018 00:10 — forked from vicrucann/CMakeLists.txt
OpenSceneGraph + QOpenGLWidget - minimal example
cmake_minimum_required(VERSION 2.8.11)
project(qtosg)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
find_package(Qt5 REQUIRED COMPONENTS Core Gui OpenGL)
find_package(OpenSceneGraph REQUIRED COMPONENTS osgDB osgGA osgUtil osgViewer)
include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS})