Skip to content
Snippets Groups Projects
Commit e3758993 authored by benjamin.jakimow@geo.hu-berlin.de's avatar benjamin.jakimow@geo.hu-berlin.de
Browse files

added test/collapsibleGroupBox (idea: find a way to use QGIS resource icons...

added test/collapsibleGroupBox (idea: find a way to use QGIS resource icons without having QGIS started)
parent 55ae4816
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
"""
***************************************************************************
---------------------
Date : 10.01.2018
Copyright : (C) 2018 by Benjamin Jakimow
Email : benjamin jakimow at geo dot hu-berlin dot de
***************************************************************************
* *
* 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 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************
"""
# noinspection PyPep8Naming
from __future__ import absolute_import
import os
from timeseriesviewer.utils import initQgisApplication
from qgis.core import QgsApplication
from qgis.gui import QgsCollapsibleGroupBox
from PyQt4.QtGui import *
from PyQt4.QtCore import *
app = initQgisApplication()
app.setPkgDataPath('D:/Repositories/QGIS')
p = app.getThemeIcon("/mIconCollapse.svg" )
gb = QgsCollapsibleGroupBox()
gb.setTitle('TEST')
gb.setWindowIconText('x')
gb.show()
s = ""
app.exec_()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment