1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3
# This file is in the public domain
9
from gettext import gettext as _
10
gettext.textdomain('qreator')
12
from gi.repository import Gtk # pylint: disable=E0611
14
from qreator import QreatorWindow
16
from qreator_lib import set_up_logging, get_version
19
"""Support for command line options"""
20
parser = optparse.OptionParser(version="%%prog %s" % get_version())
22
"-v", "--verbose", action="count", dest="verbose",
23
help=_("Show debug messages (-vv debugs qreator_lib also)"))
24
(options, args) = parser.parse_args()
26
set_up_logging(options)
29
'constructor for your class instances'
32
# Run the application.
33
window = QreatorWindow.QreatorWindow()