]> granicus.if.org Git - graphviz/commitdiff
gvedit development
authorarif <devnull@localhost>
Tue, 8 Mar 2011 19:55:50 +0000 (19:55 +0000)
committerarif <devnull@localhost>
Tue, 8 Mar 2011 19:55:50 +0000 (19:55 +0000)
cmd/gvedit/csettings.cpp
cmd/gvedit/imageviewer.cpp
cmd/gvedit/mainwindow.cpp
cmd/gvedit/mainwindow.h
cmd/gvedit/mdi.vcproj
cmd/gvedit/mdi.vcproj.RESEARCH.arif.user
cmd/gvedit/mdichild.cpp
cmd/gvedit/ui_settings.h
cmd/gvedit/vc90.idb

index 0fbf2f69891cb13d6c3d2404c762a485027ac485..898fdc9f5b463ffe30584aaaa809007d9f5b606b 100644 (file)
@@ -114,6 +114,7 @@ CFrmSettings::CFrmSettings()
     tempDia.setupUi(this);
     graph=NULL;
 
+
     connect(WIDGET(QPushButton,pbAdd),SIGNAL(clicked()),this,SLOT(addSlot()));
     connect(WIDGET(QPushButton,pbNew),SIGNAL(clicked()),this,SLOT(newSlot()));
     connect(WIDGET(QPushButton,pbOpen),SIGNAL(clicked()),this,SLOT(openSlot()));
@@ -323,9 +324,11 @@ bool CFrmSettings::renderLayout()
        {
            QString prevFile(buildTempFile());
            gvRenderFilename(gvc,graph,"jpg",(char*)prevFile.toUtf8().constData());
-           if(!this->getActiveWindow()->loadPreview(prevFile))
+           this->getActiveWindow()->loadPreview(prevFile);
+
+/*         if(!this->getActiveWindow()->loadPreview(prevFile))
                QMessageBox::information(this, tr("GVEdit"),
-                                       tr("Preview file can not be opened."));
+                                       tr("Preview file can not be opened."));*/
 
        }
 
index 9ba9a2369cc9f9ce0dd1922fdb2d43d225dd9cd0..ed3521b8c98d6c3a864e989631fbbe367e5e8381 100644 (file)
@@ -36,6 +36,9 @@ ImageViewer::ImageViewer()
 
     setWindowTitle(tr(""));
     resize(800, 600);
+
+    setWindowIcon(QIcon(":/images/new.png"));
+
 }
 //! [0]
 
index 2a18bb19eb830917100760dc762f103b7c97b5c7..35701ef0db962cd348b438ed2632235f07d95f44 100644 (file)
@@ -48,6 +48,53 @@ static void LoadPlugins (QComboBox* cb, GVC_t* gvc, char* kind)
     };
     freeList (lp, count);
 }
+void CMainWindow::createConsole()
+{
+    QDockWidget *dock = new QDockWidget(tr("Output Console"), this);
+    QTextEdit* textEdit = new QTextEdit(dock);
+
+    dock->setAllowedAreas(Qt::BottomDockWidgetArea| Qt::TopDockWidgetArea);
+    dock->setWidget(textEdit);
+    addDockWidget(Qt::BottomDockWidgetArea, dock);
+    QVBoxLayout* vL= new QVBoxLayout(dock);
+    dock->setLayout(vL);
+
+    textEdit->setObjectName(QString::fromUtf8("textEdit"));
+/*    textEdit->setMinimumSize(QSize(0, 80));
+    textEdit->setMaximumSize(QSize(16777215, 120));*/
+    globTextEdit=textEdit;
+    agseterrf(errorPipe);
+
+    vL->addWidget(textEdit);
+    vL->setContentsMargins(1,1,1,1);
+
+    QFrame *fr=new QFrame(dock);
+    vL->addWidget(fr);
+
+    QPushButton* logNewBtn=new QPushButton(QIcon(":/images/new.png"),"",fr);
+    QPushButton* logSaveBtn=new QPushButton(QIcon(":/images/save.png"),"",fr);
+    QHBoxLayout* consoleLayout = new QHBoxLayout();
+    consoleLayout->addWidget(logNewBtn);
+    connect(logNewBtn,SIGNAL(clicked()),this,SLOT(slotNewLog()));
+    connect(logSaveBtn,SIGNAL(clicked()),this,SLOT(slotSaveLog()));
+    consoleLayout->addWidget(logSaveBtn);
+    consoleLayout->addStretch();
+
+    consoleLayout->setContentsMargins(1,1,1,1);;
+    consoleLayout->setContentsMargins(1,1,1,1);
+
+    fr->setLayout(consoleLayout);
+
+    QFrame *mainFrame=new QFrame(dock);
+    mainFrame->setLayout(vL);
+
+
+    dock->setWidget(mainFrame);
+
+}
+
+
+
 
 CMainWindow::CMainWindow()
 {
@@ -62,28 +109,14 @@ CMainWindow::CMainWindow()
         mdiArea->setObjectName(QString::fromUtf8("mdiArea"));
 
         verticalLayout->addWidget(mdiArea);
-
-        QTextEdit* textEdit = new QTextEdit(centralwidget);
-        textEdit->setObjectName(QString::fromUtf8("textEdit"));
-        textEdit->setMinimumSize(QSize(0, 80));
-        textEdit->setMaximumSize(QSize(16777215, 120));
-       globTextEdit=textEdit;
-       agseterrf(errorPipe);
-        verticalLayout->addWidget(textEdit);
-       QFrame *fr=new QFrame(centralwidget);
-       verticalLayout->addWidget(fr);
-
+       verticalLayout_2->setContentsMargins(1,1,1,1);
         verticalLayout_2->addLayout(verticalLayout);
-       QPushButton* logNewBtn=new QPushButton(QIcon(":/images/new.png"),"",fr);
-       QPushButton* logSaveBtn=new QPushButton(QIcon(":/images/save.png"),"",fr);
-       QHBoxLayout* consoleLayout = new QHBoxLayout();
-       consoleLayout->addWidget(logNewBtn);
-       connect(logNewBtn,SIGNAL(clicked()),this,SLOT(slotNewLog()));
-       connect(logSaveBtn,SIGNAL(clicked()),this,SLOT(slotSaveLog()));
-       consoleLayout->addWidget(logSaveBtn);
-       consoleLayout->addStretch();
-       fr->setLayout(consoleLayout);
        setCentralWidget(centralwidget);
+       centralwidget->layout()->setContentsMargins(1,1,1,1);
+       prevChild=NULL;
+
+       createConsole();
+
 
 
 
@@ -208,11 +241,30 @@ void CMainWindow::slotAbout()
 
 void CMainWindow::slotSettings()
 {
+    if(prevChild !=activeMdiChild())
+    {
+       QString msg;
+       msg.append("working on ");
+       msg.append(activeMdiChild()->currentFile());
+       msg.append("\n");
+       errorPipe((char*)msg.toAscii().constData());
+       prevChild=activeMdiChild();
+    }
     frmSettings->showSettings(activeMdiChild());
 
 }
 void CMainWindow::slotRun()
 {
+
+    if(prevChild !=activeMdiChild())
+    {
+       QString msg;
+       msg.append("working on ");
+       msg.append(activeMdiChild()->currentFile());
+       msg.append("\n");
+       errorPipe((char*)msg.toAscii().constData());
+       prevChild=activeMdiChild();
+    }
     if((activeMdiChild()) && (!activeMdiChild()->firstTime()))
        frmSettings->runSettings(activeMdiChild());
     if((activeMdiChild()) && (activeMdiChild()->firstTime()))
index a49c5ec7d391efbf25ad45050dbcd02d75eb8fd7..c20279037b38e75a19750ac26f80ccb854e800da 100644 (file)
@@ -60,7 +60,9 @@ protected:
     void closeEvent(QCloseEvent *event);
 
 
+
 private:
+    void createConsole();
     void actions();
     void menus();
     void updateMenus();
@@ -71,6 +73,7 @@ private:
     void writeSettings();
     void loadPlugins();
     MdiChild *activeMdiChild();
+    MdiChild* prevChild;
     QMdiSubWindow *findMdiChild(const QString &fileName);
     QSignalMapper *windowMapper;
 
index 9957cd44f86deae193c54d753b58c7b85e03783d..2b44ad031321e0f57e5fc441545681736b728461 100644 (file)
                                Name="VCCLCompilerTool"
                                AdditionalOptions="-Zm200 -w34100 -w34189"
                                Optimization="2"
-                               AdditionalIncludeDirectories="&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include\QtGui&quot;;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\ActiveQt&quot;;debug;..\..\..\..\Qt\4.7.0\mkspecs\default;.\GeneratedFiles;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cdt;..\..\lib\graph;..\..\lib\gvc"
-                               PreprocessorDefinitions="QT_NO_DEBUG;NDEBUG;_WINDOWS;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT"
+                               AdditionalIncludeDirectories="&quot;C:\graphviz-ms\graphviz3\plugin\pango&quot;;C:\gtk\include\cairo;&quot;C:\gtk\lib\glib-2.0\include&quot;;&quot;C:\gtk\include\glib-2.0&quot;;&quot;C:\gtk\include\pango-1.0&quot;;&quot;$(QTDIR)\include\QtCore&quot;;&quot;$(QTDIR)\include\QtGui&quot;;&quot;$(QTDIR)\include&quot;;&quot;$(QTDIR)\include\ActiveQt&quot;;debug;..\..\..\..\Qt\4.7.0\mkspecs\default;.\GeneratedFiles;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cdt;..\..\lib\graph;&quot;$(SolutionDir)/&quot;;..\..\lib\gvc"
+                               PreprocessorDefinitions="QT_NO_DEBUG;NDEBUG;_WINDOWS;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_THREAD_SUPPORT;HAVE_GETOPT_H;WIN32_DLL"
                                GeneratePreprocessedFile="0"
                                ExceptionHandling="1"
                                RuntimeLibrary="2"
                                Name="VCLinkerTool"
                                IgnoreImportLibrary="true"
                                AdditionalOptions="&quot;/MANIFESTDEPENDENCY:type=&apos;win32&apos; name=&apos;Microsoft.Windows.Common-Controls&apos; version=&apos;6.0.0.0&apos; publicKeyToken=&apos;6595b64144ccf1df&apos; language=&apos;*&apos; processorArchitecture=&apos;*&apos;&quot;"
-                               AdditionalDependencies="qtmain.lib QtGuid4.lib QtCored4.lib gvc.lib graph.lib"
+                               AdditionalDependencies="qtmain.lib QtGui4.lib QtCore4.lib gvc.lib graph.lib"
                                OutputFile="c:/graphviz-ms/bin/$(ProjectName).exe"
                                LinkIncremental="1"
                                SuppressStartupBanner="true"
-                               AdditionalLibraryDirectories="&quot;C:\graphviz-ms\bin&quot;;&quot;$(QTDIR)\lib&quot;"
+                               AdditionalLibraryDirectories="&quot;C:\graphviz-ms\bin&quot;;&quot;$(QTDIR)\lib&quot;;C:\gtk\lib"
                                GenerateDebugInformation="false"
                                ProgramDatabaseFile=""
                                SubSystem="2"
                                RelativePath=".\csettings.cpp"
                                >
                        </File>
-                       <File
-                               RelativePath=".\dwight.cpp"
-                               >
-                       </File>
                        <File
                                RelativePath=".\imageviewer.cpp"
                                >
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Moc&apos;ing $(InputFileName)..."
-                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT  &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;.\csettings.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
+                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DHAVE_GETOPT_H -DWIN32_DLL  &quot;-IC:\graphviz-ms\graphviz3\plugin\pango&quot; &quot;-IC:\gtk\include\cairo&quot; &quot;-IC:\gtk\lib\glib-2.0\include&quot; &quot;-IC:\gtk\include\glib-2.0&quot; &quot;-IC:\gtk\include\pango-1.0&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I$(SolutionDir)\.&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;.\csettings.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
                                                AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
                                                Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
                                        />
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Moc&apos;ing $(InputFileName)..."
-                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT  &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;.\imageviewer.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
+                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DHAVE_GETOPT_H -DWIN32_DLL  &quot;-IC:\graphviz-ms\graphviz3\plugin\pango&quot; &quot;-IC:\gtk\include\cairo&quot; &quot;-IC:\gtk\lib\glib-2.0\include&quot; &quot;-IC:\gtk\include\glib-2.0&quot; &quot;-IC:\gtk\include\pango-1.0&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I$(SolutionDir)\.&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;.\imageviewer.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
                                                AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
                                                Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
                                        />
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Moc&apos;ing $(InputFileName)..."
-                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT  &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;mainwindow.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
+                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DHAVE_GETOPT_H -DWIN32_DLL  &quot;-IC:\graphviz-ms\graphviz3\plugin\pango&quot; &quot;-IC:\gtk\include\cairo&quot; &quot;-IC:\gtk\lib\glib-2.0\include&quot; &quot;-IC:\gtk\include\glib-2.0&quot; &quot;-IC:\gtk\include\pango-1.0&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I$(SolutionDir)\.&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;mainwindow.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
                                                AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
                                                Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
                                        />
                                        <Tool
                                                Name="VCCustomBuildTool"
                                                Description="Moc&apos;ing $(InputFileName)..."
-                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT  &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;mdichild.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
+                                               CommandLine="&quot;$(QTDIR)\bin\moc.exe&quot;   -DQT_NO_DEBUG -DNDEBUG -D_WINDOWS -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DHAVE_GETOPT_H -DWIN32_DLL  &quot;-IC:\graphviz-ms\graphviz3\plugin\pango&quot; &quot;-IC:\gtk\include\cairo&quot; &quot;-IC:\gtk\lib\glib-2.0\include&quot; &quot;-IC:\gtk\include\glib-2.0&quot; &quot;-IC:\gtk\include\pango-1.0&quot; &quot;-I$(QTDIR)\include\QtCore&quot; &quot;-I$(QTDIR)\include\QtGui&quot; &quot;-I$(QTDIR)\include&quot; &quot;-I$(QTDIR)\include\ActiveQt&quot; &quot;-I.\debug&quot; &quot;-I.\..\..\..\..\Qt\4.7.0\mkspecs\default&quot; &quot;-I.\GeneratedFiles&quot; &quot;-I.\..\..\lib\common&quot; &quot;-I.\..\..\lib\pathplan&quot; &quot;-I.\..\..\lib\cdt&quot; &quot;-I.\..\..\lib\graph&quot; &quot;-I$(SolutionDir)\.&quot; &quot;-I.\..\..\lib\gvc&quot; &quot;mdichild.h&quot; -o &quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;&#x0D;&#x0A;"
                                                AdditionalDependencies="&quot;$(QTDIR)\bin\moc.exe&quot;;$(InputPath)"
                                                Outputs="&quot;.\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp&quot;"
                                        />
index f7501abe73b0b79a112480f29a55a0aa54f2a864..f69bb6e7975e8adaafe4ab144aff83992a34b067 100644 (file)
@@ -2,7 +2,7 @@
 <VisualStudioUserFile
        ProjectType="Visual C++"
        Version="9.00"
-       ShowAllFiles="true"
+       ShowAllFiles="false"
        >
        <Configurations>
                <Configuration
index db9b2d86f95ac58f01788dea4760c754e18a0408..17bfd201a4e8ff89abd98a3e5ebff26cdb6b2110 100644 (file)
@@ -34,7 +34,7 @@ void MdiChild::newFile()
     static int sequenceNumber = 1;
 
     isUntitled = true;
-    curFile = tr("document%1.txt").arg(sequenceNumber++);
+    curFile = tr("graph%1.gv").arg(sequenceNumber++);
     setWindowTitle(curFile + "[*]");
 
     connect(document(), SIGNAL(contentsChanged()),
index 6177934ebf263cd508266d093eb410bafa63a3bb..5c58f5cd20e379ca0906db825b9ebba8fec3f760 100644 (file)
@@ -1,7 +1,7 @@
 /********************************************************************************
 ** Form generated from reading UI file 'settings.ui'
 **
-** Created: Fri Mar 4 14:17:36 2011
+** Created: Mon Mar 7 14:55:34 2011
 **      by: Qt User Interface Compiler version 4.7.0
 **
 ** WARNING! All changes made in this file will be lost when recompiling UI file!
@@ -187,7 +187,7 @@ public:
         frame_2->setFrameShadow(QFrame::Raised);
         layoutWidget1 = new QWidget(frame_2);
         layoutWidget1->setObjectName(QString::fromUtf8("layoutWidget1"));
-        layoutWidget1->setGeometry(QRect(2, 0, 436, 62));
+        layoutWidget1->setGeometry(QRect(2, 0, 391, 62));
         horizontalLayout_7 = new QHBoxLayout(layoutWidget1);
         horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
         horizontalLayout_7->setContentsMargins(0, 0, 0, 0);
index c2d61901c9f428c78522d3f7d3f2bdd46770f6eb..4d1ddd37e69eaad7b5698fb8205e1976b5d7038e 100644 (file)
Binary files a/cmd/gvedit/vc90.idb and b/cmd/gvedit/vc90.idb differ