Permalink
Browse files

Introduced the pgModeler wiki access through main window.

  • Loading branch information...
1 parent b424cde commit 5ca17fa9beb5bb12b44eccc7e248b53e486da536 @rkhaotix rkhaotix committed Mar 4, 2013
View
9 CHANGELOG.md
@@ -1,6 +1,15 @@
Changelog
---------
+v0.4.0_r1
+---------
+
+<em>Release date: March 04, 2013 </em>
+
+[New]: introducing the "pgModeler Wiki" as the main project's support resource.
+[Fix]: when main windows is closed the overview widget is closed too.
+[Fix]: corrected a bug on operation list widget that was converting an item name to UTF-8 twice.
+
v0.4.0
------
View
90 README.md
@@ -34,25 +34,6 @@ Compiling/Installation
For details about installation process from source code see [COMPILING.md](https://github.com/pgmodeler/pgmodeler/blob/master/COMPILING.md). If you don't want to compile pgModeler there are binaries available for download at [Downloads](https://github.com/pgmodeler/pgmodeler/downloads) section.
-Running pgModeler
------------------
-
-The pgModeler can be executed directly from de executable but it is necessary change some environment variables, see [COMPILING.md](https://github.com/pgmodeler/pgmodeler/blob/master/COMPILING.md). For convinience there are two scripts used to startup pgModeler.
-
-* Windows users: use the ```start-pgmodeler.bat``` script. By default this script consider that pgModeler is installed on ```c:\pgmodeler``` if you desire to set other location edit the script and change the PGMODELER_* environment variables.
-
-* Linux/Unix users: use the ```start-pgmodeler.sh``` script. By default this script consider that pgModeler is installed on current working directory AKA ```pwd``` if you desire to set other location edit the script and change the PGMODELER_* environment variables.
-
-Important Note
---------------
-
-Since the beta release the model files has suffered changes on its structure. So if you are experiencing the error "Assignment of a not allocated schema to object [NAME]" during the loading process of models generated in version below 0.4.0-beta you need to manually create the schema "public".
-
-To do it, open the .dbm file on your preferred text editor and add the code below right before the "database" tag.
-
- <schema name="public" rect-visible="true" fill-color="#f0f0f0">
- </schema>
-
Known bugs
----------
@@ -61,69 +42,14 @@ Known bugs
Change Log
----------
-v0.4.0
-------
-
-<em>Release date: February 27, 2013 </em>
-
-* [New]: introduce a "New object" submenu when activating the schema context menu (right-click)
-* [New]: tables and view are now graphically separated by colored rectangles representing its schemas.
-* [New]: compiling pgModeler now works perfectly on Mac OSX system.
-* [New]: introduced the 'Quick actions' menu that permits: rename, move to another schema, change onwer and edit permissions.
-* [New]: the relationship editing form gained an "advanced" tab which shows the objects generated and/or represents the relatioship itself.
-* [New]: the user now can add relationships only creating foreign keys on tables (fk relationships).
-* [New]: added a french UI translation (provided by [toorpy](https://github.com/toorpy)).
-* [Change]: all relationships type are now grouped together on "Model objects" widget.
-* [Change]: chinese UI translation updated (provided by: [Bumanji](https://github.com/Bumanji)).
-* [Change]: user now can remove fk relationships directly without needing to remove the related foreign keys.
-* [Change]: field semantics adjustments on relationship editing form.
-* [Change]: graphical object can be now selected and have the context menu activated only with a single right-click.
-* [Change]: minor improvements on plugin base class: PgModelerPlugin.
-* [Change]: widget size adjustments to better showing on Mac OSX system.
-* [Change]: crashhandler now shows the compiled and running versions of Qt.
-* [Change]: french UI translation reviewed and updated (provided by [babs](https://github.com/babs)).
-* [Change]: 'Objects of Model' when used as object picker now expand all the nodes by default.
-* [Change]: 'Objects of Model' now memorizes the tree state when update an object and / or opening another model.
-* [Change]: PostGiS 'geometry' type can have a free assigned SRID value.
-* [Change]: editing forms when shown set the focus on the first field, generally, the object name.
-* [Change]: 'Objects of Model' widget displays the nodes in alphabetical order.
-* [Change]: the printing options for the model were moved to the general configuration form.
-* [Change]: relationship validation method now removes fk relationships when the foreign keys that gerenates is no longer exists.
-* [Change]: copy/cut/delete commands does not manipulates system objects like schema public and languages C, SQL and plpgsql.
-* [Change]: pgModeler startup scripts are now path location free meaning that software can be installed where the user desires.
-* [Fix]: corrected a bug related constraint name on domain XML code generation.
-* [Fix]: corrected a bug that was causing crash when click "Apply" on Type editing form with fields not filled.
-* [Fix]: corrected the "invalid constraint name" error on domain editing form.
-* [Fix]: corrected the empty DEFAULT clause for columns, types and domains.
-* [Fix]: corrected a bug related to incorrectly initialized OID attribute when creating tables.
-* [Fix]: corrected a bug when creating a view with WHERE statement.
-* [Fix]: corrected a bug related to one-to-many relationships semantics.
-* [Fix]: corrected some bugs that was causing crash when removing all operations from operation list.
-* [Fix]: minor bug fixes related to object selection over the model.
-* [Fix]: corrected a bug on load model dialog filter (chinese UI only).
-* [Fix]: pgModeler no longer crashes when editing objects style.
-* [Fix]: corrected bug that was deleting two sequeces at once.
-* [Fix]: pgModeler no longer crashes when removing (disconnecting) relationship that has special primary keys.
-* [Fix]: minor fixes on the startup scripts on all platforms.
-* [Fix]: corrected an incorrect reference to output stream on Windows system.
-* [Fix]: shortcuts and popup menu now works correctly when selection an object on 'Objects of Model' tree.
-* [Fix]: the pgsql base types (represented by tables, sequences, user defined types and domains) are now updated correctly when the related schema is renamed.
-* [Fix]: corrected some weird SRID value on non spatial types.
-* [Fix]: corrected bug on objects table when move rows to last / first.
-* [Fix]: typos corrections on some error messages and dialog titles.
-* [Fix]: 'referenced columns' combobox on constraint editing form are filled correctly when the dialog is shown in a second time.
-* [Fix]: pgModeler no longer crashes when creating many-to-many relationships.
-* [Fix]: pgModeler no longer crashes when the user activates the print dialog.
-* [Fix]: corrected bug that was removing fk relationships when pasting objects.
-* [Fix]: corrected SQL syntax error of 'timestamp with time zone'.
-* [Fix]: corrected constraint type showing on editing form.
-* [Fix]: corrected bug on cyrillic typed enums and check constraints expressions.
-* [Fix]: corrected bug on enumeration type editing form.
-* [Fix]: corrected bug on 'truncate' table privilege code generation.
-* [Fix]: corrected column default value code generation.
-* [Fix]: dummyplugin build process corrected on Windows.
-* [Fix]: corrected bug on column comment code generation.
-* [Fix]: corrected bug that was deleting two tables at once.
+v0.4.0_r1
+---------
+
+<em>Release date: March 04, 2013 </em>
+
+[New]: introducing the "pgModeler Wiki" as the main project's support resource.
+[Fix]: when main windows is closed the overview widget is closed too.
+[Fix]: corrected a bug on operation list widget that was converting an item name to UTF-8 twice.
The complete change log can be found on [CHANGELOG.md](https://github.com/pgmodeler/pgmodeler/blob/master/CHANGELOG.md) file.
View
BIN libpgmodeler_ui/res/icones/help.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1 libpgmodeler_ui/res/resources.qrc
@@ -140,6 +140,7 @@
<file>icones/changeowner.png</file>
<file>icones/plugins.png</file>
<file>icones/relationshipfk.png</file>
+ <file>icones/help.png</file>
</qresource>
<qresource prefix="/imagens">
<file>imagens/model2sql.png</file>
View
6 libpgmodeler_ui/src/mainwindow.cpp
@@ -160,6 +160,7 @@ MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(par
connect(action_next,SIGNAL(triggered(bool)),this,SLOT(setCurrentModel()));
connect(action_previous,SIGNAL(triggered(bool)),this,SLOT(setCurrentModel()));
connect(action_about,SIGNAL(triggered(bool)),about_form,SLOT(show()));
+ connect(action_wiki,SIGNAL(triggered(bool)),this,SLOT(openWiki()));
connect(action_inc_zoom,SIGNAL(triggered(bool)),this,SLOT(applyZoom()));
connect(action_dec_zoom,SIGNAL(triggered(bool)),this,SLOT(applyZoom()));
@@ -1100,3 +1101,8 @@ void MainWindow::showOverview(bool show)
else if(!show)
overview_wgt->close();
}
+
+void MainWindow::openWiki(void)
+{
+ QDesktopServices::openUrl(QUrl(GlobalAttributes::PGMODELER_WIKI));
+}
View
3 libpgmodeler_ui/src/mainwindow.h
@@ -148,6 +148,9 @@ class MainWindow: public QMainWindow, public Ui::MainWindow {
//! \brief Updates the tab name of the currently opened model if the database name is changed
void updateModelTabName(void);
+
+ //! \brief Opens the pgModeler Wiki in a web browser window
+ void openWiki(void);
};
#endif
View
15 libpgmodeler_ui/ui/mainwindow.ui
@@ -126,6 +126,7 @@
<string>&amp;Help</string>
</property>
<addaction name="action_about"/>
+ <addaction name="action_wiki"/>
</widget>
<widget class="QMenu" name="show_menu">
<property name="title">
@@ -486,7 +487,7 @@
<string>About pgModeler</string>
</property>
<property name="shortcut">
- <string>F1</string>
+ <string>F2</string>
</property>
</action>
<action name="action_print">
@@ -706,6 +707,18 @@
<string>Show the model overview</string>
</property>
</action>
+ <action name="action_wiki">
+ <property name="icon">
+ <iconset resource="../res/resources.qrc">
+ <normaloff>:/icones/icones/help.png</normaloff>:/icones/icones/help.png</iconset>
+ </property>
+ <property name="text">
+ <string>pgModeler Wiki</string>
+ </property>
+ <property name="shortcut">
+ <string>F1</string>
+ </property>
+ </action>
</widget>
<resources>
<include location="../res/resources.qrc"/>
View
5 libpgmodeler_ui/ui/pluginsconfigwidget.ui
@@ -157,11 +157,14 @@
</font>
</property>
<property name="text">
- <string>Details about plugins development and installation can be found at PLUGINS.md file. &lt;strong&gt;Note:&lt;/strong&gt; plugin installation requires pgModeler to be restarted.</string>
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Details about plugins development and installation can be found at &lt;a href=&quot;http://www.pgmodeler.com.br/wiki/doku.php?id=plugins&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;pgModeler Wiki&lt;/span&gt;&lt;/a&gt;. &lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; plugin installation requires pgModeler to be restarted.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
+ <property name="openExternalLinks">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
View
4 libutil/src/globalattributes.h
@@ -59,7 +59,9 @@ namespace GlobalAttributes {
TEMPORARY_DIR=(getenv("PGMODELER_TMP_DIR") ? QString(getenv("PGMODELER_TMP_DIR")).replace("\\","/") : QString("./tmp"));
static const QString
- PGMODELER_VERSION="0.4.0",
+ PGMODELER_VERSION="0.4.0_r1",
+ PGMODELER_WIKI="http://www.pgmodeler.com.br/wiki",
+
CRASH_HANDLER_FILE="pgmodeler%1.crash",
STACKTRACE_FILE=".stacktrace",

0 comments on commit 5ca17fa

Please sign in to comment.