From 7c60d9e9fd4ed2bf5d60afcf964ac8e6582225d6 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" Date: Sun, 29 Sep 2019 15:39:35 +0200 Subject: [PATCH] Added searchbar class --- nw/gui/searchbar.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 nw/gui/searchbar.py diff --git a/nw/gui/searchbar.py b/nw/gui/searchbar.py new file mode 100644 index 00000000..90dd8c72 --- /dev/null +++ b/nw/gui/searchbar.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +"""novelWriter GUI Main Window SearchBar + + novelWriter – GUI Main Window SearchBar +========================================= + Class holding the main window search bar + + File History: + Created: 2019-09-29 [0.2.1] + +""" + +import logging +import nw + +from PyQt5.QtWidgets import QFrame + +logger = logging.getLogger(__name__) + +class GuiSearchBar(QFrame): + + def __init__(self, theParent): + + logger.debug("Initialising GuiSearchBar ...") + + self.mainConf = nw.CONFIG + self.theParent = theParent + self.refTime = None + + logger.debug("GuiSearchBar initialisation complete") + + return + +# END Class GuiSearchBar