[Qt-creator] Buid and Run settings should allow to set path relative to the .pro file
Hi I'm using custom make commands to build my project. I delete the default build steps and specify the my own build steps to be executed when project is build in Qt Creator. I specify a build directory in which make commands are to be executed and specify the path of executable that is to be run. The build directory path and executable path are stored in untitled.pro.user. Now my problem is that multiple users share this untitled.pro.user file since it is checked in CVS along with untitled.pro. But the path stored in untitled.pro.user are absolute paths and thus don't work for the other users. I need a feature so that I can specify the build directory path and executable path relative to the path of untitled.pro that any user opens in Qt Creator i.e. when we open a .pro in Qt Creator then an environmental variable gets created $PROJECT_PATH which points to path of .pro file of the project. Then I can specify build directory in untitled.pro.user like $PROJECT_PATH/../bld and the executable path like $PROJECT_PATH/../inst/untitled. In this I will be able to share same untitled.pro.user among multiple users since the $PROJECT_PATH will be setup for each user differently when he opens project in Qt Creator. Alternatively to above feature we can be implement a feature that when untitled.pro is opened then we can specify the custom path of untitled.pro.user to be loaded and it should not look for untitled.pro.user in the current directory. In this way users can keep their own independent untitled.pro.user and need not check it in CVS I hope I'm making my point clear ! Thanks Anshul ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Embedded GUI Designer
Easiest way is to apply a stylesheet. Something like QWidget { font-size: 12pt; } should be a start. However, the font sizes should automatically pick up your system style settings. /s/ Adam On Sat, Jul 24, 2010 at 9:09 AM, Petric Frank pfr...@gmx.de wrote: Hello, is there a possibility to change the default font size of all GUI elements (i.e. combo boxes, line edits, group frames, ...) to an other value ? Not only when the GUI have already been designed - also the ones newly created. In short: - GUI already designed - change font size of all elements - new widgets - create them with an other font size by default Currently the widgets are always created with a font size of 9. kind regards Petric ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Embedded GUI Designer
Hello, and there is no way to apply the new font size to all widgets of an existing *.ui file without using a stylesheet ? regards Petric On Saturday, 24. July 2010 17:29:08 Coda Highland wrote: Easiest way is to apply a stylesheet. Something like QWidget { font-size: 12pt; } should be a start. However, the font sizes should automatically pick up your system style settings. /s/ Adam On Sat, Jul 24, 2010 at 9:09 AM, Petric Frank pfr...@gmx.de wrote: Hello, is there a possibility to change the default font size of all GUI elements (i.e. combo boxes, line edits, group frames, ...) to an other value ? Not only when the GUI have already been designed - also the ones newly created. In short: - GUI already designed - change font size of all elements - new widgets - create them with an other font size by default Currently the widgets are always created with a font size of 9. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Embedded GUI Designer
Well, you could use QApplication::setFont() but that won't show in Designer. You could set the font on the top-level widget and it'll get inherited by its children, but not everything honors the inheritance. The stylesheet is guaranteed to work, but it'll override any other font specifications you may have set. As said, the best way to do it is to leave it alone and let Qt ask your system theme what to do, unless you're intentionally TRYING not to fit in with the other programs on your computer. /s/ Adam On Sat, Jul 24, 2010 at 12:38 PM, Petric Frank pfr...@gmx.de wrote: Hello, and there is no way to apply the new font size to all widgets of an existing *.ui file without using a stylesheet ? regards Petric On Saturday, 24. July 2010 17:29:08 Coda Highland wrote: Easiest way is to apply a stylesheet. Something like QWidget { font-size: 12pt; } should be a start. However, the font sizes should automatically pick up your system style settings. /s/ Adam On Sat, Jul 24, 2010 at 9:09 AM, Petric Frank pfr...@gmx.de wrote: Hello, is there a possibility to change the default font size of all GUI elements (i.e. combo boxes, line edits, group frames, ...) to an other value ? Not only when the GUI have already been designed - also the ones newly created. In short: - GUI already designed - change font size of all elements - new widgets - create them with an other font size by default Currently the widgets are always created with a font size of 9. ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator