Files
harbour-core/harbour/contrib/hbide/resources/searchreplace.ui
Pritpal Bedi a1a104fd89 2010-02-21 07:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbide/resources/dc_delete.png
  + contrib/hbide/resources/dc_down.png
  + contrib/hbide/resources/dc_folder.png
  + contrib/hbide/resources/dc_function.png
  + contrib/hbide/resources/dc_home.png
  + contrib/hbide/resources/dc_left.png
  + contrib/hbide/resources/dc_plus.png
  + contrib/hbide/resources/dc_print.png
  + contrib/hbide/resources/dc_quit.png
  + contrib/hbide/resources/dc_refresh.png
  + contrib/hbide/resources/dc_right.png
  + contrib/hbide/resources/dc_textdoc.png
  + contrib/hbide/resources/dc_textdocument.png
  + contrib/hbide/resources/dc_up.png
  + contrib/hbide/resources/docviewgenerator.ui
  + contrib/hbide/resources/docviewgenerator.uic
  * contrib/hbide/resources/help.png
  + contrib/hbide/resources/searchreplace.ui
  + contrib/hbide/resources/searchreplace.uic
    + Added few more images and redefined a prev one.

  * contrib/hbqt/THbQtUI.prg
    + Added some more hbqt.ch defined constants in the engine.

  * contrib/hbide/hbide.ch
  * contrib/hbide/hbide.hbp
  * contrib/hbide/hbide.prg
  * contrib/hbide/ideactions.prg
  * contrib/hbide/idedocks.prg
  * contrib/hbide/idefindreplace.prg
  * contrib/hbide/ideharbourhelp.prg
  * contrib/hbide/idemisc.prg
  * contrib/hbide/ideobject.prg
  * contrib/hbide/ideprojmanager.prg
  * contrib/hbide/idesaveload.prg
  * contrib/hbide/idestylesheets.prg
    + Implemented an html viewer for Harbour's documentation .txt
      files with slots to make it a "writer" too if it fits the purpose.

    ! Reimplemented the "Search-Replace" user interface and working.
      A work-in-progrss which I will explain later.

    ; Harbour Documentation Viewer - How to Invoke
        * Close any docking pane is visible at the right panel.
        * Point to <Docks> option on <Main Menu> and click on 
           <Document Viewer>
        * A right-side "Document Viewer" window will appear.
        * Provide Harbour's installation root path in 
          "Harbour Installation Root:" field, i.e., C:\harbour
        * OR alternatively, you can choose one by clicking 
          "Harbour Installation Root Path" icon on the right of 
          field.
        * Click "Refresh" icon on the toolbar of "Document Viewer" 
          window" only once and wait a couple of seconds.
        * "Contents" tab will be populated with /doc and /doc/en 
          folders.
        * Double-click on one to expand - you will be able to 
          view .txt file names.
        * Double-click on some .txt node, wait a couple of seconds,
          and you will be able to see "functions" nodes.
        * Double-click on the function's node and you will be 
          presented with html display in the "View" tab on the right.
        * Navigate other tabs on the right, you will understand the 
          contents.
        * Next time hbIDE will remember Harbour's installation root path.
        * :( On exit expect to receive a GPF, investigating.

      Right now only "Viewer" part is ready per preliminary stages.
      I have a lot of ideas on my drawing-board and would like to 
      hear your opinions. Basic components to write a document are 
      also in place, but I need to gather more info and what else 
      can be included.

      In the next several days I will be focussing on this tool.

      Bacco and Vailton, please bear with me, as this interface 
      is the basic requirement of hbIDE which I had kept postponed 
      till now. A stand alone viewer and writer has its own purpose,
      space, and audience.
2010-02-21 15:49:37 +00:00

423 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>817</width>
<height>75</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QFrame" name="frameFind">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="labelFind">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Search:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboFind">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonNext">
<property name="text">
<string>...</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonPrev">
<property name="text">
<string>...</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>35</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>From:</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioTop">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Top</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="radioCursor">
<property name="minimumSize">
<size>
<width>60</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Cursor</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkMatchCase">
<property name="minimumSize">
<size>
<width>55</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>55</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Case</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkWhole">
<property name="minimumSize">
<size>
<width>55</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>55</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Whole</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkRegEx">
<property name="minimumSize">
<size>
<width>55</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>55</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>RegEx</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkReplace">
<property name="minimumSize">
<size>
<width>55</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>55</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<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="QToolButton" name="buttonClose">
<property name="text">
<string>...</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frameReplace">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="labelReplace">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Replace:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboReplace">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="buttonReplace">
<property name="minimumSize">
<size>
<width>195</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>195</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Replace</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkGlobal">
<property name="minimumSize">
<size>
<width>55</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>55</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Global</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkNoPrompt">
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>No Prompt</string>
</property>
</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>
<item>
<widget class="QToolButton" name="buttonCloseRepl">
<property name="text">
<string>...</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>