import sys
from PyQt5 import QtWidgets
from cal_event_search.Form import Ui_Form


def configure(ui):
    ui.start_time_widget.setVisible(False)
    ui.end_time_widget.setVisible(False)


def run():
    app = QtWidgets.QApplication(sys.argv)
    Form = QtWidgets.QWidget()
    ui = Ui_Form()
    ui.setupUi(Form)
    configure(ui)
    Form.show()
    sys.exit(app.exec_())


if __name__ == '__main__':
    run()
