Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#101 Le 23/07/2009, à 17:42

sam7

Re : Fotowall : assemblez vos photos

c'est bien Geenux ! fotowall rencontre un grand succès j'ai l'impression !
il y a même maintenant un ".deb" pour jaunty, chouette... ça sera pour plus tard...
je suis encore sous hardy & intrepid...

mais promis, dès que je pourrais essayer, je te donnerais des idées d'amélioration...

Edit : & si je le testais sous virtualbox dans le pcubuntoo 9.04 de notre amis commun,
tu crois que ça marcherais ?

Dernière modification par sam7 (Le 23/07/2009, à 22:31)


sam7 @ sweetux.org = "Faire connaître & promouvoir la culture libre"
& @ gafam.fr = "Faire connaître & promouvoir les alternatives aux GAFAMs"

Hors ligne

#102 Le 23/07/2009, à 17:47

heronheronpetitpatapon

Re : Fotowall : assemblez vos photos

OK je vais y reflechir alors merci du conseil wink


...Ubuntu Rocks....

Hors ligne

#103 Le 24/07/2009, à 17:54

heronheronpetitpatapon

Re : Fotowall : assemblez vos photos

Coucou geenux, j'ai fait quelques projets avec fotowall et voila quelques amelioration qui serait bien venu:

-La possibilité d'enlever le nom de la photo (ex: mer baltique) dans la cadre quand tu la met, ca fait pas tres pro dans le projet si t'as le nom de image avec les images une fois enregistrer donc finalise.
-Pouvoir rendre des images transparente avec un barre qui donne le degre de transparence.
-Regrouper un peu mieux les menus pour reduire la barre du haut.
-donner le possibilite d'enregistrer le travail dans le format image voulus, soit PNG, JPG PNG...etc.

Voila pour ma modeste contribution en tous je epxu dire que même si le soft n'est pas en version 1.0 j'ai l'impression d'être sur une version finalisée malgre ces quelques désagrément.

Bon boulot.
Je pense que si tu essaye de developper ce logiciel pour pc aussi ca aura un gros succes...
wink
Bye


...Ubuntu Rocks....

Hors ligne

#104 Le 24/07/2009, à 19:16

geenux

Re : Fotowall : assemblez vos photos

heronheronpetitpatapon a écrit :

-La possibilité d'enlever le nom de la photo (ex: mer baltique) dans la cadre quand tu la met, ca fait pas tres pro dans le projet si t'as le nom de image avec les images une fois enregistrer donc finalise.

C'est déjà possible. Clique dessus, un champ d'édition de texte apparaitra et tu pourras supprimer ou modifier le texte.

heronheronpetitpatapon a écrit :

-Pouvoir rendre des images transparente avec un barre qui donne le degre de transparence.

Intéressant, je vais rajouter un effet qui permet de le faire.

heronheronpetitpatapon a écrit :

-Regrouper un peu mieux les menus pour reduire la barre du haut.

Personnellement, je préfère laisser comme ça, à moins que tu ne sois sur un ultraportable et que ça soit génant, je n'ai jamais testé.

heronheronpetitpatapon a écrit :

-donner le possibilite d'enregistrer le travail dans le format image voulus, soit PNG, JPG PNG...etc.

C'est déjà possible. Tu fais exporter, et tu enregistre au format voulu, juste en rajoutant l'extension à la suite du nom de l'image. Genre tu veux enregistrer en jpg, tu fais image.jpg, et voilà tout smile

heronheronpetitpatapon a écrit :

Voila pour ma modeste contribution en tous je epxu dire que même si le soft n'est pas en version 1.0 j'ai l'impression d'être sur une version finalisée malgre ces quelques désagrément.

En parlant de version... Bonne nouvelle, on vient d'en sortir un nouvelle : la 0.7.1. Cependant, je viens de découvrir un tout petit bug (un conflits entre des raccourcis et le texte qu'on peut taper dans le cadre de l'image), qui sera très bientôt corrigé dans la version officielle, donc j'attends ce moment pour vous donner le lien définitif). Si vous voulez quand même installer : http://fotowall.googlecode.com/files/fo … .1.tar.bz2

heronheronpetitpatapon a écrit :

Je pense que si tu essaye de developper ce logiciel pour pc aussi ca aura un gros succes...

Il est déjà développé pour PC, il fonctionne sur Windows, GNU/Linux, MAC, et sans doute d'autres plateformes pour lesquelles la librairie Qt est disponible.

Hors ligne

#105 Le 24/07/2009, à 21:33

geenux

Re : Fotowall : assemblez vos photos

Voilà, les images peuvent être rendues transparentes smile
C'était vraiment une bonne idée, on peut faire des trucs fun, genre superposer 2 images ce qui donne un effet de flou, ressemblant à un effet de mouvement. Ça sera intégré dans la prochaine version (sinon, c'est sur mon dépot git).

Hors ligne

#106 Le 25/07/2009, à 01:41

heronheronpetitpatapon

Re : Fotowall : assemblez vos photos

Geniale, tout ca j'ai vraiment l'impression d'avoir aider a un projet et ca c'est geniale de ce rendre compte que nos suggestions sont prises en compte. mais le jours ou ton logiciel sera tres populaire tu ne pourra plus avoir de discut comme ca!!!!! ca a du bon le libre.
Bye Bye bonne nuit lol


...Ubuntu Rocks....

Hors ligne

#107 Le 25/07/2009, à 01:42

olazon

Re : Fotowall : assemblez vos photos

Bonsoir,

Super programme,

serait il possible de choisir la couleur de l'arrière plan?


...si l'utopie est une chimère comme le dit le dictionnaire,
alors nous voulons des chimères partout sur la terre...  (Les barbarins fourchus)

Hors ligne

#108 Le 25/07/2009, à 09:48

geenux

Re : Fotowall : assemblez vos photos

le jours ou ton logiciel sera tres populaire tu ne pourra plus avoir de discut comme ca!

Et pouquoi pas ? Je passe bien pas mal de temps à aider dans les sections support de ce forum, je peux bien prendre 5 minutes pour lire les commentaires et propositions d'utilisateurs.

Oui, c'est possible de choisir la couleur d'arrière plan, faudra peut-être qu'on le rende un peu plus visible. Passe la souris dans le coin en haut à droite, et celui en bas à droite. Tu auras un joli sélecteur de couleurs qui va apparaître smile
Faut aussi qu'on recréé un tutoriel vidéo. Il y a bien le petit exemple http://www.youtube.com/watch?v=nL1ejNnm0R8 (attention, flash...).
Mais il faudrait en faire un à jour, un peu moins à l'arrache.

Hors ligne

#109 Le 25/07/2009, à 12:46

olazon

Re : Fotowall : assemblez vos photos

Super,

merci  geenux!

il serait pas mal de pouvoir redimensionner et déplacer l'image ou le texte à l'interieur du cadre

Dernière modification par olazon (Le 25/07/2009, à 12:55)


...si l'utopie est une chimère comme le dit le dictionnaire,
alors nous voulons des chimères partout sur la terre...  (Les barbarins fourchus)

Hors ligne

#110 Le 25/07/2009, à 16:03

geenux

Re : Fotowall : assemblez vos photos

olazon a écrit :

il serait pas mal de pouvoir redimensionner

J'étais justement en train de coder ça smile

Hors ligne

#111 Le 26/07/2009, à 14:29

geenux

Re : Fotowall : assemblez vos photos

J'ai fait une première implémentation du redimensionnement. Par contre, il y a l'air d'y avoir parfois un bug lors de la restauration pour les images provenant d'internet (la zone sélectionnée est bien restaurée, mais les proportions ne sont pas toujours conservées).
Ça sera disponible dans la prochaine version smile (et c'est déjà sur mon dépôt git pour les impatients).

Hors ligne

#112 Le 26/07/2009, à 15:46

olazon

Re : Fotowall : assemblez vos photos

Une petite idée

si on avait le choix du format de page à la création du document (A4, A3 etc portrait paysage..) ça pourrait devenir un excellent programme de PAO qui permettrait à des novices de créer leurs plaquettes ou autres documents sans passer par des logiciels plus lourds comme scribus quarkXpress ou autres usines à gaz!


...si l'utopie est une chimère comme le dit le dictionnaire,
alors nous voulons des chimères partout sur la terre...  (Les barbarins fourchus)

Hors ligne

#113 Le 26/07/2009, à 15:51

geenux

Re : Fotowall : assemblez vos photos

Tu peux choisir une taille exacte (dans les modes). Il suffit de connaitre la taille d'une feuille A4, A3 ou autre. Je vais songer à ajouter des modèles de pages, genre une liste déroulante avec les différents formats qui met automatiquement les bonnes dimensions.

Hors ligne

#114 Le 26/07/2009, à 15:58

olazon

Re : Fotowall : assemblez vos photos

oui mais c'est au départ qu'il faudrait pouvoir choisir le format,
avant de commencer à travailler sur le document

Edit: Ok j'avais pas vu les modes dans le bouton fotowall

Dernière modification par olazon (Le 26/07/2009, à 16:01)


...si l'utopie est une chimère comme le dit le dictionnaire,
alors nous voulons des chimères partout sur la terre...  (Les barbarins fourchus)

Hors ligne

#115 Le 26/07/2009, à 22:24

sam7

Re : Fotowall : assemblez vos photos

très bonne idée olazon

décidément, je crois que je vais l'installer sur une jaunty dans virtualbox...
où alors dans quelques semaines, quand j'installerais "voyager" à la place de pcubuntoo...


sam7 @ sweetux.org = "Faire connaître & promouvoir la culture libre"
& @ gafam.fr = "Faire connaître & promouvoir les alternatives aux GAFAMs"

Hors ligne

#116 Le 26/07/2009, à 22:57

geenux

Re : Fotowall : assemblez vos photos

Sinon, tu peux aussi compiler la lib QT 4.5 sous Hardy et ensuite compiler fotowall. Ça sera juste long (genre 2-3 heures pour Qt avec un ordi puissant).

Hors ligne

#117 Le 27/07/2009, à 15:30

josian

Re : Fotowall : assemblez vos photos

Je viens de découvrir ce logiciel, donc trop tôt pour faire un commentaire .
Compilation OK
Mais je rencontre un problème avec ma Webcam Philips PCVC 740K ( pwc) qui fonctionne bien avec Camorama, mais dans notre cas reste activée après saisie de l'image ou  même sa suppression ; il faut sortir de Fotowall pour désactiver .
Quelle astuce ??


W XP et UBUNTU 10.04
  AMD 64 3000+ ATI HD 4650
FREEBOX V5  NIKON D70 Sony Ericsson W595s

Hors ligne

#118 Le 27/07/2009, à 15:34

geenux

Re : Fotowall : assemblez vos photos

Oui, elle reste activée. C'est fait exprès. En fait, le coup du bouton pour figer la photo, ça permet de mettre en pause l'image, pour pouvoir par exemple exporter tel quel. La webcam reste chargée dans le programme, pour que si tu enlève la pause de l'image ça reparte instantanément. Pourquoi, c'est gênant qu'elle reste allumée ?

Hors ligne

#119 Le 27/07/2009, à 17:54

josian

Re : Fotowall : assemblez vos photos

Non, ça surprend ! Je vais donc passer à autre chose.


W XP et UBUNTU 10.04
  AMD 64 3000+ ATI HD 4650
FREEBOX V5  NIKON D70 Sony Ericsson W595s

Hors ligne

#120 Le 27/07/2009, à 18:35

geenux

Re : Fotowall : assemblez vos photos

Elle est juste chargée, mais les images récupérés par le driver ne sont pas traitées, donc ça ne consomme pas beaucoup de ressources.

Hors ligne

#121 Le 27/07/2009, à 19:46

olazon

Re : Fotowall : assemblez vos photos

pas de webcam non plus

manu@manux:~$ fotowall
called 
File  "/dev/video0"  was opened successfuly 
checkDevice() called. 
checkDevice():  "/dev/video0"  is a V4L2 device. 
3rdparty/videocapture/VideoInput.cpp:32: VideoInput
called. 
VIDIOC_ENUMSTD: Argument invalide
3rdparty/videocapture/VideoInput.cpp:44: ~VideoInput
Input  0 :  "vc032x"  (tuner:  false ) 
3rdparty/videocapture/VideoInput.cpp:44: ~VideoInput
1195724874    "JPEG image" 
VIDIOC_ENUM_FMT: Argument invalide
Supported pixel formats: 
"JPEG image" 
Checking CID controls 
 Control:  "Mirror"  Values from  0  to  1  with steps of  1 . Default:  0 
 Control:  "Vflip"  Values from  0  to  1  with steps of  1 . Default:  0 
 Control:  "Light frequency filter"  Values from  0  to  2  with steps of  1 . Default:  1 
  Menu items: 
   "NoFliker" 
   "50 Hz" 
   "60 Hz" 
 Control:  "Sharpness"  Values from  0  to  2  with steps of  1 . Default:  1 
Checking CID private controls 
checkDevice() exited successfuly. 
initDevice() started 
    Read/Write interface 
    Streaming interface 
showDeviceCapabilities() called. 
Device model:  "USB2.0 Web Camera" 
Device name :  "USB2.0 Web Camera" 
Capabilities: 
    Video capture 
        Read 
        Streaming 
    Max res:  640  x  480 
    Min res:  320  x  240 
    Inputs :  1 
Input  0 :  "vc032x"  (tuner:  0 ) 
showDeviceCapabilities() exited successfuly. 
initDevice() exited successfuly 
Selected input  0  ( "vc032x" ) 
( 0.5 ) called. 
Device doesn't support the Brightness control. 
( 0.5 ) called. 
Device doesn't support the Contrast control. 
( 0.5 ) called. 
Device doesn't support the Saturation control. 
( -1.00434 ) called. 
Device doesn't support the Whiteness control. 
( 0.5 ) called. 
Device doesn't support the Hue control. 
exited successfuly 
( 0.5 ) called. 
Device doesn't support the Brightness control. 
( 0.5 ) called. 
Device doesn't support the Contrast control. 
( 0.5 ) called. 
Device doesn't support the Saturation control. 
( 0 ) called. 
Device doesn't support the Whiteness control. 
( 0.5 ) called. 
Device doesn't support the Hue control.
setSize( 640 ,  480 ) called. 
T






 rying YUY422P 
Device doesn't seem to support YUV422P format. Trying YUYV. 
Device doesn't seem to support YUYV format. Trying UYVY. 
Device doesn't seem to support UYVY format. Trying YUV420P. 
Device doesn't seem to support YUV420P format. Trying RGB24. 
Device doesn't seem to support RGB24 format. Trying BGR24. 
Device doesn't seem to support RGB24 format. Trying RGB32. 
Device doesn't seem to support RGB32 format. Trying BGR32. 
Device doesn't seem to support BGR32 format. Trying SBGGR8. 
Device doesn't seem to support SBGGR8 format. Trying SN9C10X. 
Device doesn't seem to support BGR32 format. Fallback to it is not yet implemented. 
VIDIOC_S_FMT worked ( 2 ).Returned width:  "JPEG image"   640 x 480 
------------------------- ------- -- m_buffer_size:  0  !!! -- ------- ----------------------------------------- 
"/dev/video0"  Trying to MMAP 
"/dev/video0"  m_currentbuffer.data.size():  118784 
setSize( 640 ,  480 ) exited successfuly. 
called. 
exited successfuly. 
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie
"/dev/video0"  MMAPed getFrame failed. 
VIDIOC_DQBUF error 5, Erreur d'entrée/sortie

Dernière modification par olazon (Le 27/07/2009, à 19:48)


...si l'utopie est une chimère comme le dit le dictionnaire,
alors nous voulons des chimères partout sur la terre...  (Les barbarins fourchus)

Hors ligne

#122 Le 28/07/2009, à 16:12

geenux

Re : Fotowall : assemblez vos photos

Ce n'est pas moi qui ai codé la webcam, et pour dire vrai je n'ai qu'une vague idée de comment le tout fonctionne. Je vais donc transmettre ton message à Enrico, voire si il peut y faire quelque chose.

Hors ligne

#123 Le 01/08/2009, à 13:46

TheBootroo

Re : Fotowall : assemblez vos photos

salut geenux !

j'ai decouvert fotowall il y a une semaine et je dois avouer que j'aime bien (pis ma mere adore : elle aime bien le scrapbooking toussa ...)

cependant, trouvant que la barre en haut etait un peu grosse et decalee, je me suis permis de modifier le fichier .ui avec qt creator.

je te le poste pour voir si tu pourrais l'integrer ou non : j'ai divisé par deux la hauteur :

capturefotowall071.png


fichier ui :

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>FotoWall</class>
 <widget class="QWidget" name="FotoWall">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>670</width>
    <height>400</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>0</number>
   </property>
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QWidget" name="topBar" native="true">
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>32</height>
      </size>
     </property>
     <property name="styleSheet">
      <string notr="true">#topBar {
    background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.500 rgba(232, 232, 232, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(237, 237, 237, 255))
}</string>
     </property>
     <layout class="QGridLayout" name="gridLayout">
      <property name="leftMargin">
       <number>0</number>
      </property>
      <property name="topMargin">
       <number>0</number>
      </property>
      <property name="bottomMargin">
       <number>0</number>
      </property>
      <item row="0" column="1" rowspan="2">
       <widget class="QComboBox" name="projectType">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <item>
         <property name="text">
          <string>FotoWall</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>CD Cover</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>DVD Cover</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Exact Size</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="0" column="7" rowspan="2">
       <widget class="QToolButton" name="loadButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="text">
         <string>load</string>
        </property>
       </widget>
      </item>
      <item row="0" column="3" rowspan="2">
       <widget class="QToolButton" name="decoButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Decorations</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="0" rowspan="2">
       <widget class="QToolBar" name="contentToolbar">
        <property name="palette">
         <palette>
          <active>
           <colorrole role="Base">
            <brush brushstyle="SolidPattern">
             <color alpha="255">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="SolidPattern">
             <color alpha="32">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
          </active>
          <inactive>
           <colorrole role="Base">
            <brush brushstyle="SolidPattern">
             <color alpha="255">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="SolidPattern">
             <color alpha="32">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
          </inactive>
          <disabled>
           <colorrole role="Base">
            <brush brushstyle="SolidPattern">
             <color alpha="32">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="SolidPattern">
             <color alpha="32">
              <red>0</red>
              <green>0</green>
              <blue>0</blue>
             </color>
            </brush>
           </colorrole>
          </disabled>
         </palette>
        </property>
        <property name="autoFillBackground">
         <bool>true</bool>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="iconSize">
         <size>
          <width>32</width>
          <height>28</height>
         </size>
        </property>
        <property name="floatable">
         <bool>false</bool>
        </property>
        <addaction name="aAddPicture"/>
        <addaction name="aAddText"/>
        <addaction name="aAddVideo"/>
        <addaction name="aAddFlickr"/>
       </widget>
      </item>
      <item row="0" column="6" rowspan="2">
       <widget class="QToolButton" name="exportButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>28</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>28</width>
          <height>28</height>
         </size>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="icon">
         <iconset resource="fotowall.qrc">
          <normaloff>:/data/fotowall.png</normaloff>:/data/fotowall.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="8" rowspan="2">
       <widget class="QToolButton" name="saveButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="text">
         <string>save</string>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="9" rowspan="2">
       <widget class="QToolButton" name="quitButton">
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="text">
         <string>quit</string>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="5" rowspan="2">
       <spacer name="spacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>17</width>
          <height>32</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="0" column="4" rowspan="2">
       <widget class="QToolButton" name="howtoButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Help</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="2" rowspan="2">
       <widget class="QToolButton" name="backButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Background</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="FWGraphicsView" name="view">
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
     </property>
    </widget>
   </item>
  </layout>
  <action name="aAddPicture">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-image.png</normaloff>:/data/insert-image.png</iconset>
   </property>
   <property name="text">
    <string>Add Picture</string>
   </property>
   <property name="shortcut">
    <string>P</string>
   </property>
  </action>
  <action name="aAddText">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-text.png</normaloff>:/data/insert-text.png</iconset>
   </property>
   <property name="text">
    <string>Add Text</string>
   </property>
   <property name="shortcut">
    <string>T</string>
   </property>
  </action>
  <action name="aAddVideo">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-camera.png</normaloff>:/data/insert-camera.png</iconset>
   </property>
   <property name="text">
    <string>Add Video</string>
   </property>
   <property name="shortcut">
    <string>V</string>
   </property>
  </action>
  <action name="aAddFlickr">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-download.png</normaloff>:/data/insert-download.png</iconset>
   </property>
   <property name="text">
    <string>Add Flickr</string>
   </property>
   <property name="shortcut">
    <string>F</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>FWGraphicsView</class>
   <extends>QGraphicsView</extends>
   <header>FotoWall.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="fotowall.qrc"/>
 </resources>
 <connections/>
</ui>

voila voila


ALLEZ VISITER MON SITE INTERNET :
http://modern-os.projects.servhome.org/
(différents sous-projets visant a créer une distro linux plus orienté débutant et complètement anti-geek)
developpeurs C++/Qt et graphistes (SVG surtout) motivés :  rejoignez-nous !!! VOUS POUVEZ DESORMAIS VOUS INSCRIRE.

Hors ligne

#124 Le 01/08/2009, à 14:03

TheBootroo

Re : Fotowall : assemblez vos photos

nouvelle maj du .ui :

css amélioré : la toolbox content est maintenant unifié (degradé arriere plan) avec le reste du qwidget, les boutons sont skinné et ont une icone :
capturefotowall071.png


le code du .ui :

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>FotoWall</class>
 <widget class="QWidget" name="FotoWall">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>670</width>
    <height>400</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>0</number>
   </property>
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QWidget" name="topBar" native="true">
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>32</height>
      </size>
     </property>
     <property name="styleSheet">
      <string notr="true">#topBar 
{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.500 rgba(232, 232, 232, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(237, 237, 237, 255)) ;
}</string>
     </property>
     <layout class="QGridLayout" name="gridLayout">
      <property name="leftMargin">
       <number>0</number>
      </property>
      <property name="topMargin">
       <number>0</number>
      </property>
      <property name="rightMargin">
       <number>5</number>
      </property>
      <property name="bottomMargin">
       <number>0</number>
      </property>
      <property name="spacing">
       <number>4</number>
      </property>
      <item row="0" column="1" rowspan="2">
       <widget class="QComboBox" name="projectType">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="styleSheet">
         <string notr="true"/>
        </property>
        <item>
         <property name="text">
          <string>FotoWall</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>CD Cover</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>DVD Cover</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Exact Size</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="0" column="7" rowspan="2">
       <widget class="QToolButton" name="loadButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="styleSheet">
         <string notr="true">QToolButton
{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(250, 250, 250, 255), stop:0.500 rgba(200, 200, 200, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(230, 230, 230, 255)) ;
border: 1px solid gray;
border-radius: 5px;
}</string>
        </property>
        <property name="text">
         <string>load</string>
        </property>
        <property name="icon">
         <iconset resource="fotowall.qrc">
          <normaloff>:/data/action-snapshot.png</normaloff>:/data/action-snapshot.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="3" rowspan="2">
       <widget class="QToolButton" name="decoButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Decorations</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="0" rowspan="2">
       <widget class="QToolBar" name="contentToolbar">
        <property name="palette">
         <palette>
          <active>
           <colorrole role="Button">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Base">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
          </active>
          <inactive>
           <colorrole role="Button">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Base">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
          </inactive>
          <disabled>
           <colorrole role="Button">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Base">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
           <colorrole role="Window">
            <brush brushstyle="LinearGradientPattern">
             <gradient startx="0.000000000000000" starty="0.000000000000000" endx="0.000000000000000" endy="1.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
              <gradientstop position="0.000000000000000">
               <color alpha="255">
                <red>255</red>
                <green>255</green>
                <blue>255</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.500000000000000">
               <color alpha="255">
                <red>232</red>
                <green>232</green>
                <blue>232</blue>
               </color>
              </gradientstop>
              <gradientstop position="0.501000000000000">
               <color alpha="255">
                <red>202</red>
                <green>202</green>
                <blue>202</blue>
               </color>
              </gradientstop>
              <gradientstop position="1.000000000000000">
               <color alpha="255">
                <red>237</red>
                <green>237</green>
                <blue>237</blue>
               </color>
              </gradientstop>
             </gradient>
            </brush>
           </colorrole>
          </disabled>
         </palette>
        </property>
        <property name="autoFillBackground">
         <bool>false</bool>
        </property>
        <property name="styleSheet">
         <string>background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 255, 255, 255), stop:0.500 rgba(232, 232, 232, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(237, 237, 237, 255)) ;</string>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="iconSize">
         <size>
          <width>32</width>
          <height>28</height>
         </size>
        </property>
        <property name="floatable">
         <bool>false</bool>
        </property>
        <addaction name="aAddPicture"/>
        <addaction name="aAddText"/>
        <addaction name="aAddVideo"/>
        <addaction name="aAddFlickr"/>
       </widget>
      </item>
      <item row="0" column="6" rowspan="2">
       <widget class="QToolButton" name="exportButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="styleSheet">
         <string notr="true">QToolButton
{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(250, 250, 250, 255), stop:0.500 rgba(200, 200, 200, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(230, 230, 230, 255)) ;
border: 1px solid gray;
border-radius: 5px;
}</string>
        </property>
        <property name="text">
         <string>export</string>
        </property>
        <property name="icon">
         <iconset resource="fotowall.qrc">
          <normaloff>:/data/fotowall.png</normaloff>:/data/fotowall.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="8" rowspan="2">
       <widget class="QToolButton" name="saveButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="styleSheet">
         <string notr="true">QToolButton
{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(250, 250, 250, 255), stop:0.500 rgba(200, 200, 200, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(230, 230, 230, 255)) ;
border: 1px solid gray;
border-radius: 5px;
}</string>
        </property>
        <property name="text">
         <string>save</string>
        </property>
        <property name="icon">
         <iconset resource="fotowall.qrc">
          <normaloff>:/data/action-save.png</normaloff>:/data/action-save.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="9" rowspan="2">
       <widget class="QToolButton" name="quitButton">
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>28</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>16777215</width>
          <height>28</height>
         </size>
        </property>
        <property name="styleSheet">
         <string notr="true">QToolButton
{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(250, 250, 250, 255), stop:0.500 rgba(200, 200, 200, 255), stop:0.501 rgba(202, 202, 202, 255), stop:1 rgba(230, 230, 230, 255)) ;
border: 1px solid gray;
border-radius: 5px;
}</string>
        </property>
        <property name="text">
         <string>quit</string>
        </property>
        <property name="icon">
         <iconset resource="fotowall.qrc">
          <normaloff>:/data/action-delete.png</normaloff>:/data/action-delete.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>16</width>
          <height>16</height>
         </size>
        </property>
        <property name="toolButtonStyle">
         <enum>Qt::ToolButtonTextBesideIcon</enum>
        </property>
       </widget>
      </item>
      <item row="0" column="5" rowspan="2">
       <spacer name="spacer_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>17</width>
          <height>32</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="0" column="4" rowspan="2">
       <widget class="QToolButton" name="howtoButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Help</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="2" rowspan="2">
       <widget class="QToolButton" name="backButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Background</string>
        </property>
        <property name="popupMode">
         <enum>QToolButton::InstantPopup</enum>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="FWGraphicsView" name="view">
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
     </property>
    </widget>
   </item>
  </layout>
  <action name="aAddPicture">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-image.png</normaloff>:/data/insert-image.png</iconset>
   </property>
   <property name="text">
    <string>Add Picture</string>
   </property>
   <property name="shortcut">
    <string>P</string>
   </property>
  </action>
  <action name="aAddText">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-text.png</normaloff>:/data/insert-text.png</iconset>
   </property>
   <property name="text">
    <string>Add Text</string>
   </property>
   <property name="shortcut">
    <string>T</string>
   </property>
  </action>
  <action name="aAddVideo">
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-camera.png</normaloff>:/data/insert-camera.png</iconset>
   </property>
   <property name="text">
    <string>Add Video</string>
   </property>
   <property name="shortcut">
    <string>V</string>
   </property>
  </action>
  <action name="aAddFlickr">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="fotowall.qrc">
     <normaloff>:/data/insert-download.png</normaloff>:/data/insert-download.png</iconset>
   </property>
   <property name="text">
    <string>Add Flickr</string>
   </property>
   <property name="shortcut">
    <string>F</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>FWGraphicsView</class>
   <extends>QGraphicsView</extends>
   <header>FotoWall.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="fotowall.qrc"/>
 </resources>
 <connections/>
</ui>

ca te plait ?
(javoue que j'aime bien faire des interfaces en Qt, c mon passe temps favoris -> voir mon site tongue)


ALLEZ VISITER MON SITE INTERNET :
http://modern-os.projects.servhome.org/
(différents sous-projets visant a créer une distro linux plus orienté débutant et complètement anti-geek)
developpeurs C++/Qt et graphistes (SVG surtout) motivés :  rejoignez-nous !!! VOUS POUVEZ DESORMAIS VOUS INSCRIRE.

Hors ligne

#125 Le 01/08/2009, à 14:04

TheBootroo

Re : Fotowall : assemblez vos photos

bien sur ca serait pas mal d'unifier les trois menu en un seul bouton avec icone mais pour ca il faut modifier le code donc je ne vais pas le faire, a moins ensuite de proposer un patche.....

se serait mieux que ca vienne de vous ...


ALLEZ VISITER MON SITE INTERNET :
http://modern-os.projects.servhome.org/
(différents sous-projets visant a créer une distro linux plus orienté débutant et complètement anti-geek)
developpeurs C++/Qt et graphistes (SVG surtout) motivés :  rejoignez-nous !!! VOUS POUVEZ DESORMAIS VOUS INSCRIRE.

Hors ligne