Hi Jason,
You can use git smudge and clean filters so that local versions appear to
have spaces, but the remote has tabs. Having said that, I've fiddled with
them in the past for formatting they are a little scary IMHO.
Best plan is just to choose a format and get everyone to use it, regardless
I will echo Henry and say that clang-format and git-clang-format in combination
with QtCreator 4.10 and newer have let our project all live with the same
formatting rules. As I type code QtCreator uses our clang-format file to format
my code. Git-clang-format for changes made through other text
Sorry, all this should have gone to interest - please continue any discussion
there.
/my bad
> Sent: Friday, March 06, 2020 at 12:23 PM
> From: "Jason H"
> To: qt-creator
> Subject: [Qt-creator] Using Qt Enums as QML object keys... Qt6?
>
> First, sometimes I find that not all Qt enums are
First, sometimes I find that not all Qt enums are exported to QML.
Like the QProcess::ProcessState, IIRC. Are these bugs? Shouldn't all Qt enums
in QObject recived classes be Q_ENUM()ed?
Next, QML's uage of these is normally an int, when I print these with
console.log() they come out as
06.03.2020, 19:39, "Jason H" :
> I am a tabs guy. I change the Qt style to use tabs. I tab all the things!!
>
> Anyway, I now have other contributors to my project that are spaces people.
> How can we live in harmony? One side effect is that it seems git considers
> whitespace changes so his
The obvious thing is to create a clang-format rule that formats things to your
preferences, and then back to the repo preferences. A git hook can reformat
files to the repo preferences before you check them in, though I'm not sure how
you reformat to your preferences. Beware that if you do
I am a tabs guy. I change the Qt style to use tabs. I tab all the things!!
Anyway, I now have other contributors to my project that are spaces people. How
can we live in harmony? One side effect is that it seems git considers
whitespace changes so his code is indented with spaces, mine are tabs
Yes Andre, I referred this plugin too but I found there is no separate
preview pane here instead the preview was happening directly in the editor.
I was looking to develop a side by side viewer with the text editor and
preview pane where the preview pane will remain read only
Vidhya
On Fri, 6
Dear Vidhya Arun,
Please note that there is currently a markdown viewer in development /
review: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/287928
Maybe your plugin and the markdown viewer can join forces - after all
the use case should be similar.
Regards, André
Am
> On 6. Mar 2020, at 15:29, Eike Ziller wrote:
>
>
>
>> On 6. Mar 2020, at 15:15, Vidhya Arun wrote:
>>
>> Hello All
>>
>> I am creating a plugin for ascii doc preview for which I need to create a
>> splitView in the EditorManager.
>> My idea is to create a plainTextEdit in one side of
> On 6. Mar 2020, at 15:15, Vidhya Arun wrote:
>
> Hello All
>
> I am creating a plugin for ascii doc preview for which I need to create a
> splitView in the EditorManager.
> My idea is to create a plainTextEdit in one side of Editor and a previewer in
> the other split.
>
> Are there any
Hello All
I am creating a plugin for ascii doc preview for which I need to create a
splitView in the EditorManager.
My idea is to create a plainTextEdit in one side of Editor and a previewer
in the other split.
Are there any methods exposed directly from TextEditor or EditorManager
plugin to
12 matches
Mail list logo