Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qtdesigner
    Log in to post

    • UNSOLVED QtCreator - some basics questions...
      General and Desktop • qtcreator qtdesigner qtdesign • • Dariusz  

      4
      0
      Votes
      4
      Posts
      89
      Views

      @Dariusz said in QtCreator - some basics questions...: maybe how to change initial type of file from QWidget to QDialog/etc/etc? If you mean how to change the .h, cpp and UI file to be other type ? You will have to change in 3 places .h class MainWindow : public QMainWindow <<< change here .cpp MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) <<<< change here to new type .ui This you have to do outside creator, and its best if you close it. Open the ui file in other editor. ( its text)
    • UNSOLVED QTDesigner Plugin dll Unloaded Immediately after Loading
      General and Desktop • plugin qtdesigner unloaded • • Mommar  

      2
      0
      Votes
      2
      Posts
      96
      Views

      Maybe a dependency is missing so the dll can not be loaded -> use Dependency Walker to see what dependencies you're missing.
    • SOLVED Strange behavior in QtCreator Gui Designer
      General and Desktop • qtcreator qtdesigner designer error • • qt_emp  

      3
      0
      Votes
      3
      Posts
      86
      Views

      @qt_emp I found it I think. When I turned off auto indent it stopped doing this.
    • UNSOLVED making a Qt Designer plugin with python -- plugins not visible in Designer
      Tools • pyqt5 qt designer qtdesigner plugins designer plugin • • anp405  

      2
      0
      Votes
      2
      Posts
      841
      Views

      @anp405, my first guess would be that by setting PYTHONPATH you are losing the location of PyQt5 package. This depends on your Python and environment setup, but if there is some PYTHONPATH existing, you are overriding it completely instead of complementing. You can verify this by opening a new command line session, setting PYTHONPATH to wherever your code sets it, then running Python interpreter and trying to import PyQt5. Another guess would be that your child process uses different Python environment (e.g. built-in system Python 2), which does not have PyQt5 installed in its site-packages.
    • UNSOLVED QWT plugin into QT Designer specified module could not be found
      Installation and Deployment • qtcreator qtdesigner plugins qwt • • DSpider  

      7
      0
      Votes
      7
      Posts
      996
      Views

      @DSpider great! please don't forget to mark your post as solved. Thanks.
    • SOLVED Qt Creator custom module naming issues with drag and drop
      QML and Qt Quick • qtquick qtdesigner module custom • • sTirkas  

      2
      0
      Votes
      2
      Posts
      635
      Views

      I fixed the issue by dropping the source string from the .metainfo files. For anyone that cares I was following these instructions: http://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html and on step 5 I picked a random metainfo file when I searched the Qt folder for .metainfo, not the one they specifically chose (qtcharts.metainfo vs qtquickcontrols2.metainfo) The qtcharts one was probably for some other type of module use where specifying the source does something I don't need, the qtquickcontrols2 ended up having the syntax I really wanted in the end. Eventually I found this example and found out dropping the source worked: https://forum.qt.io/topic/56207/how-to-load-custom-qml-controls-into-the-qml-designer
    • UNSOLVED Promoting to custom widget in QtDesigner '*.hpp' no such file or directory [cmake]
      General and Desktop • c++ cmake qtdesigner custom widget cmakelists.txt • • Valveware  

      4
      0
      Votes
      4
      Posts
      1498
      Views

      @Valveware said in Promoting to custom widget in QtDesigner '*.hpp' no such file or directory [cmake]: file(GLOB_RECURSE QT_MOC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} FOLLOW_SYMLINKS include/dashboard/*.hpp) Ok that looks like it would indeed moc your cameraframe.hpp.. So that's probably not the issue. Can you share the build log from gcc? And also the ui_main_window.h file as well as ui_cameraframe.h?
    • UNSOLVED QtCharts with Qt Creator
      General and Desktop • qwidget qtdesigner qtchart • • Mattia  

      2
      0
      Votes
      2
      Posts
      2128
      Views

      It might not be the answer but it is a answer. I declare my charts using QML to maintain declarative / visual design. I only control them from C++ with C++ data. I do all the processing of dynamic axis ranges inside that, I do stupidly high frequency updates. I'd recommend, if you very frequently update your line series like I do to use: void QXYSeries::replace(QVector<QPointF> points) (or QList...) and also set your LineSeries to use open GL either from QML or C++ works fine, you do lose some functionality but it saves using canvas (which is slower) if you have lots of points of data, with many fast updates. HTH
    • ComboBox filtering treeWidget ?
      General and Desktop • python qtdesigner qsortfilter • • Heya  

      6
      0
      Votes
      6
      Posts
      1534
      Views

      IIRC something like: ui.filters.currentTextChanged.connect(proxyModel.setFilterFixedString)
    • UNSOLVED Combobox filters?
      General and Desktop • python combobox qtdesigner • • Heya  

      4
      0
      Votes
      4
      Posts
      825
      Views

      separate QTreeWidget in a QTreeView and a QStandardItemModel. create a QSortFilterProxyModel and set the QStandardItemModel as its suorce model connect currentTextChanged from the combobox to setFilterFixedString of QSortFilterProxyModel
    • UNSOLVED How to make lineEdit acceptable only integers?
      General and Desktop • qlineedit qtdesigner input • • testerius  

      7
      0
      Votes
      7
      Posts
      14210
      Views

      Hi, for an integer input between 0 and 100 set the mask to "009". Thats all.
    • SOLVED Using unic Stylesheet file and Qt Designer
      Tools • stylesheet qtdesigner css qss • • Romain C  

      9
      0
      Votes
      9
      Posts
      3413
      Views

      @Romain-C Well it still confused me sometimes :)
    • UNSOLVED Undefined referance to class::function
      General and Desktop • qtdesigner qtwidgets class undefined refer • • fortyff  

      10
      0
      Votes
      10
      Posts
      3632
      Views

      @fortyff said in Undefined referance to class::function: There are the same errors occured in the "esimplelabel.cpp" file, but I didn't write down here, since it'll consume too much place. Make sure you have all virtual functions that are declared defined. While a declaration of a regular function without a definition is perfectly valid (until it's called), that's not true for virtual methods.
    • UNSOLVED QT Designer Wont Open
      Tools • windows 10 visual studio qtdesigner • • SolaVitae  

      4
      0
      Votes
      4
      Posts
      2619
      Views

      Hi, Which exact version of Windows are you using ? Patch/Update applied ?
    • UNSOLVED Loading different classes in same window
      General and Desktop • c++ qmainwindow qtdesigner mainwindow • • ronyNS  

      7
      0
      Votes
      7
      Posts
      1843
      Views

      @SGaist I just want 1 window with the forms changing for the login and presentation windows. And then ill use dialog windows after the presentation window. Anyways thank you. Ill try QStackedWidget.
    • UNSOLVED How to add a label on a layout that covers the entire window.
      General and Desktop • layout qtdesigner login • • ronyNS  

      9
      0
      Votes
      9
      Posts
      3469
      Views

      Reimplement the resizeEvent of your main widget and resize your label in there.
    • SOLVED Cannot add plugin into QtDesigner
      General and Desktop • plugin qtdesigner • • Amott  

      14
      0
      Votes
      14
      Posts
      5380
      Views

      and it works ! Thank you all :)
    • UNSOLVED [SOLVED] Add QAction into QMenuBar in Designer
      General and Desktop • qtdesigner qaction qmenubar • • matobodo  

      5
      0
      Votes
      5
      Posts
      4069
      Views

      Ok, thanks.
    • UNSOLVED How to compile a project of qt-app.org? for install a widget in QtDesigner.
      General and Desktop • python qtdesigner compile pyqt4 cpp • • curiosport  

      1
      0
      Votes
      1
      Posts
      577
      Views

      No one has replied

    • SOLVED How to create this widget with PySide or QtDesigner?
      General and Desktop • python pyqt qtdesigner pyside pyqt4 • • curiosport  

      8
      0
      Votes
      8
      Posts
      2383
      Views

      @curiosport this is cpp files so you need cpp compiler. Then you would open the qiron.pro and compile it all. It would produce some DLLS in the plugin folder. Those should be copied to the plugin folder in QtCreator. Note: the source is for older Qt 4.6 so it might have compile errors u need to fix if using newer Qt.
    • QWebEngineView in QtDesigner
      Tools • qwebview qtdesigner qtcreator 3.6.1 qwebenginevi • • enmaniac  

      3
      0
      Votes
      3
      Posts
      10812
      Views

      @enmaniac QWebKit was removed in Qt 5.6. So QWebView is no longer available. Use QWebEngineView as a replacement. In Qt Designer, just add a QWidget to your form and promote it to QWebEngineView (base class: QWidget, header: QWebEngineView). Don't forget to add webenginewidgets to your project file.
    • QtDesigner reset some attributes of QTableWidget despite saving
      Tools • qtablewidget qtdesigner • • never_ever  

      1
      0
      Votes
      1
      Posts
      525
      Views

      No one has replied

    • UNSOLVED Elements of the same size in two GroupBoxes
      General and Desktop • qtdesigner qlayout qgroupbox • • alan73  

      7
      0
      Votes
      7
      Posts
      1548
      Views

      @Wieland Ah. thank you. Ok, you are right - spacer wont do it. He could set Alignment to right. (for edit) Then they stay same with all the time. Not sure its 100% the wanted effect? https://www.dropbox.com/s/px3t6ir6d767nn7/keepright.zip?dl=0
    • UNSOLVED Localization of strings defined in QtDesigner
      General and Desktop • qtdesigner localization • • enmaniac  

      7
      0
      Votes
      7
      Posts
      1838
      Views

      Thank you, I will. For the time being I am gonna move the label text into source code. Cheers for you help!
    • Qt Designer adds excess 1 pixel spacing
      General and Desktop • qtdesigner spacing • • lilovip  

      19
      0
      Votes
      19
      Posts
      4565
      Views

      tl;dr It's QFrame adding this extra pixel. set frameShape to NoFrame
    • Entendiendo Layout en Qt Designer
      Spanish • layout qtdesigner • • Heinserberg  

      4
      0
      Votes
      4
      Posts
      2185
      Views

      Hola @Heinserberg said: ... jugando con los layout logre bastante lo que quería , nose si de la manera correcta pero al cambiar el tamaño de la ventana los botones se mantienen a la derecha ... Bueno, si hace lo que buscabas, en principio ya está. Lo único que quizás pueda hacerse con menos layouts, pero eso es algo que irás viendo a medida que diseñes más ventanas y vayas entendiendo su funcionamiento. Para esto no hay más que practicar, personalmente cuando me inicié con Qt, me costó mucho el tema de los layuot, pero ahora, después de haber diseñado muchas ventanas, las hago mucho más rápido, aunque de vez en cuando me encuentro con alguna que me cuesta diseñar XD Un saludo
    • Qt designer stoped working
      General and Desktop • qtcreator qtdesigner debian virtualbox • • DrageFabeldyr  

      1
      0
      Votes
      1
      Posts
      460
      Views

      No one has replied

    • [SOLVED] What does QtDesigner option "Support for changing languages at runtime" do?
      Tools • qtdesigner runtime language languagechange options • • A Former User  

      6
      0
      Votes
      6
      Posts
      2498
      Views

      You're welcome ! Good to know :) Since we know now that it's working, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
    • Standard (ISO 6801) date/time format in Qt Designer's Property Editor values
      Tools • qtdesigner designer qt 4.8.6 • • White_Rabbit  

      2
      0
      Votes
      2
      Posts
      1136
      Views

      Hi @White_Rabbit, and welcome to the Qt Dev Net! I don't know if there's a way to change the display format of the editor. You can ask the Qt Creator engineers directly (and request the feature to set the editor's format) at the Qt Creator Mailing List: http://lists.qt-project.org/mailman/listinfo/qt-creator . Subscribe to the list and post there.
    • How to enter translatable text using plural/arguments in QtDesigner?
      Tools • qtdesigner translator • • A Former User  

      1
      0
      Votes
      1
      Posts
      536
      Views

      No one has replied

    • How to change the size of a label or lineEdit in Qt-4.8.5-Designer?
      General and Desktop • qlabel qtdesigner geometry qt4.8.5 change size • • gymnastique  

      1
      0
      Votes
      1
      Posts
      657
      Views

      No one has replied

    • Qt Designer not showing components when using a C++ import in QML
      Tools • qtdesigner qtcreator 3.4.2 • • theoribeiro  

      5
      0
      Votes
      5
      Posts
      3234
      Views

      @Thomas-Hartmann The problem i see is that QtCreator model is too restrictive... I just found another problem I have a plugin, CustomPluginBase And i develop an app that uses this plugin, linking statically so i can extend some types in cpp, and i register new types under namespace "CustomPluginBase.ExtendedTypes" Well, QtCreator shows "QML module not found" and as types doesn't exist, even if application works perfectly if i run it. (they get registered) I imagine that QtCreator overwrite existing qmlRegisterType in code, with no existing plugin, as base plugin exist.
    • Qt Designer Issue
      Tools • qtdesigner • • seang96  

      1
      0
      Votes
      1
      Posts
      486
      Views

      No one has replied

    • Problem with program that performs multiple processes.
      General and Desktop • python gui thread pyqt qtdesigner python3 threads threading pyqt4 multithreads pyuic • • Tas-sos  

      3
      0
      Votes
      3
      Posts
      2457
      Views

      How can i create my signal for text edit with python3 ? With as many ways i tried, but I did not succeed .. :(
    • Widgets as Abstract Base classes in the Qt Designer
      General and Desktop • qtcreator qtdesigner abstract class • • cuddlykittens11  

      2
      0
      Votes
      2
      Posts
      796
      Views

      Hi, Not that I know of. Why would need that ? You can't compile anything that is an abstract
    • Unable to see QML Components in non-project folder in Qt Designer
      Tools • qtdesigner • • Jennise Hall  

      2
      1
      Votes
      2
      Posts
      914
      Views

      The designer does not pick up the items from a plugin automatically. But you can write a .metainfo file that defines the contents of the item library. An example can be found here: https://github.com/qtproject/qt-creator/tree/master/tests/manual/qml/testprojects/plugins. Just have a look at: MyPlugin.metainfo
    • [SOLVED] QToolbar separator visibility not being saved
      General and Desktop • qtdesigner qtoolbar separator • • A Former User  

      3
      0
      Votes
      3
      Posts
      967
      Views

      Could you provide some more background on your problem? Are you using QML or Qt Widgets? Could you share the part of the code that designer is generating from your change? It is really hard to say anything based on one sentence.