UI changes: created discussion forum in github

This commit is contained in:
karthikmurakonda 2022-11-08 14:16:18 +05:30
parent 53c937a8e5
commit 82c0d3ac75
5 changed files with 13 additions and 141 deletions

View File

@ -380,10 +380,10 @@ sends data frames.</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="has-tooltip">True</property> <property name="has-tooltip">True</property>
<property name="tooltip-text" translatable="yes">For more information visit the iPDC official web <property name="tooltip-text" translatable="yes">For more information visit the iPDC official web
'ipdc.codeplex.com/'.</property> 'https://github.com/karthikmurakonda/iPDC-suite/discussions'.</property>
<property name="image">image1</property> <property name="image">image1</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="uri">http://ipdc.codeplex.com/</property> <property name="uri">https://github.com/karthikmurakonda/iPDC-suite/discussions</property>
</object> </object>
<packing> <packing>
<property name="x">500</property> <property name="x">500</property>

View File

@ -933,39 +933,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<!-- n-columns=2 n-rows=1 --> <placeholder/>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkColorButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="rgba">rgb(0,255,0)</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">dharwad</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child> </child>
<child> <child>
<placeholder/> <placeholder/>
@ -1041,39 +1009,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<!-- n-columns=2 n-rows=1 --> <placeholder/>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkColorButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="rgba">rgb(0,255,0)</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">dharwad</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child> </child>
<child> <child>
<placeholder/> <placeholder/>
@ -1149,39 +1085,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<!-- n-columns=2 n-rows=1 --> <placeholder/>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkColorButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="rgba">rgb(0,255,0)</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">dharwad</property>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child> </child>
<child> <child>
<placeholder/> <placeholder/>
@ -1197,7 +1101,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<!-- n-columns=1 n-rows=3 --> <!-- n-columns=1 n-rows=2 -->
<object class="GtkGrid"> <object class="GtkGrid">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -1217,11 +1121,9 @@
<object class="GtkLabel" id="maplabel"> <object class="GtkLabel" id="maplabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="xpad">3</property>
<property name="ypad">3</property>
<property name="label" translatable="yes">Voltage Magnitude</property> <property name="label" translatable="yes">Voltage Magnitude</property>
<attributes> <attributes>
<attribute name="scale" value="2"/> <attribute name="scale" value="1"/>
</attributes> </attributes>
</object> </object>
<packing> <packing>
@ -1229,20 +1131,6 @@
<property name="top-attach">0</property> <property name="top-attach">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="graphlabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Voltage Magnitude</property>
<attributes>
<attribute name="scale" value="2"/>
</attributes>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>

View File

@ -918,7 +918,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">RSS</property> <property name="label" translatable="yes">IITdh</property>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>
@ -994,7 +994,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">RSS</property> <property name="label" translatable="yes">IITdh</property>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>
@ -1070,7 +1070,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">RSS</property> <property name="label" translatable="yes">IITdh</property>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>
@ -1101,7 +1101,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<!-- n-columns=1 n-rows=3 --> <!-- n-columns=1 n-rows=2 -->
<object class="GtkGrid"> <object class="GtkGrid">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -1121,8 +1121,6 @@
<object class="GtkLabel" id="maplabel"> <object class="GtkLabel" id="maplabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="xpad">3</property>
<property name="ypad">3</property>
<property name="label" translatable="yes">Voltage Magnitude</property> <property name="label" translatable="yes">Voltage Magnitude</property>
<attributes> <attributes>
<attribute name="scale" value="2"/> <attribute name="scale" value="2"/>
@ -1133,20 +1131,6 @@
<property name="top-attach">0</property> <property name="top-attach">0</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkLabel" id="graphlabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Voltage Magnitude</property>
<attributes>
<attribute name="scale" value="2"/>
</attributes>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="left-attach">1</property> <property name="left-attach">1</property>

View File

@ -311,7 +311,7 @@ void about_ipdc (GtkButton *widget, gpointer udata)
gtk_about_dialog_set_license ((GtkAboutDialog *)about_dialog, "iPDC - A Free Phasor Data Concentrator & PMU Simulator\n\nGeneral Public License (GPL)\n\nAuthors:\n\t\tNitesh Pandit <panditnitesh@gmail.com>\n\t\tKedar V. Khandeparkar <kedar.khandeparkar@gmail.com>\n\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"); gtk_about_dialog_set_license ((GtkAboutDialog *)about_dialog, "iPDC - A Free Phasor Data Concentrator & PMU Simulator\n\nGeneral Public License (GPL)\n\nAuthors:\n\t\tNitesh Pandit <panditnitesh@gmail.com>\n\t\tKedar V. Khandeparkar <kedar.khandeparkar@gmail.com>\n\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n");
gtk_about_dialog_set_logo ((GtkAboutDialog *)about_dialog, create_pixbuf("/usr/local/share/iPDC/ipdcLogo1.png")); gtk_about_dialog_set_logo ((GtkAboutDialog *)about_dialog, create_pixbuf("/usr/local/share/iPDC/ipdcLogo1.png"));
gtk_about_dialog_set_website ((GtkAboutDialog *)about_dialog, "\nhttp://ipdc.codeplex.com/\n"); gtk_about_dialog_set_website ((GtkAboutDialog *)about_dialog, "\nhttps://github.com/karthikmurakonda/iPDC-suite/discussions\n");
gtk_about_dialog_set_copyright ((GtkAboutDialog *)about_dialog, "Copyright (C) 2011-2012 GPL3"); gtk_about_dialog_set_copyright ((GtkAboutDialog *)about_dialog, "Copyright (C) 2011-2012 GPL3");
gtk_about_dialog_set_authors ((GtkAboutDialog *)about_dialog, auth); gtk_about_dialog_set_authors ((GtkAboutDialog *)about_dialog, auth);
gtk_about_dialog_set_logo ((GtkAboutDialog *)about_dialog, NULL); gtk_about_dialog_set_logo ((GtkAboutDialog *)about_dialog, NULL);

View File

@ -385,7 +385,7 @@ void utility_tools(GtkButton *but, gpointer udata)
LiveChartChart *chart_vol = live_chart_chart_new(config_vol); LiveChartChart *chart_vol = live_chart_chart_new(config_vol);
LiveChartConfig *config_freq = live_chart_config_new(); LiveChartConfig *config_freq = live_chart_config_new();
live_chart_yaxis_set_unit(config_freq->y_axis, "mHz"); live_chart_yaxis_set_unit(config_freq->y_axis, "Hz");
live_chart_xaxis_set_tick_interval(config_freq->x_axis, 20); live_chart_xaxis_set_tick_interval(config_freq->x_axis, 20);
live_chart_xaxis_set_tick_length(config_freq->x_axis, 100); live_chart_xaxis_set_tick_length(config_freq->x_axis, 100);
live_chart_yaxis_update_bounds(config_freq->y_axis, 1); live_chart_yaxis_update_bounds(config_freq->y_axis, 1);