#126 Le 01/08/2009, à 13:08
- geenux
Re : Fotowall : assemblez vos photos
Je vais voire pour essayer de rassembler les menus (ce qui est indispensable si on compte mettre tout en une ligne, et demander si ça convient aussi à Enrico.
Personnellement, ça me plait, donc il y a des chances pour que ça soit intégré.
Hors ligne
#127 Le 01/08/2009, à 13:26
- TheBootroo
Re : Fotowall : assemblez vos photos
cool
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
#128 Le 01/08/2009, à 13:28
- TheBootroo
Re : Fotowall : assemblez vos photos
par contre pourquoi les entrees de menu ne sont pas avec les entrees des quatres boutons dans l'editeur d'action de qt creator ?
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
#129 Le 01/08/2009, à 13:50
- TheBootroo
Re : Fotowall : assemblez vos photos
tiens encore mieux mais se serai super si la barre en haut etait un peu transparente et qu'on ait l'impression qu'elle passe par dessus le qgraphicview (j'ai aussi corrigé un defaut sur la toolbar) :
PS ce sera plus beau avec le menu unique : moins large et un seul bouton ...
comme d'hab le code :
<?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>800</width>
<height>480</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">FotoWall#QWidget
{
background-color: rgb(59, 59, 59);
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QFrame" name="topBar">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget#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)) ;
border: 1px solid rgb(162, 162, 162);
border-top: 0px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<property name="horizontalSpacing">
<number>5</number>
</property>
<property name="verticalSpacing">
<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>
<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 rgb(144, 144, 144);
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="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 rgb(144, 144, 144);
border-radius: 5px;
}</string>
</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="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string>#contentToolbar
{
/* 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)) ; */
background-color: rgba(255, 255, 255, 0);
}</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</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 rgb(144, 144, 144);
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 rgb(144, 144, 144);
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 rgb(144, 144, 144);
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="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 rgb(144, 144, 144);
border-radius: 5px;
}</string>
</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="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 rgb(144, 144, 144);
border-radius: 5px;
}</string>
</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>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</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>
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
#130 Le 01/08/2009, à 13:51
- Super super
Re : Fotowall : assemblez vos photos
Bizzard bizzard,
je n ai pas eu de soucis pour complier les version 6.xxx mais la pour la 7.0 et 7.1 ca ne passe pas du tout.... Y il de nouvelles librairies a installer ?
voila le message d erreur:
make
/usr/bin/uic-qt4 ExactSizeDialog.ui -o .build/ui_ExactSizeDialog.h
/usr/bin/uic-qt4 ExportWizard.ui -o .build/ui_ExportWizard.h
/usr/bin/uic-qt4 FotoWall.ui -o .build/ui_FotoWall.h
/usr/bin/uic-qt4 GlowEffectDialog.ui -o .build/ui_GlowEffectDialog.h
/usr/bin/uic-qt4 VersionCheckDialog.ui -o .build/ui_VersionCheckDialog.h
/usr/bin/uic-qt4 items/AbstractProperties.ui -o .build/ui_AbstractProperties.h
/usr/bin/uic-qt4 items/PictureProperties.ui -o .build/ui_PictureProperties.h
/usr/bin/uic-qt4 items/WebContentSelectorItem.ui -o .build/ui_WebContentSelectorItem.h
/usr/bin/uic-qt4 3rdparty/posterazor/mainwindow.ui -o .build/ui_mainwindow.h
/usr/bin/uic-qt4 3rdparty/posterazor/wizard.ui -o .build/ui_wizard.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/gsuggest.o 3rdparty/gsuggest.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/CPixmap.o CPixmap.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/Desk.o Desk.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/ExactSizeDialog.o ExactSizeDialog.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/ExportWizard.o ExportWizard.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -I3rdparty/posterazor -I.build -I.build -o .build/FlickrInterface.o FlickrInterface.cpp
FlickrInterface.cpp: In member function ‘QNetworkReply* FlickrInterface::sendRequest(const QString&, const QList<QPair<QString, QString> >&)’:
FlickrInterface.cpp:269: error: no matching function for call to ‘QList<QPair<QString, QString> >::append(const QList<QPair<QString, QString> >&)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QPair<QString, QString>]
make: *** [.build/FlickrInterface.o] Error 1
PS: assez important : je suis sous debian - mais au moins cela prouve que FOTOWALL est compatible debian [;)]
#131 Le 01/08/2009, à 14:00
- TheBootroo
Re : Fotowall : assemblez vos photos
tu as quelle version de qt4 ?
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
#132 Le 01/08/2009, à 14:09
- TheBootroo
Re : Fotowall : assemblez vos photos
euh sinon on dit bizarre pas bizzard (sinon après ca fais blizzard lol)
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
#133 Le 01/08/2009, à 14:11
- geenux
Re : Fotowall : assemblez vos photos
Tu peux tester ?
git clone git://github.com/geenux/fotowall.git
cd fotowall
git checkout --track -b interface origin/interface
git pull
qmake
make
Je crois que je préfère ton avant-dernière proposition à la dernière par contre.
Dernière modification par geenux (Le 01/08/2009, à 14:14)
Hors ligne
#134 Le 01/08/2009, à 14:39
- TheBootroo
Re : Fotowall : assemblez vos photos
ok je teste tout de suite ...
c avec un seul menu ?
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
#135 Le 01/08/2009, à 14:43
- TheBootroo
Re : Fotowall : assemblez vos photos
ca compile ....
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
#136 Le 01/08/2009, à 14:45
- TheBootroo
Re : Fotowall : assemblez vos photos
bon j'ai testé, c pas mal, mis a part le menu qui s'appelle "aide" au lieu de "menu" ou "options", ou encore "configuration" ....
mais ya de l'idee,
par contre qu'est ce que tu aimes moins dans ma derniere proposition ?
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
#137 Le 01/08/2009, à 14:55
- cbloo
Re : Fotowall : assemblez vos photos
bien sympa, fonctionne nickel.
merci
www.coolbytes.fr
Multigaming et entraide informatique
Tw: @cbloo
Hors ligne
#138 Le 01/08/2009, à 14:58
- TheBootroo
Re : Fotowall : assemblez vos photos
j'ai fais de nouvelles modifs sur la version que tu m'a fait tester :
- resolu le bug genant du de la topbar qui etait en grid layout sur deux ligne donc tout en rowspan 2 : passé en vertical layout
- quelques changements de marges
- ajout d'une icone au menu
- changé le nom du menu en "menu"
- ajout d'étiquette pour expliciter l'usage de la combo fotowall
- ajout de separateurs
- changé l'ordre des quatres derniers boutons (d'ailleur il en faudrait un nouveau : pour commencer un nouveau projet) pour un ordre plus logique (celui habituel dans un menu fichier par exemple).
tout ca sans toucher au code (c a toi de la faire sinon)
apercu
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>800</width>
<height>480</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">FotoWall#QWidget
{
background-color: rgb(59, 59, 59);
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QFrame" name="topBar">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget#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)) ;
border: 1px solid rgb(162, 162, 162);
border-top: 0px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>8</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<widget class="QToolBar" name="contentToolbar">
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string>#contentToolbar
{
/* 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)) ; */
background-color: rgba(255, 255, 255, 0);
}</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</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>
<widget class="Line" name="line_3">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Taille :</span></p></body></html></string>
</property>
</widget>
</item>
<item>
<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>
<widget class="Line" name="line_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="menu">
<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 rgb(144, 144, 144);
border-radius: 5px;
}</string>
</property>
<property name="text">
<string>Menu</string>
</property>
<property name="icon">
<iconset resource="fotowall.qrc">
<normaloff>:/data/action-configure.png</normaloff>:/data/action-configure.png</iconset>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<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>
<widget class="Line" name="line">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<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 rgb(144, 144, 144);
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>
<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 rgb(144, 144, 144);
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>
<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 rgb(144, 144, 144);
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>
<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 rgb(144, 144, 144);
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>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</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>
tu prefere ca a ma derniere proposition ?
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
#139 Le 01/08/2009, à 15:01
- TheBootroo
Re : Fotowall : assemblez vos photos
n'empeche geenux bravo pour ta reactivité
euh au fait j'ai mis ton adresse gmail dans mes contacts
ca te gene ?
pasque a l'occas il faudrait que tu m'explique des trucs sur Qt et surtout sur QGraphicView (que vous utilisez massivement et auquel je ne comprend rien)
donc si t'a une demande de thebootroo c moi ..
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
#140 Le 01/08/2009, à 15:10
- geenux
Re : Fotowall : assemblez vos photos
@Super super : Tu as quelle version de Qt ?
qmake -version
Si c'est inférieur à la version 4.5, c'est normal que ça compile pas.
Dernière modification par geenux (Le 01/08/2009, à 15:10)
Hors ligne
#141 Le 01/08/2009, à 15:13
- TheBootroo
Re : Fotowall : assemblez vos photos
c aussi ce que j'allais lui dire
geenux tu penses quoi de ma nouvelle proposition ?
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
#142 Le 01/08/2009, à 15:20
- geenux
Re : Fotowall : assemblez vos photos
Pas mal
Je viens de l'ajouter à la branche interface.
Depuis le dépot que tu as cloné tout à l'heure, il te suffit de faire
git pull
qmake
make
Enfin, tu sais déjà ce que ça va donner, je n'ai rien changé.
[edit] Non, ça ne me dérange pas pour le mail.
Dernière modification par geenux (Le 01/08/2009, à 15:20)
Hors ligne
#143 Le 01/08/2009, à 15:20
- Super super
Re : Fotowall : assemblez vos photos
Tu peux tester ?
git clone git://github.com/geenux/fotowall.git cd fotowall git checkout --track -b interface origin/interface git pull qmake make
ca fait exactement pareil... [:(] - je viens de ressayer de compiler une ancienne version :6.0 et 6.1 ca passe
en revanche 7.0 et 7.1 exactement la meme erreur sur
FlickrInterface.cpp: In member function ‘QNetworkReply* FlickrInterface::sendRequest(const QString&, const QList<QPair<QString, QString> >&)’:
FlickrInterface.cpp:269: error: no matching function for call to ‘QList<QPair<QString, QString> >::append(const QList<QPair<QString, QString> >&)’
/usr/include/qt4/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QPair<QString, QString>]
make: *** [.build/FlickrInterface.o] Erreur 1
quand a la version :
> qmake -version
QMake version 2.01a
Using Qt version 4.4.3 in /usr/lib
#144 Le 01/08/2009, à 15:21
- TheBootroo
Re : Fotowall : assemblez vos photos
euh en fait j'ai oublié mais on peux retirer le spacer entre le menu et le separator
il sert plus a rien et ca fait moche car sa decale trop le separator.
mais bon je vais pas faire un maj du .ui moi meme juste pour ca,
ca sera a faire a l'occasion
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
#145 Le 01/08/2009, à 15:22
- geenux
Re : Fotowall : assemblez vos photos
Le "tu peux tester" s'adressait à TheBootroo
La version de Qt 4.4.3 n'est pas suffisante. On a arrêté de s'assurer de la compatibilité avec cette version depuis un bon moment, du coup ça ne compilera pas (sans beaucoup de modifications).
Il faut, soit que tu récupère un paquet pour Qt 4.5 quelque part dans un dépôt debian, soit que tu compile Qt à partir des sources officielles (long, mais simple).
Hors ligne
#146 Le 01/08/2009, à 15:23
- Super super
Re : Fotowall : assemblez vos photos
Oups je viens de voir le message concernant la version de la librairie!
bon je vais essayer de faire du pinning! et de taper dans la SID!
#147 Le 01/08/2009, à 15:24
- geenux
Re : Fotowall : assemblez vos photos
J'ai enlevé le spacer inutile
Hors ligne
#148 Le 01/08/2009, à 15:34
- TheBootroo
Re : Fotowall : assemblez vos photos
bon en fait je fais une maj du .ui quand meme car beaucoup de changements :
le code :
<?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>800</width>
<height>480</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">FotoWall#QWidget
{
background-color: rgb(59, 59, 59);
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,1">
<property name="spacing">
<number>12</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QFrame" name="topBar">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget#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)) ;
border: 1px solid rgb(162, 162, 162);
border-top: 0px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>8</number>
</property>
<property name="margin">
<number>8</number>
</property>
<item>
<widget class="QToolBar" name="contentToolbar">
<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="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string>#contentToolbar
{
/* 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)) ; */
background-color: rgba(255, 255, 255, 0);
}</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</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>
<widget class="Line" name="line_3">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>4</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Taille :</span></p></body></html></string>
</property>
</widget>
</item>
<item>
<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>
</layout>
</item>
<item>
<widget class="Line" name="line_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="menu">
<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 rgb(144, 144, 144);
border-radius: 8px;
}</string>
</property>
<property name="text">
<string>Menu</string>
</property>
<property name="icon">
<iconset resource="fotowall.qrc">
<normaloff>:/data/action-configure.png</normaloff>:/data/action-configure.png</iconset>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>28</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<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 rgb(144, 144, 144);
border-top-left-radius: 5px;
border-bottom-left-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>
<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 rgb(144, 144, 144);
border-left: 0px;
}</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>
<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 rgb(144, 144, 144);
border-left: 0px;
}</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>
<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 rgb(144, 144, 144);
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-left: 0px;
}</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>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</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>
qu'en pense tu ?
sinon deja dans le tronc principal !! c'est trop d'honneur
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
#149 Le 01/08/2009, à 15:39
- geenux
Re : Fotowall : assemblez vos photos
Vraiment sympa.
Non, ce n'est pas encore intégré au tronc principal, pour l'instant c'est sur une branche à part, tant que j'ai pas vu avec Enrico.
Hors ligne
#150 Le 01/08/2009, à 15:42
- TheBootroo
Re : Fotowall : assemblez vos photos
ok j'avais mal compris
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