Permalink
Browse files

Final commit before tagging version 0.3.3

  • Loading branch information...
1 parent 3bb27c8 commit 763f784dcb358042ca77f416d1fa9843dbb2ddc6 @rkhaotix rkhaotix committed Oct 9, 2012
Showing with 37 additions and 16 deletions.
  1. +2 −2 COMPILING.md
  2. +15 −7 README.md
  3. +3 −0 libpgmodeler_ui/src/formprincipal.cpp
  4. +1 −0 libpgmodeler_ui/src/modelowidget.h
  5. +7 −1 libpgmodeler_ui/ui/formsobre.ui
  6. +9 −6 main/src/main.cpp
View
@@ -40,7 +40,7 @@ If the build is successful the executable 'pgmodeler' and some directories will
Environment Variables
---------------------
-Four own environment variables are used for access the folders schemas/, conf/, plugins/ and lang/. If you want to configure directories cited in deferent paths use the following variables:
+Four own environment variables are used by pgModeler to access the folders schemas/, conf/, plugins/ and lang/. If you want to configure directories cited in deferent paths use the following variables:
* PGMODELER_SCHEMAS_DIR -> stores the full path the directory schemas/
* PGMODELER_CONF_DIR -> stores the full path the directory conf/
@@ -49,7 +49,7 @@ Four own environment variables are used for access the folders schemas/, conf/,
Additionally, the pgModeler need to know where to find the libraries required for the execution (Qt Library, LibXML and libpq) for which you should enter the full path in the variable LD_LIBRARY_PATH (Unix) or PATH (Windows), if not already configured.
-To provide the interface translation pgModeler checks the variable LANG (Unix). To use a specific translation, change the value of this variable. So far, the pgModeler only supports the U.S. English (en_US).
+To provide the interface translation pgModeler checks the variable LANG (Unix). To use a specific translation, change the value of this variable. So far, the pgModeler only supports the U.S. English (en_US) language.
Finally, as a convenience, the script 'start-pgmodeler.(sh | bat)' is provided to assist the initialization of pgModeler so it is not necessary to call the executable directly or change the environment variables on your operating system.
View
@@ -8,28 +8,36 @@ Please, let me know how the pgModeler is working on your system! Help to improve
Licensing
---------
-This software is licensed under GNU General Public License 2.0. See [LICENSE](https://github.com/pgmodeler/pgmodeler/blob/master/LICENSE) for details.
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3., or
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+See [LICENSE](https://github.com/pgmodeler/pgmodeler/blob/master/LICENSE) for details.
Compiling/Installation
----------------------
For details about compilation and installation process see [COMPILING.md](https://github.com/pgmodeler/pgmodeler/blob/master/COMPILING.md) for details.
-Warning
--------
-
-Although this is a major upgrade version of pgModeler it is recommended NOT EXPORT the models created directly to production environments. Not all possible code generation were tested in this way, is its your own risk export the models into environments that are not intended for testing. The project's author is not responsible for any possible loss of data due the inappropriate use of this tool.
-
Known bugs
----------
* Broken compilation process on MacOSX. [(issue#10)](https://github.com/pgmodeler/pgmodeler/issues/10)
-* PgModeler crashes when trying to make a relationship between tables were some of them have special trigger/index. [(issue#8)](https://github.com/pgmodeler/pgmodeler/issues/8)
* PgModeler, when compiled on Qt 4.7.x, crashes after activating the print dialog. [(issue#1)](https://github.com/pgmodeler/pgmodeler/issues/1)
Change History
--------------
+[ v0.3.3 ]
+
+* [Change]: pgModeler license were update to GPLv3.
+* [Change]: Error massages and entire UI were translated to en_US. Now people can contribute more easily with translation files. [(issue#8)](https://github.com/pgmodeler/pgmodeler/issues/8)
+* [Change]: The left side image were removed form all forms giving more space to show widgets.
+* [Change]: pgModeler now shows a messagebox at startup if any critical error is raised instead to show them on stdin.
+* [Fix]: Translation files now are correctly loaded depending on system language. [(issue#23)](https://github.com/pgmodeler/pgmodeler/issues/23)
+* [Fix]: Compilation process and execution is working correctly on Windows system. [(issue#11)](https://github.com/pgmodeler/pgmodeler/issues/11)
+* [Fix]: No more crashes when dealing with relationships that have special triggers/indexes/columns. [(issue#8)](https://github.com/pgmodeler/pgmodeler/issues/8) [(issue#24)](https://github.com/pgmodeler/pgmodeler/issues/24)
+
[ v0.3.2 ]
* [Change]: The default extension for the models now stands for ".dbm" [(issue#9)](https://github.com/pgmodeler/pgmodeler/issues/9)
@@ -584,6 +584,9 @@ void FormPrincipal::definirModeloAtual(void)
//Configura a barra de ferramentas do modelo conforme as ações respectivas no modelo atual
modelo_tb->addAction(modelo_atual->action_novo_obj);
+ //Seta o modo de popup do menu para "InstantPopup" assim o usuário não precisa pressionar a setinha para ativar o popup
+ dynamic_cast<QToolButton *>(modelo_tb->widgetForAction(modelo_atual->action_novo_obj))->setPopupMode(QToolButton::InstantPopup);
+
modelo_tb->addAction(modelo_atual->action_editar);
modelo_tb->addAction(modelo_atual->action_codigo_fonte);
modelo_tb->addAction(modelo_atual->action_converter_relnn);
@@ -211,6 +211,7 @@ class ModeloWidget: public QWidget {
para serem impressos */
vector<QRectF> obterPaginasImpressao(const QSizeF &tam_papel, unsigned &qtd_pag_h, unsigned &qtd_pag_v);
+ //Exibe o widget de visão geral. Para fechá-la o usuário pode dar um duplo-clique ou pressionar esc.
void exibirVisaoGeral(void);
public slots:
@@ -304,6 +304,9 @@ Special thanks to friends of the software development team of the Legislative As
<property name="wordWrap">
<bool>true</bool>
</property>
+ <property name="textInteractionFlags">
+ <set>Qt::NoTextInteraction</set>
+ </property>
</widget>
</item>
<item row="3" column="0" colspan="2">
@@ -365,11 +368,14 @@ The complete text of GPLv3 is at LICENSE file on source code root directory. Als
<bool>false</bool>
</property>
<property name="alignment">
- <set>Qt::AlignJustify|Qt::AlignVCenter</set>
+ <set>Qt::AlignJustify|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
+ <property name="textInteractionFlags">
+ <set>Qt::NoTextInteraction</set>
+ </property>
</widget>
</item>
</layout>
View
@@ -27,16 +27,19 @@ int main(int argc, char **argv)
QPixmap alfa(":imagens/imagens/pgmodeler_logo_alfa.png");
pixmap.setAlphaChannel(alfa);
- QSplashScreen splash(pixmap);
-
- QFont fnt=splash.font();
+ //Desenha o texto da versão atual no canto inferior direito do pixmap
+ QFont fnt;
+ QPainter p;
fnt.setFamily("Dejavu Sans");
fnt.setBold(true);
fnt.setPointSize(7.5f);
- splash.setFont(fnt);
+ p.begin(&pixmap);
+ p.setFont(fnt);
+ p.setPen(QColor(255,255,255));
+ p.drawText(QPointF(pixmap.size().width()-45, pixmap.size().width()-17), QString("v%1").arg(AtributosGlobais::VERSAO_PGMODELER));
+ p.end();
- //Exibe a versão do pgmodeler na base do splash
- splash.showMessage(QString(" v%1\n").arg(AtributosGlobais::VERSAO_PGMODELER), Qt::AlignBottom | Qt::AlignHCenter, Qt::white);
+ QSplashScreen splash(pixmap);
splash.show();
splash.repaint();

0 comments on commit 763f784

Please sign in to comment.