Na ovoj stranici

Promijeni boje uređivača

Možete odabrati jednu od unaprijed definiranih shema boja za uređivač teksta ili stvoriti prilagođene sheme boja.

Zavižak Font i boje u postavkama uređivača teksta

Za izradu sheme boja:

  1. Odaberite Preferences > Text Editor > Font & Colors > Copy.
  2. Unesite naziv za shemu boja i odaberite OK.
  3. U polju Foreground navedite boju odabranog elementa koda ili poruke.
  4. U polju Background odaberite boju pozadine za element koda ili poruku.

    Pozadina elementa Text određuje pozadinu uređivača koda.

  5. U Font u odaberite Bold ili Italic za formatiranje teksta odabranog elementa koda ili poruke tako da bude podebljan ili kurziv.
  6. U Underline u odaberite boju i stil za podcrtavanje elemenata koda ili poruka.

Kada kopirate kod iz Qt Creator, on se kopira i u običnom tekstu i u HTML formatu. Potonje osigurava da se isticanje sintakse zadrži pri lijepljenju u uređivač bogatog teksta.

Izvoz i uvoz shema boja

Da biste dijelili sheme boja s drugima, izvezite ih i uvezite kao XML datoteke. Za izvoz sheme boja odaberite Preferences > Text Editor > Font & Colors > Export, a zatim odaberite naziv i lokaciju za XML datoteku.

Za uvoz sheme boja odaberite Import, a zatim odaberite XML datoteku za uvoz. U dijaloškom okviru Import Color Scheme unesite naziv za shemu boja u polju Color scheme name:

Uvoz dijaloga sheme boja

Kada odaberete OK, shema boja se dodaje na popis shema boja na kartici Font & Colors.

Vidi također Kako: Konfigurirati uređivače, Konfiguriranje uređivača i Uređivači.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.