Commit a868603e authored by Jan Möbius's avatar Jan Möbius

Some cleanup

Fixed alignment of text in pytthon widget
parent ca57f1ec
......@@ -228,22 +228,6 @@ void PythonInterpreter::pyError(const char* w)
Q_EMIT log(LOGERR, QString(w));
}
//import openflipper
//
//a = openflipper.core()
//
//a.updateView()
//print("AAAAAAAAAAAA")
//a = openflipper.core()
//
//print("BBBBBBBBBB")
//a.updateView()
//print("CCCCCCCCCc")
namespace pybind11 { namespace detail {
template <> struct type_caster<QString> {
public:
......@@ -312,11 +296,5 @@ PYBIND11_EMBEDDED_MODULE(openflipper, m) {
core.def("writeVersionNumbers", &Core::writeVersionNumbers);
std::cerr << "CorePointer : " << core_ << std::endl;;
}
......@@ -79,6 +79,8 @@ PythonWidget::PythonWidget(QWidget *parent )
connect( closeButton , SIGNAL(clicked() ) , this, SLOT(hide()) );
closeButton->setFocus();
pythonInfo->setAlignment(Qt::AlignLeft);
pythonInfo->append("Plugins with Python support (use import to load the corresponding module!):\n");
QStringList pythonPlugins = getPythonPlugins();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment